<table width="833" border="1" align="center" bgcolor="#FFFFFF"> <tr class="name"> <th width="18"> <div align="center">No.</div></th> <th width="49"> <div align="center">Emp.ID </div></th> <th width="120"> <div align="center">Employeename </div></th> <th width="120"> <div align="center">Surname</div></th> <th width="37"> <div align="center">Total Hours </div></th> <th width="120"> <div align="center">Bus Route </div></th> <th width="150"> <div align="center">BusAppoint </div></th> <th width="90"> <div align="center">Reason </div></th> <th width="52"> <div align="center">..... </div></th> </tr> <!-- Rows 1 --> <tr> <td><div align="center">1 </div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="5" NAME="txtempID_1" ID="txtempID_1" VALUE=""></center></div></td> <td><div align="center"><center><INPUT NAME="txtempName_1" TYPE="TEXT" ID="txtempName_1" VALUE="" SIZE="20"></center></div></td> <td><div align="center"><center><INPUT NAME="txtsurname_1" TYPE="TEXT" ID="txtsurname_1" VALUE="" SIZE="20"></center></div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="5" NAME="txthours_1" ID="txthours_1" VALUE=""></center></div></td> <td><div align="center"><center><INPUT NAME="txtRid_1" TYPE="TEXT" ID="txtRid_1" VALUE="" SIZE="12"></center></div></td> <td><div align="center"><center><INPUT NAME="txtRname_1" TYPE="TEXT" ID="txtRname_1" VALUE="" SIZE="25"></center></div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="15" NAME="txtreason_1" ID="txtreason_1" VALUE=""></center></div></td> <td><div align="center"><center><INPUT TYPE="BUTTON" NAME="btnPopup_1" ID="btnPopup_1" VALUE="..." OnClick="OpenPopup(1)"></center> </div></td> </tr> <!-- Rows 2 --> <tr> <td><div align="center">2 </div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="5" NAME="txtempID_2" ID="txtempID_2" VALUE=""></center></div></td> <td><div align="center"><center><INPUT NAME="txtempName_2" TYPE="TEXT" ID="txtempName_2" VALUE="" SIZE="20"></center></div></td> <td><div align="center"><center><INPUT NAME="txtsurname_2" TYPE="TEXT" ID="txtsurname_2" VALUE="" SIZE="20"></center></div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="5" NAME="txthours_2" ID="txthours_2" VALUE=""></center></div></td> <td><div align="center"><center><INPUT NAME="txtRid_2" TYPE="TEXT" ID="txtRid_2" VALUE="" SIZE="12"></center></div></td> <td><div align="center"><center><INPUT NAME="txtRname_2" TYPE="TEXT" ID="txtRname_2" VALUE="" SIZE="25"></center></div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="15" NAME="txtreason_2" ID="txtreason_2" VALUE=""></center></div></td> <td><div align="center"><center><INPUT TYPE="BUTTON" NAME="btnPopup_2" ID="btnPopup_2" VALUE="..." OnClick="OpenPopup(2)"></center> </div></td> </tr> <!-- Rows 3 --> <tr> <td><div align="center">3 </div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="5" NAME="txtempID_3" ID="txtempID_3" VALUE=""></center></div></td> <td><div align="center"><center><INPUT NAME="txtempName_3" TYPE="TEXT" ID="txtempName_3" VALUE="" SIZE="20"></center></div></td> <td><div align="center"><center><INPUT NAME="txtsurname_3" TYPE="TEXT" ID="txtsurname_3" VALUE="" SIZE="20"></center></div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="5" NAME="txthours_3" ID="txthours_3" VALUE=""></center></div></td> <td><div align="center"><center><INPUT NAME="txtRid_3" TYPE="TEXT" ID="txtRid_3" VALUE="" SIZE="12"></center></div></td> <td><div align="center"><center><INPUT NAME="txtRname_3" TYPE="TEXT" ID="txtRname_3" VALUE="" SIZE="25"></center></div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="15" NAME="txtreason_3" ID="txtreason_3" VALUE=""></center></div></td> <td><div align="center"><center><INPUT TYPE="BUTTON" NAME="btnPopup_3" ID="btnPopup_3" VALUE="..." OnClick="OpenPopup(3)"></center> </div></td> </tr> <!-- Rows 4 --> <tr> <td><div align="center">4 </div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="5" NAME="txtempID_4" ID="txtempID_4" VALUE=""></center></div></td> <td><div align="center"><center><INPUT NAME="txtempName_4" TYPE="TEXT" ID="txtempName_4" VALUE="" SIZE="20"></center></div></td> <td><div align="center"><center><INPUT NAME="txtsurname_4" TYPE="TEXT" ID="txtsurname_4" VALUE="" SIZE="20"></center></div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="5" NAME="txthours_4" ID="txthours_4" VALUE=""></center></div></td> <td><div align="center"><center><INPUT NAME="txtRid_4" TYPE="TEXT" ID="txtRid_4" VALUE="" SIZE="12"></center></div></td> <td><div align="center"><center><INPUT NAME="txtRname_4" TYPE="TEXT" ID="txtRname_4" VALUE="" SIZE="25"></center></div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="15" NAME="txtreason_4" ID="txtreason_4" VALUE=""></center></div></td> <td><div align="center"><center><INPUT TYPE="BUTTON" NAME="btnPopup_4" ID="btnPopup_4" VALUE="..." OnClick="OpenPopup(4)"></center> </div></td> </tr> <!-- Rows 5 --> <tr> <td><div align="center">5 </div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="5" NAME="txtempID_5" ID="txtempID_5" VALUE=""></center></div></td> <td><div align="center"><center><INPUT NAME="txtempName_5" TYPE="TEXT" ID="txtempName_5" VALUE="" SIZE="20"></center></div></td> <td><div align="center"><center><INPUT NAME="txtsurname_5" TYPE="TEXT" ID="txtsurname_5" VALUE="" SIZE="20"></center></div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="5" NAME="txthours_5" ID="txthours_5" VALUE=""></center></div></td> <td><div align="center"><center><INPUT NAME="txtRid_5" TYPE="TEXT" ID="txtRid_5" VALUE="" SIZE="12"></center></div></td> <td><div align="center"><center><INPUT NAME="txtRname_5" TYPE="TEXT" ID="txtRname_5" VALUE="" SIZE="25"></center></div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="15" NAME="txtreason_5" ID="txtreason_5" VALUE=""></center></div></td> <td><div align="center"><center><INPUT TYPE="BUTTON" NAME="btnPopup_5" ID="btnPopup_5" VALUE="..." OnClick="OpenPopup(5)"></center> </div></td> </tr> <!-- Rows 6 --> <tr> <td><div align="center">6 </div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="5" NAME="txtempID_6" ID="txtempID_6" VALUE=""></center></div></td> <td><div align="center"><center><INPUT NAME="txtempName_6" TYPE="TEXT" ID="txtempName_6" VALUE="" SIZE="20"></center></div></td> <td><div align="center"><center><INPUT NAME="txtsurname_6" TYPE="TEXT" ID="txtsurname_6" VALUE="" SIZE="20"></center></div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="5" NAME="txthours_6" ID="txthours_6" VALUE=""></center></div></td> <td><div align="center"><center><INPUT NAME="txtRid_6" TYPE="TEXT" ID="txtRid_6" VALUE="" SIZE="12"></center></div></td> <td><div align="center"><center><INPUT NAME="txtRname_6" TYPE="TEXT" ID="txtRname_6" VALUE="" SIZE="25"></center></div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="15" NAME="txtreason_6" ID="txtreason_6" VALUE=""></center></div></td> <td><div align="center"><center><INPUT TYPE="BUTTON" NAME="btnPopup_6" ID="btnPopup_6" VALUE="..." OnClick="OpenPopup(6)"></center> </div></td> </tr> <!-- Rows 7 --> <tr> <td><div align="center">7 </div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="5" NAME="txtempID_7" ID="txtempID_7" VALUE=""></center></div></td> <td><div align="center"><center><INPUT NAME="txtempName_7" TYPE="TEXT" ID="txtempName_7" VALUE="" SIZE="20"></center></div></td> <td><div align="center"><center><INPUT NAME="txtsurname_7" TYPE="TEXT" ID="txtsurname_7" VALUE="" SIZE="20"></center></div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="5" NAME="txthours_7" ID="txthours_7" VALUE=""></center></div></td> <td><div align="center"><center><INPUT NAME="txtRid_7" TYPE="TEXT" ID="txtRid_7" VALUE="" SIZE="12"></center></div></td> <td><div align="center"><center><INPUT NAME="txtRname_7" TYPE="TEXT" ID="txtRname_7" VALUE="" SIZE="25"></center></div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="15" NAME="txtreason_7" ID="txtreason_7" VALUE=""></center></div></td> <td><div align="center"><center><INPUT TYPE="BUTTON" NAME="btnPopup_7" ID="btnPopup_7" VALUE="..." OnClick="OpenPopup(7)"></center> </div></td> </tr> <!-- Rows 8 --> <tr> <td><div align="center">8 </div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="5" NAME="txtempID_8" ID="txtempID_8" VALUE=""></center></div></td> <td><div align="center"><center><INPUT NAME="txtempName_8" TYPE="TEXT" ID="txtempName_8" VALUE="" SIZE="20"></center></div></td> <td><div align="center"><center><INPUT NAME="txtsurname_8" TYPE="TEXT" ID="txtsurname_8" VALUE="" SIZE="20"></center></div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="5" NAME="txthours_8" ID="txthours_8" VALUE=""></center></div></td> <td><div align="center"><center><INPUT NAME="txtRid_8" TYPE="TEXT" ID="txtRid_8" VALUE="" SIZE="12"></center></div></td> <td><div align="center"><center><INPUT NAME="txtRname_8" TYPE="TEXT" ID="txtRname_8" VALUE="" SIZE="25"></center></div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="15" NAME="txtreason_8" ID="txtreason_8" VALUE=""></center></div></td> <td><div align="center"><center><INPUT TYPE="BUTTON" NAME="btnPopup_8" ID="btnPopup_8" VALUE="..." OnClick="OpenPopup(8)"></center> </div></td> </tr> <!-- Rows 9 --> <tr> <td><div align="center">9 </div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="5" NAME="txtempID_9" ID="txtempID_9" VALUE=""></center></div></td> <td><div align="center"><center><INPUT NAME="txtempName_9" TYPE="TEXT" ID="txtempName_9" VALUE="" SIZE="20"></center></div></td> <td><div align="center"><center><INPUT NAME="txtsurname_9" TYPE="TEXT" ID="txtsurname_9" VALUE="" SIZE="20"></center></div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="5" NAME="txthours_9" ID="txthours_9" VALUE=""></center></div></td> <td><div align="center"><center><INPUT NAME="txtRid_9" TYPE="TEXT" ID="txtRid_9" VALUE="" SIZE="12"></center></div></td> <td><div align="center"><center><INPUT NAME="txtRname_9" TYPE="TEXT" ID="txtRname_9" VALUE="" SIZE="25"></center></div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="15" NAME="txtreason_9" ID="txtreason_9" VALUE=""></center></div></td> <td><div align="center"><center><INPUT TYPE="BUTTON" NAME="btnPopup_9" ID="btnPopup_9" VALUE="..." OnClick="OpenPopup(9)"></center> </div></td> </tr> <!-- Rows 10 --> <tr> <td><div align="center">10 </div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="5" NAME="txtempID_10" ID="txtempID_10" VALUE=""></center></div></td> <td><div align="center"><center><INPUT NAME="txtempName_10" TYPE="TEXT" ID="txtempName_10" VALUE="" SIZE="20"></center></div></td> <td><div align="center"><center><INPUT NAME="txtsurname_10" TYPE="TEXT" ID="txtsurname_10" VALUE="" SIZE="20"></center></div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="5" NAME="txthours_10" ID="txthours_10" VALUE=""></center></div></td> <td><div align="center"><center><INPUT NAME="txtRid_10" TYPE="TEXT" ID="txtRid_10" VALUE="" SIZE="12"></center></div></td> <td><div align="center"><center><INPUT NAME="txtRname_10" TYPE="TEXT" ID="txtRname_10" VALUE="" SIZE="25"></center></div></td> <td><div align="center"><center><INPUT TYPE="TEXT" SIZE="15" NAME="txtreason_10" ID="txtreason_10" VALUE=""></center></div></td> <td><div align="center"><center><INPUT TYPE="BUTTON" NAME="btnPopup_10" ID="btnPopup_10" VALUE="..." OnClick="OpenPopup(10)"></center> </div></td> </tr> </table> <table width="833" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> <tr> <td height="24"><p><input type="hidden" name="hdnMaxLine" value="10" /></p></td> </tr> </table> <table width="833" border="0" align="center" bgcolor="#FFFFFF"> <tr> <td colspan="9"><font color="#FF0000">REMARK :</font> Not allow a employee work overtime more than 36 hours per week.</td> </tr> </table> <table width="833" border="0" align="center" bgcolor="#FFFFFF"> <tr> <td width="99">User ID <input name="user" type="text" id="user" size="5" value="<?=$dbResult["User_id"]?>" /></td> <td width="48"> </td> <td width="229"> </td> <td colspan="3"> </td> </tr> <tr> <td colspan="2" align="center"> </td> <td align="right"><input type="submit" name="ok" id="ok" value="ตกลง" /></td> <td width="61" align="center"> </td> <td width="115" align="left"><input type="reset" name="cancel" id="cancel" value="ยกเลิก" /></td> <td width="255" align="center"> </td> </tr> </table>
<table width="833" border="1'"align="center"> <tr class="name"> <th width="18"> <div align="center">No.</div></th> <th width="49"> <div align="center">Emp.ID </div></th> <th width="120"> <div align="center">Employeename </div></th> <th width="120"> <div align="center">Surname</div></th> <th width="37"> <div align="center">Total Hours </div></th> <th width="120"> <div align="center">Bus Route </div></th> <th width="150"> <div align="center">BusAppoint </div></th> <th width="90"> <div align="center">Reason </div></th> <th width="52"> <div align="center">..... </div></th> </tr> <? for($i=1;$i<=$_POST["hdnMaxLine"];$i++) { ?> <tr class="litel"> <td><? echo $i;?></td> <td><? echo $_POST["txtempID_".$i];?></td> <td><? echo $_POST["txtempName_".$i];?></td> <td><? echo $_POST["txtsurname_".$i];?></td> <td> </td> <td><? echo $_POST["txtRid_".$i];?></td> <td><? echo $_POST["txtRname_".$i];?></td> <td> </td> <td><? echo $_POST["txtreason_".$i];?></td> </tr> <? } ?> </table>
<? for($i=1;$i<=$_POST["hdnMaxLine"];$i++) { if ($_POST["txtempID_".$i]) { ?> <tr class="litel"> <td><? echo $i;?></td> <td><? echo $_POST["txtempID_".$i];?></td> <td><? echo $_POST["txtempName_".$i];?></td> <td><? echo $_POST["txtsurname_".$i];?></td> <td> </td> <td><? echo $_POST["txtRid_".$i];?></td> <td><? echo $_POST["txtRname_".$i];?></td> <td> </td> <td><? echo $_POST["txtreason_".$i];?></td> </tr> <? } } ?>
<? for($i=1;$i<=$_POST["hdnMaxLine"];$i++) { if ($_POST["txtempID_".$i]) { ?> <tr class="litel"> <td><? echo $i;?></td> <td><? echo $_POST["txtempID_".$i];?></td> <td><? echo $_POST["txtempName_".$i];?></td> <td><? echo $_POST["txtsurname_".$i];?></td> <td> </td> <td><? echo $_POST["txtRid_".$i];?></td> <td><? echo $_POST["txtRname_".$i];?></td> <td> </td> <td><? echo $_POST["txtreason_".$i];?></td> </tr> <? // ตรงนี้ } } ?>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง