<? Session_start(); if($sess_adminid<>session_id()){ header("location:login.php");exit(); } ?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Technical Dep.</title> <meta name="keywords" content="" /> <meta name="description" content="" /> <link href="../default.css" rel="stylesheet" type="text/css" /> <!-- start header --> <div id="header"> <div align="right"> <? include "menu.php"; ?> <style> [color=green]---------- ส่วนที่ต้องการให้แสดงผล--------- <form name="form1" method="post" action="conxls.php"> <table width="331" border="0" align="center" cellpadding="0" cellspacing="5"> <tr> <td width="113"><div align="right">จากวันที่ : </div></td> <td width="205"><input name="startdate" size="20"> <a href="javascript:displayDatePicker('startdate')"><img border="0" src="calendar.gif" width="16" height="16"><font color="#FF0000"> *</font></a></td> </tr> <tr> <td><div align="right">ถึงวันที่ : </div></td> <td><input name="enddate" size="20"> <a href="javascript:displayDatePicker('enddate')"><img border="0" src="calendar.gif" width="16" height="16"><font color="#FF0000"> *</font></a></td> </tr> <tr> <td><div align="right">กลุ่มปัญหา :</div></td> <td><select name="ref_type_id"> <option value="0">เลือกทั้งหมด</option> <? include "connect.php"; $sql="select * from type"; $result=mysql_db_query($dbname,$sql); while($rs=mysql_fetch_array($result)) { $type_id=$rs[type_id]; $type_name=$rs[type_name]; echo "<OPTION VALUE='$type_id'>$type_name</OPTION>"; } ?> </select></td> </tr> <tr> <td> </td> <td> <input type="submit" name="button" id="button" value="Export to Excel"></td> </tr> </table> </form>
<td><div align="right">กลุ่มปัญหา :</div></td> <td><select name="ref_type_id"> <option value="0">เลือกทั้งหมด</option> <? include "connect.php"; $sql="select * from type"; $result=mysql_db_query($dbname,$sql); while($rs=mysql_fetch_array($result)) { $type_id=$rs[type_id]; $type_name=$rs[type_name]; echo "<OPTION VALUE='$type_id'>$type_name</OPTION>"; } ?> </select></td> </tr> <tr> <td><div align="right">สถานะ :</div></td> <td><select NAME="job_status2"> <option value="complete,hold,pending">เลือกทั้งหมด</option> <option value="complete">Complete</option> <option value="Hold">Hold</option> <option value="pending">Pending</option>; </select></td> </tr> <tr> <td> </td> <td> <input type="submit" name="button" id="button" value="ดูข้อมูล"></td> </tr> </table> </form>
select * from tabel where status='".$_POST['ref_type_id']."'
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง