Passed
Push — master ( 25c5f3...d91862 )
by Saepul
07:05 queued 02:03
created
js/datatables/unit_testing/templates/two_tables.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/deferred_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/dom_data_two_headers.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/-complex_header.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/complex_header_2.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/2512.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.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.
content.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
       //  echo"modul/mod_$mod.php<br>";
14 14
 //
15 15
 
16
-      if ($_GET['module'] == $mod) {
16
+      if ($_GET['module']==$mod) {
17 17
           //include "modul/mod_$mod.php";
18 18
           include "modul/mod_$mod/$mod.php";
19 19
       }
Please login to merge, or discard this patch.
modul.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@  discard block
 block discarded – undo
2 2
 session_start();
3 3
 include 'config/koneksi.php';
4 4
 
5
-if ($_SESSION[role] == 'dev') {
5
+if ($_SESSION[role]=='dev') {
6 6
     $sql = mysql_query("select * from modul where aktif='Y' order by urutan");
7
-} elseif ($_SESSION[role] == 'admin') {
7
+} elseif ($_SESSION[role]=='admin') {
8 8
     $sql = mysql_query("select * from modul where status !='dev' and aktif='Y' order by urutan");
9
-} elseif ($_SESSION[role] == 'user') {
9
+} elseif ($_SESSION[role]=='user') {
10 10
     $sql = mysql_query("select * from modul where status='user' and aktif='Y' order by urutan");
11 11
 } else {
12 12
     $sql = mysql_query("SELECT * FROM modul a inner join usermenu b on a.id_modul = b.id_modul where a.status='user' and a.aktif='Y'  and b.m_aktif='Y' and b.username='$_SESSION[id_user]' ORDER BY a.urutan");
@@ -23,16 +23,16 @@  discard block
 block discarded – undo
23 23
     //$njml = '('.$cjml.')';
24 24
     //}
25 25
 
26
-    if ($r[status_menu] == 'M' and !empty($r[link])) {
27
-        if ($r[nama_modul] == 'Notice') {
26
+    if ($r[status_menu]=='M' and !empty($r[link])) {
27
+        if ($r[nama_modul]=='Notice') {
28 28
             echo "<a class='menuitem' href='$r[link]'>$r[nama_modul] $njml</a>";
29 29
         } else {
30 30
             echo "<a class='menuitem' href='$r[link]'>$r[nama_modul]</a>";
31 31
         }
32
-    } elseif ($r[status_menu] == 'M' and empty($r[link])) {
32
+    } elseif ($r[status_menu]=='M' and empty($r[link])) {
33 33
         echo "<a class='menuitem submenuheader' href='$r[link]'>$r[nama_modul]</a>  ";
34 34
 
35
-        if ($_SESSION[role] == 'dev' or $_SESSION[role] == 'admin') {
35
+        if ($_SESSION[role]=='dev' or $_SESSION[role]=='admin') {
36 36
             $detil = mysql_query("select * from modul where id_submenu='$r[id_modul]' and status_menu='C' and aktif='Y' order by urutan");
37 37
         } else {
38 38
             $detil = mysql_query("select * from modul where id_submenu='$r[id_modul]' and status_menu='C' and aktif='Y' and (id_role = '5' or id_role	 = '$_SESSION[role]') and (id_group = '1' or id_group = '$_SESSION[group]')order by urutan");
Please login to merge, or discard this patch.