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/Information/ drwxr-xr-x |
Viewing file: InformationDetail.php (3.52 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | <?php session_start(); if (session_is_registered("valid_user")) { include("../../include/FunctionDB.php"); include("../../include/Function.php"); ConnectDB(); $sql = "Select * From information_tb Where Info_code='$Info_code'"; $result = mysql_query($sql) or die("$sql $result".mysql_error()); $rs = mysql_fetch_array($result); ?> <html> <head> <title>Information</title> <link rel="stylesheet" href="../../css/cart4.css" type="text/css"> <meta http-equiv="Content-Type" content="text/html; charset=windows-874"> </head> <body bgcolor="#C4D5D5"> <table width="100%" border="0"> <tr> <td> </td> </tr> </table> <table width="90%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#006699" style="border:1px solid gray"> <tr bgcolor="#7CAB84" > <td colspan="3"> <div align="center"><strong><font color="#FFFFFF" size="4" face="Tahoma">ข่าวประชาสัมพันธ์</font></strong></div></td> </tr> <form action="InsertInfo.php" method="post"> <tr bgcolor="#99CCFF"> <td width="26%" bordercolor="#003366" bgcolor="#eeeeee"> <div align="center"><font color="#003366" size="2" face="Tahoma">หัวข้อ</font></div></td> <td width="3%" bordercolor="#CCCCCC" bgcolor="#FFFFFF"> </td> <td width="71%" bordercolor="#CCCCCC" bgcolor="#FFFFFF"> <div align="center"><strong><font size="2" face="Tahoma"><? echo $rs[Info_name]?></font></strong></div></td> </tr> <tr bgcolor="#99CCFF"> <td bordercolor="#003366" bgcolor="#eeeeee"> <div align="center"><font color="#003366" size="2" face="Tahoma">วัน/เดือน/ปี</font></div></td> <td bordercolor="#CCCCCC" bgcolor="#eeeeee"> </td> <td bordercolor="#CCCCCC" bgcolor="#eeeeee"><font size="2" face="Tahoma"> </font><font color="#003366" size="2" face="Tahoma"> <?php $sday = $rs[Date]; $yearthai = explode("-",$sday); $day = intval($yearthai[2]); $month = intval($yearthai[1]); $year = intval($yearthai[0]); ////////////////// // $yearthai = $day ; // $month = TxtThaiMonth($month); echo"$day"."/"."$month"."/"."$year"; ?> </font><font size="2" face="Tahoma"> </font></td> </tr> <tr bgcolor="#99CCFF"> <td bordercolor="#003366" bgcolor="#eeeeee"> <div align="center"><font color="#003366" size="2" face="Tahoma">รายละเอียด</font></div></td> <td bordercolor="#CCCCCC" bgcolor="#FFFFFF"> </td> <td bordercolor="#CCCCCC" bgcolor="#FFFFFF"><font size="2" face="Tahoma"><? echo nl2br($rs[Info_detail])?> </font></td> </tr> <tr bgcolor="#99CCFF"> <td bordercolor="#003366" bgcolor="#eeeeee"> <div align="center"><font color="#003366" size="2" face="Tahoma">หน่วยงาน</font></div></td> <td bordercolor="#CCCCCC" bgcolor="#eeeeee"> </td> <td bordercolor="#CCCCCC" bgcolor="#eeeeee"> <font size="2" face="Tahoma"><? echo $rs[Organiz]?></font></td> </tr> <tr bgcolor="#99CCFF"> <td bordercolor="#003366" bgcolor="#eeeeee"> <div align="center"><font color="#003366" size="2" face="Tahoma">ผู้รับผิดชอบ</font></div></td> <td bordercolor="#CCCCCC" bgcolor="#FFFFFF"> </td> <td bordercolor="#CCCCCC" bgcolor="#FFFFFF"> <font size="2" face="Tahoma"><? echo $rs[Supervisor]?></font></td> </tr> <tr bgcolor="#7CAB84"> <td colspan="3"> <div align="center"> </div></td> </tr> </form> </table> </body> </html> <?php } else { echo"<meta http-equiv=\"refresh\" content=\"3;URL=../FrmLogin.php\" target=\"mainFrame\">\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.0055 ]-- |