<? include ('ConnectOracle.php'); ?> <html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-874" /> <style type="text/css"> <!-- .style5 { font-size: 24px; font-weight: bold; } .style6 {font-size: 18px} .style7 {font-size: 16px} .style8 {color: #FFFFFF} --> </style> </head> <body> <p align="center"> </p> <p align="center">------------------------------------------------------------------------------------------------------------------------------------------</p> <p align="center"> <?php $i=$_POST['i']; //echo $i; for($a=0;$a<$i;$a++) { $chk[$a]=$_POST['chk'][$a]; if($chk[$a]!="") { $T_ID=$chk[$a]; $sqlStab="select * from TABL WHERE TAB_ID='$T_ID'"; $resultStab = oci_parse($objConnect, $sqlStab); oci_execute($resultStab); $dataStab = oci_fetch_array($resultStab); $TAB_ID=$dataStab['TAB_ID']; ?><input type="hidden" name="tb" value="<?=$dataStab['TAB_NAME']?>" id="tb" /> ตาราง : <?=$dataStab['TAB_NAME']?></p> </p> <center><form id="form1" name="form1" method="post" action="testReportSystem.php"> <table width="1252" border="0" cellspacing="0" cellpadding="0"> <tr> <td><table width="1256" border="0" align="center" bordercolor="#666666"> <tr> <td valign="top" width="115"> </td> <? $sqlSf="select * from TAB_FIELD where TAB_ID='$TAB_ID'"; $resultSf = oci_parse($objConnect, $sqlSf); oci_execute($resultSf); $i=0; while($dataSf=oci_fetch_array($resultSf)) { $i++; ?> <td valign="top" width="1131"><table width="157" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="43" height="20" align="center"><p class="style8"><? $TF_ID=$dataSf['TF_ID']; $sqlSd="select * from TAB_DATA where TF_ID='$TF_ID'"; $resultSd=oci_parse($objConnect, $sqlSd); oci_execute($resultSd); ?> </p></td> <td width="155"></td> </tr> </table> <table width="180%" align="center" bordercolor="#666666"> <? while($dataSd=oci_fetch_array($resultSd)) { ?> <tr> <td width="100%" height="25" valign="top"><label></label> <input type="checkbox" name="checkbox" id="checkbox" /> <?=$dataSd['TD_DATA']?> <label> <input type="hidden" name="i" value="<?=$i?>" /> </label> <? ?></td> </tr> <? } ?> </table> </td> <? } ?> </tr> </table> <label> </label></td> </tr> </table> <label></label> <div align="center"> <p> <? } } ?> -------------------------------------------------------------------------------------------------------------------------------------------<br /> <label> <input type="submit" name="button" id="button" value="ยืนยันข้อมูล" /> </label> </p> </div> </form> </center>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง