|
|
|
ผมใช้ wamp server2.0b ครับ เวปผมล็อกอินไม่ได้เลย ช่วยหน่อยครับ |
|
|
|
|
|
|
|
ไม่โพสต์โค๊ดไว้หละครับ
|
|
|
|
|
Date :
2009-10-31 10:53:55 |
By :
deawx |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Code (PHP)
<?
session_start();
require_once("config.php");
require_once("includes/login.php");
?>
<HTML>
<HEAD>
<TITLE>ATGames WebShop</TITLE>
<script language="Javascript">
function check_login_form()
{
if ( document.login_from.username.value == "")
{
alert("Please enter Account.");
return false;
}
if ( document.login_from.pass.value == "")
{
alert("Please enter Password.");
return false;
}
//return false;
document.login_from.submit();
}
</script>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
background-color: #F2F2F2;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
body,td,th {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
}
a:link {
color: #0066FF;
}
a:visited {
color: #0066FF;
}
a:hover {
color: #666666;
}
a:active {
color: #0066FF;
}
-->
</style>
<script type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
//-->
</script>
</HEAD>
<BODY>
<br>
<TABLE WIDTH=816 BORDER=0 align="center" CELLPADDING=0 CELLSPACING=0>
<TR>
<TD COLSPAN=3><table width="100%" height="150" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="bottom" background="images/images_01.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="6%"> </td>
<td width="51%"><div align="left"><img src="images/logo_truemoney.gif" width="135" height="84"></div></td>
<td width="43%"><img src="images/Cabal_logo.jpg" width="332" height="90"></td>
</tr>
</table></td>
</tr>
</table></TD>
</TR>
<TR>
<TD width="14" background="images/images_02.gif"><table width="20" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
</table></TD>
<TD width="780" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
<tr>
<td valign="top"><div align="center"> <br>
<br>
<br>
<TABLE id=Table_01 height=150 cellSpacing=0
cellPadding=0 width=325 border=0>
<TBODY>
<TR>
<TD><IMG height=16 alt=""
src="images/frame_01.jpg"
width=15></TD>
<TD colSpan=2 rowSpan=3><IMG height=41 alt=""
src="images/frame_02.jpg"
width=18></TD>
<TD width=5
background=images/frame_03.jpg
height=41 rowSpan=3 alt=""></TD>
<TD width=300
background=images/frame_04.jpg
height=41 rowSpan=3 alt=""><IMG
src="images/heading_signin.gif"></TD>
<TD rowSpan=3><IMG height=41 alt=""
src="images/frame_05.jpg"
width=13></TD>
<TD><IMG height=16 alt="" src="" width=1></TD>
</TR>
<TR>
<TD><IMG height=6 alt=""
src="images/frame_06.jpg"
width=15></TD>
<TD><IMG height=6 alt="" src="" width=1></TD>
</TR>
<TR>
<TD width=15
background=images/frame_07.jpg
height=100 rowSpan=2 alt=""></TD>
<TD><IMG height=19 alt="" src="" width=1></TD>
</TR>
<TR>
<TD
style="BACKGROUND-POSITION: 50% bottom; BACKGROUND-REPEAT: repeat-x"
vAlign=top align=left width=340
background=images/frame_11.jpg
colSpan=4 height=150 rowSpan=2><form name="login_from" method="post" id="login_from" action="">
<TABLE width="100%" border=0>
<TBODY>
<TR>
<TD colspan="2" align=right><div align="center">
<? if (isset($_POST["login"])){
do_login();
} ?>
</div></TD>
<TD width="10" rowSpan=4 vAlign=top></TD>
</TR>
<TR>
<TD width="141" align=right><IMG height=24
src="images/username.gif"
width=89 align=right border=0> </TD>
<TD align=right width=278><div align="left">
<input name="username" type="text" id="username" size="15" maxlength="15">
</div></TD>
</TR>
<TR>
<TD align=right><IMG height=24
src="images/pwd.gif" width=89
align=right border=0> </TD>
<TD align=right width=278><div align="left">
<input name="pass" type="password" id="pass" maxlength="15">
</div></TD>
</TR>
<TR>
<TD> </TD>
<TD align=right><div align="left">
<input type="image" name="imageField" src="images/btn-signin.gif" onClick="return check_login_form()">
<input name="login" type="hidden" id="login" value="login">
<a href="../register/index.htm"><img src="images/btn-signup.gif" width="70" height="19" border="0"></a></div></TD>
</TR>
<TR>
<TD></TD>
<TD style="PADDING-LEFT: 60pt" align=left> </TD>
</TR>
</TBODY>
</TABLE>
</form>
<BR></TD>
<TD width=13
background=images/frame_09.jpg
height=100 alt=""></TD>
<TD><IMG height=100 alt="" src="" width=1></TD>
</TR>
<TR>
<TD><IMG alt=""
src="images/frame_10.jpg"
width=15></TD>
<TD><IMG alt=""
src="images/frame_13.jpg"
width=13></TD>
<TD><IMG height=15 alt="" src="" width=1></TD>
</TR>
<TR>
<TD><IMG height=1 alt="" src="" width=15></TD>
<TD><IMG height=1 alt="" src="" width=3></TD>
<TD width=300><IMG height=1 alt="" src=""
width=15></TD>
<TD><IMG height=1 alt="" src="" width=5></TD>
<TD><IMG height=1 alt="" src="" width=317></TD>
<TD><IMG height=1 alt="" src="" width=13></TD>
<TD></TD>
</TR>
</TBODY>
</TABLE>
</div></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</table></TD>
<TD width="22" background="images/images_04.gif"><table width="22" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table></TD>
</TR>
<TR>
<TD COLSPAN=3><table width="816" height="97" border="0" cellpadding="0" cellspacing="0" background="images/images_05.gif">
<tr>
<td> </td>
</tr>
</table></TD>
</TR>
</TABLE>
<table width="816" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
</table>
<!-- End ImageReady Slices -->
</BODY>
</HTML>
|
|
|
|
|
Date :
2009-10-31 22:25:09 |
By :
teeranat |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
หรอหรอ
|
|
|
|
|
Date :
2012-05-12 21:04:00 |
By :
หหหหหห |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 05
|