| Server IP : 172.67.187.206 / Your IP : 172.71.28.156 Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30 System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586 User : SYSTEM ( 0) PHP Version : 5.6.30 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Inetpub/www/myschool/tharuapit/modules/user/ |
Upload File : |
<?
/*
ระบบสมาชิก เวอร์ชั่น @V.3
สำหรับไทย CMS MAXSITE 1.10
จัดทำโดย นายวัชระ บุตรโท
เว็บมาสเตอร์ www.kokostudio.net
*/
if($_SESSION['user_user']){
include 'modules/user/main2.php';
}
else
{
?>
<script language="JavaScript">
function checklogin(){
if(document.frmlogin.username.value=="") {
alert("กรุณากรอก รหัสผู้ใช้");
document.frmlogin.username.focus() ;
return false ;
}
if(document.frmlogin.password.value=="") {
alert("กรุณากรอก รหัสผ่าน");
document.frmlogin.password.focus() ;
return false ;
}
if(document.frmlogin.security_code.value=="") {
alert("กรุณากรอก โค๊ด");
document.frmlogin.security_code.focus() ;
return false ;
}
else
return true;
}
</script>
<table width="100%" align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="1" ></td>
</tr>
<tr>
<td><form method="post" name="frmlogin" action="?name=user&file=login" onSubmit="return checklogin()">
<table width="100%" align="center">
<tr>
<td width="27%" align="right"><b>ชื่อผู้ใช้ : </b></td>
<td width="1103"><input name="username" type="text" /></td>
</tr>
<tr>
<td align="right"><b>รหัสผ่าน : </b></td>
<td><input type="password" name="password" /></td>
</tr>
<?
if(USE_CAPCHA){
?>
<tr>
<td width="27%" align="right"> </td>
<td><?if(CAPCHA_TYPE == 1){
echo "<img src=\"capcha/CaptchaSecurityImages.php?width=".CAPCHA_WIDTH."&height=".CAPCHA_HEIGHT."&characters=".CAPCHA_NUM."\" width=\"".CAPCHA_WIDTH."\" height=\"".CAPCHA_HEIGHT."\" align=\"absmiddle\" />";
}else if(CAPCHA_TYPE == 2){
echo "<img src=\"capcha/val_img.php?width=".CAPCHA_WIDTH."&height=".CAPCHA_HEIGHT."&characters=".CAPCHA_NUM."\" width=\"".CAPCHA_WIDTH."\" height=\"".CAPCHA_HEIGHT."\" align=\"absmiddle\" />";
};?></td>
</tr>
<?
}
?>
<tr>
<td width="27%" align="right"></td>
<td><input name="security_code" type="text" id="security_code" size="6" maxlength="6" /></td>
</tr>
<tr>
<td align="right"></td>
<td><input type="submit" value=" เข้าระบบ " /></td>
</tr>
<tr>
<td align="right"> </td>
</tr>
<tr>
<td align="right"> </td>
</tr>
</table>
</form></td>
</tr>
</table>
<?
}
?>