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/person/ drwxr-xr-x |
Viewing file: Select action/file-type: <?php session_start(); if (session_is_registered("valid_user")&&session_is_registered("Priority") ) { include("../include/FunctionDB.php"); include("../include/Function.php"); include("admin_menu.php"); ConnectDB(); $Username = $valid_user; $Password = $password; $sql = "Select * From personal_tb Where Username='$Username' "; $result = mysql_query($sql) or die(" Error").mysql_error(); $rs = mysql_fetch_array($result) ?> <meta http-equiv="Content-Type" content="text/html; charset=TIS-620"> <script language="JavaScript" type="text/JavaScript"> function browse() { form1.Imag1.src = form1.Img1.value; } </script> <style type="text/css"> <!-- .style15 {font-size: 14px} --> </style> <table width="813" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="813"><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> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" /><a href="Show_Fam_History.php?Teacher_code=<? echo $rs[Teacher_code] ?>">แสดงข้อมูลประวัติส่วนตัว</a><img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" />แก้ไขข้อมูลประวัติส่วนตัว</font></legend> <label><div align="center"> <form action="Edit_fam_his.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <table width="93%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" style="background-color:#eeeeee; border:0px solid gray"size="12"> <tr> <td height="28" 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="28" bgcolor="#FFFFFF"> </td> </tr> <tr> <td height="43" bgcolor="#D1E1F0" ><table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#E9E9E9" style="border:0px solid gray"> <!--DWLayoutTable--> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center" class="style15"><font color="#003300" face="Tahoma">เลขที่บัตรประชาชน</font></div></td> <td nowrap="nowrap" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td> <td nowrap="nowrap" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma"> <input name="Citizen_id" type="text" id="Citizen_id" value="<? echo $rs[Citizen_id]?>" size="13" maxlength="13" /> </font></td> <td width="148" rowspan="7" nowrap="nowrap" bgcolor="#FFFFFF"><p> <?php echo"<center>"; echo"<img src=\"$rs[Img1]\" width=\"150\" height=\"170\" >"; echo"</center>"; ?> </p> <p> <label></label> </p> <div align="center"></div></td> </tr> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td width="159" height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center" class="style15"><font color="#003300" face="Tahoma">คำนำหน้า</font></div></td> <td width="2" nowrap="nowrap" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td> <td width="440" nowrap="nowrap" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma"> <input type="radio" name="First_name" <?php if (!(strcmp("$rs[First_name]","นาย"))){echo "checked";} ?> value="นาย" /> นาย <input type="radio" name="First_name" <?php if (!(strcmp("$rs[First_name]","นางสาว"))){echo "checked";} ?> value="นางสาว" /> นางสาว <input type="radio" name="First_name" <?php if (!(strcmp("$rs[First_name]","นาง"))){echo "checked";} ?> value="นาง" /> นาง </font></td> </tr> <tr bordercolor="#FFFFFF" bgcolor="#FFFFFF"> <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center" class="style15"><font color="#003300" face="Tahoma">ชื่อ-นามสกุล</font></div></td> <td nowrap="nowrap" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td> <td nowrap="nowrap" bgcolor="#FFFFFF"><input name="Teacher_name" type="text" value="<? echo $rs[Teacher_name] ?>" /> <font color="#003300" size="2" face="Tahoma">นามสกุล <input name="Teacher_lastname" type="text" value="<? echo $rs[Teacher_lastname] ?>" /> </font></td> </tr> <tr bordercolor="#FFFFFF" bgcolor="#FFFFFF"> <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center" class="style15"><font color="#003300" face="Tahoma">วัน/เดือน/ปี ที่เกิด</font></div></td> <td nowrap="nowrap" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td> <td nowrap="nowrap" bgcolor="#FFFFFF"><font color="#000000" size="2" face="Tahoma">วันที่ <select name="mDate" id="mDate" class="select" > <?php $DateBirth = $rs[DateBirth]; $yearthai = explode("-",$DateBirth); $mDate = intval($yearthai[2]); $mMonth = intval($yearthai[1]); $mYear = intval($yearthai[0]); for($i=0;$i<=31;$i++) { if( $i == 0) echo"\n\t<option value=\"$mDate\" selected>$mDate</option>\n "; else echo"\n\t<option value=\"$i\">$i</option>\n "; } // getDay1to31(); ?> </select> เดือน <select name="mMonth" id="mMonth" class="select" > <?php $DateBirth = $rs[DateBirth]; $yearthai = explode("-",$DateBirth); $mDate= intval($yearthai[2]); $Month = intval($yearthai[1]); $mYear = intval($yearthai[0]); $mMonth = $Month; $CMonth = TxtThaiMonth($Month); for($i=-1;$i<=11;$i++) { $a = $i+1; if( $a == 0) echo"\n\t<option value=\"$mMonth\" selected>$CMonth</option>\n "; else echo"\n\t<option value=\"$a\">$ThaiMonth[$i]</option>\n "; } // getThaiMonth(); ?> </select> ปี พ.ศ. <input name="mYear" type="text" class="input1" id="mYear" value="<? echo $mYear ?>" size="10" /> </font></td> </tr> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center" class="style15"><font face="Tahoma">เพศ</font></div></td> <td nowrap="nowrap" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td> <td nowrap="nowrap" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma"> <input type="radio" name="Sex" <?php if (!(strcmp("$rs[Sex]","หญิง"))){echo "checked";} ?> value="หญิง" /> หญิง <input type="radio" name="Sex" <?php if (!(strcmp("$rs[Sex]","ชาย"))){echo "checked";} ?> value="ชาย" /> ชาย </font></td> </tr> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center" class="style15"><font face="Tahoma">เชื้อชาติ</font></div></td> <td nowrap="nowrap" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td> <td nowrap="nowrap" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma"> <input name="Nationality" type="text" value="<? echo $rs[Nationality]?>" size="15" /> <font color="#000000">สัญชาติ</font> <input name="Nation" type="text" value="<? echo $rs[Nation]?>" size="15" /> </font></td> </tr> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center" class="style15"><font face="Tahoma">ศาสนา</font></div></td> <td nowrap="nowrap" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td> <td nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF"><font size="2" face="Tahoma"> <input type="radio" name="Religion" value="พุทธ" <?php if (!(strcmp("$rs[Religion]","พุทธ"))){echo "checked";} ?> onkeypress="return handleEnter(this, event)" /> พุทธ <input type="radio" name="Religion" value="คริสต์" <?php if (!(strcmp("$rs[Religion]","คริสต์"))){echo "checked";} ?> onkeypress="return handleEnter(this, event)" /> คริสต์ <input type="radio" name="Religion" value="อิสลาม" <?php if (!(strcmp("$rs[Religion]","อิสลาม"))){echo "checked";} ?> onkeypress="return handleEnter(this, event)" /> อิสลาม <input type="radio" name="Religion" value="อื่นๆ" <?php if (!(strcmp("$rs[Religion]","อื่นๆ"))){echo "checked";} ?> onkeypress="return handleEnter(this, event)" /> อื่นๆ</font></td> </tr> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center" class="style15"><font color="#003300" face="Tahoma">ภูมิลำเนา</font></div></td> <td width="2" nowrap="nowrap" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td> <td colspan="2" nowrap="nowrap" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma"> <textarea name="Address" cols="50" rows="3"><? echo nl2br($rs[Address])?></textarea> </font></td> </tr> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center" class="style15"><font face="Tahoma">สถานภาพ บิดา - มารดา</font></div></td> <td nowrap="nowrap" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td> <td colspan="2" nowrap="nowrap" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%"><font size="2" face="Tahoma"> <input type="radio" name="Status2" value="มีชีวิตอยู่" <?php if (!(strcmp("$rs[Status2]","มีชีวิตอยู่"))){echo "checked";} ?> onkeypress="return handleEnter(this, event)" /> มีชีวิตอยู่ <input type="radio" name="Status2" value="ถึงแก่กรรม" <?php if (!(strcmp("$rs[Status2]"," ถึงแก่กรรรม"))){echo "checked";} ?> onkeypress="return handleEnter(this, event)" /> ถึงแก่กรรม</font></td> <td width="50%"><font size="2" face="Tahoma"> <input type="radio" name="Status3" value="มีชีวิตอยู่" <?php if (!(strcmp("$rs[Status3]","มีชีวิตอยู่"))){echo "checked";} ?> onkeypress="return handleEnter(this, event)" /> มีชีวิตอยู่ <input type="radio" name="Status3" value="ถึงแก่กรรม" <?php if (!(strcmp("$rs[Status3]","ถึงแก่กรรม"))){echo "checked";} ?> onkeypress="return handleEnter(this, event)" /> ถึงแก่กรรม</font></td> </tr> </table></td> </tr> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center" class="style15"><font color="#000000" face="Tahoma">ชื่อ - นามสกุล บิดา</font></div></td> <td nowrap="nowrap" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td> <td colspan="2" nowrap="nowrap" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma"> </font> <input name="Father_name" type="text" value="<? echo $rs[Father_name]?>" size="30" /> <font color="#000000" size="2" face="Tahoma"> มารดา </font><font color="#003366" size="2" face="Tahoma"> <input name="Mother_name" type="text" value="<? echo $rs[Mother_name]?>" size="30" /> </font></td> </tr> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center" class="style15"><font face="Tahoma">สถานภาพ</font></div></td> <td nowrap="nowrap" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td> <td colspan="2" nowrap="nowrap" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma"> <input type="radio" name="Status" <?php if (!(strcmp("$rs[Status]","โสด"))){echo "checked";} ?> value="โสด" /> โสด <input type="radio" name="Status" <?php if (!(strcmp("$rs[Status]","สมรส"))){echo "checked";} ?> value="สมรส" /> สมรส <input type="radio" name="Status" <?php if (!(strcmp("$rs[Status]","หย่าร้าง"))){echo "checked";} ?> value="radiobutton" /> หย่าร้าง <input type="radio" name="Status" <?php if (!(strcmp("$rs[Status]","ถึงแก่กรรม"))){echo "checked";} ?> value="radiobutton" /> ถึงแก่กรรม </font></td> </tr> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center" class="style15"><font face="Tahoma">ชื่อนามสกุลคู่สมรส</font></div></td> <td nowrap="nowrap" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td> <td colspan="2" nowrap="nowrap" bgcolor="#FFFFFF"><input name="Soulmate" type="text" id="Soulmate" value="<? echo $rs[Soulmate]?>" /></td> </tr> <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE"> <td height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center" class="style15"><font face="Tahoma">จำนวนบุตร</font></div></td> <td nowrap="nowrap" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell--> </td> <td colspan="2" nowrap="nowrap" bgcolor="#FFFFFF"><input name="Total_child" type="text" id="Total_child" value="<? echo $rs[Total_child]?>" /></td> </tr> <tr bgcolor="#CEE6FF"> <td height="20" colspan="4" bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma"> <input name="Img1" type="file" id="Img1" size="20" value="<? echo $rs[Img1]?>" /> </font></div></td> </tr> <tr bgcolor="#CEE6FF"> <td height="41" colspan="4" 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> <br> </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.006 ]-- |