<input type="checkbox" name="adapter" id="adapter" /> Adapter<br /> <br /> <input type="checkbox" name="softcase" id="softcase" /> Softcase<br />
<input type="checkbox" name="adapter" id="adapter" <? if($adapter=='on'){ echo "checked=\"checked\""; } ?> /> Adapter<br /> <br /> <input type="checkbox" name="softcase" id="softcase" <? if($softcase=='on'){ echo "checked=\"checked\""; } ?> />Softcase<br />
include('../mysql.inc.php'); $sql="select * from regis_com where com_id='$com_id' "; $result=mysql_query($sql); if($row=mysql_fetch_object($result)) { ?> <br /> <span class="style15"><strong>ข้อมูลหมายเลขซ่อมที่ <? echo $row->com_id;?></strong></span><strong><br /> </strong> <hr /> <form id="form2" name="form2" method="post" action="com_edit1.php"> <table width="620" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#C9C7C7"> <tr> <td width="120" class="style15">พนักงาน</td> <td width="358" class="style15"> <select name="employee" id="employee"> <option value="<? echo $row->employee;?>" <?php if (!(strcmp($row->emp_id, $row->employee))) {echo "selected=\"selected\"";} ?>><? echo $row->employee;?></option> </select> </td> </tr> <tr> <td class="style15">รหัสลูกค้า</td> <td class="style15"> <select name="cus_id" id="cus_id"> <option value="<? echo $row->cus_id;?>" <?php if (!(strcmp($row->cus_id, $row->cus_id))) {echo "selected=\"selected\"";} ?>><? echo $row->cus_id;?></option> </select> <input name="com_id" type="hidden" id="com_id" value="<?=$row->com_id;?>" /></td> </tr> <tr> <td class="style15">ยี่ห้อ</td> <td class="style15"> <label> <input name="brand" type="text" id="brand" value="<? echo $row->brand;?>" size="10" maxlength="20" /> </label> </td> </tr> <tr> <td class="style15">เครื่อง</td> <td class="style15"><label> <input name="machine" type="text" id="machine" value="<? echo $row->machine;?>" size="10" maxlength="20" /> </label></td> </tr> <tr> <td class="style15">serial</td> <td class="style15"><label> <input name="serial" type="text" id="serial" value="<? echo $row->serial;?>" size="10" maxlength="10" /> </label></td> </tr> <tr> <td class="style15">อุปกรณ์/Harddrive </td> <td class="style15"><label> <input name="hdd" type="text" id="hdd" value="<? echo $row->hdd;?>" size="10" maxlength="30" /> </label></td> </tr> <tr> <td class="style15">อุปกรณ์/RAM </td> <td class="style15"> <label> <input name="ram" type="text" id="ram" value="<? echo $row->ram;?>" size="10" maxlength="20" /> </label> </td> </tr> <tr> <td class="style15">อุปกรณ์/VGA </td> <td class="style15"> <label> <input name="vga" type="text" id="vga" value="<? echo $row->ram;?>" size="10" maxlength="20" /> </label> </td> </tr> <tr> <td colspan="2" class="style15"><table width="500" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="206"><br /> <input name="adapter" type="checkbox" id="adapter" /> Adapter<br /> <br /> <input type="checkbox" name="softcase" id="softcase" /> Softcase<br /> <br /> <input type="checkbox" name="dvd" id="dvd" /> DVD-External<br /> <br /></td> <td width="208"><label> <input type="checkbox" name="hddex" id="hddex" /> Harddisk-External<br /> <br /> <input type="checkbox" name="keyboard" id="keyboard" /> Keyboard<br /> <br /> <input type="checkbox" name="mouse" id="mouse" /> Mouse</label></td> <td width="206"><label> <input type="checkbox" name="usbw" id="usbw" /> USB Wireless<br /> <br /> <input type="checkbox" name="aircard" id="aircard" /> Aircard </label> <br /> <br /> <label> <input type="checkbox" name="fdrive" id="fdrive" /> FlashDrive</label></td> </tr> </table> <label></label></td> </tr> <tr> <td class="style15">อุปกรณ์อื่นๆ</td> <td class="style15"><label> <textarea name="other" cols="45" rows="5" id="other"><? echo $row->other;?></textarea> </label></td> </tr> <tr> <td class="style15">อาการ/ปัญหา</td> <td class="style15"><label> <textarea name="problem" cols="45" rows="5" id="problem"><? echo $row->problem;?></textarea> </label></td> </tr> <tr> <td class="style15">วันที่/เวลา</td> <td class="style15"><label> <input name="datetime" type="text" id="datetime" value="<? echo $row->datetime;?>" size="10" maxlength="30" /> </label></td> </tr> <tr> <td class="style15"><p>รายละเอียดการซ่อมและเปลี่ยนอะไหล่</span>่ / ลงชื่อผู้ซ่อม </p></td> <td class="style15"><label> <textarea name="repair" cols="45" rows="10" id="repair"><? echo $row->repair;?></textarea> </label></td> </tr> <tr> <td class="style15">ค่าบริการ</td> <td class="style15"><label> <input name="service" type="text" id="service" value="<? echo $row->service;?>" size="10" maxlength="10" /> </label></td> </tr> <tr> <td class="style15">ค่าบริการรวมอะไหล่</td> <td class="style15"><label> <input name="total" type="text" id="total" value="<? echo $row->total;?>" size="10" maxlength="10" /> </label></td> </tr> <tr> <td class="style15">สถานะ</td> <td class="style15"><label> <select name="status" id="status"> <option value="ดำเนินการ" <?php if (!(strcmp("ดำเนินการ", $row->status))) {echo "selected=\"selected\"";} ?>>ดำเนินการ</option> <option value="เสร็จแล้ว" <?php if (!(strcmp("เสร็จแล้ว", $row->status))) {echo "selected=\"selected\"";} ?>>เสร็จแล้ว</option> <option value="" <?php if (!(strcmp("", $row->status))) {echo "selected=\"selected\"";} ?>></option> </select> </label></td> </tr> <tr> <td class="style15"> </td> <td class="style15"><label> <input type="submit" name="submit" id="submit" value="แก้ไข" /> </label></td> </tr> </table> </form> <? } else { echo "<script> alert('มีข้อผิดพลาด'); return false(); </script>"; } ?>
<input name="adapter" type="checkbox" id="adapter" /> Adapter<br /> <br /> <input type="checkbox" name="softcase" id="softcase" /> Softcase<br /> <br /> <input type="checkbox" name="dvd" id="dvd" /> DVD-External<br /> <br /></td> <td width="208"><label> <input type="checkbox" name="hddex" id="hddex" /> Harddisk-External<br /> <br /> <input type="checkbox" name="keyboard" id="keyboard" /> Keyboard<br /> <br /> <input type="checkbox" name="mouse" id="mouse" /> Mouse</label></td> <td width="206"><label> <input type="checkbox" name="usbw" id="usbw" /> USB Wireless<br /> <br /> <input type="checkbox" name="aircard" id="aircard" /> Aircard </label> <br /> <br /> <label> <input type="checkbox" name="fdrive" id="fdrive" /> FlashDrive
<input type="checkbox" name="adapter" id="adapter" <? if($row->adapter=='on'){ echo "checked=\"checked\""; } ?> /> Adapter<br />
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง