<? session_start(); if ($sess_adminid<>session_id()) { header( "Location: admin_index.php"); exit(); } 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> Smile-IT สำหรับผู้ดูแลระบบ</title> <style type="text/css"> <!-- body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; background-image: url(); background-repeat: no-repeat; } .style3 {color: #FFFFFF} a:link { color: #0000FF; text-decoration: none; } a:visited { text-decoration: none; color: #0000FF; } a:hover { text-decoration: none; } a:active { text-decoration: none; } .style4 {color: #FF0000} --> </style> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <script language="javascript"> function check(){ if(document.form1.protype.value=="0"){ alert("กรุณาเลือกประเภทสินค้าด้วยครับ"); document.form1.protype.focus(); return false; } else if(document.form1.orders_proid.value=="0"){ alert("กรุณาเลือกชนิดสินค้า"); document.form1.orders_proid.focus(); return false; } else if(document.form1.seller.value=="0"){ alert("กรุณาเลือกชื่อตัวแทนจำหน่่าย"); document.form1.seller.focus(); return false; } else if(document.form1.number.value==""){ alert("กรุณากรอกจำนวนสินค้า"); document.form1.number.focus(); return false; } return true; } function checkNum(){ if (event.keyCode < 48 || event.keyCode > 57){ event.returnValue = false; } } </script> </head> <body> <form id="form1" name="form1" method="post" action="admin_orders_stock_save.php" onSubmit="return check()"> <div align="center"> <table width="1217" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td height="235" colspan="4" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="312" height="234" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td height="234" colspan="2" valign="top"><img src="image/logo_zz.jpg" width="347" height="234" /></td> </tr> <tr> <td width="315" height="1"></td> <td width="315"></td> </tr> </table></td> <td width="769" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="773" height="235" valign="top"><img src="image/bgweb2.jpg" width="903" height="234" /></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td height="30" colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="311" height="30" valign="top" bgcolor="#000000"><!--DWLayoutEmptyCell--> </td> </tr> </table></td> <td colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="10" height="30" valign="middle" bgcolor="#000000"> <div align="right" class="style3"> <td width="830" height="30" valign="middle" bgcolor="#000000"> <div align="right" class="style3"> <div align="center"></div> </div></td> </tr> </table></td> </tr> <tr> <td width="250" height="37"> </td> <td colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="770" height="37" align="center" valign="middle"><div align="center"> </td> </tr> </table></td> <td width="197" rowspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="197" height="198" valign="top"><!--DWLayoutEmptyCell--> </td> </tr> </table></td> </tr> <tr> <td height="161"> </td> <td colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="790" height="160" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="790" height="160" valign="top"><label></label> <div align="center"> <p> <? include"connect.php"; $sql1="select * from order_stock.o,type.t where o.Type_id=t.Type_id"; mysql_query("SET NAMES tis620"); $result1=mysql_query($dbname,$sql1) or die(mysql_error()); while($row=mysql_fetch_array($result1)){ print"<tr>"; print"<td align=center>$row[orders_stockid] </td>"; print"<td>$row[Type_id] </td>"; print"<td>$row[Pro_id] </td>"; print"<td>$row[orders_num] </td>"; print"</tr>"; } ?> </p> <p> </p> <p> </p> </div></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td height="337" colspan="4" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="1217" height="337" align="center" valign="top"> </td> </tr> </table></td> </tr> <tr> <td height="47" colspan="4" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="1217" height="47" align="center" valign="top"><img src="image/logolow.jpg" width="934" height="47" /></td> </tr> </table></td> </tr> <tr> <td height="825"> </td> <td width="127"> </td> <td width="643"> </td> <td> </td> </tr> </table> </div> </form> </body> </html>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง