<!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><? $Bv_No=$_GET['Bv_No']; $Us_ID=$_GET['Us_ID']; $Dep_ID=$_GET['Dep_ID']; echo $Bv_No."/".$Us_ID."/".$Dep_ID; include("../web/connect.php"); $sql="select book_work.*,user.* from book_work,user"; $sql.=" where book_work.Bv_No='$Bv_No' and book_work.Us_ID='$Us_ID' and book_work.Dep_ID='$Dep_ID' and book_work.Us_ID=user.Us_ID"; $query=mysql_query($sql); $data=mysql_fetch_array($query); ?> <center><strong><img src="../images/logo.gif" width="121" height="131" /><br />โรงเรียนนาจะหลวย<br /><br />รายงานการปฏิบัติงาน</strong><br /></center><br /> <table style="width:inherit" width="480" border="0" align="center" bordercolor="#000000"> <tr> <td width="162"><strong>ทะเบียนหนังสือเวียน</strong></td> <td width="11" align="center">:</td> <td width="293"> <?=$data['Bv_No']?></td> </tr> <tr> <td><strong>ชื่อ-สกุล</strong></td> <td align="center">:</td> <td> <?=$data['Us_Name']?></td> </tr> <tr> <td align="left" valign="top" style="width:inherit"><strong>ผลการปฏิบัติงาน</strong></td> <td align="center" valign="top">:</td> <td rowspan="17" align="left" valign="top" style="height:auto"><?=$data['Wo_De']?></td> </tr> </table> </body> </html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <?php $host="localhost"; $user="root"; $pass="root"; $dbname="e-doc"; $conn=mysql_connect($host,$user,$pass)or die("ไม่สามารถเชื่อมต่อฐานข้อมูลได้<br>"); mysql_select_db($dbname)or die("ไม่สามารถเลือกฐานข้อมูลได้<br >"); mysql_query("SET NAMES utf8"); ?>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง