Passed
Push — master ( d91862...237c42 )
by Saepul
04:48
created
modul/mod_report_rekap_harian/eprint_report_rekap_harian.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -323,7 +323,7 @@  discard block
 block discarded – undo
323 323
             <tr>
324 324
 
325 325
                <?php 
326
-                   for ($j = 1; $j <= $hjml; $j++) {
326
+                   for ($j = 1; $j<=$hjml; $j++) {
327 327
                        echo '<th>JML</th>';
328 328
                        echo '<th>RUPIAH</th>';
329 329
                    }
@@ -348,12 +348,12 @@  discard block
 block discarded – undo
348 348
 
349 349
       	<tbody>
350 350
 
351
-      	  <?php for ($i = 1; $i <= 31; $i++) {
351
+      	  <?php for ($i = 1; $i<=31; $i++) {
352 352
                    echo'<tr>';
353 353
 
354 354
                    echo"<td style='text-align:center;'>$i</td>";
355 355
 
356
-                   if (strlen($i) == '1') {
356
+                   if (strlen($i)=='1') {
357 357
                        $tgl = $prd.'-0'.$i;
358 358
                    } else {
359 359
                        $tgl = $prd.'-'.$i;
@@ -602,7 +602,7 @@  discard block
 block discarded – undo
602 602
 
603 603
     $month = date('m', strtotime($iprd)) * 1;
604 604
 
605
-    if ($month == '1') {
605
+    if ($month=='1') {
606 606
         $imonth = 12;
607 607
     } else {
608 608
         $imonth = $month - 1;
Please login to merge, or discard this patch.
Switch Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@  discard block
 block discarded – undo
1
-<?php
2
-include './../../config/koneksi.php';
3
-//include "./../../config/fungsi_indobulan.php";
1
+    <?php
2
+    include './../../config/koneksi.php';
3
+    //include "./../../config/fungsi_indobulan.php";
4 4
 
5
-function getBulan1($bln1)
6
-{
7
-    switch ($bln1) {
5
+    function getBulan1($bln1)
6
+    {
7
+        switch ($bln1) {
8 8
 
9 9
                     case 1:
10 10
 
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 
79 79
                         break;
80 80
 
81
-                }
81
+                    }
82 82
 }
83 83
 
84 84
 $report_id = $_GET[report_id];
Please login to merge, or discard this patch.
modul/mod_rujukan_pasien/rujukan_pasien.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
                 echo"<td>$r[rujukan_lab]</td>";
79 79
                 echo" <td  style='text-align:center;'>";
80 80
 
81
-                if ($r_edit == 'Y') {
81
+                if ($r_edit=='Y') {
82 82
                     echo"<a class='thickbox' href='modul/mod_$module/form_$module.php?id_kunjungan_berobat=$r[id_kunjungan_berobat]&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>";
83 83
                 }
84 84
 
Please login to merge, or discard this patch.
Switch Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@  discard block
 block discarded – undo
1
-<?php
1
+    <?php
2 2
 switch ($_GET[act]) {
3 3
 
4
-default:
5
-  ?>
4
+        default:
5
+          ?>
6 6
 
7 7
  <div class="">
8 8
                    
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
                             
47 47
                          <?php
48 48
 
49
-            $tampil = mysql_query("SELECT a.*,b.nama,b.tgl_lahir,b.ktp,c.poli,d.kategori    
49
+                    $tampil = mysql_query("SELECT a.*,b.nama,b.tgl_lahir,b.ktp,c.poli,d.kategori    
50 50
                                     ,e.rujukan as rujukan_rs
51 51
                                     ,f.rujukan as rujukan_lab                              
52 52
                                 FROM kunjungan_berobat a left join pasien b 
@@ -62,31 +62,31 @@  discard block
 block discarded – undo
62 62
                                  WHERE a.rujukan = 'Y'                    
63 63
                                  ORDER BY a.tanggal,a.id_poli,a.no_urut ASC");
64 64
 
65
-            $no = 1;
65
+                    $no = 1;
66 66
 
67
-            while ($r = mysql_fetch_array($tampil)) {
68
-                $tgl = date('d/m/Y', strtotime($r[tanggal]));
69
-                $tgl_lahir = date('d/m/Y', strtotime($r[tgl_lahir]));
67
+                    while ($r = mysql_fetch_array($tampil)) {
68
+                        $tgl = date('d/m/Y', strtotime($r[tanggal]));
69
+                        $tgl_lahir = date('d/m/Y', strtotime($r[tgl_lahir]));
70 70
 
71
-                echo'<tr>';
72
-                echo"<td>$tgl</td>";
73
-                echo"<td>$r[poli]</td>";
74
-                echo"<td>$r[no_urut]</td>";
75
-                echo"<td>$r[nama]</td>";
76
-                echo"<td>$r[kategori]</td>";
77
-                echo"<td>$r[rujukan_rs]</td>";
78
-                echo"<td>$r[rujukan_lab]</td>";
79
-                echo" <td  style='text-align:center;'>";
71
+                        echo'<tr>';
72
+                        echo"<td>$tgl</td>";
73
+                        echo"<td>$r[poli]</td>";
74
+                        echo"<td>$r[no_urut]</td>";
75
+                        echo"<td>$r[nama]</td>";
76
+                        echo"<td>$r[kategori]</td>";
77
+                        echo"<td>$r[rujukan_rs]</td>";
78
+                        echo"<td>$r[rujukan_lab]</td>";
79
+                        echo" <td  style='text-align:center;'>";
80 80
 
81
-                if ($r_edit == 'Y') {
82
-                    echo"<a class='thickbox' href='modul/mod_$module/form_$module.php?id_kunjungan_berobat=$r[id_kunjungan_berobat]&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>";
83
-                }
81
+                        if ($r_edit == 'Y') {
82
+                            echo"<a class='thickbox' href='modul/mod_$module/form_$module.php?id_kunjungan_berobat=$r[id_kunjungan_berobat]&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>";
83
+                        }
84 84
 
85
-                echo'</td>';
86
-                echo'</tr>';
87
-                $no++;
88
-            }
89
-                                ?>
85
+                        echo'</td>';
86
+                        echo'</tr>';
87
+                        $no++;
88
+                    }
89
+                                        ?>
90 90
                          </tbody>
91 91
                     </table>
92 92
                   </div>
@@ -131,4 +131,4 @@  discard block
 block discarded – undo
131 131
 
132 132
     <?php
133 133
 }
134
-?>
134
+    ?>
Please login to merge, or discard this patch.
modul/mod_rekam_medis/rekam_medis.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
                 echo"<td>$r[tindakan]</td>";
76 76
                 echo" <td  style='text-align:center;'>";
77 77
 
78
-                if ($r_edit == 'Y') {
78
+                if ($r_edit=='Y') {
79 79
                     echo"<a class='thickbox' href='modul/mod_$module/form_$module.php?id_kunjungan_berobat=$r[id_kunjungan_berobat]&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>";
80 80
                 }
81 81
 
Please login to merge, or discard this patch.
Switch Indentation   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@  discard block
 block discarded – undo
1
-<?php
1
+    <?php
2 2
 switch ($_GET[act]) {
3 3
 
4
-default:
5
-  ?>
4
+        default:
5
+          ?>
6 6
 
7 7
  <div class="">
8 8
                    
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
                             
49 49
                          <?php
50 50
 
51
-            $tampil = mysql_query('SELECT a.*,b.nama,b.tgl_lahir,b.ktp,c.poli,d.kategori                                  
51
+                    $tampil = mysql_query('SELECT a.*,b.nama,b.tgl_lahir,b.ktp,c.poli,d.kategori                                  
52 52
                                 FROM kunjungan_berobat a left join pasien b 
53 53
                                  ON a.id_pasien = b.id_pasien
54 54
                                  left join poli c 
@@ -57,33 +57,33 @@  discard block
 block discarded – undo
57 57
                                  ON b.id_kategori = d.id_kategori                                
58 58
                                  ORDER BY a.tanggal,a.id_poli,a.no_urut ASC');
59 59
 
60
-            $no = 1;
60
+                    $no = 1;
61 61
 
62
-            while ($r = mysql_fetch_array($tampil)) {
63
-                $tgl = date('d/m/Y', strtotime($r[tanggal]));
64
-                $tgl_lahir = date('d/m/Y', strtotime($r[tgl_lahir]));
62
+                    while ($r = mysql_fetch_array($tampil)) {
63
+                        $tgl = date('d/m/Y', strtotime($r[tanggal]));
64
+                        $tgl_lahir = date('d/m/Y', strtotime($r[tgl_lahir]));
65 65
 
66
-                echo'<tr>';
67
-                echo"<td>$tgl</td>";
68
-                echo"<td>$r[poli]</td>";
69
-                echo"<td>$r[no_urut]</td>";
70
-                echo"<td>$r[nama]</td>";
71
-                echo"<td>$r[kategori]</td>";
72
-                echo"<td>$r[keluhan]</td>";
73
-                echo"<td>$r[diagnosa]</td>";
74
-                echo"<td>$r[pemeriksaan]</td>";
75
-                echo"<td>$r[tindakan]</td>";
76
-                echo" <td  style='text-align:center;'>";
66
+                        echo'<tr>';
67
+                        echo"<td>$tgl</td>";
68
+                        echo"<td>$r[poli]</td>";
69
+                        echo"<td>$r[no_urut]</td>";
70
+                        echo"<td>$r[nama]</td>";
71
+                        echo"<td>$r[kategori]</td>";
72
+                        echo"<td>$r[keluhan]</td>";
73
+                        echo"<td>$r[diagnosa]</td>";
74
+                        echo"<td>$r[pemeriksaan]</td>";
75
+                        echo"<td>$r[tindakan]</td>";
76
+                        echo" <td  style='text-align:center;'>";
77 77
 
78
-                if ($r_edit == 'Y') {
79
-                    echo"<a class='thickbox' href='modul/mod_$module/form_$module.php?id_kunjungan_berobat=$r[id_kunjungan_berobat]&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>";
80
-                }
78
+                        if ($r_edit == 'Y') {
79
+                            echo"<a class='thickbox' href='modul/mod_$module/form_$module.php?id_kunjungan_berobat=$r[id_kunjungan_berobat]&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>";
80
+                        }
81 81
 
82
-                echo'</td>';
83
-                echo'</tr>';
84
-                $no++;
85
-            }
86
-                                ?>
82
+                        echo'</td>';
83
+                        echo'</tr>';
84
+                        $no++;
85
+                    }
86
+                                        ?>
87 87
                          </tbody>
88 88
                     </table>
89 89
                   </div>
@@ -128,4 +128,4 @@  discard block
 block discarded – undo
128 128
 
129 129
     <?php
130 130
 }
131
-?>
131
+    ?>
Please login to merge, or discard this patch.
modul/mod_pasien/pasien.php 2 patches
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.
Switch Indentation   +36 added lines, -36 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1
-  
2
-<?php
1
+      
2
+    <?php
3 3
 switch ($_GET[act]) {
4 4
 
5
-default:
6
-  ?>
5
+        default:
6
+          ?>
7 7
 
8 8
  <div class="">
9 9
                    
@@ -51,36 +51,36 @@  discard block
 block discarded – undo
51 51
                          <?php
52 52
 
53 53
 
54
-                            $tampil = mysql_query('SELECT a.*,b.agama,c.kategori
54
+                                    $tampil = mysql_query('SELECT a.*,b.agama,c.kategori
55 55
                                                 FROM pasien a left join agama b 
56 56
                                                  ON a.id_agama = b.id_agama
57 57
                                                  left join kategori c
58 58
                                                  ON a.id_kategori = c.id_kategori
59 59
                                                  ORDER BY a.nama ');
60 60
 
61
-                            $no = 1;
61
+                                    $no = 1;
62 62
 
63
-                            while ($r = mysql_fetch_array($tampil)) {
64
-                                $tgl_lahir = date('d/m/Y', strtotime($r[tgl_lahir]));
63
+                                    while ($r = mysql_fetch_array($tampil)) {
64
+                                        $tgl_lahir = date('d/m/Y', strtotime($r[tgl_lahir]));
65 65
 
66
-                                if ($r['gender'] == 'L') {
67
-                                    $gender = 'Laki-laki';
68
-                                } else {
69
-                                    $gender = 'Perempuan';
70
-                                }
66
+                                        if ($r['gender'] == 'L') {
67
+                                            $gender = 'Laki-laki';
68
+                                        } else {
69
+                                            $gender = 'Perempuan';
70
+                                        }
71 71
 
72
-                                echo'<tr>';
73
-                                echo"<td>$r[nama]</td>";
74
-                                echo"<td>$r[ktp]</td>";
75
-                                echo"<td>$tgl_lahir</td>";
76
-                                echo"<td>$gender</td>";
77
-                                echo"<td>$r[agama]</td>";
78
-                                echo"<td>$r[kategori]</td>";
79
-                                echo"<td>$r[telp]</td>";
80
-                                echo"<td>$r[alamat]</td>";
81
-                                echo"<td style='text-align:center;'>$r[aktif]</td>";
82
-                                echo" <td  style='text-align:center;'>"; ?>
83
-                            <a href='#' title='Cetak' onclick="window.open('./modul/mod_<?php echo $module; ?>/cetak_pasien.php?id_pasien=<?php echo $r[id_pasien]; ?>', '', 'height=500,width=600,resizable=1,scrollbars=1,addressbars=0,directories=no,location=no')">
72
+                                        echo'<tr>';
73
+                                        echo"<td>$r[nama]</td>";
74
+                                        echo"<td>$r[ktp]</td>";
75
+                                        echo"<td>$tgl_lahir</td>";
76
+                                        echo"<td>$gender</td>";
77
+                                        echo"<td>$r[agama]</td>";
78
+                                        echo"<td>$r[kategori]</td>";
79
+                                        echo"<td>$r[telp]</td>";
80
+                                        echo"<td>$r[alamat]</td>";
81
+                                        echo"<td style='text-align:center;'>$r[aktif]</td>";
82
+                                        echo" <td  style='text-align:center;'>"; ?>
83
+                                    <a href='#' title='Cetak' onclick="window.open('./modul/mod_<?php echo $module; ?>/cetak_pasien.php?id_pasien=<?php echo $r[id_pasien]; ?>', '', 'height=500,width=600,resizable=1,scrollbars=1,addressbars=0,directories=no,location=no')">
84 84
 
85 85
                             <span class='icon'><i class='fa fa-print'></i></span>
86 86
 
@@ -88,18 +88,18 @@  discard block
 block discarded – undo
88 88
 
89 89
                             <?php
90 90
 
91
-                            if ($r_edit == 'Y') {
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
-                            }
91
+                                    if ($r_edit == 'Y') {
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
+                                    }
94 94
 
95
-                                // if($r_delete == 'Y') {
96
-                                // echo"<a href='modul/mod_$module/aksi_$module.php?module=$module&act=hapus&id=$r[id_pasien]&id_module=$id' onClick=\"return confirm('Delete this record ?')\" title='Delete $nmmodule'><span class='icon'><i class='fa fa-trash'></i></span></a>";
97
-                                // }
98
-                                echo'</td>';
99
-                                echo'</tr>';
100
-                                $no++;
101
-                            }
102
-                                ?>
95
+                                        // if($r_delete == 'Y') {
96
+                                        // echo"<a href='modul/mod_$module/aksi_$module.php?module=$module&act=hapus&id=$r[id_pasien]&id_module=$id' onClick=\"return confirm('Delete this record ?')\" title='Delete $nmmodule'><span class='icon'><i class='fa fa-trash'></i></span></a>";
97
+                                        // }
98
+                                        echo'</td>';
99
+                                        echo'</tr>';
100
+                                        $no++;
101
+                                    }
102
+                                        ?>
103 103
                          </tbody>
104 104
                     </table>
105 105
                   </div>
Please login to merge, or discard this patch.
modul/mod_obat/obat.php 2 patches
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.
Switch Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1
-  
2
-<?php
1
+      
2
+    <?php
3 3
 switch ($_GET[act]) {
4 4
 
5
-default:
6
-  ?>
5
+        default:
6
+          ?>
7 7
 
8 8
  <div class="">
9 9
                    
@@ -45,35 +45,35 @@  discard block
 block discarded – undo
45 45
                             
46 46
                          <?php
47 47
 
48
-            $tampil = mysql_query('SELECT a.*,b.satuan 
48
+                    $tampil = mysql_query('SELECT a.*,b.satuan 
49 49
                                 FROM obat a left join satuan b 
50 50
                                  ON a.id_satuan = b.id_satuan
51 51
                                  ORDER BY a.obat ');
52 52
 
53
-            $no = 1;
53
+                    $no = 1;
54 54
 
55
-            while ($r = mysql_fetch_array($tampil)) {
56
-                $jumlah = number_format($r[jumlah], 0, '', '.');
55
+                    while ($r = mysql_fetch_array($tampil)) {
56
+                        $jumlah = number_format($r[jumlah], 0, '', '.');
57 57
 
58
-                echo'<tr>';
59
-                echo"<td>$r[obat]</td>";
60
-                echo"<td>$r[satuan]</td>";
61
-                echo"<td style='text-align:right;'>$jumlah</td>";
62
-                echo"<td style='text-align:center;'>$r[aktif]</td>";
63
-                echo" <td  style='text-align:center;'>";
58
+                        echo'<tr>';
59
+                        echo"<td>$r[obat]</td>";
60
+                        echo"<td>$r[satuan]</td>";
61
+                        echo"<td style='text-align:right;'>$jumlah</td>";
62
+                        echo"<td style='text-align:center;'>$r[aktif]</td>";
63
+                        echo" <td  style='text-align:center;'>";
64 64
 
65
-                if ($r_edit == 'Y') {
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
-                }
65
+                        if ($r_edit == 'Y') {
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
+                        }
68 68
 
69
-                // if($r_delete == 'Y') {
70
-                // echo"<a href='modul/mod_$module/aksi_$module.php?module=$module&act=hapus&id=$r[id_obat]&id_module=$id' onClick=\"return confirm('Delete this record ?')\" title='Delete $nmmodule'><span class='icon'><i class='fa fa-trash'></i></span></a>";
71
-                // }
72
-                echo'</td>';
73
-                echo'</tr>';
74
-                $no++;
75
-            }
76
-                                ?>
69
+                        // if($r_delete == 'Y') {
70
+                        // echo"<a href='modul/mod_$module/aksi_$module.php?module=$module&act=hapus&id=$r[id_obat]&id_module=$id' onClick=\"return confirm('Delete this record ?')\" title='Delete $nmmodule'><span class='icon'><i class='fa fa-trash'></i></span></a>";
71
+                        // }
72
+                        echo'</td>';
73
+                        echo'</tr>';
74
+                        $no++;
75
+                    }
76
+                                        ?>
77 77
                          </tbody>
78 78
                     </table>
79 79
                   </div>
Please login to merge, or discard this patch.
modul/mod_report_kunjungan_pasien/report_kunjungan_pasien.php 3 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
 $prd = date('Y-m');
65 65
 
66 66
 $userid = $_SESSION['userid'];
67
-  ?>
67
+    ?>
68 68
 
69 69
  <div class="">
70 70
                    
@@ -115,12 +115,12 @@  discard block
 block discarded – undo
115 115
 
116 116
              <?php
117 117
 
118
-             $module = '?module='.$_GET['module'];
119
-             $tampil = mysql_query("SELECT id_modul as id FROM modul WHERE link='".$module."'");
120
-             $r = mysql_fetch_array($tampil);
118
+                $module = '?module='.$_GET['module'];
119
+                $tampil = mysql_query("SELECT id_modul as id FROM modul WHERE link='".$module."'");
120
+                $r = mysql_fetch_array($tampil);
121 121
 
122
-             echo"<input type='hidden' name='report_id' id='report_id' value=".$r[id].'>';
123
-             echo"<input type='hidden' name='module' value=".$_GET[module].'>';
122
+                echo"<input type='hidden' name='report_id' id='report_id' value=".$r[id].'>';
123
+                echo"<input type='hidden' name='module' value=".$_GET[module].'>';
124 124
             ?>
125 125
             </form>    
126 126
                    
Please login to merge, or discard this 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.
Switch Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -139,5 +139,5 @@
 block discarded – undo
139 139
 
140 140
     <?php
141 141
 }
142
-?>
143
-
142
+    ?>
143
+    
Please login to merge, or discard this patch.
modul/mod_user/user.php 2 patches
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.
Switch Indentation   +48 added lines, -48 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1
-<?php
1
+    <?php
2 2
 
3
-$outlet = $df_outlet;
3
+    $outlet = $df_outlet;
4 4
 
5 5
 switch ($_GET[act]) {
6 6
 
7
-default:
8
-  ?>
7
+        default:
8
+          ?>
9 9
 
10 10
  <div class="">
11 11
                    
@@ -52,59 +52,59 @@  discard block
 block discarded – undo
52 52
                          <?php
53 53
 
54 54
 
55
-                        $tampil = mysql_query("SELECT a.*,b.groups FROM user a INNER JOIN groups b 
55
+                                $tampil = mysql_query("SELECT a.*,b.groups FROM user a INNER JOIN groups b 
56 56
                                              ON a.id_groups=b.id_groups                                           
57 57
                                              WHERE a.role != 'SA'
58 58
                                              ORDER BY a.id_user DESC ");
59 59
 
60
-                                $no = 1;
61
-                                while ($r = mysql_fetch_array($tampil)) {
62
-                                    if ($r[r_input] == 'Y') {
63
-                                        $input = "<img src='images/cek.png' border=0> Input";
64
-                                    } else {
65
-                                        $input = "<img src='images/del.gif' width='20' border=0> Input";
66
-                                    }
60
+                                        $no = 1;
61
+                                        while ($r = mysql_fetch_array($tampil)) {
62
+                                            if ($r[r_input] == 'Y') {
63
+                                                $input = "<img src='images/cek.png' border=0> Input";
64
+                                            } else {
65
+                                                $input = "<img src='images/del.gif' width='20' border=0> Input";
66
+                                            }
67 67
 
68
-                                    if ($r[r_edit] == 'Y') {
69
-                                        $edit = "<img src='images/cek.png' border=0> Edit";
70
-                                    } else {
71
-                                        $edit = "<img src='images/del.gif' width='20' border=0> Edit";
72
-                                    }
68
+                                            if ($r[r_edit] == 'Y') {
69
+                                                $edit = "<img src='images/cek.png' border=0> Edit";
70
+                                            } else {
71
+                                                $edit = "<img src='images/del.gif' width='20' border=0> Edit";
72
+                                            }
73 73
 
74
-                                    if ($r[r_delete] == 'Y') {
75
-                                        $delete = "<img src='images/cek.png' border=0> Delete";
76
-                                    } else {
77
-                                        $delete = "<img src='images/del.gif' width='20' border=0> Delete";
78
-                                    }
74
+                                            if ($r[r_delete] == 'Y') {
75
+                                                $delete = "<img src='images/cek.png' border=0> Delete";
76
+                                            } else {
77
+                                                $delete = "<img src='images/del.gif' width='20' border=0> Delete";
78
+                                            }
79 79
 
80
-                                    if ($r[outlet] == '') {
81
-                                        $outlet = 'Semua Outlet';
82
-                                    } else {
83
-                                        $outlet = $r['outlet'];
84
-                                    }
80
+                                            if ($r[outlet] == '') {
81
+                                                $outlet = 'Semua Outlet';
82
+                                            } else {
83
+                                                $outlet = $r['outlet'];
84
+                                            }
85 85
 
86
-                                    echo'<tr>';
87
-                                    echo"<td>$r[id_user]</td>";
88
-                                    echo"<td>$r[username]</td>";
89
-                                    echo"<td>$r[nik]</td>";
90
-                                    echo"<td>$r[groups]</td>";
91
-                                    echo"<td>$r[r_input]</td>";
92
-                                    echo"<td>$r[r_edit]</td>";
93
-                                    echo"<td>$r[r_delete]</td>";
94
-                                    echo"<td style='text-align:center;'>$r[aktif]</td>";
95
-                                    echo" <td  style='text-align:center;'>";
96
-                                    if ($r_edit == 'Y') {
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
-                                    }
86
+                                            echo'<tr>';
87
+                                            echo"<td>$r[id_user]</td>";
88
+                                            echo"<td>$r[username]</td>";
89
+                                            echo"<td>$r[nik]</td>";
90
+                                            echo"<td>$r[groups]</td>";
91
+                                            echo"<td>$r[r_input]</td>";
92
+                                            echo"<td>$r[r_edit]</td>";
93
+                                            echo"<td>$r[r_delete]</td>";
94
+                                            echo"<td style='text-align:center;'>$r[aktif]</td>";
95
+                                            echo" <td  style='text-align:center;'>";
96
+                                            if ($r_edit == 'Y') {
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
+                                            }
99 99
 
100
-                                    // if($r_delete == 'Y') {
101
-                                    // echo"<a href='modul/mod_$module/aksi_$module.php?module=$module&act=hapus&id=$r[id_user]&id_module=$id' onClick=\"return confirm('Hapus data ?')\" title='Delete $nmmodule'><span class='icon'><i class='fa fa-trash'></i></span></a>";
102
-                                    // }
103
-                                    echo'</td>';
104
-                                    echo'</tr>';
105
-                                    $no++;
106
-                                }
107
-                                ?>
100
+                                            // if($r_delete == 'Y') {
101
+                                            // echo"<a href='modul/mod_$module/aksi_$module.php?module=$module&act=hapus&id=$r[id_user]&id_module=$id' onClick=\"return confirm('Hapus data ?')\" title='Delete $nmmodule'><span class='icon'><i class='fa fa-trash'></i></span></a>";
102
+                                            // }
103
+                                            echo'</td>';
104
+                                            echo'</tr>';
105
+                                            $no++;
106
+                                        }
107
+                                        ?>
108 108
                          </tbody>
109 109
                     </table>
110 110
                   </div>
Please login to merge, or discard this patch.
modul/mod_groupmodul/groupmodul.php 2 patches
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.
Switch Indentation   +36 added lines, -36 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1
-  
2
-<?php
1
+      
2
+    <?php
3 3
 switch ($_GET[act]) {
4 4
 
5
-default:
6
-  ?>
5
+        default:
6
+          ?>
7 7
 
8 8
  <div class="">
9 9
                    
@@ -43,32 +43,32 @@  discard block
 block discarded – undo
43 43
                         <tbody>
44 44
                          <?php
45 45
 
46
-            $tampil = mysql_query("SELECT a.*,b.groups,c.nama_modul,c.status_menu FROM groupmodul a INNER JOIN groups b
46
+                    $tampil = mysql_query("SELECT a.*,b.groups,c.nama_modul,c.status_menu FROM groupmodul a INNER JOIN groups b
47 47
                        ON a.id_groups = b.id_groups
48 48
                        INNER JOIN modul c
49 49
                        ON a.id_modul = c.id_modul
50 50
                        WHERE c.status_menu = 'M'
51 51
                        ORDER BY a.id_groups,a.id_modul");
52 52
 
53
-                $no = 1;
54
-                                while ($r = mysql_fetch_array($tampil)) {
55
-                                    echo'<tr>';
56
-                                    echo"<td><b>$r[groups]</b></td>";
57
-                                    echo"<td><b>$r[nama_modul]</b></td>";
58
-                                    echo"<td style='text-align:center;'>$r[aktif]</td>";
59
-                                    echo" <td  style='text-align:center;'>";
60
-                                    if ($r_edit == 'Y') {
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
-                                    }
53
+                        $no = 1;
54
+                                        while ($r = mysql_fetch_array($tampil)) {
55
+                                            echo'<tr>';
56
+                                            echo"<td><b>$r[groups]</b></td>";
57
+                                            echo"<td><b>$r[nama_modul]</b></td>";
58
+                                            echo"<td style='text-align:center;'>$r[aktif]</td>";
59
+                                            echo" <td  style='text-align:center;'>";
60
+                                            if ($r_edit == 'Y') {
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
+                                            }
63 63
 
64
-                                    if ($r_delete == 'Y') {
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
-                                    }
64
+                                            if ($r_delete == 'Y') {
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
+                                            }
67 67
 
68
-                                    echo'</td>';
69
-                                    echo'</tr>';
68
+                                            echo'</td>';
69
+                                            echo'</tr>';
70 70
 
71
-                                    $dtampil = mysql_query("SELECT a.*,b.groups,c.nama_modul,c.status_menu FROM groupmodul a INNER JOIN groups b
71
+                                            $dtampil = mysql_query("SELECT a.*,b.groups,c.nama_modul,c.status_menu FROM groupmodul a INNER JOIN groups b
72 72
                        ON a.id_groups = b.id_groups
73 73
                        INNER JOIN modul c
74 74
                        ON a.id_modul = c.id_modul
@@ -77,24 +77,24 @@  discard block
 block discarded – undo
77 77
                        AND a.id_groups  = '$r[id_groups]'
78 78
                        ORDER BY a.id_groupmodul");
79 79
 
80
-                                    while ($d = mysql_fetch_array($dtampil)) {
81
-                                        echo'<tr>';
82
-                                        echo'<td></td>';
83
-                                        echo"<td>$d[nama_modul]</td>";
80
+                                            while ($d = mysql_fetch_array($dtampil)) {
81
+                                                echo'<tr>';
82
+                                                echo'<td></td>';
83
+                                                echo"<td>$d[nama_modul]</td>";
84 84
 
85
-                                        echo"<td style='text-align:center;'>$d[aktif]</td>";
86
-                                        echo"<td style='text-align:right;'>";
87
-                                        if ($r_delete == 'Y') {
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
-                                        }
90
-                                        echo'</td>';
85
+                                                echo"<td style='text-align:center;'>$d[aktif]</td>";
86
+                                                echo"<td style='text-align:right;'>";
87
+                                                if ($r_delete == 'Y') {
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
+                                                }
90
+                                                echo'</td>';
91 91
 
92
-                                        echo'</tr>';
93
-                                    }
92
+                                                echo'</tr>';
93
+                                            }
94 94
 
95
-                                    $no++;
96
-                                }
97
-                                ?>
95
+                                            $no++;
96
+                                        }
97
+                                        ?>
98 98
                          </tbody>
99 99
                     </table>
100 100
                   </div>
Please login to merge, or discard this patch.
modul/mod_modul/modul.php 2 patches
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.
Switch Indentation   +42 added lines, -42 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1
-  
2
-<?php
1
+      
2
+    <?php
3 3
 switch ($_GET[act]) {
4 4
 
5
-default:
6
-  ?>
5
+        default:
6
+          ?>
7 7
 
8 8
  <div class="">
9 9
                    
@@ -44,56 +44,56 @@  discard block
 block discarded – undo
44 44
                             
45 45
                          <?php
46 46
 
47
-            $tampil = mysql_query("SELECT * FROM modul WHERE status_menu = 'M' ORDER BY urutan ASC");
47
+                    $tampil = mysql_query("SELECT * FROM modul WHERE status_menu = 'M' ORDER BY urutan ASC");
48 48
 
49
-                $no = 1;
50
-                                while ($r = mysql_fetch_array($tampil)) {
51
-                                    echo'<tr>';
52
-                                    echo"<td><b>$r[nama_modul]</b></td>";
53
-                                    echo"<td>$r[link]</td>";
49
+                        $no = 1;
50
+                                        while ($r = mysql_fetch_array($tampil)) {
51
+                                            echo'<tr>';
52
+                                            echo"<td><b>$r[nama_modul]</b></td>";
53
+                                            echo"<td>$r[link]</td>";
54 54
 
55
-                                    echo"<td style='text-align:center;'>$r[aktif]</td>";
56
-                                    echo"<td style='text-align:center;'>";
57
-                                    if ($r_input == 'Y') {
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
-                                    }
55
+                                            echo"<td style='text-align:center;'>$r[aktif]</td>";
56
+                                            echo"<td style='text-align:center;'>";
57
+                                            if ($r_input == 'Y') {
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
+                                            }
60 60
 
61
-                                    if ($r_edit == 'Y') {
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
-                                    }
61
+                                            if ($r_edit == 'Y') {
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
+                                            }
64 64
 
65
-                                    if ($r_delete == 'Y') {
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
-                                    }
68
-                                    echo'</td>';
65
+                                            if ($r_delete == 'Y') {
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
+                                            }
68
+                                            echo'</td>';
69 69
 
70
-                                    echo'</tr>';
70
+                                            echo'</tr>';
71 71
 
72
-                                    $dtampil = mysql_query("SELECT * FROM modul
72
+                                            $dtampil = mysql_query("SELECT * FROM modul
73 73
                             WHERE status_menu = 'c'
74 74
                             AND parentid = '$r[id_modul]' and aktif = 'Y' ORDER BY urutan ASC");
75 75
 
76
-                                    while ($d = mysql_fetch_array($dtampil)) {
77
-                                        echo'<tr>';
78
-                                        echo"<td style='padding-left:15px;'>$d[nama_modul]</td>";
79
-                                        echo"<td style='text-transform:lowercase;'>$d[link]</td>";
76
+                                            while ($d = mysql_fetch_array($dtampil)) {
77
+                                                echo'<tr>';
78
+                                                echo"<td style='padding-left:15px;'>$d[nama_modul]</td>";
79
+                                                echo"<td style='text-transform:lowercase;'>$d[link]</td>";
80 80
 
81
-                                        echo"<td style='text-align:center;'>$d[aktif]</td>";
82
-                                        echo" <td style='text-align:right;'>";
83
-                                        if ($r_edit == 'Y') {
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
-                                        }
81
+                                                echo"<td style='text-align:center;'>$d[aktif]</td>";
82
+                                                echo" <td style='text-align:right;'>";
83
+                                                if ($r_edit == 'Y') {
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
+                                                }
86 86
 
87
-                                        if ($r_delete == 'Y') {
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
-                                        }
90
-                                        echo'</td>';
91
-                                        echo'</tr>';
92
-                                    }
87
+                                                if ($r_delete == 'Y') {
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
+                                                }
90
+                                                echo'</td>';
91
+                                                echo'</tr>';
92
+                                            }
93 93
 
94
-                                    $no++;
95
-                                }
96
-                                ?>
94
+                                            $no++;
95
+                                        }
96
+                                        ?>
97 97
                          </tbody>
98 98
                     </table>
99 99
                   </div>
Please login to merge, or discard this patch.