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/ drwxr-xr-x |
Viewing file: Select action/file-type: <?php session_start(); /** Define Validate Access */ define( '_VALID_ACCESS', 1 ); /** Check Session User Login */ if( !session_is_registered("valid_user") && !session_is_registered("Priority") ) { echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-874\" />"; echo "<p style=padding-top:115px><p align=center><br /><font color=red><strong>กรุณาทำการ Login ก่อน</strong></font></p></p>"; echo "<meta http-equiv=\"refresh\" content=\"1; URL=../login.php\" />"; exit(); } else { /** Configuration */ require_once( "../configuration.php" ); require_once( $_Config_absolute_path . "/includes/framework.php" ); require_once( "../include/Function.php" ); /** Create Database Object */ $dbObj = new DBConn; //=== SESSION $Username = $valid_user; /** Config Table for This Page */ $myTable1 = "personal_tb"; $myTable2 = "project_tb"; $myTable2PK = "codeId"; /** Table --> personal_tb */ $query = " SELECT * FROM $myTable1 WHERE Username='$Username' "; $result = $dbObj->execQuery($query); $rs = $dbObj->fetchArray($result); $Teacher_code = $rs['Teacher_code']; } # else ?> <!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=windows-874" /> <link href="../css/default.css" rel="stylesheet" type="text/css" /> <script language="javascript" src="../js/utilities.js"></script> <title>ข้อมูลประวัติส่วนตัว - แก้ไขข้อมูลประวัติการทำงาน</title> </head> <body topmargin="0" rightmargin="0" bottommargin="0" leftmargin="0"> <?php include("../templates/incHeader.php"); ?> <table width="1003" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="203" align="left" valign="top" style="padding:10px 0px 0px 5px"><?php include("./_incMainMenu.php");?></td> <td width="800" height="440" align="center" valign="top" style="padding:10px 0px 5px 10px"> <?php /** Query เพื่อหา Numrows ก่อน */ ?> <fieldset> <table width="780" border="0" cellspacing="0" cellpadding="0"> <form id="myForm" name="myForm" method="post" action="Edit_Update_Work.php"> <tr> <td height="5"></td> </tr> <tr> <td height="30" background="../images/background/bg-head-topic-w780.gif" class="PADDING-LEFT-10"><strong><a href="index.php">หน้าหลัก</a></strong> <strong>» <a href="Menu_History.php?Teacher_code=<?=$Teacher_code;?>">ข้อมูลประวัติส่วนตัว</a> » <span class="NOTE">แก้ไขข้อมูลประวัติการทำงาน</span></strong></td> </tr> <tr> <td> </td> </tr> <tr> <td height="150" align="center"><table width="93%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#EAEAEA" style="border:0px solid gray"> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">ประเภทบุคลากร</td> <td nowrap="nowrap" bgcolor="#FFFFFF"> </td> <td nowrap="nowrap" bgcolor="#FFFFFF"><input type="radio" name="Person_type" <?php if (!(strcmp("$rs[Person_type]","1"))){echo "checked";} ?> value="1" onkeypress="return handleEnter(this, event)" /> ข้าราชการ <input type="radio" name="Person_type" <?php if (!(strcmp("$rs[Person_type]","2"))){echo "checked";} ?> value="2" onkeypress="return handleEnter(this, event)" /> พนักงานของรัฐ <input type="radio" name="Person_type" <?php if (!(strcmp("$rs[Person_type]","3"))){echo "checked";} ?> value="3" onkeypress="return handleEnter(this, event)" /> ลูกจ้างประจำ <input type="radio" name="Person_type" <?php if (!(strcmp("$rs[Person_type]","4"))){echo "checked";} ?> value="4" onkeypress="return handleEnter(this, event)" /> ลูกจ้างชั่วคราว</td> </tr> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td height="20" align="right" valign="top" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10 PADDING-TOP-3">ประเภทอาจารย์</td> <td nowrap="nowrap" bgcolor="#FFFFFF" class="PADDING-TOP-5"> </td> <td nowrap="nowrap" bgcolor="#FFFFFF" class="PADDING-TOP-5"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><input type="radio" name="Teacher_type" <?php if (!(strcmp("$rs[Teacher_type]","1"))){echo "checked";} ?> value="1" onkeypress="return handleEnter(this, event)" /> อาจารย์ทันตแพทย์ <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)" /> อาจารย์พิเศษ</td> </tr> <tr> <td><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)" /> สายสนับสนุน</td> </tr> </table></td> </tr> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10 PADDING-TOP-5">สถานะตำแหน่ง</td> <td nowrap="nowrap" bgcolor="#FFFFFF" class="PADDING-TOP-5"> </td> <td nowrap="nowrap" bgcolor="#FFFFFF" class="PADDING-TOP-5"><input type="radio" name="Dentis_code" <?php if (!(strcmp("$rs[Dentis_code]","01"))){echo "checked";} ?> value="01" onkeypress="return handleEnter(this, event)">ทันตแพทย์ <input type="radio" name="Dentis_code" <?php if (!(strcmp("$rs[Dentis_code]","02"))){echo "checked";} ?> value="02" onkeypress="return handleEnter(this, event)"> เภสัชกร <input type="radio" name="Dentis_code" <?php if (!(strcmp("$rs[Dentis_code]","03"))){echo "checked";} ?> value="03" onkeypress="return handleEnter(this, event)" /> อายุรเวท</td> </tr> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td width="170" align="right" valign="top" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10 PADDING-TOP-3">ความเชี่ยวชาญ</td> <td nowrap="nowrap" bgcolor="#FFFFFF" class="PADDING-TOP-5"> </td> <td nowrap="nowrap" bgcolor="#FFFFFF" class="PADDING-TOP-5"><textarea name="Skill" cols="60" rows="5" id="Skill"><? echo htmlspecialchars_decode( $rs['Skill'] ); ?></textarea></td> </tr> <tr bordercolor="#FFFFFF" bgcolor="#FFFFFF"> <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">เลขที่ใบประกอบวิชาชีพ</td> <td width="10" nowrap="nowrap" bgcolor="#FFFFFF"> </td> <td width="541" nowrap="nowrap" bgcolor="#FFFFFF"><input name="Gover_id" type="text" id="Gover_id" value="<? echo $rs['Gover_id'] ;?>" maxlength="100" /></td> </tr> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">เลขที่สมาชิกสภาการพยาบาล</td> <td nowrap="nowrap" bgcolor="#FFFFFF"> </td> <td nowrap="nowrap" bgcolor="#FFFFFF"><input name="Forum_nid" type="text" id="Forum_nid" value="<? echo $rs['Forum_nid'] ;?>" maxlength="100" /></td> </tr> <tr bordercolor="#FFFFFF" bgcolor="#FFFFFF"> <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">เลขที่สมาชิกสมาคมพยาบาล</td> <td nowrap="nowrap" bgcolor="#FFFFFF"> </td> <td nowrap="nowrap" bgcolor="#FFFFFF"><input name="Club_nid" type="text" id="Club_nid" value="<? echo $rs['Club_nid'];?>" maxlength="100" /></td> </tr> <tr bordercolor="#FFFFFF" bgcolor="#FFFFFF"> <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">ปีที่เริ่มรับราชการ</td> <td width="10" nowrap="nowrap" bgcolor="#FFFFFF"> </td> <td width="541" nowrap="nowrap" bgcolor="#FFFFFF">พ.ศ. <input name="Year_gov" type="text" id="Year_gov" value="<? echo $rs['Year_gov'];?>" size="5" maxlength="4" style="text-align:center" /> เงินเดือน <input name="Salary_1" type="text" id="Salary_1" value="<? echo $rs['Salary_1'];?>" size="10" maxlength="7" style="text-align:center" /> บาท</td> </tr> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">ปีที่เริ่มทำงานในวิทยาลัย</td> <td width="10" nowrap="nowrap" bgcolor="#FFFFFF"> </td> <td width="541" nowrap="nowrap" bgcolor="#FFFFFF">พ.ศ. <input name="Year_coll" type="text" id="Year_coll" value="<? echo $rs['Year_coll'];?>" size="5" maxlength="4" style="text-align:center" /> เงินค่าตอบแทนวิชาชีพ <input name="Salary_2" type="text" id="Salary_2" value="<? echo $rs['Salary_2'];?>" size="10" maxlength="7" style="text-align:center" /> บาท</td> </tr> <tr bordercolor="#FFFFFF" bgcolor="#FFFFFF"> <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">ปีที่เริ่มทำงานในภาค</td> <td width="10" nowrap="nowrap" bgcolor="#FFFFFF"> </td> <td width="541" nowrap="nowrap" bgcolor="#FFFFFF">พ.ศ. <input name="Year_fac" type="text" id="Year_fac" value="<? echo $rs['Year_fac'];?>" size="5" maxlength="4" style="text-align:center" /> เงินประจำตำแหน่ง <input name="Salary_3" type="text" id="Salary_3" value="<? echo $rs['Salary_3'];?>" size="10" maxlength="7" style="text-align:center" /> บาท</td> </tr> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">ตำแหน่งทางราชการ</td> <td nowrap="nowrap" bordercolor="#E7FAFE" bgcolor="#FFFFFF"> </td> <td nowrap="nowrap" bordercolor="#E7FAFE" bgcolor="#FFFFFF"><input name="Gover_pos" type="text" id="Gover_pos" value="<? echo $rs['Gover_pos'];?>" size="50" maxlength="250" /></td> </tr> <tr bordercolor="#FFFFFF" bgcolor="#FFFFFF"> <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">ตำแหน่งการบริหาร</td> <td nowrap="nowrap" bgcolor="#FFFFFF"> </td> <td nowrap="nowrap" bgcolor="#FFFFFF"><input name="Manage_pos" type="text" id="Manage_pos" value="<? echo $rs['Manage_pos'];?>" size="50" maxlength="250" /></td> </tr> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">สังกัดภาควิชา</td> <td nowrap="nowrap" bgcolor="#FFFFFF"> </td> <td nowrap="nowrap" bgcolor="#FFFFFF"><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"; } } ?> </select></td> </tr> <tr bgcolor="#ECF5FF"> <td height="20" bgcolor="#FFFFFF"> </td> <td height="20" bgcolor="#FFFFFF"> </td> <td height="20" bgcolor="#FFFFFF"> </td> </tr> <tr bgcolor="#ECF5FF"> <td height="20" bgcolor="#FFFFFF"> </td> <td height="20" bgcolor="#FFFFFF"> </td> <td height="20" bgcolor="#FFFFFF"><input type="hidden" name="Teacher_code" value="<? echo $Teacher_code; ?>" /> <input type="submit" name="Submit" value="บันทึก" class="WIDTH60 CURSOR-HAND" /> <input type="reset" name="Reset" id="button" value="รีเซ็ต" class="WIDTH60 CURSOR-HAND" /> <input type="button" name="button2" id="button2" value="ยกเลิก" class="WIDTH60 CURSOR-HAND" onclick="location.href='Show_Work_History.php?Teacher_code=<?=$Teacher_code;?>'" /></td> </tr> </table></td> </tr> <tr> <td> </td> </tr></form> </table> </fieldset></td> </tr> </table> <?php include("../templates/incFooter.php"); ?> </body> </html> <?php /** Free Resource */ $dbObj->freeresult($result1); /** Close the Database */ $dbObj->disconn(); /** Unset Class */ unset($dbObj); ?> |
:: 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.0057 ]-- |