|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
<title>使用者登入</title>
<link rel='stylesheet' type='text/css' href='style.css'>
<style>
#showTime{
width:291px;
border:1px solid #ccc;
line-height:23px;
position:absolute;
left:500px;
top:48px;
text-align:center;
}
</style>
</head>
<body>
<?php
if(isset($_COOKIE['login_now'])){
echo "<div id='showTime'>";
echo '您上次登入的時間為:'.$_COOKIE['login_now'];
echo "</div>";
}
?>
</div>
<div id="login">
<h2>
<input id="fnquit" type="button" title="退出登入" />
<a href="#" class="cur" name="Email">Email登入</a>
</h2>
<ul>
<form id="myForm" name="myForm" method="post" action='login_time.php'>
<li>
<input id="login_type" name="login_type" type="hidden"/>
<tt>
<label id="log_type" for="email">Email:</label>
</tt>
<div>
<input id="username" name="username" type="text" class="cell" />
</div>
</li>
<li>
<tt>
<label for="password">密 碼:</label>
</tt>
<div>
<input id="password" name="password" type="password" class="cell" />
</div>
</li>
<li>
<div>
<input id="auto_login" name="auto_loginmberme" type="checkbox"/>
<label for="auto_login">下次自動登入</label>
</div>
</li>
<li>
<div>
<input id="sub" type="submit" value=''/><a href="#" target="_blank" >忘記密碼?</a>
</div>
</li>
</form>
</ul>
</div>
</body>
</html> |