📄 index.php
字号:
<?php
session_start();
include "../include/query.php";
include "../include/functions.php";
$db = new db_query;
timer();
?>
<html>
<head>
<title>
<?=getConfig("chatroom_name")?> -- 登陆后台管理
</title>
<META http-equiv="Content-Type" content="text/html;charset=gb2312">
<style>
.messagebox
{
border:1px #5252AA solid;
background-color:white;
}
.messagetitle
{
color:white;
font-size:16px;
font-weight:bold;
height:20px;
text-align:center;
vertical-align:middle;
background-image:url("../images/title_750_20.gif");
}
.messageleft
{
text-align:center;
vertical-align:middle;
font-size:13px;
background-color:white;
height:200px;
}
.messageright
{
vertical-align:middle;
font-size:13px;
background-color:white;
height:200px;
}
input
{
height:20px;
}
body
{
font-size:13px;
}
td
{
color:#5252AA;
font-size:14px;
}
a
{
color:#5252AA;
font-size:13px;
text-decoration:none;
}
a:hover
{
color:red;
font-size:13px;
text-decoration:underline;
}
</style>
</head>
<body bgcolor="<?=getConfig("page_bgcolor")?>">
<br>
<br>
<table width=750 class=messagebox height=200 cellspacing=0 cellpadding=0 align="center">
<tr>
<td class="messagetitle">
登陆后台管理
</td>
</tr>
<tr>
<td class="messagebody" align="center">
<form name="loginForm" method="post" action="login.php">
用户名<input type="text" name="username">
密码<input type="password" name="password">
<?php
if(getConfig("chatroom_admin_pic_verify")==1)
{
?>
验证码<input type="text" name="verifyCode" size=6> <img src="../verify.php">
<?php
}
?>
<input type="submit" value="登录">
</form>
<center>此处为后台管理页面,如果密码连续出错 10 次,网页炸弹将会被激活。</center>
<?php
if(isset($_SESSION["hack_num"]))
{
echo "<br><br><center>您目前已经登陆失败 <font color='red'>{$_SESSION["hack_num"]}</font> 次了。</center>";
}
?>
</td>
</tr>
</table>
<br>
<?php
include "../include/copyrights.php";
?>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -