Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /var/www/html/manage_22222/teacher_aj_viratt/ drwxr-xr-x |
Viewing file: Select action/file-type: <?php session_start(); if (session_is_registered("valid_user")&&session_is_registered("Priority")&&session_is_registered("password") ) { include("../include/FunctionDB.php"); include("admin_menu.php"); ConnectDB(); $Username = $valid_user; $sql = "SELECT * FROM personal_tb WHERE Username='$Username'"; $result = mysql_query($sql) ; $rs = mysql_fetch_array($result); $row = mysql_num_rows($result); ?> <meta http-equiv="Content-Type" content="text/html; charset=TIS-620"> <style type="text/css"> <!-- .style15 {font-size: 14px} --> </style> <table width="810" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="810"><br> <fieldset> <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="menu_teacher.php " >หน้าหลัก</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"><a href="Menu_History.php?Teacher_code=<? echo $rs[Teacher_code] ?>">ข้อมูลประวัติส่วนตัว</a></font><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" /><a href="Show_Work_History.php?Teacher_code=<? echo $rs[Teacher_code] ?>">ข้อมูลประวัติการศึกษา</a></font><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" />แก้ไขประวัติการทำงาน</font></legend> <label><div align="center"> <form id="form1" name="form1" method="post" action="Edit_Update_Work.php"> <table width="97%" border="0" align="center" cellpadding="0" cellspacing="0" style=" border:0px solid gray"size="12"> <tr> <td height="29" bgcolor="#FFFFFF"><font size="2" face="Tahoma"><img src="../picture/previous.gif" onclick="window.history.back()" width="85" height="22" border="0" /></font></td> </tr> <tr> <td height="29" bgcolor="#FFFFFF"> </td> </tr> <tr> <td height="43" ><table width="93%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#EAEAEA" style="border:0px solid gray"> <!--DWLayoutTable--> <tr bordercolor="#E7FAFE" bgcolor="#ECF5FF"> <td height="20" colspan="3" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center"><font color="#003366" face="Tahoma"><strong><span class="style15"><font color="#FF0000">แก้ไข</font> ประวัติการทำงาน</span></strong></font></div></td> </tr> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center"><span class="style15"><font color="#000000" face="Tahoma">ประเภทบุคลากร</font></span></div></td> <td nowrap="nowrap" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td> <td nowrap="nowrap" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma"> </font><font size="2" face="Tahoma"> <input type="radio" name="Person_type" <?php if (!(strcmp("$rs[Person_type]","1"))){echo "checked";} ?> value="1" onkeypress="return handleEnter(this, event)" /> </font><font face="Tahoma"><span class="style15">ข้าราชการ</span></font><font size="2" face="Tahoma"> <input type="radio" name="Person_type" <?php if (!(strcmp("$rs[Person_type]","2"))){echo "checked";} ?> value="2" onkeypress="return handleEnter(this, event)" /> </font><font face="Tahoma"><span class="style15">พนักงานของรัฐ</span></font><font size="2" face="Tahoma"> <input type="radio" name="Person_type" <?php if (!(strcmp("$rs[Person_type]","3"))){echo "checked";} ?> value="3" onkeypress="return handleEnter(this, event)" /> </font><font face="Tahoma"><span class="style15"> ลูกจ้างประจำ</span></font><font size="2" face="Tahoma"> <input type="radio" name="Person_type" <?php if (!(strcmp("$rs[Person_type]","4"))){echo "checked";} ?> value="4" onkeypress="return handleEnter(this, event)" /> </font><font face="Tahoma"><span class="style15"> ลูกจ้างชั่วคราว</span></font></td> </tr> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center"><span class="style15"><font color="#000000" face="Tahoma">ประเภทอาจารย์</font></span></div></td> <td nowrap="nowrap" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td> <td nowrap="nowrap" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma"> </font><font size="2" face="Tahoma"> <input type="radio" name="Teacher_type" <?php if (!(strcmp("$rs[Teacher_type]","1"))){echo "checked";} ?> value="1" onkeypress="return handleEnter(this, event)" /> </font><font face="Tahoma"><span class="style15">อาจารย์ทันตแพทย์ <input type="radio" name="Teacher_type" <?php if (!(strcmp("$rs[Teacher_type]","2"))){echo "checked";} ?> value="2" onkeypress="return handleEnter(this, event)" /> วิทยาจารย์ <input type="radio" name="Teacher_type" <?php if (!(strcmp("$rs[Teacher_type]","3"))){echo "checked";} ?> value="3" onkeypress="return handleEnter(this, event)" /> อาจารย์พิเศษ <input type="radio" name="Teacher_type" <?php if (!(strcmp("$rs[Teacher_type]","4"))){echo "checked";} ?> value="4" onkeypress="return handleEnter(this, event)" /> อาจารย์เภสัช <input type="radio" name="Teacher_type" <?php if (!(strcmp("$rs[Teacher_type]","5"))){echo "checked";} ?> value="5" onkeypress="return handleEnter(this, event)" /> อาจารย์พยาบาล <input type="radio" name="Teacher_type" <?php if (!(strcmp("$rs[Teacher_type]","6"))){echo "checked";} ?> value="6" onkeypress="return handleEnter(this, event)" /> อาจารย</span></font><font size="2" face="Tahoma">์</font></td> </tr> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center"><span class="style15"><font color="#000000" face="Tahoma">สถานะตำแหน่ง</font></span></div></td> <td nowrap="nowrap" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td> <td nowrap="nowrap" bgcolor="#FFFFFF"><font size="2" face="Tahoma"> <input type="radio" name="Dentis_code" <?php if (!(strcmp("$rs[Dentis_code]","01"))){echo "checked";} ?> value="01" onkeypress="return handleEnter(this, event)"> </font><font face="Tahoma"><span class="style15">ทันตแพทย์</span></font><font size="2" face="Tahoma"> <input type="radio" name="Dentis_code" <?php if (!(strcmp("$rs[Dentis_code]","02"))){echo "checked";} ?> value="02" onkeypress="return handleEnter(this, event)"> </font><font face="Tahoma"><span class="style15">เภสัชกร</span></font><font size="2" face="Tahoma"> <input type="radio" name="Dentis_code" <?php if (!(strcmp("$rs[Dentis_code]","03"))){echo "checked";} ?> value="03" onkeypress="return handleEnter(this, event)" /> </font><font face="Tahoma"> </font><span class="style15"><font face="Tahoma">อายุรเวท</font></span></span></td> </tr> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td width="191" height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center"><span class="style15"><font color="#000000" face="Tahoma">ความเชี่ยวชาญ</font></span></div></td> <td nowrap="nowrap" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td> <td nowrap="nowrap" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma"> <textarea name="Skill" cols="40" rows="5" id="Skill"><? echo $rs[Skill] ;?></textarea> </font></td> </tr> <tr bordercolor="#FFFFFF" bgcolor="#FFFFFF"> <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center"><span class="style15"><font color="#000000" face="Tahoma">เลขที่ใบประกอบวิชาชีพ</font></span></div></td> <td width="3" nowrap="nowrap" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td> <td width="626" nowrap="nowrap" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma"> <input name="Gover_id" type="text" id="Gover_id" value="<? echo $rs[Gover_id] ;?>" /> </font></td> </tr> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center"><span class="style15"><font color="#000000" face="Tahoma">เลขที่สมาชิกสภาการพยาบาล</font></span></div></td> <td nowrap="nowrap" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td> <td nowrap="nowrap" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma"> <input name="Forum_nid" type="text" id="Forum_nid" value="<? echo $rs[Forum_nid] ;?>" /> </font><font color="#003366" face="Tahoma"><span class="style15"> <font color="#000000">เลขที่สมาชิกสมาคมพยาบาล</font></span></font><font color="#003366" size="2" face="Tahoma"> <input name="Club_nid" type="text" id="Club_nid" value="<? echo $rs[Club_nid];?>" size="10" /> </font></td> </tr> <tr bordercolor="#FFFFFF" bgcolor="#FFFFFF"> <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center"><span class="style15"><font color="#000000" face="Tahoma">ปีที่เริ่มรับราชการ</font></span></div></td> <td width="3" nowrap="nowrap" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td> <td width="626" nowrap="nowrap" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma"> พ.ศ. <input name="Year_gov" type="text" id="Year_gov" value="<? echo $rs[Year_gov];?>" size="10" /> </font><font color="#003366" face="Tahoma"><span class="style15">เงินเดือน</span></font><font color="#003366" size="2" face="Tahoma"> <input name="Salary_1" type="text" id="Salary_1" value="<? echo $rs[Salary_1];?>" size="5" maxlength="6" /> </font></td> </tr> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center"><span class="style15"><font color="#000000" face="Tahoma">ปีที่เริ่มทำงานในวิทยาลัย</font></span></div></td> <td width="3" nowrap="nowrap" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td> <td width="626" nowrap="nowrap" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma"> พ.ศ. <input name="Year_coll" type="text" id="Year_coll" value="<? echo $rs[Year_coll];?>" size="10" /> </font><font color="#003366" face="Tahoma"><span class="style15">เงินค่า ตอบแทนวิชาชีพ</span></font><font color="#003366" size="2" face="Tahoma"> <input name="Salary_2" type="text" id="Salary_2" value="<? echo $rs[Salary_2];?>" size="5" maxlength="6" /> </font></td> </tr> <tr bordercolor="#FFFFFF" bgcolor="#FFFFFF"> <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center"><span class="style15"><font color="#000000" face="Tahoma">ปีที่เริ่มทำงานในภาค</font></span></div></td> <td width="3" nowrap="nowrap" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td> <td width="626" nowrap="nowrap" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma"> พ.ศ. <input name="Year_fac" type="text" id="Year_fac" value="<? echo $rs[Year_fac];?>" size="10" /> </font><font color="#003366" face="Tahoma"><span class="style15">เงินประจำตำแหน่ง</span></font><font color="#003366" size="2" face="Tahoma"> <input name="Salary_3" type="text" id="Salary_3" value="<? echo $rs[Salary_3];?>" size="5" maxlength="6" /> </font></td> </tr> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center"><span class="style15"><font color="#000000" face="Tahoma">ตำแหน่งทางราชการ</font></span></div></td> <td nowrap="nowrap" bordercolor="#E7FAFE" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td> <td nowrap="nowrap" bordercolor="#E7FAFE" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma"> <input name="Gover_pos" type="text" id="Gover_pos" value="<? echo $rs[Gover_pos];?>" size="30" /> </font></td> </tr> <tr bordercolor="#FFFFFF" bgcolor="#FFFFFF"> <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center"><span class="style15"><font color="#000000" face="Tahoma">ตำแหน่งการบริหาร</font></span></div></td> <td nowrap="nowrap" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td> <td nowrap="nowrap" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma"> <input name="Manage_pos" type="text" id="Manage_pos" value="<? echo $rs[Manage_pos];?>" size="30" /> </font></td> </tr> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center"><span class="style15"><font color="#000000" face="Tahoma">สังกัดภาควิชา </font> </span></div></td> <td nowrap="nowrap" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td> <td nowrap="nowrap" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma"><strong><font size="2" face="MS Sans Serif, Tahoma, sans-serif"> <select name="Faculty_code" class="input1" id="Faculty_code"> <?php $Faculty_code= $rs[Faculty_code]; $strSQL1 = "SELECT * FROM faculty_tb Where Faculty_code='$Faculty_code' "; $result1 = mysql_query($strSQL1); $strSQL2 = "SELECT * FROM faculty_tb Order By Faculty_name "; $result2 = mysql_query($strSQL2); while( $rs1 = mysql_fetch_array($result1)) { echo"<option value=\"$rs1[Faculty_code]\" ><b>$rs1[Faculty_name]</b></option>\n"; while( $rs2 = mysql_fetch_array($result2)) { echo"<option value=\"$rs2[Faculty_code]\" ><b>$rs2[Faculty_name]</b></option>\n"; } } CloseDB(); ?> </select> </font></strong></font></td> </tr> <tr bgcolor="#ECF5FF"> <td height="20" colspan="3" bgcolor="#FFFFFF"><div align="center"> <input type="hidden" name="Teacher_code" value="<? echo $rs[Teacher_code]?>" /> <input type="submit" name="Submit" value="บันทึก" /> </div></td> </tr> </table></td> </tr> </table> </form> </div> </label> </fieldset><br> <font color="<?php echo $GLOBALS["COLOR_FONT_3"];?>" size="2"><b>หมายเหตุ :</b> ใช้เมาส์คลิกที่ชื่อ<br> </font></td> </tr> </table> <?php } else { echo"<meta http-equiv=\"refresh\" content=\"3;URL=../login.php\">\n"; echo"Please Login "; } ?> |
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0059 ]-- |