<? header("Content-Type: text/plain; charset=TIS-620"); session_start(); $sessionID= session_id(); $removenoreceiveID = $_POST['noreceiveID']; ?> <html> <body> <? include ("config.inc.php"); if ($noreceive>0){ $sql = "UPDATE `e-document `.`bookreceive` SET `noreceive` = '$noreceive', `nobook` = '$nobook' `leave` = '$leave' `fetch` = '$fetch' `datereceive` = '$datereceive' `dateregister` = '$dateregister' `filebook` = '$filebook' `dossier` = '$dossier' `group` = '$group' `pic` = '$pic' WHERE `bookreceive`.`nobook` ='$nobookID' ;"; mysql_query($sql); } $sql = "SELECT * FROM `bookreceive`"; $result = mysql_query($sql); $totalPrice=0; echo"<table width='75%' border='1' bordercolor='#A59A1B' bgcolor='#D3BC38' ><tr align='center'><td><b>ä¿ÅìÀÒ¾</b></td> <td> <b>àÅ¢·ÐàºÕ¹ÃѺ</b></td> <td> <b>àÅ¢·Õè˹ѧÊ×Í</b></td> <td><b>¨Ò¡</b></td> <td><b>¶Ö§</b> <td><b>Çѹ·Õè˹ѧÊ×Í</b> <td><b>Çѹ·Õèŧ·ÐàºÕ¹</b> <td><b>á¿éÁ</b> <td><b>àÃ×èͧ</b> <td><b>¡ÅØèÁ§Ò¹</b> <td><b></b> </td></tr>"; while($row=mysql_fetch_array($result)){ $noreceiveID = $row["noreceive"]; $nobook = $row["nobook"]; $leave = $row["leave"]; $fetch = $row["fetch"]; $datereceive = $row["datereceive"]; $dateregister = $row["dateregister"]; $filebook = $row["filebook"]; $dossier = $row["dossier"]; $group = $row["group"]; $pic = $row["pic"]; echo "<tr bgcolor='#D3BC38' align='center'><form id='form1' name='form1' method='post' action='EditReceive.php'>"; echo"<td><img src='$pic'></td>"; echo "<td>$noreceiveID<input name='noreceiveID' type='hidden' value='$noreceiveID'></td><td><input name='noreceive' type='text' value='$noreceiveID'></td>"; echo "<td><input name='nobook' type='text' value='$nobook'></td>"; echo "<td><input name='leave' type='text' value='$leave'></td>"; echo "<td><input name='fetch' type='text' value='$fetch'></td>"; echo "<td><input name='datereceive' type='text' value='$datereceive'></td>"; echo "<td><input name='dateregister' type='text' value='$dateregister'></td>"; echo "<td><input name='filebook' type='text' value='$filebook'></td>"; echo "<td><input name='dossier' type='text' value='$dossier'></td>"; echo "<td><input name='group' type='text' value='$group'></td>"; echo "<td><input type='submit' name='Delete' id='Edit' value='Edit' onclick=" ?> "return confirm('¤Ø³á¹èã¨ÇèÒµéͧ¡ÒÃá¡é䢢éÍÁÙŹÕéËÃ×ÍäÁè ? ')" /> <? "/>"; echo "</td></form></tr>"; } echo "</table>"; ?> </body> </html>
<?php header("Content-Type: text/plain; charset=TIS-620"); session_start(); $sessionID= session_id(); $removenoreceiveID = $_POST['noreceiveID']; ?> <html> <body> <?php include ("config.inc.php"); if ($noreceive>0){ $sql = "UPDATE `e-document `.`bookreceive` SET `noreceive` = '$noreceive', `nobook` = '$nobook' `leave` = '$leave' `fetch` = '$fetch' `datereceive` = '$datereceive' `dateregister` = '$dateregister' `filebook` = '$filebook' `dossier` = '$dossier' `group` = '$group' `pic` = '$pic' WHERE `bookreceive`.`nobook` ='$nobookID' ;"; mysql_query($sql); } $sql = "SELECT * FROM `bookreceive`"; $result = mysql_query($sql); $totalPrice=0; echo "<form id='form1' name='form1' method='post' action='EditReceive.php'>"; echo"<table width='75%' border='1' bordercolor='#A59A1B' bgcolor='#D3BC38' >"; echo "<tr align='center'>"; echo "<td><b>ä¿ÅìÀÒ¾</b></td>"; echo "<td><b>àÅ¢·ÐàºÕ¹ÃѺ</b></td>"; echo "<td><b>àÅ¢·Õè˹ѧÊ×Í</b></td>"; echo "<td><b>¨Ò¡</b></td>"; echo "<td><b>¶Ö§</b></td>"; echo "<td><b>Çѹ·Õè˹ѧÊ×Í</b></td>"; echo "<td><b>Çѹ·Õèŧ·ÐàºÕ¹</b></td>"; echo "<td><b>á¿éÁ</b></td>"; echo "<td><b>àÃ×èͧ</b></td>"; echo "<td><b>¡ÅØèÁ§Ò¹</b></td>"; echo "<td><b></b></td>"; echo "<td><b></b></td>"; echo "</tr>"; while($row=mysql_fetch_array($result)){ $noreceiveID = $row["noreceive"]; $nobook = $row["nobook"]; $leave = $row["leave"]; $fetch = $row["fetch"]; $datereceive = $row["datereceive"]; $dateregister = $row["dateregister"]; $filebook = $row["filebook"]; $dossier = $row["dossier"]; $group = $row["group"]; $pic = $row["pic"]; echo "<tr bgcolor='#D3BC38' align='center'>"; echo"<td><img src='$pic'></td>"; echo "<td>$noreceiveID<input name='noreceiveID' type='hidden' value='$noreceiveID'></td>"; echo "<td><input name='noreceive' type='text' value='$noreceiveID'></td>"; echo "<td><input name='nobook' type='text' value='$nobook'></td>"; echo "<td><input name='leave' type='text' value='$leave'></td>"; echo "<td><input name='fetch' type='text' value='$fetch'></td>"; echo "<td><input name='datereceive' type='text' value='$datereceive'></td>"; echo "<td><input name='dateregister' type='text' value='$dateregister'></td>"; echo "<td><input name='filebook' type='text' value='$filebook'></td>"; echo "<td><input name='dossier' type='text' value='$dossier'></td>"; echo "<td><input name='group' type='text' value='$group'></td>"; echo "<td><input type='submit' name='Delete' id='Edit' value='Edit' onclick=return confirm('¤Ø³á¹èã¨ÇèÒµéͧ¡ÒÃá¡é䢢éÍÁÙŹÕéËÃ×ÍäÁè ? ') /></td>"; echo "</tr>"; } echo "</table>"; echo "</form>"; ?> </body> </html>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง