<?php
session_start();
include("config.inc.php");
?>

<?php
$num_rows = 0;
if (trim($hid1) <> "03") {
    echo "	<SCRIPT language='JavaScript'>";
    echo "			alert('เธ—เนˆเธฒเธ™เน€เธ‚เน‰เธฒเธชเธนเนˆเธฃเธฐเธšเธšเน„เธกเนˆเธ–เธนเธเธ•เน‰เธญเธ‡')";
    echo"			location.href='index.php'";
    echo"	</SCRIPT>";
    exit();
}

$num_rows = "0";  // เน€เธ„เธฅเธตเธขเธ„เนˆเธฒเธ™เธฑเธšเนเธ–เธง
$amp = " ";
$idd = " ";
$sta = " ";
$doc = " ";
$c_kong = " ";
$item = " ";
$bath = "0";

mysql_select_db($dbname, $objConnect);
$query_Recordset1 = "SELECT * FROM amp ORDER BY id ASC";
$Recordset1 = mysql_query($query_Recordset1, $objConnect) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
?>

<!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" dir="ltr" lang="en-US" xml:lang="en">
    <head>
        <!--
        Created by Artisteer v3.1.0.48375
        Base template (without user's data) checked by http://validator.w3.org : "This page is valid XHTML 1.0 Transitional"
        -->
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title><?php echo $mess_title ?></title>

        <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
        <!--[if IE 6]><link rel="stylesheet" href="style.ie6.css" type="text/css" media="screen" /><![endif]-->
        <!--[if IE 7]><link rel="stylesheet" href="style.ie7.css" type="text/css" media="screen" /><![endif]-->

        <script type="text/javascript" src="jquery.js"></script>
        <script type="text/javascript" src="script.js"></script>

    </head>
    <body onload="document.form1.idd.focus()">
        <?php include 'include/header.inc.php'; ?>
        <div class="cleared reset-box"></div>
        <div class="rnut-bar rnut-nav">
            <div class="rnut-nav-outer">
                <ul class="rnut-hmenu">
                    <li>
                        <a href="menu_pro.php" class="active">Back</a>
                    </li>	
                    <li>
                        <font size="4" color="ffffff">Login เน‚เธ”เธข :&nbsp;<?php echo $user_ ?></font>
                    </li>
                </ul>
            </div>
        </div>
        <div class="cleared reset-box"></div>
        <div class="rnut-layout-wrapper">
            <div class="rnut-content-layout">
                <div class="rnut-content-layout-row">
                    <div class="rnut-layout-cell rnut-content">
                        <div class="rnut-box rnut-post">
                            <div class="rnut-box-body rnut-post-body">
                                <div class="rnut-post-inner rnut-article">
                                    <div align="center">

                                        <!-- start เธเธฒเธฃเนเธเน‰เน„เธ‚เธ‚เน‰เธญเธกเธนเธฅ -->
                                        <form id="form1" name="form1" method="post" action="prov_statuss1.php"></th>       
                                            <table width="40%" border="1" cellspacing="0" cellpadding="3" align="center">
                                                <tr>  <? $rand = rand(); ?>
                                                    <td width="60%" colspan="3">
                                                        <h2 class="rnut-postheader" style="text-align: center;">เธšเธฑเธ™เธ—เธถเธเธชเธ–เธฒเธ™เธฐเธเธฒเธฃเน€เธšเธดเธเธˆเนˆเธฒเธข</h2><br>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="10%"><div align="right"><font size="3" color="#0033cc"><br/> เธฃเธซเธฑเธช ID</font>&nbsp;&nbsp; </div></td>
                                                    <td width="10%">&nbsp;&nbsp;&nbsp;<INPUT TYPE="text" NAME="idd" SIZE="20" style="font: 12pt tahoma; color: #ff0000;background: #C0F9BD; border: 1px black solid"/>
                                                        </td>
                                                    <td width="5%" align="center"><br/>
													<input type="submit" name="Submit" value="เธ•เธเธฅเธ‡"
													></td>
                                                </tr> 					 
                                                <?php mysql_free_result($Recordset1); ?>
                                            </table>
                                        </form>
                                        <br/>
                                        <!-- end เธเธฒเธฃเนเธเน‰เน„เธ‚เธ‚เน‰เธญเธกเธนเธฅ -->
                                        <?php include("./include/footer.inc"); ?>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                </body>
                </html>