<? session_start(); include "config.inc.php"; if($valid_admin==""){ header ("Location: admin.php"); exit(); } include "config.inc.php"; $con2 = mysql_connect($host,$username,$password); if (!$con2) { die('Could not connect: ' . mysql_error()); } mysql_select_db($database, $con2); mysql_query("SET NAMES UTF8"); $result2 = mysql_query("SELECT * FROM employee_depart"); $con3 = mysql_connect($host,$username,$password); if (!$con3) { die('Could not connect: ' . mysql_error()); } mysql_select_db($database, $con3); mysql_query("SET NAMES UTF8"); $result3 = mysql_query("SELECT * FROM employee_type"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>เพิ่มข่าวสารการสมัครงาน</title> <style type="text/css"> .style1 {color: #FF0000} </style> </head> <body> <table width="200" border="1" align="center"> <tr> <th> <table width="1027" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td colspan="2"><img src="pic/index_01.jpg" width="1024" height="224" /></td> </tr> <tr> <td width="240" rowspan="2" valign="top"><table width="235" border="0" cellpadding="0" cellspacing="0"> <tr> <th width="235" scope="col"><img src="pic/index1367_02.jpg" width="236" height="69" /></th> </tr> <tr> <td><a href="employee_detail_list.php"><img src="pic/index1367_04.jpg" width="236" height="43" /></a></td> </tr> <tr> <td><a href="employee_ot_list.php"><img src="pic/index1367_08.jpg" width="236" height="47" /></a></td> </tr> <tr> <td><a href="admin_detail_apply.php"><img src="pic/index1367_09.jpg" width="236" height="46" /></a></td> </tr> <tr> <td><a href="showapply_new.php"><img src="pic/index1367_10.jpg" width="236" height="50" /></a></td> </tr> <tr> <td><a href="train_open.php"><img src="pic/index1367_11.jpg" width="236" height="50" /></a></td> </tr> <tr> <td><img src="pic/index1367_12.jpg" width="236" height="25" /></td> </tr> </table></td> <td width="788" height="73"><img src="pic/h4.jpg" alt="" width="779" height="62" /></td> </tr> <tr> <td><table width="787" border="0" cellpadding="0" cellspacing="0"> <tr> <th width="480" scope="col"><img src="pic/index1367_122.jpg" width="480" height="32" /></th> <th width="308" scope="col"><img src="pic/index_05.jpg" width="308" height="32" /></th> </tr> <tr> <td colspan="2"><img src="pic/index_06.jpg" width="788" height="10" /></td> </tr> <tr> <td height="28" colspan="2" align="center" background="pic/Untitled-1.jpg"> <table width="200" border="0" align="right" cellpadding="0" cellspacing="0"> <tr> <th scope="col"><a href="admin_logout.php">ออกจากระบบ</a></th> </tr> </table></td> </tr> <tr> <td colspan="2" background="pic/Untitled-1.jpg"> <form action="insert_newsapply.php" method="post" enctype="multipart/form-data" name="form1" id="form1" onsubmit="return check2()"> <fieldset> <legend></legend> <table width="615" border="0" align="center" cellpadding="4" cellspacing="2"> <tr> <td colspan="2" align="right" bgcolor="#CCCCCC"> </td> </tr> <tr> <td width="229" align="right" bgcolor="#EAEAEA">เลือกแผนกที่รับสมัคร :</td> <td width="364" align="left" bgcolor="#EAEAEA"><label for="select"></label> <select name="id_depart"> <? while($row2 = mysql_fetch_array($result2)) { ?> <option value='<?=$row2['id_depart']?>'><?=$row2['type_depart']?></option> <? } ?> </select></td> </tr> <tr> <td align="right" bgcolor="#EAEAEA">เลือกตำแหน่งที่รับสมัคร :</td> <td align="left" bgcolor="#EAEAEA"><label for="select"></label> <select name="id_employee_type" onchange="form1.detail_type.value=this.value"> <? while($row3 = mysql_fetch_array($result3)) { ?> <option value='<?=$row3['id_employee_type']?>' value='<?=$row3['detail_type']?>'><?=$row3['type_employee']?></option> <? } ?> </select></td> </tr> <tr> <td align="right" valign="top" bgcolor="#EAEAEA">รายละเอียดการรับสมัคร :</td> <td bgcolor="#EAEAEA"><textarea name="detail_type" cols="50" rows="5" id="detail_type" ></textarea></td> </tr>
<option value='<?=$row3['id_employee_type']?>'><?=$row3['detail_type']?></option>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง