Code (PHP) [php] <table width="777" class="admintable"> <tr> <td align="right" class="key"><label for="greeting"> Voucher no: </label> </td> <td width="588"> <input class="text_area" type="text" name="voucher_no" id="voucher_no" size="32" maxlength="250" style="width:220px;"value="" /></td> </tr> <tr> <td align="right" class="key"><label for="greeting"> Amount: </label> </td> <td><input class="text" type="text" name="amount" id="amount" size="32" maxlength="250" style="width:220px;"value="" /> BAHT <span id="errmsg2"></span></td> </tr>
.text_area{padding:0;margin:0;text-align:left}
<fieldset class="adminform"> <legend><h2>Driver Cost</h2></legend> <table width="895" class="admintable"> <tr> <td align="right" valign="bottom" class="key">Easy pass :</td> <td width="710"> <div id="div1ID"></div><div id="div2ID"></div> <div style="background-color:#A9A9A9;">ทะเบียน <select name="easypass_id" id="easypass_id" class="inputbox" size="1" style="width:150px;" > <option value="<?php echo $rs['easypass_id']?>"/> <?php echo $rs['easypass_id']?> <option value="" >select Easy pass</option> <? $strSQL = "SELECT * FROM license_table ORDER BY ID ASC"; $objQuery = mysql_query($strSQL); while($objResuut = mysql_fetch_array($objQuery)) { ?> <option value="<?=$objResuut["license"];?>"> <?=$objResuut["ID"]." ".$objResuut["license"];?> </option> <? } ?> </select> จำนวนเงินที่ใช้ <input type="text" name="easypass_money" id="easypass_money" size="10" maxlength="4" value="<?php echo $rs['easypass_money']?> " onChange="myFunction8()"> บาท ด่านที่ใช้ <input type="text" name="useplance" id="useplance" size="25" maxlength="250" style="width:220px;" value="<?php echo $rs['useplance']?>" onChange="myFunction9()"> </div><span id="errmsg5"></span> </td> </tr> <tr> <td align="right" class="key" valign="bottom">Motor pass :</td> <td width="710"> <div style="color:#4621EB;" id="div3ID"></div><div style="color:#4621EB;" id="div4ID"></div> <div style="background-color: #3399ff;">ทะเบียน <select name="Mpass_id" id="Mpass_id" class="inputbox" size="1" style="width:150px;"> <option value="<?php echo $rs['Mpass_id']?>"/> <?php echo $rs['Mpass_id']?> <option value="" >select Motor pass</option> <? $strSQL = "SELECT * FROM license_table ORDER BY ID ASC"; $objQuery = mysql_query($strSQL); while($objResuut = mysql_fetch_array($objQuery)) { ?> <option value="<?=$objResuut["license"];?>"> <?=$objResuut["ID"]." ".$objResuut["license"];?> </option> <? } ?> </select> จำนวนเงินที่ใช้ <input type="text" name="Mpass_money" id="Mpass_money" size="10" maxlength="4" value="<?php echo $rs['Mpass_money']?> " onchange="myFunction10()"> บาท ด่านที่ใช้ <input type="text" name="Museplance" id="Museplance" size="25" maxlength="250" style="width:220px;" value="<?php echo $rs['Museplance']?>" onChange="myFunction11()"> </div> </div><span id="errmsg6"></span> </td> </tr> <tr> <td align="right" class="key"><label for="greeting">Park: </label> </td> <td><input class="text_area" type="text" name="driverpark" id="driverpark" size="32" style="width:220px;" value="<?php echo $rs['driverpark']?> " /> BAHT<span id="errmsg7"></span></td> </tr> <tr> <td width="173" align="right" class="key"><label for="label"> T-way: </label> </td> <td><input class="text_area" type="text" name="driver_tway" id="driver_tway" size="32" style="width:220px;" value="<?php echo $rs['driver_tway']?> " /> BAHT<span id="errmsg8"></span></td> </tr> <tr> <td width="173" align="right" class="key"><label for="label"> Other Expense: </label> </td> <td><input class="text_area"type="text" name="driver_other" id="driver_other" size="32" style="width:220px;" value="<?php echo $rs['driver_other']?> " /> BAHT</td> </tr> <tr> <td width="173" align="right" class="key"><label for="label"> Admission Fees: </label> </td> <td><input class="text_area" type="text" name="driver_tour" id="driver_tour" size="32" style="width:220px;" value="<?php echo $rs['driver_tour']?> " /> BAHT</td> </tr> <tr> <td width="173" align="right" class="key"><label for="label"> Credit GAS: </label> </td> <td><input class="text_area" type="text" name="cgas" id="cgas" size="32" style="width:220px;" value="<?php echo $rs['cgas']?> " /> BAHT</td> </tr> <tr> <td align="right" class="key"><label for="label2"> Car wash: </label></td> <td><inputclass="text_area" type="text" name="car_wash" id="car_wash" size="32" style="width:220px;" value="<?php echo $rs['car_wash']?> " /> BAHT</td> </tr> <tr> <td align="right" class="key"> </td> <td> </td> </tr> <tr> <td align="right" class="key">Com:</td> <td><input class="text_area" type="text" name="driver_com" id="driver_com" size="32" style="width:220px;" value="<?php echo $rs['driver_com']?> " /> BAHT</td> </tr> <tr> <td align="right" class="key">Other Bonus:</td> <td><input class="text_area" type="text" name="driver_bonus" id="driver_bonus" size="32" style="width:220px;" value="<?php echo $rs['driver_bonus']?> " /> BAHT</td> </tr> <tr> <td align="right" class="key">Fuel level:</td> <td> Car out <select name="fuelout"style="background: #C0F9BD" > <option value="<?php echo $rs['fuelout']?>"/></option> <option value="<?php echo $rs['fuelout']?>" selected="selected"><?php echo $rs['fuelout']?></option> <option value="00" >00</option> <option value="1.0" >1.0</option> <option value="1.5" >1.5</option> <option value="2.0" >2.0</option> <option value="2.5" >2.5</option> <option value="3.0" >3.0</option> <option value="3.5" >3.5</option> <option value="4.0" >4.0</option> <option value="4.5" >4.5</option> <option value="5.0" >5.0</option> <option value="5.5" >5.5</option> <option value="6.0" >6.0</option> <option value="6.5" >6.5</option> <option value="7.0" >7.0</option> <option value="7.5" >7.5</option> <option value="8.0" >8.0</option> <option value="8.5" >8.5</option> <option value="9.0" >9.0</option> <option value="9.5" >9.5</option> <option value="10.0" >10.0</option> </select> Finish job <select name="fuelin"style="background: #C0F9BD" > <option value="<?php echo $rs['fuelin']?>"/></option> <option value="<?php echo $rs['fuelin']?>" selected="selected"><?php echo $rs['fuelin']?></option> <option value="00" >00</option> <option value="1.0" >1.0</option> <option value="1.5" >1.5</option> <option value="2.0" >2.0</option> <option value="2.5" >2.5</option> <option value="3.0" >3.0</option> <option value="3.5" >3.5</option> <option value="4.0" >4.0</option> <option value="4.5" >4.5</option> <option value="5.0" >5.0</option> <option value="5.5" >5.5</option> <option value="6.0" >6.0</option> <option value="6.5" >6.5</option> <option value="7.0" >7.0</option> <option value="7.5" >7.5</option> <option value="8.0" >8.0</option> <option value="8.5" >8.5</option> <option value="9.0" >9.0</option> <option value="9.5" >9.5</option> <option value="10.0" >10.0</option> </select></td> </tr> <tr> <td align="right" class="key">Driver remark : <td><textarea name="driver_remark" cols="40" rows="4" class="admintable" id="driver_remark" value="<?php echo $rs['driver_remark']?>" ><?php echo $rs['driver_remark']?></textarea></td> </tr> </table> </fieldset>
<style type="text/css"> body,td,th { font-family: Arial, Helvetica, sans-serif; font-size: 13px; } body { background-color: #E5E5E5; } #main_body #adminForm .col100 .adminform .admintable tr td div22 { color: #FFF; } #main_body #adminForm .col100 .adminform .admintable tr td daiv { color: #FFF; } .text_area{padding:0;margin:0;text-align:left} </style>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง