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/manage_depart_bk/ drwxr-xr-x |
Viewing file: Select action/file-type: <?php session_start(); if (session_is_registered("valid_user")&&session_is_registered("Priority")&&session_is_registered("password") ) { $Username = $valid_user; $Password = $password; include("../include/FunctionDB.php"); include("../include/Function.php"); include("admin_menu.php"); ConnectDB(); $sql = "Select * From room_tb Where code='$code'"; $result = mysql_query($sql) or die("Error".mysql_error()); $rs = mysql_fetch_array($result); ?> <meta http-equiv="Content-Type" content="text/html; charset=TIS-620"> <script language="JavaScript" type="text/JavaScript"> <!-- function browse() { form1.Imag1.src = form1.Img1.value; } <!-- function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } //--> function chk(c){ if (c.checked){ document.all.Prob1.disabled=false; document.all.Prob2.disabled=false; document.all.Prob3.disabled=false; document.all.Prob4.disabled=false; } else{ document.all.Problem.disabled=false; } } </script> <table width="807" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="807"><br> <fieldset> <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="menu_manage.php" >˹éÒËÅÑ¡</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"><a href="RoomList.php">¢éÍÁÙÅËéͧàÃÕ¹</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" />à¾ÔèÁ¢éÍÁÙŪ¹Ô´ÃÒ¡ÒäÃØÀѳ±ì</font></legend> <label><div align="center"> <form action="EditRoom.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <table width="61%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#CCCCCC" style="background-color:#eeeeee; border:0px solid gray"size="12"> <tr bgcolor="#D5F0F7"> <td colspan="3"><div align="center"><font color="#000000" size="4" face="Tahoma"><strong><font color="#FF0000">á¡éä¢</font> ¢éÍÁÙÅËéͧ</strong></font></div></td> </tr> <tr bgcolor="#eeeeee"> <td width="30%" bordercolor="#CCCCCC"><div align="center"><font size="2" face="Tahoma">ª×èÍÍÒ¤ÒÃ</font></div></td> <td width="2%" bordercolor="#FFFFCC"> </td> <td width="68%" bordercolor="#FFFFCC"><select name="BuildD_No" id="BuildD_No"> <?php $strSQL1 = "SELECT * FROM building_tb"; $result1= mysql_query($strSQL1); while( $rs1 = mysql_fetch_array($result1)) { echo"<option value=\"$rs1[BuildD_No]\" ><b>$rs1[Build_name]</b></option>\n"; } ?> </select></td> </tr> <tr bgcolor="#eeeeee"> <td bordercolor="#CCCCCC"><div align="center"><font size="2" face="Tahoma">»ÃÐàÀ·Ëéͧ</font></div></td> <td bordercolor="#FFFFCC"> </td> <td bordercolor="#FFFFCC"><input name="Room_type" type="text" id="Room_type" value="<? echo $rs[Room_type]?>" size="30" /></td> </tr> <tr bgcolor="#eeeeee"> <td bordercolor="#CCCCCC"><div align="center"><font size="2" face="Tahoma">ËÁÒÂàÅ¢Ëéͧ</font></div></td> <td bordercolor="#FFFFCC"> </td> <td bordercolor="#FFFFCC"><input name="Room_code" type="text" id="Room_code" value="<? echo $rs[Room_code]?>" size="30" /></td> </tr> <tr bgcolor="#eeeeee"> <td bordercolor="#CCCCCC"><div align="center"><font size="2" face="Tahoma">ª×èÍËéͧ</font></div></td> <td bordercolor="#FFFFCC"> </td> <td bordercolor="#FFFFCC"><input name="Room_name" type="text" class="input" id="Room_name" value="<? echo $rs[Room_name]?>" size="40"></td> </tr> <tr bgcolor="#eeeeee"> <td bordercolor="#CCCCCC"><div align="center"><font size="2" face="Tahoma">¤ÇÒÁ¨Ø (¤¹)</font></div></td> <td bordercolor="#FFFFCC"> </td> <td bordercolor="#FFFFCC"><input name="Size" type="text" class="input" id="Size" value="<? echo $rs[Size]?>" size="10" /></td> </tr> <tr bgcolor="#eeeeee"> <td bordercolor="#CCCCCC"><div align="center"><font size="2" face="Tahoma">¾×é¹·Õè/</font></div></td> <td bordercolor="#FFFFCC"> </td> <td bordercolor="#FFFFCC"><input name="Area" type="text" class="input" id="Area" value="<? echo $rs[Area]?>" size="20" /></td> </tr> <tr bgcolor="#eeeeee"> <td bordercolor="#CCCCCC"><div align="center"><font size="2" face="Tahoma">ÁÔàµÍÃì俻Ѩ¨ØºÑ¹</font></div></td> <td bordercolor="#FFFFCC"> </td> <td bordercolor="#FFFFCC"><input name="Eletric_meter" type="text" class="input" id="Eletric_meter" value="<? echo $rs[Eletric_meter]?>" size="10" /></td> </tr> <tr bgcolor="#eeeeee"> <td bordercolor="#CCCCCC"><div align="center"><font size="2" face="Tahoma">ÃÙ»ÀÒ¾</font></div></td> <td bordercolor="#FFFFCC"> </td> <td bordercolor="#FFFFCC"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="73%"><div align="center"> <input name="Img1" type="file" id="Img1" onchange="browse()" /> </div></td> <td width="27%"><div align="center"><img src=" " name="Imag1" width="100" height="100" id="Imag1" /></div></td> </tr> </table></td> </tr> <tr bgcolor="#D5F0F7"> <td colspan="3"><div align="center"> <input type="hidden" name="code" value="<? echo $rs[code]?>" /> <input type="submit" name="Submit" value=" ºÑ¹·Ö¡ " class="button" /> </div></td> </tr> </table> </form> </div> </label> </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.0062 ]-- |