| Server IP : 172.67.187.206 / Your IP : 172.71.28.155 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 : E:/Inetpub/www/myschool/triamudom/check/webadmin/ |
Upload File : |
<?php
session_start();
$path = "../";
include ($path.'include/config_db.php');
include ($path.'include/class_db.php');
include ($path.'include/class_display.php');
include ($path.'include/function.php');
$CLASS['db'] = new db();
$CLASS['db']->connect();
$CLASS['disp'] = new display();
$db = $CLASS['db'];
$disp = $CLASS['disp'];
//----------------------------ค่าพื้นฐานระบบเว็บไซต์-----------------------------//
$fetch_public = $db->fetch_array($db->query("select * from tb_public"));
//----------------------------ค่าพื้นฐานระบบเว็บไซต์-----------------------------//
//--------------------ส่วนบนใช้สำหรับประกาศตัวแปรและ Config เท่านั้น----------------------------//
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php print $fetch_public['tb_public_title_admin'];?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/style_admin.css" rel="stylesheet" type="text/css">
<script language="javascript">
function chknull(c){
if(c.user_login.value==''){
alert('กรุณากรอก ชื่อผู้ใช้งาน');
c.user_login.focus();
return false;
}
if(c.pass_login.value==''){
alert('กรุณากรอก รหัสผ่าน');
c.pass_login.focus();
return false;
}
}
</script>
<style type="text/css">
.displaytext{opacity: 0.5; filter: alpha(opacity = 50);
font-family: Tahoma, "Tahoma";
font-size: 30px;
}
.normaltext{opacity: 1; filter: alpha(opacity = 100);
font-family: Tahoma, "Tahoma";
font-size: 30px;
}
</style>
<script type="text/javascript">
function hiddenText(iid,value,classname)
{
document.getElementById(iid).value=value;
document.getElementById(iid).className=classname;
}
function displayText(iid,value,classname)
{
if(document.getElementById(iid).value =="")
{
document.getElementById(iid).value=value;
document.getElementById(iid).className=classname;
}
}
</script>
</HEAD>
<BODY>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle" bgcolor="#270101"><form action="chkmember.php" method="post" name="form1" id="form1" onSubmit="return chknull(this);">
<table id="Table_01" width="800" height="601" border="0" cellpadding="0" cellspacing="0">
<tr>
<td rowspan="8"><img src="images/img_login_01.png" width="163" height="600" alt=""></td>
<td colspan="6"><img src="images/img_login_02.png" width="475" height="136" alt=""></td>
<td rowspan="8"><img src="images/img_login_03.png" width="162" height="600" alt=""></td>
</tr>
<tr>
<td colspan="6"><img src="images/img_login_04.png" width="475" height="150" alt=""></td>
</tr>
<tr>
<td colspan="2" rowspan="4"><img src="images/img_login_05.png" width="114" height="172" alt=""></td>
<td height="56" colspan="2" background="images/img_login_06.png"><input name="user_login" type="text" class='displaytext' id="user_login" size="15" maxlength="15" onfocus="hiddenText(this.id,'','normaltext')" onblur="displayText(this.id,'Username','displaytext')"></td>
<td colspan="2" rowspan="4"><img src="images/img_login_07.png" width="65" height="172" alt=""></td>
</tr>
<tr>
<td colspan="2"><img src="images/img_login_08.png" width="296" height="26" alt=""></td>
</tr>
<tr>
<td height="57" colspan="2" background="images/img_login_09.png"><input name="pass_login" type="password" class='displaytext' id="pass_login" size="15" maxlength="15" onfocus="hiddenText(this.id,'','normaltext')" onblur="displayText(this.id,'Password','displaytext')"></td>
</tr>
<tr>
<td colspan="2"><img src="images/img_login_10.png" width="296" height="33" alt=""></td>
</tr>
<tr>
<td rowspan="2"><img src="images/img_login_11.png" width="21" height="142" alt=""></td>
<td colspan="4" align="center" bgcolor="#F1F2F4"><input type="image" name="Submit" src="images/img_login_12.png" width="218" height="92" alt="LOGIN"></td>
<td rowspan="2"><img src="images/img_login_14.png" width="18" height="142" alt=""></td>
</tr>
<tr>
<td colspan="4"><img src="images/img_login_15.png" width="436" height="50" alt=""></td>
</tr>
<tr>
<td><img src="images/spacer.gif" width="163" height="1" alt=""></td>
<td><img src="images/spacer.gif" width="21" height="1" alt=""></td>
<td><img src="images/spacer.gif" width="93" height="1" alt=""></td>
<td><img src="images/spacer.gif" width="125" height="1" alt=""></td>
<td><img src="images/spacer.gif" width="171" height="1" alt=""></td>
<td><img src="images/spacer.gif" width="47" height="1" alt=""></td>
<td><img src="images/spacer.gif" width="18" height="1" alt=""></td>
<td><img src="images/spacer.gif" width="162" height="1" alt=""></td>
</tr>
</table>
</form>
<p> </p></td>
</tr>
</table>
</BODY>
</HTML>