1 | |||||
2 | <?php |
||||
3 | include 'config/koneksi.php'; |
||||
4 | |||||
5 | $imodule = $_GET['module']; |
||||
6 | $imenu = $_GET['menu']; |
||||
7 | $isub = $_GET['sub']; |
||||
8 | |||||
9 | ?> |
||||
10 | |||||
11 | |||||
12 | <table cellpadding='0' cellspacing='0' width='100%'> |
||||
13 | |||||
14 | <tr> |
||||
15 | <?php |
||||
16 | $SQL = 'SELECT * FROM general_setting '; |
||||
17 | |||||
18 | $tampil = mysql_query($SQL); |
||||
0 ignored issues
–
show
|
|||||
19 | |||||
20 | $r = mysql_fetch_array($tampil); |
||||
0 ignored issues
–
show
The function
mysql_fetch_array() has been deprecated: 5.5 Fetch a result row as an associative array, a numeric array, or both
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This function has been deprecated. The supplier of the function has supplied an explanatory message. The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead. ![]() |
|||||
21 | |||||
22 | $nm_hotel = $r[hotel_name]; |
||||
0 ignored issues
–
show
|
|||||
23 | ?> |
||||
24 | <td width='90%'> |
||||
25 | <div id='cssmenu'> |
||||
26 | |||||
27 | <ul> |
||||
28 | <li class='Aktif' style='font-weight:bold;color:#2969FF'><?php echo ' .: '.$nm_hotel.' :. ' ?>  </li> |
||||
29 | |||||
30 | |||||
31 | <?php |
||||
32 | |||||
33 | $user = $_SESSION['userid']; |
||||
34 | |||||
35 | $sql = mysql_query("select * from modul where aktif='Y' order by urutan"); |
||||
0 ignored issues
–
show
The function
mysql_query() has been deprecated: 5.5 Send a MySQL query
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This function has been deprecated. The supplier of the function has supplied an explanatory message. The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead. ![]() |
|||||
36 | |||||
37 | while ($r = mysql_fetch_array($sql)) { |
||||
0 ignored issues
–
show
The function
mysql_fetch_array() has been deprecated: 5.5 Fetch a result row as an associative array, a numeric array, or both
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This function has been deprecated. The supplier of the function has supplied an explanatory message. The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead. ![]() |
|||||
38 | if ($r[status_menu] == 'M' and !empty($r[link])) { |
||||
0 ignored issues
–
show
|
|||||
39 | echo "<li class='Aktif'><a href='$r[link]&menu=$r[nama_modul]'>$r[nama_modul]</a>"; |
||||
40 | } elseif ($r[status_menu] == 'M' and empty($r[link])) { |
||||
41 | echo "<li class='Aktif'><a href='#'>$r[nama_modul]</a>"; |
||||
42 | } |
||||
43 | |||||
44 | echo'<ul>'; |
||||
45 | |||||
46 | $detil = mysql_query("select * from modul where parentid='$r[id_modul]' and status_menu='C' and aktif='Y' order by urutan"); |
||||
0 ignored issues
–
show
The function
mysql_query() has been deprecated: 5.5 Send a MySQL query
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This function has been deprecated. The supplier of the function has supplied an explanatory message. The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead. ![]() |
|||||
47 | |||||
48 | while ($d = mysql_fetch_array($detil)) { |
||||
0 ignored issues
–
show
The function
mysql_fetch_array() has been deprecated: 5.5 Fetch a result row as an associative array, a numeric array, or both
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This function has been deprecated. The supplier of the function has supplied an explanatory message. The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead. ![]() |
|||||
49 | if ($d[is_form] == 'Y') { |
||||
0 ignored issues
–
show
|
|||||
50 | echo"<li><a href='form/form_$d[link].php?width=850&height=600&module=$d[link]&imodule=$imodule&imenu=$imenu&isub=$isub&TB_iframe=true' title='$d[nama_modul]' class='thickbox' >$d[nama_modul]</a></li>"; |
||||
51 | } else { |
||||
52 | echo"<li><a href='$d[link]&menu=$r[nama_modul]&sub=$d[nama_modul]'>$d[nama_modul]</a></li>"; |
||||
53 | } |
||||
54 | } |
||||
55 | |||||
56 | echo'</ul>'; |
||||
57 | } |
||||
58 | |||||
59 | ?> |
||||
60 | |||||
61 | |||||
62 | |||||
63 | </li> |
||||
64 | </ul> |
||||
65 | |||||
66 | </div> |
||||
67 | </td> |
||||
68 | |||||
69 | </tr> |
||||
70 | |||||
71 | </table> |
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.