Passed
Push — master ( 116b00...7a65da )
by Saepul
04:34
created
modul/mod_pasien/pasien.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
                             while ($r = mysql_fetch_array($tampil)) {
64 64
                                 $tgl_lahir = date('d/m/Y', strtotime($r[tgl_lahir]));
65 65
 
66
-                                if ($r['gender'] == 'L') {
66
+                                if ($r['gender']=='L') {
67 67
                                     $gender = 'Laki-laki';
68 68
                                 } else {
69 69
                                     $gender = 'Perempuan';
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 
89 89
                             <?php
90 90
 
91
-                            if ($r_edit == 'Y') {
91
+                            if ($r_edit=='Y') {
92 92
                                 echo"<a class='thickbox' href='modul/mod_$module/form_$module.php?id_pasien=$r[id_pasien]&id_module=$id&width=720&height=560&module=$module&TB_iframe=true' title='Update $nmmodule'><span class='icon'><i class='fa fa-pencil'></i></span></a>";
93 93
                             }
94 94
 
Please login to merge, or discard this patch.
modul/mod_obat/obat.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
                 echo"<td style='text-align:center;'>$r[aktif]</td>";
63 63
                 echo" <td  style='text-align:center;'>";
64 64
 
65
-                if ($r_edit == 'Y') {
65
+                if ($r_edit=='Y') {
66 66
                     echo"<a class='thickbox' href='modul/mod_$module/form_$module.php?id_obat=$r[id_obat]&id_module=$id&width=720&height=560&module=$module&TB_iframe=true' title='Update $nmmodule'><span class='icon'><i class='fa fa-pencil'></i></span></a>";
67 67
                 }
68 68
 
Please login to merge, or discard this patch.
modul/mod_report_kunjungan_pasien/report_kunjungan_pasien.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
             </form>    
126 126
                    
127 127
                 </div>
128
-                <?php for ($i = 0; $i <= 20; $i++) {
128
+                <?php for ($i = 0; $i<=20; $i++) {
129 129
                 ?>
130 130
                     <br />
131 131
                     <?php
Please login to merge, or discard this patch.
modul/mod_user/user.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -59,25 +59,25 @@  discard block
 block discarded – undo
59 59
 
60 60
                                 $no = 1;
61 61
                                 while ($r = mysql_fetch_array($tampil)) {
62
-                                    if ($r[r_input] == 'Y') {
62
+                                    if ($r[r_input]=='Y') {
63 63
                                         $input = "<img src='images/cek.png' border=0> Input";
64 64
                                     } else {
65 65
                                         $input = "<img src='images/del.gif' width='20' border=0> Input";
66 66
                                     }
67 67
 
68
-                                    if ($r[r_edit] == 'Y') {
68
+                                    if ($r[r_edit]=='Y') {
69 69
                                         $edit = "<img src='images/cek.png' border=0> Edit";
70 70
                                     } else {
71 71
                                         $edit = "<img src='images/del.gif' width='20' border=0> Edit";
72 72
                                     }
73 73
 
74
-                                    if ($r[r_delete] == 'Y') {
74
+                                    if ($r[r_delete]=='Y') {
75 75
                                         $delete = "<img src='images/cek.png' border=0> Delete";
76 76
                                     } else {
77 77
                                         $delete = "<img src='images/del.gif' width='20' border=0> Delete";
78 78
                                     }
79 79
 
80
-                                    if ($r[outlet] == '') {
80
+                                    if ($r[outlet]=='') {
81 81
                                         $outlet = 'Semua Outlet';
82 82
                                     } else {
83 83
                                         $outlet = $r['outlet'];
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
                                     echo"<td>$r[r_delete]</td>";
94 94
                                     echo"<td style='text-align:center;'>$r[aktif]</td>";
95 95
                                     echo" <td  style='text-align:center;'>";
96
-                                    if ($r_edit == 'Y') {
96
+                                    if ($r_edit=='Y') {
97 97
                                         echo"<a class='thickbox' href='modul/mod_$module/form_$module.php?id_user=$r[id_user]&id_module=$id&width=720&height=580&module=$module&TB_iframe=true' title='Update $nmmodule'><span class='icon'><i class='fa fa-pencil'></i></span></a>";
98 98
                                     }
99 99
 
Please login to merge, or discard this patch.
modul/mod_groupmodul/groupmodul.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -57,11 +57,11 @@  discard block
 block discarded – undo
57 57
                                     echo"<td><b>$r[nama_modul]</b></td>";
58 58
                                     echo"<td style='text-align:center;'>$r[aktif]</td>";
59 59
                                     echo" <td  style='text-align:center;'>";
60
-                                    if ($r_edit == 'Y') {
60
+                                    if ($r_edit=='Y') {
61 61
                                         echo"<a class='thickbox' href='modul/mod_$module/form_$module.php?id_groupmodul=$r[id_groupmodul]&id_module=$id&width=720&height=560&module=$module&TB_iframe=true' title='Update $nmmodule'><span class='icon'><i class='fa fa-pencil'></i></span></a>";
62 62
                                     }
63 63
 
64
-                                    if ($r_delete == 'Y') {
64
+                                    if ($r_delete=='Y') {
65 65
                                         echo"<a href='modul/mod_$module/aksi_$module.php?module=$module&act=hapus&id=$r[id_groupmodul]&id_module=$id' onClick=\"return confirm('Hapus Data ?')\" title='Delete $nmmodule'><span class='icon'><i class='fa fa-trash'></i></span></a>";
66 66
                                     }
67 67
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
                                         echo"<td style='text-align:center;'>$d[aktif]</td>";
86 86
                                         echo"<td style='text-align:right;'>";
87
-                                        if ($r_delete == 'Y') {
87
+                                        if ($r_delete=='Y') {
88 88
                                             echo"<a href='modul/mod_$module/aksi_$module.php?module=$module&act=hapus&id=$d[id_groupmodul]&id_module=$id' onClick=\"return confirm('Delete this record ?')\"><span class='icon'><i class='fa fa-trash'></i></span></a>";
89 89
                                         }
90 90
                                         echo'</td>';
Please login to merge, or discard this patch.
modul/mod_modul/modul.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -54,15 +54,15 @@  discard block
 block discarded – undo
54 54
 
55 55
                                     echo"<td style='text-align:center;'>$r[aktif]</td>";
56 56
                                     echo"<td style='text-align:center;'>";
57
-                                    if ($r_input == 'Y') {
57
+                                    if ($r_input=='Y') {
58 58
                                         echo"<a class='thickbox' href='modul/mod_$module/form_sub$module.php?parentid=$r[id_modul]&id_module=$id&width=720&height=560&module=$module&TB_iframe=true' title='Sub $nmmodule Baru'><span class='icon'><i class='fa fa-pencil-square-o'></i></span></a>";
59 59
                                     }
60 60
 
61
-                                    if ($r_edit == 'Y') {
61
+                                    if ($r_edit=='Y') {
62 62
                                         echo"<a class='thickbox' href='modul/mod_$module/form_$module.php?id_modul=$r[id_modul]&id_module=$id&width=720&height=560&module=$module&TB_iframe=true' title='Update $nmmodule '><span class='icon'><i class='fa fa-pencil'></i></span></a>";
63 63
                                     }
64 64
 
65
-                                    if ($r_delete == 'Y') {
65
+                                    if ($r_delete=='Y') {
66 66
                                         echo"<a href='modul/mod_$module/aksi_$module.php?module=$module&act=hapusmod&id=$r[id_modul]&id_module=$id' onClick=\"return confirm('Hapus data ?')\"><span class='icon'><i class='fa fa-trash'></i></span></a>";
67 67
                                     }
68 68
                                     echo'</td>';
@@ -80,11 +80,11 @@  discard block
 block discarded – undo
80 80
 
81 81
                                         echo"<td style='text-align:center;'>$d[aktif]</td>";
82 82
                                         echo" <td style='text-align:right;'>";
83
-                                        if ($r_edit == 'Y') {
83
+                                        if ($r_edit=='Y') {
84 84
                                             echo"<a class='thickbox' href='modul/mod_$module/form_sub$module.php?id_modul=$d[id_modul]&id_module=$id&width=720&height=560&module=$module&TB_iframe=true' title='Update Sub $imodule'><span class='icon'><i class='fa fa-pencil'></i></span></a>";
85 85
                                         }
86 86
 
87
-                                        if ($r_delete == 'Y') {
87
+                                        if ($r_delete=='Y') {
88 88
                                             echo"<a href='modul/mod_$module/aksi_$module.php?module=$module&act=hapus&id=$d[id_modul]&id_module=$id' onClick=\"return confirm('Hapus data ?')\"><span class='icon'><i class='fa fa-trash'></i></span></a>";
89 89
                                         }
90 90
                                         echo'</td>';
Please login to merge, or discard this patch.
modul/mod_groups/groups.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,11 +58,11 @@
 block discarded – undo
58 58
                 echo"<td style='text-align:center;'>$r[aktif]</td>";
59 59
                 echo" <td  style='text-align:center;'>";
60 60
 
61
-                if ($r_edit == 'Y') {
61
+                if ($r_edit=='Y') {
62 62
                     echo"<a class='thickbox' href='modul/mod_$module/form_$module.php?id_groups=$r[id_groups]&id_module=$id&width=720&height=560&module=$module&TB_iframe=true' title='Update $nmmodule'><span class='icon'><i class='fa fa-pencil'></i></span></a>";
63 63
                 }
64 64
 
65
-                if ($r_delete == 'Y') {
65
+                if ($r_delete=='Y') {
66 66
                     echo"<a href='modul/mod_$module/aksi_$module.php?module=$module&act=hapus&id=$r[id_groups]&id_module=$id' onClick=\"return confirm('Delete this record ?')\" title='Delete $nmmodule'><span class='icon'><i class='fa fa-trash'></i></span></a>";
67 67
                 }
68 68
                 echo'</td>';
Please login to merge, or discard this patch.
modul/mod_satuan/satuan.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
                 echo"<td style='text-align:center;'>$r[aktif]</td>";
54 54
                 echo" <td  style='text-align:center;'>";
55 55
 
56
-                if ($r_edit == 'Y') {
56
+                if ($r_edit=='Y') {
57 57
                     echo"<a class='thickbox' href='modul/mod_$module/form_$module.php?id_satuan=$r[id_satuan]&id_module=$id&width=720&height=560&module=$module&TB_iframe=true' title='Update $nmmodule'><span class='icon'><i class='fa fa-pencil'></i></span></a>";
58 58
                 }
59 59
 
Please login to merge, or discard this patch.
modul/mod_report_rujukan_pasien/report_rujukan_pasien.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
             </form>    
126 126
                    
127 127
                 </div>
128
-                <?php for ($i = 0; $i <= 20; $i++) {
128
+                <?php for ($i = 0; $i<=20; $i++) {
129 129
                 ?>
130 130
                     <br />
131 131
                     <?php
Please login to merge, or discard this patch.