| 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/domains/technicrayong.ac.th/private_html/old-website/jivec58/nonthaburi/ |
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: "TH SarabunPSK";
font-size:22px;
}
</style>
</head>
<body>
<table border="1" align="center" cellpadding="0" cellspacing="0" width="1000">
<tr>
<td colspan="2"><div align="center"> <span class="FontTahoma"><br>
</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="vec_logo.png" width="170" height="169"></td>
<td align="center"><p><strong><span class="FontTahoma">
<?php
require_once("header.php");
?>
</span><br>
</strong></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 ผิด");
?>
<?php
while ($row = mysql_fetch_array($result))
{
?>
<tr>
<td width="270" align="right"><strong><span class="FontTahoma">ชื่อผลงาน : </span></strong></td>
<td width="724"><span class="FontTahoma"> <?php echo $row["invention_name"]; ?></span></td>
</tr>
<tr>
<td align="right"><strong><span class="FontTahoma">วิทยาลัย : </span></strong></td>
<td><span class="FontTahoma"> <?php echo $row["college_name"]; ?></span></td>
</tr>
<tr>
<td align="right"><strong><span class="FontTahoma">อาชีวศึกษาจังหวัด :</span></strong></td>
<td><span class="FontTahoma"> <?php echo $row["vocational_name"]; ?></span></td>
</tr>
<tr>
<td align="right"><strong><span class="FontTahoma">ประเภทของผลงานที่ส่งเข้าประกวด :</span></strong></td>
<td><span class="FontTahoma"> <?php echo $row["invention_type"];?></span></td>
</tr>
</table>
<br>
<table border="1" align="center" cellpadding="0" cellspacing="0" width="1000">
<tr>
<td colspan="4" align="center"><span class="FontTahoma"><strong>ข้อมูลผู้ประดิษฐ์ (ไม่เกิน 10 คน) คนแรกคือหัวหน้าทีม</strong></span></td>
</tr>
<tr align="center" class="FontTahoma">
<td><strong>ลำดับที่</strong></td>
<td><strong>ชื่อ-สกุล</strong></td>
<td><strong>ระดับการศึกษา</strong></td>
<td><strong>สาขาวิชา</strong></td>
</tr>
<tr>
<td align="center"><span class="FontTahoma">1.</span></td>
<td><span class="FontTahoma"><?php echo $row["creator_name1"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["creator_level1"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["creator_department1"]; ?></span></td>
</tr>
<tr>
<td align="center"><span class="FontTahoma">2.</span></td>
<td><span class="FontTahoma"><?php echo $row["creator_name2"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["creator_level2"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["creator_department2"]; ?></span></td>
</tr>
<tr>
<td align="center"><span class="FontTahoma">3.</span></td>
<td><span class="FontTahoma"><?php echo $row["creator_name3"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["creator_level3"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["creator_department3"]; ?></span></td>
</tr>
<tr>
<td align="center"><span class="FontTahoma">4.</span></td>
<td><span class="FontTahoma"><?php echo $row["creator_name4"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["creator_level4"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["creator_department4"]; ?></span></td>
</tr>
<tr>
<td align="center"><span class="FontTahoma">5.</span></td>
<td><span class="FontTahoma"><?php echo $row["creator_name5"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["creator_level5"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["creator_department5"]; ?></span></td>
</tr>
<tr>
<td align="center"><span class="FontTahoma">6.</span></td>
<td><span class="FontTahoma"><?php echo $row["creator_name6"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["creator_level6"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["creator_department6"]; ?></span></td>
</tr>
<tr>
<td align="center"><span class="FontTahoma">7.</span></td>
<td><span class="FontTahoma"><?php echo $row["creator_name7"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["creator_level7"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["creator_department7"]; ?></span></td>
</tr>
<tr>
<td align="center"><span class="FontTahoma">8.</span></td>
<td><span class="FontTahoma"><?php echo $row["creator_name8"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["creator_level8"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["creator_department8"]; ?></span></td>
</tr>
<tr>
<td align="center"><span class="FontTahoma">9.</span></td>
<td><span class="FontTahoma"><?php echo $row["creator_name9"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["creator_level9"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["creator_department9"]; ?></span></td>
</tr>
<tr>
<td align="center"><span class="FontTahoma">10.</span></td>
<td><span class="FontTahoma"><?php echo $row["creator_name10"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["creator_level10"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["creator_department10"]; ?></span></td>
</tr>
</table>
<br>
<table border="1" align="center" cellpadding="0" cellspacing="0" width="1000">
<tr>
<td colspan="5" align="center"><span class="FontTahoma"><strong>ชื่อครูที่ปรึกษา (ไม่เกิน 5 คน) คนแรกคือหัวหน้าทีม</strong></span></td>
</tr>
<tr align="center" class="FontTahoma">
<td><strong>ลำดับที่</strong></td>
<td><strong>ชื่อ-สกุล</strong></td>
<td><strong>ตำแหน่ง</strong></td>
<td><strong>สาชาวิชา</strong></td>
<td><strong>เบอร์มือถือ</strong></td>
</tr>
<tr>
<td align="center"><span class="FontTahoma">1.</span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_name1"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_position1"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_department1"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_phone1"]; ?></span></td>
</tr>
<tr>
<td align="center"><span class="FontTahoma">2.</span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_name2"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_position2"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_department2"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_phone2"]; ?></span></td>
</tr>
<tr>
<td align="center"><span class="FontTahoma">3.</span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_name3"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_position3"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_department3"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_phone3"]; ?></span></td>
</tr>
<tr>
<td align="center"><span class="FontTahoma">4.</span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_name4"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_position4"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_department4"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_phone4"]; ?></span></td>
</tr>
<tr>
<td align="center"><span class="FontTahoma">5.</span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_name5"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_position5"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_department5"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_phone5"]; ?></span></td>
</tr>
</table>
<br>
<table border="1" align="center" cellpadding="0" cellspacing="0" width="1000">
<tr>
<td align="center"><span class="FontTahoma"><strong>ข้อมูลทั่วไปของผลงานสิ่งประดิษฐ์</strong></span></td>
</tr>
<tr>
<td><span class="FontTahoma">
<?php
if ($row["power220v"] <> "")
{
echo $row["power220v"] . " " . $row["power220a"] . " A " ;
}
if ($row["power380v"] <> "")
{
echo $row["power380v"] . " " . $row["power380a"] . " A" ;
}
?>
</span></td>
</tr>
<tr>
<td><span class="FontTahoma">
<?php
if ($row["use_water"] <> "")
{
echo $row["use_water"] . " ";
}
if ($row["use_gas"] <> "")
{
echo $row["use_gas"] . " ";
}
if ($row["use_fuel_engine"] <> "")
{
echo $row["use_fuel_engine"] . " ";
}
?>
</span></td>
</tr>
<tr class="FontTahoma">
<td>
<?php
if ($row["non_pollution"] <> "")
{
echo $row["non_pollution"] . " ";
}
if ($row["pollution"] <> "")
{
echo $row["pollution"] . " ";
}
if ($row["have_noise"] <> "")
{
echo $row["have_noise"] . " ";
}
if ($row["have_exhaust"] <> "")
{
echo $row["have_exhaust"] . " ";
}
if ($row["have_smoke"] <> "")
{
echo $row["have_smoke"] . " ";
}
if ($row["other_data"] <> "")
{
echo $row["other_data"] . " ";
}
?></td>
</tr>
<tr class="FontTahoma">
<td> ขนาดของผลงานสิ่งประดิษฐ์ กว้าง <?php echo $row["invention_wide"]; ?> cm. X ยาว <?php echo $row["invention_long"]; ?> cm. X สูง <?php echo $row["invention_high"]; ?> cm.</td>
</tr>
</table>
<br>
<table border="1" align="center" cellpadding="0" cellspacing="0" width="1000">
<tr align="center" class="FontTahoma">
<td colspan="2"><strong>ระบุจำนวนผู้มาเข้าร่วมการประกวดและนำเสนอผลงาน</strong></td>
</tr>
<tr class="FontTahoma">
<td colspan="2"> นักศึกษาชาย <?php echo $row["male_student_amount"]; ?> คน / นักศึกษาหญิง <?php echo $row["female_student_amount"]; ?> คน ครูที่ปรึกษาชาย <?php echo $row["male_advisor_amount"]; ?> คน / ครูที่ปรึกษาหญิง <?php echo $row["female_advisor_amount"]; ?> คน รวม <?php echo $row["total_person_amount"]; ?> คน</td>
</tr>
</table>
<br>
<table border="1" align="center" cellpadding="0" cellspacing="0" width="1000">
<tr align="center" class="FontTahoma">
<td colspan="2"><strong>ระบุเบอร์โทรศัพท์ครูที่ปรึกษาสิ่งประดิษฐ์ เพื่อการติดต่อประสานงาน</strong></td>
</tr>
<tr class="FontTahoma">
<td colspan="2" align="center">เบอร์โทรศัพท์สถานศึกษา <?php echo $row["college_phone"]; ?> เบอร์โทรศัพท์ครูที่ปรึกษา <?php echo $row["advisor_phone6"]; ?></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr class="FontTahoma">
<td colspan="2" align="center"><strong>ลงนามผู้บริหารสถานศึกษา</strong></td>
</tr>
<tr>
<td colspan="2" align="center"><p><br>
</p>
<p>..............................................................<br>
( )<br>
</p></td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="button" name="button" id="button" value="ย้อนกลับ" onClick="history.back()">
<input type="submit" name="button2" id="button2" value="พิมพ์" onClick="window.print()">
</td>
</tr>
</table>
<?php
}
?>
</body>
</html>