| 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/pathumthani/ |
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>
<?php
require_once("config.php");
$sql1 = "select * from info";
$result1 = mysql_query($sql1) or die ("คำสั่ง sql ผิด");
while ($row1 = mysql_fetch_array($result1))
{
$head1 = $row1["zone"];
$head2 = $row1["education_year"];
}
?>
</head>
<body>
<table border="1" align="center" cellpadding="0" cellspacing="0" width="1000">
<tr>
<td width="773"><div align="center">
<table width="900" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center"><img src="vec_logo.png" width="140" height="140"></td>
<td align="center"><p><strong><span class="FontTahoma">
แบบนำเสนอคุณลักษณะ "สุดยอดนวัตกรรมอาชีวศึกษา"<br>
การประกวดสิ่งประดิษฐ์ของคนรุ่นใหม่<br>
<?php echo $head2; ?><br>
<?php echo $head1; ?><br>
<img src="check.jpg" width="15" height="15"> ระดับอาชีวศึกษาจังหวัด <img src="uncheck.jpg" width="15" height="15"> ระดับภาค <img src="uncheck.jpg" width="15" height="15"> ระดับชาติ <br>
</span><br>
</strong></p></td>
<td align="center"><img src="inventor_logo.png" width="140" height="140"></td>
</tr>
</table>
</div>
</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 align="center"><strong><span class="FontTahoma"><?php echo $row["invention_type"];?></span></strong></td>
</tr>
</table>
<table width="1000" border="1" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="736"><span class="FontTahoma"><strong> ชื่อสิ่งประดิษฐ์ :</strong> <?php echo $row["invention_name"]; ?></span></td>
<td width="258"><span class="FontTahoma"><strong> งบประมาณ :</strong> <?php echo $row["budget"]; ?> บาท</span></td>
</tr>
<tr>
<td colspan="2"><span class="FontTahoma"><strong> ชื่อ-ที่อยู่ สถานศึกษา :</strong> <?php echo $row["college_name"]; ?> <strong>เลขที่ :</strong> <?php echo $row["address"]; ?> <strong>หมู่ :</strong> <?php echo $row["moo"]; ?> <strong>ตำบล/แขวง :</strong> <?php echo $row["sub_district"]; ?> <br>
<strong> อำเภอ/เขต :</strong> <?php echo $row["district"]; ?> <strong>จังหวัด :</strong> <?php echo $row["province"]; ?> <strong>รหัสไปรษณีย์ :</strong> <?php echo $row["postal_code"]; ?> <strong>โทรศัพท์ :</strong> <?php echo $row["college_phone"]; ?></span></span> </td>
</tr>
<tr>
<td colspan="3" align="center"><span class="FontTahoma"> <br>
<?php
if ($row["image1"] <> "ไม่มีภาพ")
{
?>
<img src="<?php echo "image/" . $row["image1"]; ?>" height="240" width="300">
<?php
}
else
{
?>
<img src="no-photo.jpg" height="240" width="300">
<?php
}
?>
<?php
if ($row["image2"] <> "ไม่มีภาพ")
{
?>
<img src="<?php echo "image/" . $row["image2"]; ?>" height="240" width="300">
<?php
}
else
{
?>
<img src="no-photo.jpg" height="240" width="300">
<?php
}
?>
<br>
<br>
</span></td>
</tr>
</table>
<table width="1000" border="1" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2" rowspan="5" align="left" valign="top"><span class="FontTahoma"><strong> ชื่อผู้ประดิษฐ์ :</strong></span></td>
<td width="392" align="left"><span class="FontTahoma"> 1. <?php echo $row["creator_name1"]; ?> <?php if ($row["creator_level1"] <> "") {echo "(" . $row["creator_level1"] . ")";} ?></span></td>
<td width="392" align="left"><span class="FontTahoma"> 2. <?php echo $row["creator_name2"]; ?> <?php if ($row["creator_level2"] <> "") {echo "(" . $row["creator_level2"] . ")";} ?></span></td>
</tr>
<tr>
<td align="left"><span class="FontTahoma"> 3. <?php echo $row["creator_name3"]; ?> <?php if ($row["creator_level3"] <> "") {echo "(" . $row["creator_level3"] . ")";} ?></span></td>
<td align="left"><span class="FontTahoma"> 4. <?php echo $row["creator_name4"]; ?> <?php if ($row["creator_level4"] <> "") {echo "(" . $row["creator_level4"] . ")";} ?></span></td>
</tr>
<tr>
<td align="left"><span class="FontTahoma"> 5. <?php echo $row["creator_name5"]; ?> <?php if ($row["creator_level5"] <> "") {echo "(" . $row["creator_level5"] . ")";} ?></span></td>
<td align="left"><span class="FontTahoma"> 6. <?php echo $row["creator_name6"]; ?> <?php if ($row["creator_level6"] <> "") {echo "(" . $row["creator_level6"] . ")";} ?></span></td>
</tr>
<tr>
<td align="left"><span class="FontTahoma"> 7. <?php echo $row["creator_name7"]; ?> <?php if ($row["creator_level7"] <> "") {echo "(" . $row["creator_level7"] . ")";} ?></span></td>
<td align="left"><span class="FontTahoma"> 8. <?php echo $row["creator_name8"]; ?> <?php if ($row["creator_level8"] <> "") {echo "(" . $row["creator_level8"] . ")";} ?></span></td>
</tr>
<tr>
<td align="left"><span class="FontTahoma"> 9. <?php echo $row["creator_name9"]; ?> <?php if ($row["creator_level9"] <> "") {echo "(" . $row["creator_level9"] . ")";} ?></span></td>
<td align="left"><span class="FontTahoma"> 10. <?php echo $row["creator_name10"]; ?> <?php if ($row["creator_level10"] <> "") {echo "(" . $row["creator_level10"] . ")";} ?></span></td>
</tr>
</table>
<table border="1" align="center" cellpadding="0" cellspacing="0" width="1000">
<tr align="center" class="FontTahoma">
<td width="300" align="left"><strong> อาจารย์ที่ปรึกษา ชื่อ-สกุล</strong></td>
<td width="241"><strong>E-mail</strong></td>
<td width="241"><strong>โทรศัพท์</strong></td>
</tr>
<tr>
<td><span class="FontTahoma">
1.
<?php
if ($row["advisor_name1"] <> "")
{
echo $row["advisor_name1"];
}
else
{
echo " ";
}
?>
</span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_email1"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_phone1"]; ?></span></td>
</tr>
<tr>
<td><span class="FontTahoma">
2. <?php
if ($row["advisor_name2"] <> "")
{
echo $row["advisor_name2"];
}
else
{
echo " ";
}
?>
</span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_email2"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_phone2"]; ?></span></td>
</tr>
<tr>
<td><span class="FontTahoma">
3.
<?php
if ($row["advisor_name3"] <> "")
{
echo $row["advisor_name3"];
}
else
{
echo " ";
}
?>
</span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_email3"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_phone3"]; ?></span></td>
</tr>
<tr>
<td><span class="FontTahoma">
4.
<?php
if ($row["advisor_name4"] <> "")
{
echo $row["advisor_name4"];
}
else
{
echo " ";
}
?>
</span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_email4"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_phone4"]; ?></span></td>
</tr>
<tr>
<td><span class="FontTahoma">
5.
<?php
if ($row["advisor_name5"] <> "")
{
echo $row["advisor_name5"];
}
else
{
echo " ";
}
?>
</span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_email5"]; ?></span></td>
<td><span class="FontTahoma"><?php echo $row["advisor_phone5"]; ?></span></td>
</tr>
</table>
<table width="1000" border="1" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="207" height="200" align="left" valign="top"><span class="FontTahoma"><strong> บทคัดย่อ :</strong></span></td>
<td width="787" align="left" valign="top"><span class="FontTahoma"> <?php echo nl2br($row["abstract"]); ?></span></td>
</tr>
</table>
<table width="1000" border="1" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="207" height="200" align="left" valign="top"><span class="FontTahoma"><strong> ประโยชน์และคุณลักษณะ :</strong></span></td>
<td width="787" align="left" valign="top"><span class="FontTahoma"> <?php echo nl2br($row["property"]); ?></span></td>
</tr>
</table>
<?php
}
?>
</body>
</html>