| Server IP : 27.254.66.5 / Your IP : 216.73.217.39 Web Server : Apache/2 System : Linux cs82.hostneverdie.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 User : technic2 ( 1951) PHP Version : 7.4.30 Disable Function : apache_child_terminate, apache_setenv, define_syslog_variables, escapeshellarg, escapeshellcmd,exec, fp, fput, highlight_file, ini_alter, ini_restore, inject_code, passthru,phpAds_remoteInfo, phpAds_XmlRpc,phpAds_xmlrpcDecode, phpAds_xmlrpcEncode, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid,posix_setuid, posix_setuid, posix_uname,proc_open,proc_close, proc_get_status, proc_nice, proc_terminate, shell_exec, syslog, system, xmlrpc_entity_decode, show_source,sleep,pcntl_exec,virtual,suexec,dbmopen,dl,symlink,disk_free_space,diskfreespace,leak MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/technic2/public_html/old-website/jivec58/rayong/ |
Upload File : |
<?php
Ob_start();
session_start();
if ($_SESSION["osj_name"] == "no" or $_SESSION["osj_name"] == "")
{
header("Location:../index.php");
}
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>สิ่งประดิษฐ์ของคนรุ่นใหม่</title>
<style type="text/css">
.FontTahoma { font-family: Tahoma, Geneva, sans-serif;
}
</style>
</head>
<body bgcolor="#FFCC66">
<form name="form1" method="post" action="previewedit.php" onSubmit="JavaScript:return fncSubmit();" enctype="multipart/form-data">
<table border="1" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2"><div align="center"> <span class="FontTahoma">
</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="vec_logo.png" width="170" height="169"></td>
<td align="center"><p><span class="FontTahoma">
<?php
require_once("header.php");
?>
</span><br>
</p></td>
<td><img src="inventor_logo.png" width="170" height="169"></td>
</tr>
</table>
</div>
<br></td>
</tr>
<?php
require_once("config.php");
$sql = "select * from jivec where invention_id = " . $_GET["invention_id"];
$result = mysql_query($sql) or die ("คำสั่ง sql ผิด");
$c1 = "";
$c2 = "";
$c3 = "";
$c4 = "";
$c5 = "";
$c6 = "";
$c7 = "";
$c8 = "";
$c9 = "";
$c10 = "";
$s1 = "";
$s2 = "";
?>
<?php
while ($row = mysql_fetch_array($result))
{
$invention_type_jivec = $row["invention_type"];
if ($row["power220v"] == "ใช้ระบบไฟฟ้า 220V 50Hz") {$c1 = "checked=Checked";} else {$c1 = "";}
if ($row["power380v"] == "ใช้ระบบไฟฟ้า 380V 50Hz") {$c2 = "checked=Checked";} else {$c2 = "";}
if ($row["use_water"] == "ใช้ระบบน้ำประปา") {$c3 = "checked=Checked";} else {$c3 = "";}
if ($row["use_gas"] == "ใช้ระบบแก๊สหุงต้ม") {$c4 = "checked=Checked";} else {$c4 = "";}
if ($row["use_fuel_engine"] == "ใช้ระบบเชื้อเพลิงเผาไหม้") {$c5 = "checked=Checked";} else {$c5 = "";}
if ($row["pollution"] == "ไม่มีมลพิษ") {$c6 = "checked=Checked";} else {$c6 = "";}
if ($row["pollution"] == "มีมลพิษ") {$c7 = "checked=Checked";} else {$c7 = "";}
if ($row["have_noise"] == "ทางเสียง") {$c8 = "checked=Checked";} else {$c8 = "";}
if ($row["have_exhaust"] == "ไอเสีย") {$c9 = "checked=Checked";} else {$c9 = "";}
if ($row["have_smoke"] == "ควันไฟ") {$c10 = "checked=Checked";} else {$c10 = "";}
if ($row["invention_level"] == "ปวช.") {$s1 = "checked=Checked";} else {$s1 = "";}
if ($row["invention_level"] == "ปวส.") {$s2 = "checked=Checked";} else {$s2 = "";}
?>
<tr>
<td align="right"><span class="FontTahoma">ชื่อผลงาน : </span></td>
<td><span class="FontTahoma">
<input name="invention_id" type="hidden" id="invention_id" value="<?php echo $row["invention_id"]; ?>">
<input name="invention_name" type="text" id="invention_name" size="100" value="<?php echo $row["invention_name"]; ?>">
</span></td>
</tr>
<tr>
<td align="right"><span class="FontTahoma">ส่งประกวดระดับ :</span></td>
<td><span class="FontTahoma">
<input name="invention_level" type="radio" id="invention_level" value="ปวช." <?php echo $s1; ?>>
ปวช.
<input name="invention_level" type="radio" id="invention_level" value="ปวส." <?php echo $s2; ?>>
ปวส.</span></td>
</tr>
<tr>
<td align="right"><span class="FontTahoma">งบประมาณ :</span></td>
<td><span class="FontTahoma">
<input name="budget" type="text" id="budget" size="11" value="<?php echo $row["budget"]; ?>">
บาท</span></td>
</tr>
<tr>
<td align="right"><span class="FontTahoma">วิทยาลัย : </span></td>
<td>
<?php
require_once("config.php");
$sql = "select * from college where province_id =" . $_SESSION["province_id"];
$result1 = mysql_query($sql) or die ("คำสั่ง sql ผิด");
?>
<select name="college_name" id="college_name">
<option value="<?php echo $row["college_name"]; ?>"><?php echo $row["college_name"]; ?></option>
<option value="">==================</option>
<?php
while ($row1 = mysql_fetch_array($result1))
{
?>
<option value="<?php echo $row1["college_name"]; ?>"><?php echo $row1["college_name"]; ?></option>
<?php
}
?>
</select></td>
</tr>
<tr>
<td align="right"><span class="FontTahoma">ที่อยู่สถานศึกษา :</span></td>
<td><span class="FontTahoma"> เลขที่ :
<input name="address" type="text" id="address" size="5" value="<?php echo $row["address"]; ?>">
หมู่ :
<input name="moo" type="text" id="moo" size="5" value="<?php echo $row["moo"]; ?>">
ตำบล/แขวง :
<input name="sub_district" type="text" id="sub_district" size="25" value="<?php echo $row["sub_district"]; ?>">
<br>
อำเภอ/เขต :
<input name="district" type="text" id="district" size="19" value="<?php echo $row["district"]; ?>">
จังหวัด :
<input name="province" type="text" id="province" size="19" value="<?php echo $row["province"]; ?>">
รหัสไปรษณีย์ :
<input name="postal_code" type="text" id="postal_code" size="5" value="<?php echo $row["postal_code"]; ?>">
</span></td>
</tr>
<tr>
<td align="right"><span class="FontTahoma">อาชีวศึกษาจังหวัด :</span></td>
<td><span class="FontTahoma">
<input name="vocational_name" type="text" id="vocational_name" size="100" value="<?php echo $row["vocational_name"]; ?>">
</span></td>
</tr>
<tr>
<td colspan="2" align="center"><span class="FontTahoma">ประเภทของผลงานที่ส่งเข้าประกวด</span></td>
</tr>
<?php
$sql = "select * from invention";
$result1 = mysql_query($sql) or die ("คำสั่ง sql ผิด");
while ($row1 = mysql_fetch_array($result1))
{
?>
<tr>
<td colspan="2" align="left">
<span class="FontTahoma">
<input type="radio" name="invention_type" id="invention_type<?php echo $row1["invention_type_id"]; ?>" value="<?php echo $row1["invention_type_name"]; ?>" <?php if ($row1["invention_type_name"] == $invention_type_jivec) {echo "Checked";} else {echo "";} ?>>
<?php echo $row1["invention_type_name"]; ?>
</span>
</td>
</tr>
<?php
}
?>
<tr>
<td colspan="2" align="center"><span class="FontTahoma">ข้อมูลผู้ประดิษฐ์ (ไม่เกิน 10 คน) คนแรกคือหัวหน้าทีม</span></td>
</tr>
<tr>
<td colspan="2"><span class="FontTahoma">1. ชื่อ-สกุล
<input name="creator_name1" type="text" id="creator_name1" size="40" value="<?php echo $row["creator_name1"]; ?>">
ระดับ
<input name="creator_level1" type="text" id="creator_level1" size="11" value="<?php echo $row["creator_level1"]; ?>">
สาขาวิชา
<input name="creator_department1" type="text" id="creator_department1" size="40" value="<?php echo $row["creator_department1"]; ?>">
</span></td>
</tr>
<tr>
<td colspan="2"><span class="FontTahoma">2. ชื่อ-สกุล
<input name="creator_name2" type="text" id="creator_name2" size="40" value="<?php echo $row["creator_name2"]; ?>">
ระดับ
<input name="creator_level2" type="text" id="creator_level2" size="11" value="<?php echo $row["creator_level2"]; ?>">
สาขาวิชา
<input name="creator_department2" type="text" id="creator_department2" size="40" value="<?php echo $row["creator_department2"]; ?>">
</span></td>
</tr>
<tr>
<td colspan="2"><span class="FontTahoma">3. ชื่อ-สกุล
<input name="creator_name3" type="text" id="creator_name3" size="40" value="<?php echo $row["creator_name3"]; ?>">
ระดับ
<input name="creator_level3" type="text" id="creator_level3" size="11" value="<?php echo $row["creator_level3"]; ?>">
สาขาวิชา
<input name="creator_department3" type="text" id="creator_department3" size="40" value="<?php echo $row["creator_department3"]; ?>">
</span></td>
</tr>
<tr>
<td colspan="2"><span class="FontTahoma">4. ชื่อ-สกุล
<input name="creator_name4" type="text" id="creator_name4" size="40" value="<?php echo $row["creator_name4"]; ?>">
ระดับ
<input name="creator_level4" type="text" id="creator_level4" size="11" value="<?php echo $row["creator_level4"]; ?>">
สาขาวิชา
<input name="creator_department4" type="text" id="creator_department4" size="40" value="<?php echo $row["creator_department4"]; ?>">
</span></td>
</tr>
<tr>
<td colspan="2"><span class="FontTahoma">5. ชื่อ-สกุล
<input name="creator_name5" type="text" id="creator_name5" size="40" value="<?php echo $row["creator_name5"]; ?>">
ระดับ
<input name="creator_level5" type="text" id="creator_level5" size="11" value="<?php echo $row["creator_level5"]; ?>">
สาขาวิชา
<input name="creator_department5" type="text" id="creator_department5" size="40" value="<?php echo $row["creator_department5"]; ?>">
</span></td>
</tr>
<tr>
<td colspan="2"><span class="FontTahoma">6. ชื่อ-สกุล
<input name="creator_name6" type="text" id="creator_name6" size="40" value="<?php echo $row["creator_name6"]; ?>">
ระดับ
<input name="creator_level6" type="text" id="creator_level6" size="11" value="<?php echo $row["creator_level6"]; ?>">
สาขาวิชา
<input name="creator_department6" type="text" id="creator_department6" size="40" value="<?php echo $row["creator_department6"]; ?>">
</span></td>
</tr>
<tr>
<td colspan="2"><span class="FontTahoma">7. ชื่อ-สกุล
<input name="creator_name7" type="text" id="creator_name7" size="40" value="<?php echo $row["creator_name7"]; ?>">
ระดับ
<input name="creator_level7" type="text" id="creator_level7" size="11" value="<?php echo $row["creator_level7"]; ?>">
สาขาวิชา
<input name="creator_department7" type="text" id="creator_department7" size="40" value="<?php echo $row["creator_department7"]; ?>">
</span></td>
</tr>
<tr>
<td colspan="2"><span class="FontTahoma">8. ชื่อ-สกุล
<input name="creator_name8" type="text" id="creator_name8" size="40" value="<?php echo $row["creator_name8"]; ?>">
ระดับ
<input name="creator_level8" type="text" id="creator_level8" size="11" value="<?php echo $row["creator_level8"]; ?>">
สาขาวิชา
<input name="creator_department8" type="text" id="creator_department8" size="40" value="<?php echo $row["creator_department8"]; ?>">
</span></td>
</tr>
<tr>
<td colspan="2"><span class="FontTahoma">9. ชื่อ-สกุล
<input name="creator_name9" type="text" id="creator_name9" size="40" value="<?php echo $row["creator_name9"]; ?>">
ระดับ
<input name="creator_level9" type="text" id="creator_level9" size="11" value="<?php echo $row["creator_level9"]; ?>">
สาขาวิชา
<input name="creator_department9" type="text" id="creator_department9" size="40" value="<?php echo $row["creator_department9"]; ?>">
</span></td>
</tr>
<tr>
<td colspan="2"><span class="FontTahoma">10.ชื่อ-สกุล
<input name="creator_name10" type="text" id="creator_name10" size="40" value="<?php echo $row["creator_name10"]; ?>">
ระดับ
<input name="creator_level10" type="text" id="creator_level10" size="11" value="<?php echo $row["creator_level10"]; ?>">
สาขาวิชา
<input name="creator_department10" type="text" id="creator_department10" size="40" value="<?php echo $row["creator_department10"]; ?>">
</span></td>
</tr>
<tr>
<td colspan="2" align="center"><span class="FontTahoma">ชื่อครูที่ปรึกษา (ไม่เกิน 5 คน)</span></td>
</tr>
<tr>
<td colspan="2"><span class="FontTahoma">1. ชื่อ-สกุล
<input name="advisor_name1" type="text" id="advisor_name1" size="30" value="<?php echo $row["advisor_name1"]; ?>">
เลขบัตรประชาชน
<input name="advisor_idcard1" type="text" id="advisor_idcard1" size="20" value="<?php echo $row["advisor_idcard1"]; ?>">
ตำแหน่ง
<input name="advisor_position1" type="text" id="advisor_position1" size="20" value="<?php echo $row["advisor_position1"]; ?>"><br>
สาขาวิชา
<input name="advisor_department1" type="text" id="advisor_department1" size="20" value="<?php echo $row["advisor_department1"]; ?>">
เบอร์มือถือ
<input name="advisor_phone1" type="text" id="advisor_phone1" size="20" value="<?php echo $row["advisor_phone1"]; ?>">
อีเมล
<input name="advisor_email1" type="text" id="advisor_email1" size="40" value="<?php echo $row["advisor_email1"]; ?>">
</span></td>
</tr>
<tr>
<td colspan="2"><span class="FontTahoma">2. ชื่อ-สกุล
<input name="advisor_name2" type="text" id="advisor_name2" size="30" value="<?php echo $row["advisor_name2"]; ?>">
เลขบัตรประชาชน
<input name="advisor_idcard2" type="text" id="advisor_idcard2" size="20" value="<?php echo $row["advisor_idcard2"]; ?>">
ตำแหน่ง
<input name="advisor_position2" type="text" id="advisor_position2" size="20" value="<?php echo $row["advisor_position2"]; ?>"><br>
สาขาวิชา
<input name="advisor_department2" type="text" id="advisor_department2" size="20" value="<?php echo $row["advisor_department2"]; ?>">
เบอร์มือถือ
<input name="advisor_phone2" type="text" id="advisor_phone2" size="20" value="<?php echo $row["advisor_phone2"]; ?>">
อีเมล
<input name="advisor_email2" type="text" id="advisor_email2" size="40" value="<?php echo $row["advisor_email2"]; ?>">
</span></td>
</tr>
<tr>
<td colspan="2"><span class="FontTahoma">3. ชื่อ-สกุล
<input name="advisor_name3" type="text" id="advisor_name3" size="30" value="<?php echo $row["advisor_name3"]; ?>">
เลขบัตรประชาชน
<input name="advisor_idcard3" type="text" id="advisor_idcard3" size="20" value="<?php echo $row["advisor_idcard3"]; ?>">
ตำแหน่ง
<input name="advisor_position3" type="text" id="advisor_position3" size="20" value="<?php echo $row["advisor_position3"]; ?>"><br>
สาขาวิชา
<input name="advisor_department3" type="text" id="advisor_department3" size="20" value="<?php echo $row["advisor_department3"]; ?>">
เบอร์มือถือ
<input name="advisor_phone3" type="text" id="advisor_phone3" size="20" value="<?php echo $row["advisor_phone3"]; ?>">
อีเมล
<input name="advisor_email3" type="text" id="advisor_email3" size="40" value="<?php echo $row["advisor_email3"]; ?>">
</span></td>
</tr>
<tr>
<td colspan="2"><span class="FontTahoma">4. ชื่อ-สกุล
<input name="advisor_name4" type="text" id="advisor_name4" size="30" value="<?php echo $row["advisor_name4"]; ?>">
เลขบัตรประชาชน
<input name="advisor_idcard4" type="text" id="advisor_idcard4" size="20" value="<?php echo $row["advisor_idcard4"]; ?>">
ตำแหน่ง
<input name="advisor_position4" type="text" id="advisor_position4" size="20" value="<?php echo $row["advisor_position4"]; ?>"><br>
สาขาวิชา
<input name="advisor_department4" type="text" id="advisor_department4" size="20" value="<?php echo $row["advisor_department4"]; ?>">
เบอร์มือถือ
<input name="advisor_phone4" type="text" id="advisor_phone4" size="20" value="<?php echo $row["advisor_phone4"]; ?>">
อีเมล
<input name="advisor_email4" type="text" id="advisor_email4" size="40" value="<?php echo $row["advisor_email4"]; ?>">
</span></td>
</tr>
<tr>
<td colspan="2"><span class="FontTahoma">5. ชื่อ-สกุล
<input name="advisor_name5" type="text" id="advisor_name5" size="30" value="<?php echo $row["advisor_name5"]; ?>">
เลขบัตรประชาชน
<input name="advisor_idcard5" type="text" id="advisor_idcard5" size="20" value="<?php echo $row["advisor_idcard5"]; ?>">
ตำแหน่ง
<input name="advisor_position5" type="text" id="advisor_position5" size="20" value="<?php echo $row["advisor_position5"]; ?>"><br>
สาขาวิชา
<input name="advisor_department5" type="text" id="advisor_department5" size="20" value="<?php echo $row["advisor_department5"]; ?>">
เบอร์มือถือ
<input name="advisor_phone5" type="text" id="advisor_phone5" size="20" value="<?php echo $row["advisor_phone5"]; ?>">
อีเมล
<input name="advisor_email5" type="text" id="advisor_email5" size="40" value="<?php echo $row["advisor_email5"]; ?>">
</span></td>
</tr>
<tr>
<td colspan="2" align="center"><span class="FontTahoma">ข้อมูลทั่วไปของผลงานสิ่งประดิษฐ์</span></td>
</tr>
<tr>
<td colspan="2"><span class="FontTahoma">
<input name="power220v" type="checkbox" id="power220v" value="ใช้ระบบไฟฟ้า 220V 50Hz" <?php echo $c1; ?>>
ใช้ระบบไฟฟ้า 220V 50Hz ขนาดกระแสไฟฟ้า
<input name="power220a" type="text" id="power220a" size="10" value="<?php echo $row["power220a"]; ?>">
A
<input name="power380v" type="checkbox" id="power380v" value="ใช้ระบบไฟฟ้า 380V 50Hz" <?php echo $c2; ?>>
ใช้ระบบไฟฟ้า 380V 50Hz ขนาดกระแสไฟฟ้า
<input name="power380a" type="text" id="power380a" size="10" value="<?php echo $row["power380a"]; ?>">
A</span></td>
</tr>
<tr>
<td colspan="2"><span class="FontTahoma">
<input name="use_water" type="checkbox" id="use_water" value="ใช้ระบบน้ำประปา" <?php echo $c3; ?>>
ใช้ระบบน้ำประปา
<input name="use_gas" type="checkbox" id="use_gas" value="ใช้ระบบแก๊สหุงต้ม" <?php echo $c4; ?>>
ใช้ระบบแก๊สหุงต้ม
<input name="use_fuel_engine" type="checkbox" id="use_fuel_engine" value="ใช้ระบบเชื้อเพลิงเผาไหม้" <?php echo $c5; ?>>
ใช้ระบบเชื้อเพลิงเผาไหม้</span></td>
</tr>
<tr class="FontTahoma">
<td colspan="2"><input name="pollution" type="radio" id="non_pollution" value="ไม่มีมลพิษ" <?php echo $c6; ?>>
ไม่มีมลพิษ
<input name="pollution" type="radio" id="pollution" value="มีมลพิษ" <?php echo $c7; ?>>
มีมลพิษ
<input name="have_noise" type="checkbox" id="have_noise" value="ทางเสียง" <?php echo $c8; ?>>
ทางเสียง
<input name="have_exhaust" type="checkbox" id="have_exhaust" value="ไอเสีย" <?php echo $c9; ?>>
ไอเสีย
<input name="have_smoke" type="checkbox" id="have_smoke" value="ควันไฟ" <?php echo $c10; ?>>
ควันไฟ
อื่น ๆ โปรดระบุ
<input name="other_data" type="text" id="other_data" size="40" value="<?php echo $row["other_data"]; ?>"></td>
</tr>
<tr class="FontTahoma">
<td colspan="2">ขนาดของผลงานสิ่งประดิษฐ์ กว้าง
<input name="invention_wide" type="text" id="invention_wide" size="10" value="<?php echo $row["invention_wide"]; ?>">
cm. X ยาว
<input name="invention_long" type="text" id="invention_long" size="10" value="<?php echo $row["invention_long"]; ?>">
cm. X สูง
<input name="invention_high" type="text" id="invention_high" size="10" value="<?php echo $row["invention_high"]; ?>">
cm.</td>
</tr>
<tr align="center" class="FontTahoma">
<td colspan="2">ระบุจำนวนผู้มาเข้าร่วมการประกวดและนำเสนอผลงาน</td>
</tr>
<tr class="FontTahoma">
<td colspan="2">นักศึกษาชาย
<input name="male_student_amount" type="text" id="male_student_amount" size="8" value="<?php echo $row["male_student_amount"]; ?>">
คน / นักศึกษาหญิง
<input name="female_student_amount" type="text" id="female_student_amount" size="8" value="<?php echo $row["female_student_amount"]; ?>">
คน ครูที่ปรึกษาชาย
<input name="male_advisor_amount" type="text" id="male_advisor_amount" size="8" value="<?php echo $row["male_advisor_amount"]; ?>">
คน / ครูที่ปรึกษาหญิง
<input name="female_advisor_amount" type="text" id="female_advisor_amount" size="8" value="<?php echo $row["female_advisor_amount"]; ?>">
คน รวม
<input name="total_person_amount" type="text" id="total_person_amount" size="8" value="<?php echo $row["total_person_amount"]; ?>">
คน</td>
</tr>
<tr align="center" class="FontTahoma">
<td colspan="2">ระบุเบอร์โทรศัพท์ครูที่ปรึกษาสิ่งประดิษฐ์ เพื่อการติดต่อประสานงาน</td>
</tr>
<tr class="FontTahoma">
<td colspan="2" align="center">เบอร์โทรศัพท์สถานศึกษา
<input name="college_phone" type="text" id="college_phone" size="20" value="<?php echo $row["college_phone"]; ?>">
เบอร์โทรศัพท์ครูที่ปรึกษา
<input name="advisor_phone6" type="text" id="advisor_phone6" size="20" value="<?php echo $row["advisor_phone6"]; ?>"></td>
</tr>
<tr>
<td colspan="2">
<br>
</td>
</tr>
<tr class="FontTahoma">
<td colspan="2" align="center">
บทคัดย่อ
</td>
</tr>
<tr>
<td colspan="2" align="center">
<br>
<table bgcolor="#ffffff" align="center">
<tr>
<td>
<textarea rows="10" cols="100" name="abstract" id="abstract"><?php echo $row["abstract"]; ?></textarea>
</td>
</tr>
</table>
<br>
</td>
</tr>
<tr>
<td colspan="2">
<br>
</td>
</tr>
<tr class="FontTahoma">
<td colspan="2" align="center">
ประโยชน์และคุณลักษณะ
</td>
</tr>
<tr>
<td colspan="2" align="center">
<br>
<table bgcolor="#ffffff" align="center">
<tr>
<td>
<textarea rows="10" cols="100" name="property" id="property"><?php echo $row["property"]; ?></textarea>
</td>
</tr>
</table>
<br>
</td>
</tr>
<tr>
<td colspan="2">
<br>
</td>
</tr>
<tr class="FontTahoma">
<td colspan="2" align="center">
ภาพถ่ายสิ่งประดิษฐ์
</td>
</tr>
<tr>
<td colspan="2" align="left">
<?php
if ($row["image1"] <> "ไม่มีภาพ")
{
?>
<img src="<?php echo "image/" . $row["image1"]; ?>" height="240" width="300">
<input name="image1" type="hidden" id="image1" value="<?php echo $row["image1"]; ?>">
<?php
}
else
{
?>
<img src="no-photo.jpg" height="240" width="300">
<input name="image1" type="hidden" id="image1" value="ไม่มีภาพ">
<br>
ไม่มีภาพ
<?php
}
?>
<?php
if ($row["image2"] <> "ไม่มีภาพ")
{
?>
<img src="<?php echo "image/" . $row["image2"]; ?>" height="240" width="300">
<input name="image2" type="hidden" id="image2" value="<?php echo $row["image2"]; ?>">
<?php
}
else
{
?>
<img src="no-photo.jpg" height="240" width="300">
<input name="image2" type="hidden" id="image2" value="ไม่มีภาพ">
<br>
ไม่มีภาพ
<?php
}
?>
<br>
<input type="file" name="image11" id="image11" accept="image/*">
<input type="file" name="image21" id="image21" accept="image/*">
</td>
</tr>
<tr>
<td colspan="2">
<br>
</td>
</tr>
<tr>
<td colspan="2" align="center">
ไฟล์แบบนำเสนอ 19 หัวข้อ
</td>
</tr>
<tr>
<td colspan="2" align="center">
<?php
if ($row["pdf"] <> "ไม่แนบไฟล์ pdf")
{
?>
<a href="./pdf/<?php echo $row["pdf"]; ?>">ดูแบบนำเสนอ 19 หัวข้อ</a>
<input name="pdf" type="hidden" id="pdf" value="<?php echo $row["pdf"]; ?>">
<?php
}
else
{
?>
ไม่แนบไฟล์ pdf
<input name="pdf" type="hidden" id="pdf" value="ไม่แนบไฟล์ pdf">
<?php
}
?>
<br>
<input type="file" name="pdf1" id="pdf1" accept="application/pdf">
</td>
</tr>
<tr>
<td colspan="2" align="center"><input type="button" name="button2" id="button2" value="ย้อนกลับ" onClick="history.back()"> <input type="submit" name="button" id="button" value="Submit"></td>
</tr>
</table>
<?php
}
?>
</form>
</body>
</html>