-
Notifications
You must be signed in to change notification settings - Fork 1
/
login.php
47 lines (44 loc) · 1.13 KB
/
login.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
include_once ("functions.php");
if(isUser())
{
setFlash("您已經登入了", "info");
echo '<script type="text/javascript">';
echo " window.location='index.php';";
echo "</script>";
exit;
}
$title = "登入";
$page = "login";
include ("header.php");
?>
<div class='container'>
<div class='row'>
<div class='span4'>
<h1>登入</h1>
</div>
<div class='span12'>
<form action='check.php' method='post'>
<fieldset>
<div class="clearfix">
<label for="account_name">帳號名稱</label>
<div class="input">
<input type='text' id='account_name' name='account_name' size='30' maxlength='20' />
</div>
</div>
<div class="clearfix">
<label for="account_password">帳號密碼</label>
<div class="input">
<input type='password' id='account_password' name='account_password' size='30' maxlength='30' />
</div>
</div>
<div class='actions'>
<input class="primary btn" type='submit' value='登入' />
<input class="btn" type='reset' value='清空重填' />
</div>
</fieldset>
</form>
</div>
</div>
</div>
<?php include ("footer.php"); ?>