HEX
Server: Apache/2
System: Linux mail.lnwhostname.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
User: suanchonac (1128)
PHP: 7.4.25
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/suanchonac/domains/suanchon.ac.th/public_html/skfood/hotmenu.php
<?php include "connect.php"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <th bgcolor="#f7941d" scope="col"><img src="img/bn.jpg" width="1910" height="350" /></th>
  </tr>
  <tr>
    <td bgcolor="#f7941d"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <th width="11%" align="left" valign="top" scope="col"><a href="index.php"><img src="img/M1.png" width="200" height="45" /></a></th>
        <th width="11%" align="left" scope="col"><a href="menu.php"><img src="img/M2.png" width="200" height="45" /></a></th>
        <th width="11%" align="left" valign="top" scope="col"><a href="hotmenu.php"><img src="img/M3.png" width="200" height="45" /></a></th>
        <th width="11%" align="left" scope="col"><a href="user.php"><img src="img/M4.png" width="200" height="45" /></a></th>
        <th width="56%" align="left" valign="top" scope="col"><a href="login.php"><img src="img/M5.png" width="200" height="45" /></a></th>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td bgcolor="#f7941d">&nbsp;</td>
  </tr>
  <tr>
    <td bgcolor="#f7941d">&nbsp;</td>
  </tr>
  <tr>
    <td bgcolor="#f7941d"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <th scope="col">&nbsp;</th>
        <th align="left" scope="col">&nbsp;</th>
        <th scope="col">&nbsp;</th>
      </tr>
      <tr>
        <th scope="col">&nbsp;</th>
        <th align="left" scope="col">&nbsp;</th>
        <th scope="col">&nbsp;</th>
      </tr>
      <tr>
        <th width="37%" scope="col">&nbsp;</th>
        <th width="30%" align="left" scope="col"><?php
	$stmt=$pdo->prepare ("SELECT * FROM food WHERE id_menu = 4");
	$stmt->execute();
	while ($row = $stmt->fetch()) {
		$img=$row ['img']; 
		echo "".$row ['name_menu']."";
	}?></th>
        <th width="33%" scope="col">&nbsp;</th>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td><?php
	$stmt=$pdo->prepare ("SELECT * FROM food WHERE id_menu = 4");
	$stmt->execute();
	while ($row = $stmt->fetch()) {
		$img=$row ['img']; 
		echo "<img src='img/".$img."' width='400'>";
		
        }?></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td><?php
	$stmt=$pdo->prepare ("SELECT * FROM food WHERE id_menu = 4");
	$stmt->execute();
	while ($row = $stmt->fetch()) {
		$img=$row ['img']; 
		echo "".$row ['des']."";
	}?></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td><?php
	$stmt=$pdo->prepare ("SELECT * FROM food WHERE id_menu = 4");
	$stmt->execute();
	while ($row = $stmt->fetch()) {
		$img=$row ['img']; 
		echo "".$row ['how']."";
	}?></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td><?php
	$stmt=$pdo->prepare ("SELECT * FROM food WHERE id_menu = 5");
	$stmt->execute();
	while ($row = $stmt->fetch()) {
		$img=$row ['img']; 
		echo "".$row ['name_menu']."";
	}?></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td><?php
	$stmt=$pdo->prepare ("SELECT * FROM food WHERE id_menu = 5");
	$stmt->execute();
	while ($row = $stmt->fetch()) {
		$img=$row ['img']; 
		echo "<img src='img/".$img."' width='400'>";
		
        }?></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td><?php
	$stmt=$pdo->prepare ("SELECT * FROM food WHERE id_menu = 4");
	$stmt->execute();
	while ($row = $stmt->fetch()) {
		$img=$row ['img']; 
		echo "".$row ['des']."";
	}?></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td><?php
	$stmt=$pdo->prepare ("SELECT * FROM food WHERE id_menu = 5");
	$stmt->execute();
	while ($row = $stmt->fetch()) {
		$img=$row ['img']; 
		echo "".$row ['how']."";
	}?></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td><?php
	$stmt=$pdo->prepare ("SELECT * FROM food WHERE id_menu = 6");
	$stmt->execute();
	while ($row = $stmt->fetch()) {
		$img=$row ['img']; 
		echo "".$row ['name_menu']."";
	}?></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td><?php
	$stmt=$pdo->prepare ("SELECT * FROM food WHERE id_menu = 6");
	$stmt->execute();
	while ($row = $stmt->fetch()) {
		$img=$row ['img']; 
		echo "<img src='img/".$img."' width='400'>";
		
        }?></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td><?php
	$stmt=$pdo->prepare ("SELECT * FROM food WHERE id_menu = 6");
	$stmt->execute();
	while ($row = $stmt->fetch()) {
		$img=$row ['img']; 
		echo "".$row ['des']."";
	}?></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td><?php
	$stmt=$pdo->prepare ("SELECT * FROM food WHERE id_menu = 6");
	$stmt->execute();
	while ($row = $stmt->fetch()) {
		$img=$row ['img']; 
		echo "".$row ['how']."";
	}?></td>
        <td>&nbsp;</td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>