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/edu_depart/ 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("admin_menu.php"); include("../include/Function.php"); ConnectDB(); $sql = "Select * From edu_project_tb Where Faculty_code='$Faculty_code'"; $result = mysql_query($sql) or die("Error".mysql_error()); $rs = mysql_fetch_array($result); $strSQL = "SELECT * FROM faculty_tb "; if (! $Page) $Page = 1; $Pre_Page = $Page - 1; $Next_Page = $Page +1; $Per_Page = 20; $result = mysql_query($strSQL); $Page_start = ($Per_Page*$Page) - $Per_Page; $Num_Rows = mysql_num_rows($result); if( $Num_Rows <= $Per_Page) $Num_Pages = 1; else if (($Num_Rows % $Per_Page) == 0) $Num_Pages = ($Num_Rows / $Per_Page); else $Num_Pages = ($Num_Rows / $Per_Page) + 1; $Num_Pages = (int)$Num_Pages; if (( $Page > $Num_Pages) || ($Page < 0)) echo"Page $Page More than $Num_Pages"; $strSQL .=" LIMIT $Page_start,$Per_Page" ; $result = mysql_query($strSQL); $num = mysql_num_rows( $result ); ?> <meta http-equiv="Content-Type" content="text/html; charset=TIS-620"> <style type="text/css"> <!-- .style12 { font-size: 14px; font-weight: bold; } --> </style> <table width="793" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="793" ><br> <fieldset> <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="Edu_Menu.php">˹éÒËÅÑ¡</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"></font><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="AddFaculty.php">à¾ÔèÁ¢éÍÁÙŽèÒÂ</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" /><a href="EditFacultyList.php"> á¡é䢢éÍÁÙÅÀÒ¤/½èÒÂ</a></font></legend> <label> <form id="form1" name="form1" method="post" action="InsertFac.php"> <table width="97%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#CCCCCC" bgcolor="#CCCCCC"> <tr bgcolor="#DBE4E9"> <td height="25" colspan="5"><div align="center"><font color="#000000" size="4" face="Tahoma"><strong> <font color="#FF0000">á¡éä¢</font> ª×èÍÀÒ¤ÇÔªÒ/¼èÒ§ҹ</strong></font></div></td> </tr> <tr bordercolor="#CCCCCC" bgcolor="#CCCCCC"> <td width="28" ><div align="center"><font color="#000000" size="2" face="Tahoma"> <strong><font color="#FF0000">ź</font></strong></font></div></td> <td width="51"><div align="center"><font color="#000000" size="2" face="Tahoma"><b>ÅӴѺ</b></font></div></td> <td width="831" ><div align="center"><font color="#000000" size="2" face="Tahoma"><b>ª×èÍ ÀÒ¤ÇÔªÒ/½èÒ§ҹ</b></font></div></td> <td width="40" ><div align="center"><strong><font color="#003366" size="2" face="Tahoma">á¡éä¢</font></strong></div></td> <td width="46" ><div align="center"><font color="#FF0000" size="2" face="Tahoma"><strong>ź</strong></font></div></td> </tr> <? $i = 1; while($row = mysql_fetch_array($result)) { if($count==0) { ?> <tr bordercolor="#CCCCCC" bgcolor="#EEEEEE" > <td align="center" ><input type="checkbox" name="checkbox[]" title="Check to Delete"value="<? echo $row[Faculty_code] ?>" /></td> <td align="center" ><strong><font color="#000000" size="2" face="Tahoma"> <?=$i?> </font></strong></td> <td align="center" ><div align="left"><font color="#000000" size="2" face="Tahoma"> <?=$row["Faculty_name"]?> <?=$row["Faculty_nameE"]?> </font></div></td> <td align="center" ><strong><font color="#000000" size="2" face="Tahoma"><strong><a href="FrmEditFaculty.php?Faculty_code=<?=$row["Faculty_code"]?>" class="c"><img src="../picture/edit.gif" width="16" height="16" border="0" align="absmiddle" /></a></strong></font><font size="2" face="Tahoma"></font></strong></td> <td align="center" ><strong><font size="2" face="Tahoma"> <script language="JavaScript" type="text/javascript"> function Conf<?=$row[Faculty_code];?>0(object) { if (confirm("¤Ø³µéͧ¡ÒÃź¢éÍÁÙÅ [<?php echo " $row[Faculty_name] "; ?>] ËÃ×ÍäÁè?") == true) { return true; } return false; } </script> <a href="DelFaculty.php?Faculty_code=<?php echo $row[Faculty_code]; ?>"> <img src="../picture/deletenew.gif" alt=" Delete " width="16" height="19" border="0" align="absmiddle" onclick="return Conf<?=$row[Faculty_code];?>0(this)" /></a></font></strong></td> </tr> <? $count=1; } else { ?> <tr bordercolor="#CCCCCC" bgcolor="#FFFFFF"> <td align="center" ><input type="checkbox" name="checkbox[]2" title="Check to Delete"value="<? echo $row[Faculty_code] ?>" /></td> <td align="center" ><strong><font color="#000000" size="2" face="Tahoma"> <?=$i?> </font></strong></td> <td height="18" align="center" ><div align="left"><font color="#000000" size="2" face="Tahoma"> <?=$row["Faculty_name"]?> <?=$row["Faculty_nameE"]?> </font></div></td> <td align="center" ><strong><font color="#000000" size="2" face="Tahoma"><strong><a href="FrmEditFaculty.php?Faculty_code=<?=$row["Faculty_code"]?>" class="c"><img src="../picture/edit.gif" width="16" height="16" border="0" align="absmiddle" /></a></strong></font></strong></td> <td align="center" ><strong><font size="2" face="Tahoma"> <script language="JavaScript" type="text/javascript"> function Conf<?=$row[Faculty_code];?>0(object) { if (confirm("¤Ø³µéͧ¡ÒÃź¢éÍÁÙÅ [<?php echo " $row[Faculty_name] "; ?>] ËÃ×ÍäÁè?") == true) { return true; } return false; } </script> <a href="DelFaculty.php?Faculty_code=<?php echo $row[Faculty_code]; ?>"> <img src="../picture/deletenew.gif" alt=" Delete " width="16" height="19" border="0" align="absmiddle" onclick="return Conf<?=$row[Faculty_code];?>0(this)" /></a></font></strong></td> </tr> <? $count=0; } $i++; } CloseDB(); ?> <tr bordercolor="#CCCCCC" bgcolor="#CCCCCC"> <td colspan="5" align="center"><font color="#000000" size="2" face="Tahoma">·Ñé§ËÁ´ <? echo $num ?> ËÑÇ¢éÍ </font></td> </tr> <tr bgcolor="#DBE4E9"> <td colspan="5" align="center"><div align="center"><strong><font size="2" face="Geneva, Arial, Helvetica, sans-serif"> <input type="submit" name="Submit" value=" ź " /> </font></strong></div></td> </tr> </table> </form> </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.0056 ]-- |