Passed
Push — master ( 25c5f3...d91862 )
by Saepul
07:05 queued 02:03
created
menu.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 session_start();
3 3
 include 'config/koneksi.php';
4 4
 
5
-  if ($_SESSION['role'] == 'SA') {
5
+  if ($_SESSION['role']=='SA') {
6 6
       $sql = mysql_query("select * from modul where aktif='Y' and status_menu = 'M' order by urutan");
7 7
 
8 8
       $gjml = '1';
@@ -23,15 +23,15 @@  discard block
 block discarded – undo
23 23
   }
24 24
 
25 25
                              while ($r = mysql_fetch_array($sql)) {
26
-                                 if ($r[status_menu] == 'M' and !empty($r[link])) {
26
+                                 if ($r[status_menu]=='M' and !empty($r[link])) {
27 27
                                      echo "<li><a href='$r[link]&id_module=$r[id_modul]'><i class='$r[icon]'></i> $r[nama_modul]</a>";
28
-                                 } elseif ($r[status_menu] == 'M' and empty($r[link])) {
28
+                                 } elseif ($r[status_menu]=='M' and empty($r[link])) {
29 29
                                      echo "<li><a href='#'><i class='$r[icon]'></i> $r[nama_modul] <span class='fa fa-chevron-down'></span></a>";
30 30
                                  }
31 31
 
32 32
                                  echo'<ul class="nav child_menu" style="display: none">';
33 33
 
34
-                                 if ($_SESSION['role'] == 'SA') {
34
+                                 if ($_SESSION['role']=='SA') {
35 35
                                      $detil = mysql_query("select * from modul where aktif='Y' and status_menu = 'C' and parentid = '$r[id_modul]' order by urutan");
36 36
                                  } else {
37 37
                                      $detil = mysql_query("select distinct c.* 
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
                                                          order by c.urutan");
46 46
                                  }
47 47
                                  while ($d = mysql_fetch_array($detil)) {
48
-                                     if ($d[is_form] == 'Y') {
48
+                                     if ($d[is_form]=='Y') {
49 49
                                          echo"<li><a href='modul/mod_$d[link]/form_$d[link].php?width=$d[f_width]&height=$d[f_height]&module=$d[link]&imodule=$imodule&id_module=$id&imenu=$imenu&isub=$isub&TB_iframe=true' title='$d[nama_modul]' class='thickbox' ><i class='$d[fa_icon]'></i>&nbsp&nbsp$d[nama_modul]</a></li>";
50 50
                                      } else {
51 51
                                          echo"<li><a href='$d[link]&id_module=$d[id_modul]'><i class='$d[fa_icon]'></i>&nbsp&nbsp$d[nama_modul]</a></li>";
Please login to merge, or discard this patch.
index.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
     ?>
63 63
                 
64 64
 	<div class="wifi" style="font-size: 33px;"><?php echo $app; ?></div>
65
-		<!-- <p class="copyright">Version : <?php echo $versi;?></p> -->
65
+		<!-- <p class="copyright">Version : <?php echo $versi; ?></p> -->
66 66
 	</footer>
67 67
 </body>
68 68
 </html>
69 69
\ No newline at end of file
Please login to merge, or discard this patch.
js/datatables/unit_testing/controller.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,8 +47,8 @@  discard block
 block discarded – undo
47 47
                 function fnReadDir(&$aReturn, $path)
48 48
                 {
49 49
                     $rDir = opendir($path);
50
-                    while (($file = readdir($rDir)) !== false) {
51
-                        if ($file == '.' || $file == '..' || $file == '.DS_Store') {
50
+                    while (($file = readdir($rDir))!==false) {
51
+                        if ($file=='.' || $file=='..' || $file=='.DS_Store') {
52 52
                             continue;
53 53
                         } elseif (is_dir($path.'/'.$file)) {
54 54
                             fnReadDir($aReturn, $path.'/'.$file);
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
                 $aFiles = [];
64 64
                 fnReadDir($aFiles, 'tests');
65 65
 
66
-                for ($i = 0; $i < count($aFiles); $i++) {
66
+                for ($i = 0; $i<count($aFiles); $i++) {
67 67
                     $sTemplate;
68 68
                     $fp = fopen($aFiles[$i], 'r');
69 69
                     fscanf($fp, '// DATA_TEMPLATE: %s', $sTemplate);
Please login to merge, or discard this patch.
js/datatables/unit_testing/templates/empty_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 		<script type="text/javascript" src="../unit_test.js"></script>
21 21
 		<?php
22 22
             $aScripts = explode(':', $_GET['scripts']);
23
-            for ($i = 0; $i < count($aScripts); $i++) {
23
+            for ($i = 0; $i<count($aScripts); $i++) {
24 24
                 echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
25 25
             }
26 26
         ?>
Please login to merge, or discard this patch.
js/datatables/unit_testing/templates/js_data_mixed_types.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
 		</script>
83 83
 		<?php
84 84
             $aScripts = explode(':', $_GET['scripts']);
85
-            for ($i = 0; $i < count($aScripts); $i++) {
85
+            for ($i = 0; $i<count($aScripts); $i++) {
86 86
                 echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
87 87
             }
88 88
         ?>
Please login to merge, or discard this patch.
js/datatables/unit_testing/templates/dom_data.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 		<script type="text/javascript" src="../unit_test.js"></script>
21 21
 		<?php
22 22
             $aScripts = explode(':', $_GET['scripts']);
23
-            for ($i = 0; $i < count($aScripts); $i++) {
23
+            for ($i = 0; $i<count($aScripts); $i++) {
24 24
                 echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
25 25
             }
26 26
         ?>
Please login to merge, or discard this patch.
js/datatables/unit_testing/templates/dymanic_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 		</script>
26 26
 		<?php
27 27
             $aScripts = explode(':', $_GET['scripts']);
28
-            for ($i = 0; $i < count($aScripts); $i++) {
28
+            for ($i = 0; $i<count($aScripts); $i++) {
29 29
                 echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
30 30
             }
31 31
         ?>
Please login to merge, or discard this patch.
js/datatables/unit_testing/templates/6776.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 		<script type="text/javascript" src="../unit_test.js"></script>
21 21
 		<?php
22 22
             $aScripts = explode(':', $_GET['scripts']);
23
-            for ($i = 0; $i < count($aScripts); $i++) {
23
+            for ($i = 0; $i<count($aScripts); $i++) {
24 24
                 echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
25 25
             }
26 26
         ?>
Please login to merge, or discard this patch.
js/datatables/unit_testing/templates/dom_data_th.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 		<script type="text/javascript" src="../unit_test.js"></script>
21 21
 		<?php
22 22
             $aScripts = explode(':', $_GET['scripts']);
23
-            for ($i = 0; $i < count($aScripts); $i++) {
23
+            for ($i = 0; $i<count($aScripts); $i++) {
24 24
                 echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
25 25
             }
26 26
         ?>
Please login to merge, or discard this patch.