/
index.php
79 lines (79 loc) · 1.66 KB
/
index.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<style type="text/css">
body, html {
background:url(<?php echo base_url(); ?>images/bg1.png) repeat;
}
.container {
width:480px;
margin:15% auto 30px;
background:#fff;
box-shadow:0 0 20px #bbb;
overflow:hidden;
padding-bottom:20px;
border-radius:5px;
}
.title {
height:45px;
line-height:45px;
background:#005889;
font-size:20px;
padding-left:20px;
color:#fff;
}
form {
display:block;
margin-top:20px;
}
label {
display:block;
font-size:14px;
margin:15px 65px 3px;
}
input {
width:350px;
height:30px;
line-height:30px;
padding-left:5px;
border:1px solid #bbb;
border-radius:3px;
margin:0 65px;
}
.action {
margin:10px 0;
}
#J-submit {
width:120px;
height:40px;
line-height:40px;
background:#005889;
color:#fff;
border:none;
margin-top:15px;
font-size:16px;
}
#copyright {
text-align:center;
color:#aaa;
margin-top:10px;
}
</style>
<script type="text/javascript">
$(document).ready(function(e) {
if(window.top!=window.self){
window.top.location.href="index.php";
}
});
</script>
</head><body>
<div class="container">
<div class="title">Control Pannel</div>
<?php echo $form; ?>
<label for="username" ><?php echo $lang['sys_username']; ?></label>
<input type="text" name="username" id="username" maxlength="30" />
<label for="psw"><?php echo $lang['sys_psw']; ?></label>
<input type="password" name="psw" id="psw" maxlength="50" />
<div class="action">
<input type="submit" name="submit" value="Login" id="J-submit" />
</div>
</form>
<p id="copyright"> Copyright © <?php echo date('Y',time()); ?> Xcenter All rights reserved. </p>
</div>