<? session_start(); require_once("../includes/function.php"); //header("Cache-Control: no-cache, must-revalidate"); //header("Pragma: no-cache"); $sql = "SELECT * FROM tblpersonal,tblworkgroup WHERE tblpersonal.w_id = tblworkgroup.w_id and(p_firstname LIKE '%".$_GET['txtSearch']."%' OR p_lastname LIKE '%".$_GET['txtSearch']."%' OR w_name LIKE '%".$_GET['txtSearch']."%') ORDER BY p_id"; $value = select_data_func($sql); $num_rows = mysqli_num_rows($value); ?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Cache-Control" content="no-cache, must-revalidate"/> <meta http-equiv="Pragma" content="no-cache"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <!-- รูปแบบภาษา UTF-8 --> <!-- เรียกใช้ไฟล์สไตล์ชีท --> <link href="../css/per.css" rel="stylesheet" type="text/css"> <link href="../css/content_style.css" rel="stylesheet" type="text/css"> <link href="../css/menubar_style.css" rel="stylesheet" type="text/css"> <link href="../css/newspr_style.css" rel="stylesheet" type="text/css"> <link href="../css/tab_style.css" rel="stylesheet" type="text/css"> <link href="../css/feedrss_style.css" rel="stylesheet" type="text/css"> <link href="../css/mictteltheme.css" rel="stylesheet" type="text/css" /> <!-- เรียกใช้ไฟล์ Javascript --> <script src="../includes/member_control.js" type="text/javascript"></script> <script src="../includes/all_control.js" type="text/javascript"></script> <script src="../includes/upload_control.js" type="text/javascript"></script> <script src="../framework/prototype.js" type="text/javascript"></script> <title>....</title> </head> <body> <table class="cssTablesearch"> <tr align="center" class="cssTitle"> <td colspan="2">ชื่อ-นามสกุล</td> <td>ชั้น</td> <td>หน่วยงาน</td> </tr> <? if($num_rows == 0){ ?> <tr class='cssContent cssFontMsg'><td colspan='4' align='center'>ไม่พบรายการที่ค้นหา</td></tr> <? }else{ while($row = mysqli_fetch_array($value)){ ?> <tr align="center" class="cssContent"> <td colspan="2" > <a href="#" class="cssmenu3" onClick="PopUpWindow('<?="user_detail.php?id=".$row['p_id']?>','','width=550,height=270')"><?=$row["p_firstname"]?> <?=$row["p_lastname"]?></a> </td> <td><?=$row["f_id"]?></td> <td><?=$row["w_name"]?></td> </tr> <? }} ?> </table> </body> </html>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง