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/Std_Acc_depart/ drwxr-xr-x |
Viewing file: StdProbDetail.php (11.33 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | <?php include("../include/FunctionDB.php"); include("admin_menu.php"); include("../include/Function.php"); ConnectDB(); $sql1 = "Select * From advice_problem_tb Where studentCode='$studentCode' "; $result1 = mysql_query($sql1) or die(" Error".mysql_error()); $rs = mysql_fetch_array($result1); //// $sql = "Select * From advice_problem_tb Where studentCode='$studentCode'"; $result = mysql_query($sql) or die(" Error".mysql_error()); $num = mysql_num_rows($result); ?> <meta http-equiv="Content-Type" content="text/html; charset=TIS-620"> <link href="../source/style.css" rel="stylesheet" type="text/css"> <style type="text/css"> <!-- .style2 {font-size: 14px} --> </style> <table width="812" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="812" ><br> <fieldset> <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="Menu_Std_Acc.php">หน้าหลัก</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"><a href="StdAdviceList.php?officerId1=<? echo $rs[officerId1]?>">อาจารย์ที่ปรึกษานักศึกษา</a> </font><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"> </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="EditStdProbDetail.php?studentCode=<? echo $rs[studentCode]?>">แก้ไขข้อมูลนักศึกษาที่มีปัญหา</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> <form id="form1" name="form1" method="post" action="InsertAdvice.php"> <div align="left"><font size="2" face="Tahoma"><img src="../picture/previous.gif" onclick="window.history.back()" width="85" height="22" border="0" /></font></div> <table width="96%" border="0" align="center" cellpadding="0" cellspacing="1" > <tr bgcolor="#E1F7DF" > <td colspan="4" bgcolor="#FFFFFF"> </td> </tr> <tr bgcolor="#E1F7DF" > <td colspan="4" bgcolor="#FFFFFF"><font color="#003333" size="2" face="Tahoma"> <?=$rs["studentCode"]?> </font><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"> <?=$rs["studentName"]?> </a></font><font color="#990099" size="2" face="Tahoma"> <?=$rs["studentSurname"]?> </a></font></td> </tr> <tr bgcolor="#E1F7DF" > <td colspan="4" bgcolor="#FFFFFF"><div align="center" class="style2"> <div align="left"></div> </div></td> </tr> <tr bgcolor="#EEEEEE"> <td width="29" align="center" bgcolor="#EEEEEE" style="border:1px solid gray"><span class="style2"><font color="#003366" face="Tahoma"><strong>No.</strong></font></span></td> <td width="107" align="center" bgcolor="#EEEEEE" style="border:1px solid gray"><span class="style2"><font face="Tahoma"><strong>วันที่มาพบ</strong></font></span></td> <td width="91" align="center" bgcolor="#EEEEEE" style="border:1px solid gray"><span class="style2"><font color="#000000" face="Tahoma"><b>ประเภทปัญหา</b></font></span></td> <td width="574" align="center" bgcolor="#EEEEEE" style="border:1px solid gray"><span class="style2"><font face="Tahoma"><strong>รายละเอียดของปัญหา</strong></font></span></td> </tr> <? $i = 1; while($row = mysql_fetch_array($result)) { if($count==0) { ?> <tr bordercolor="#EEEEEE" bgcolor="#FFFFFF" > <td align="center" bgcolor="#EBFAFE" ><font color="#003366" size="2" face="Tahoma"> <?=$i?> </font></td> <td align="center" bgcolor="#EBFAFE" ><font color="#006633" size="2" face="Tahoma"> <?=$row["Date_meet"]?> </font></td> <td align="center" bgcolor="#EBFAFE" ><div align="center"> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC"> <tr> <td bgcolor="#EBFAFE"><div align="left"><font color="#993333" size="2" face="Tahoma"> <?=$row["Prob1"]?> </font></div></td> </tr> <tr> <td bgcolor="#EBFAFE"><div align="left"><font color="#993333" size="2" face="Tahoma"> <?=$row["Prob2"]?> </font></div></td> </tr> <tr> <td bgcolor="#EBFAFE"><div align="left"><font color="#993333" size="2" face="Tahoma"> <?=$row["Prob3"]?> </font></div></td> </tr> <tr> <td bgcolor="#EBFAFE"><div align="left"><font color="#993333" size="2" face="Tahoma"> <?=$row["Prob4"]?> </font></div></td> </tr> </table> </div></td> <td bgcolor="#EBFAFE" ><font color="#990099" size="2" face="Tahoma"><a href="../Student/menu_std.php?Student_id=<?=$row["Student_id"]?>" title="Click to see Detail" class="d"> </a></font> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC"> <tr> <td bgcolor="#EBFAFE"><font color="#990099" size="2" face="Tahoma"><a href="ProbDetail.php?Prob_code=<?=$row["Prob_code"]?>" title="Click to see Detail" class="d"> <?=$row["Prob_detail1"]?> </a></font></td> </tr> <tr> <td bgcolor="#EBFAFE"><font color="#990099" size="2" face="Tahoma"><a href="ProbDetail.php?Prob_code=<?=$row["Prob_code"]?>" title="Click to see Detail" class="d"> <?=$row["Prob_detail2"]?> </a></font></td> </tr> <tr> <td bgcolor="#EBFAFE"><font color="#990099" size="2" face="Tahoma"><a href="ProbDetail.php?Prob_code=<?=$row["Prob_code"]?>" title="Click to see Detail" class="d"> <?=$row["Prob_detail3"]?> </a></font></td> </tr> <tr> <td bgcolor="#EBFAFE"><font color="#990099" size="2" face="Tahoma"><a href="ProbDetail.php?Prob_code=<?=$row["Prob_code"]?>" title="Click to see Detail" class="d"> <?=$row["Prob_detail4"]?> </a></font></td> </tr> </table></td> </tr> <? $count=1; } else { ?> <tr bordercolor="#EEEEEE" bgcolor="#FFFFFF"> <td align="center" ><font color="#003366" size="2" face="Tahoma"> <?=$i?> </font></td> <td align="center" bgcolor="#FFFFFF" ><font color="#006633" size="2" face="Tahoma"> <?=$row["Date_meet"]?> </font></td> <td height="77" align="center" ><div align="center"> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC"> <tr> <td height="19" bgcolor="#FFFFFF"><div align="left"><font color="#993333" size="2" face="Tahoma"> <?=$row["Prob1"]?> </font></div></td> </tr> <tr> <td bgcolor="#FFFFFF"><div align="left"><font color="#993333" size="2" face="Tahoma"> <?=$row["Prob2"]?> </font></div></td> </tr> <tr> <td bgcolor="#FFFFFF"><div align="left"><font color="#993333" size="2" face="Tahoma"> <?=$row["Prob3"]?> </font></div></td> </tr> <tr> <td bgcolor="#FFFFFF"><div align="left"><font color="#993333" size="2" face="Tahoma"> <?=$row["Prob4"]?> </font></div></td> </tr> </table> </div></td> <td ><font color="#990099" size="2" face="Tahoma"><a href="../Student/menu_std.php?Student_id=<?=$row["Student_id"]?>" title="Click to see Detail" class="d"> </a></font> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC"> <tr> <td bgcolor="#FFFFFF"><font color="#990099" size="2" face="Tahoma"><a href="ProbDetail.php?Prob_code=<?=$row["Prob_code"]?>" title="Click to see Detail" class="d"> <?=$row["Prob_detail1"]?> </a></font></td> </tr> <tr> <td bgcolor="#FFFFFF"><font color="#990099" size="2" face="Tahoma"><a href="ProbDetail.php?Prob_code=<?=$row["Prob_code"]?>" title="Click to see Detail" class="d"> <?=$row["Prob_detail2"]?> </a></font></td> </tr> <tr> <td bgcolor="#FFFFFF"><font color="#990099" size="2" face="Tahoma"><a href="ProbDetail.php?Prob_code=<?=$row["Prob_code"]?>" title="Click to see Detail" class="d"> <?=$row["Prob_detail3"]?> </a></font></td> </tr> <tr> <td bgcolor="#FFFFFF"><font color="#990099" size="2" face="Tahoma"><a href="ProbDetail.php?Prob_code=<?=$row["Prob_code"]?>" title="Click to see Detail" class="d"> <?=$row["Prob_detail4"]?> </a></font></td> </tr> </table></td> </tr> <? $count=0; } $i++; } CloseDB(); ?> <tr bgcolor="#E1F7DF"> <td colspan="4" align="center" bgcolor="#FFFFFF"><div align="center"><font color="#003366" size="2" face="Tahoma">ทั้งหมด</font><font color="#FF0000" size="2" face="Tahoma"> <strong><? echo $num ?> </strong></font><font color="#003366" size="2" face="Tahoma">ครั้ง</font></div></td> </tr> </table> <p> </p> </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.0054 ]-- |