Passed
Push — master ( 3d9c29...b0d6c4 )
by Saepul
04:54
created
main.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
     $tampil = mysql_query("SELECT orientation FROM modul WHERE link='".$mod."'");
194 194
     $r = mysql_fetch_array($tampil);
195 195
 
196
-    if ($r[orientation] == 'P') {
196
+    if ($r[orientation]=='P') {
197 197
         ?>
198 198
         
199 199
 <SCRIPT TYPE="text/javascript">
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
 </SCRIPT>
210 210
 
211 211
 <?php
212
-    } elseif ($r[orientation] == 'A') {
212
+    } elseif ($r[orientation]=='A') {
213 213
         ?>
214 214
 
215 215
 <SCRIPT TYPE="text/javascript">
Please login to merge, or discard this patch.
config/koneksi.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 mysql_connect($server, $username, $password) or die('Koneksi gagal');
8 8
 mysql_select_db($database) or die('Database tidak bisa dibuka');
9 9
 
10
-if (! function_exists('user_log')) {
10
+if (!function_exists('user_log')) {
11 11
     function user_log($log)
12 12
     {
13 13
         $id_user = $_SESSION['userid'];
Please login to merge, or discard this patch.
cek_login.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 $r = mysql_fetch_array($login);
23 23
 
24 24
 // Apabila userid dan password ditemukan
25
-if ($find > 0) {
25
+if ($find>0) {
26 26
     session_start();
27 27
 
28 28
     $id_user = $r['id_user'];
Please login to merge, or discard this patch.