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/Part/ drwxr-xr-x |
Viewing file: Select action/file-type: <?php include("../includes/FunctionDB.php"); include("admin_menu.php"); include("../includes/Function.php"); ConnectDB(); //$sql = "Select * From user_tb Where Username='$Username'"; //$result = mysql_query($sql) or die(" Error".mysql_error()); //$rs1 = mysql_fetch_array($result); //$Username = $rs1[Username]; $sql1 = "Select * From StudentMaster Where studentId='$studentId' "; $result1 = mysql_query($sql1) or die(" Error".mysql_error()); $rs = mysql_fetch_array($result1); $row = mysql_fetch_array($result1); $sql = "Select * From StudentBio Where studentId='$studentId' "; $result = mysql_query($sql) or die(" Error".mysql_error()); $rss = mysql_fetch_array($result); ?> <meta http-equiv="Content-Type" content="text/html; charset=TIS-620"> <table width="830" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="830" ><br> <fieldset> <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="../index.php">หน้าหลัก</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"><a href="../StudentList.php">ข้อมูลนักศึกษา</a></font></legend> <form id="form1" name="form1" method="post" action=""> <div align="center"></div> <table width="97%" border="0" align="center" cellpadding="0" cellspacing="0" style="border:0px solid gray"> <tr> <td colspan="3" bgcolor="#EEEEEE"><div align="center"><font size="4" face="Tahoma"><strong>ประวัตินักศึกษา</strong></font></div></td> </tr> <tr> <td colspan="2" bgcolor="#EBEBEB"><table width="100%" border="0" cellpadding="0" cellspacing="1" bordercolor="#999999"> <tr bgcolor="#FFFFFF"> <td width="32%" bgcolor="#FBF5E3"><div align="center"><font color="#000000" size="2" face="Tahoma">รหัส</font></div></td> <td width="68%" bgcolor="#FBF5E3"><strong><font color="#000000" size="2" face="Tahoma"> <?=$rs["studentCode"]?> </font></strong></td> </tr> <tr bgcolor="#FFFFFF"> <td bgcolor="#FFFEF4"><div align="center"><font color="#000000" size="2" face="Tahoma">ชื่อ-นามสกุล</font></div></td> <td bgcolor="#FFFEF4"><font color="#003300" size="2" face="Tahoma"> <?php $prefixId = $rs[prefixId]; $sql3= "Select * From Prefix Where prefixId='$prefixId'"; $result3 = mysql_query($sql3) or die("Error Select".mysql_query()); $rs3 = mysql_fetch_array($result3); echo"$rs3[prefixName]"; ?> </font><font color="#990099" size="2" face="Tahoma"><a href="./Part/menu_std.php?studentId=<?=$rs["studentId"]?>" title="Click to see Detail" class="d"> <?=$rs["studentName"]?> <?=$rs["studentSurname"]?> </a></font></td> </tr> <tr bgcolor="#FFFFFF"> <td bgcolor="#FBF5E3"><div align="center"><font color="#000000" size="2" face="Tahoma">หลักสูตร</font></div></td> <td bgcolor="#FBF5E3"><font color="#003300" size="2" face="Tahoma"> </font><font color="#000000" size="2" face="Tahoma"> <?php $programId = $rs[programId]; $sql2= "Select * From Program Where programId='$programId' "; $result2 = mysql_query($sql2) or die("Error Select".mysql_query()); $rs2 = mysql_fetch_array($result2); echo"$rs2[programName]"; ?> </font><font color="#003300" size="2" face="Tahoma"> รุ่น </font><font color="#990099" size="2" face="Tahoma"> <?=$rs["Class"]?> </font></td> </tr> <tr bgcolor="#FFFFFF"> <td bgcolor="#FFFEF4"><div align="center"><font color="#000000" size="2" face="Tahoma">อายุ</font></div></td> <td bgcolor="#FFFEF4"><font color="#003366" size="2" face="Tahoma"> <?php //// Show Age $studentId = $rs[studentId]; $sql4= "Select * From StudentBio Where studentId='$studentId' "; $result4 = mysql_query($sql4) or die("Error Select".mysql_query()); $rs4 = mysql_fetch_array($result4); $age = $rs4[birthDate]; $year = explode("-",$age); $year = intval($year[0]); $year = $year - 543; $currentyear = date("Y"); $currentyear = intval($currentyear); $age = $currentyear - $year ; echo"$age"; ?> </font><font color="#000000" size="2" face="Tahoma">ปี</font></td> </tr> <tr bgcolor="#FFFFFF"> <td bgcolor="#FBF5E3"><div align="center"><font color="#000000" size="2" face="Tahoma">วันที่เข้ารับการศึกษา</font></div></td> <td bgcolor="#FBF5E3"><font color="#003366" size="2" face="Tahoma"> <?php $sday = $rs[admitDate]; $yearthai = explode("-",$sday); $day = intval($yearthai[2]); $month = intval($yearthai[1]); $year = intval($yearthai[0]); ////////////////// // $yearthai = $day ; $m = getThaiSubMonth($month); echo"$day"." "."$m"." "."$year"; ?> </font></td> </tr> <tr bgcolor="#FFFFFF"> <td height="18" bgcolor="#FFFEF4"><div align="center"><font color="#000000" size="2" face="Tahoma">อาจารย์ที่ปรึกษา</font></div></td> <td bgcolor="#FFFEF4"><font color="#003300" size="2" face="Tahoma"> <strong> อ. </strong> <?php $officerId1 = $rs[officerId1]; $sql3= "Select * From Officer Where officerId='$officerId1'"; $result3 = mysql_query($sql3) or die("Error Select".mysql_query()); $rs = mysql_fetch_array($result3); echo"$rs[officerName] $rs[officerSurname]"; ?> </font></td> </tr> </table></td> <td width="22%" rowspan="2" bgcolor="#EEEEEEF"><div align="center"> <?php echo"<center>"; echo"<img src=\"$rss[picturePath]\" width=\"160\" height=\"200\" >"; echo"</center>"; ?> </div></td> </tr> <tr> <td bgcolor="#EEEEEE"> </td> <td bgcolor="#EEEEEE"> </td> </tr> <tr> <td bgcolor="#EEEEEE"> </td> <td rowspan="8"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr bgcolor="#FDFBF4" onmouseover="this.style.backgroundColor='#D8F8FA'" onmouseout="this.style.backgroundColor='#FDFBF4'"> <td width="6%"><div align="center"></div></td> <td width="71%" ><font size="2" face="Tahoma"><a href="StdDetail.php?studentId=<? echo $row[studentId]?>" class="d">ข้อมูลนักศึกษา</a></font></td> <td width="23%"> </td> </tr> <tr bgcolor="#FCF8EB" onmouseover="this.style.backgroundColor='#D8F8FA'" onmouseout="this.style.backgroundColor='#FCF8EB'" > <td><div align="center"></div></td> <td><font size="2" face="Tahoma">ข้อมูลผู้ปกครอง</font></td> <td> </td> </tr> <tr bgcolor="#FDFBF4" onmouseover="this.style.backgroundColor='#D8F8FA'" onmouseout="this.style.backgroundColor='#FDFBF4'"> <td><div align="center"></div></td> <td><font size="4" face="Tahoma"><font size="2" face="Tahoma">ข้อมูลทุนการศึกษา</font></font></td> <td><div align="center"><font color="#003300" size="2" face="Tahoma"> <?php //$Student_id = $rs[Student_id]; // $sql_5= "Select * From std_scholarship_tb Where Student_id='$Student_id' "; // $result_5 = mysql_query($sql_5) or die("Error Select".mysql_query()); // $CountS = mysql_num_rows($result_5); // echo"$CountS"; ?> </font><font size="2" face="Tahoma">ระเบียน</font></div></td> </tr> <tr bgcolor="#FCF8EB" onmouseover="this.style.backgroundColor='#D8F8FA'" onmouseout="this.style.backgroundColor='#FCF8EB'" > <td><div align="center"></div></td> <td><font size="2" face="Tahoma"><a href="/mis/eregis">ข้อมูลผลการเรียน</a></font></td> <td><div align="center"><font color="#003300" size="2" face="Tahoma"> </font><font size="2" face="Tahoma">ระเบียน</font><font color="#003300" size="2" face="Tahoma"> </font></div></td> </tr> <tr bgcolor="#FDFBF4" onmouseover="this.style.backgroundColor='#D8F8FA'" onmouseout="this.style.backgroundColor='#FDFBF4'"> <td><div align="center"></div></td> <td><font size="4" face="Tahoma"><font size="2" face="Tahoma">ข้อมูลสุขภาพ</font></font></td> <td><div align="center"><font color="#003300" size="2" face="Tahoma"> </font><font size="2" face="Tahoma">ระเบียน</font></div></td> </tr> <tr bgcolor="#FCF8EB" onmouseover="this.style.backgroundColor='#D8F8FA'" onmouseout="this.style.backgroundColor='#FCF8EB'" > <td><div align="center"></div></td> <td align="left"><font color="#000000" size="2" face="Tahoma">ข้อมูลการลา</font></td> <td bgcolor="#FCF8EB"><div align="center"><font size="2" face="Tahoma">ระเบียน</font><font color="#003300" size="2" face="Tahoma"> </font></div></td> </tr> <tr bgcolor="#FDFBF4" onmouseover="this.style.backgroundColor='#D8F8FA'" onmouseout="this.style.backgroundColor='#FDFBF4'"> <td><div align="center"></div></td> <td><font color="#000000" size="2" face="Tahoma">ข้อมูลพฤติกรรม และ วินัย นักศึกษา</font></td> <td><div align="center"><font size="2" face="Tahoma">ระเบียน</font></div></td> </tr> </table></td> <td bgcolor="#EEEEEEF"> </td> </tr> <tr> <td width="25%" bgcolor="#EEEEEE"> </td> <td bgcolor="#EEEEEEF"> </td> </tr> <tr> <td bgcolor="#EEEEEE"> </td> <td bgcolor="#EEEEEEF"> </td> </tr> <tr> <td bgcolor="#EEEEEE"> </td> <td bgcolor="#EEEEEEF"> </td> </tr> <tr> <td bgcolor="#EEEEEE"> </td> <td bgcolor="#EEEEEEF"> </td> </tr> <tr> <td bgcolor="#EEEEEE"> </td> <td bgcolor="#EEEEEEF"> </td> </tr> <tr> <td bgcolor="#EEEEEE"> </td> <td bgcolor="#EEEEEEF"> </td> </tr> <tr> <td bgcolor="#EEEEEE"> </td> <td bgcolor="#EEEEEEF"> </td> </tr> <tr> <td bgcolor="#EEEEEE"> </td> <td bgcolor="#EEEEEE"> </td> <td bgcolor="#EEEEEEF"> </td> </tr> <tr> <td colspan="3" bgcolor="#EEEEEE"> </td> </tr> </table> </form> </fieldset> <br> <font color="<?php echo $GLOBALS["COLOR_FONT_3"];?>" size="2"><b>หมายเหตุ :</b> ใช้เมาส์คลิกที่ชื่อ<br> </font></td> </tr> </table> |
:: 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.0061 ]-- |