⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.php

📁 P流量放大程序
💻 PHP
字号:
<?php

require_once 'common.php';


if (empty($_SESSION['adminname'])&&$action=="login"){
   $query=$db->query("select * from setting where variable='logpassword'");
   $tmpinfo=$db->fetch_array($query);
   $adminpassword=$tmpinfo['val'];
   $query=$db->query("select * from setting where variable='logadmin'");
   $tmpinfo=$db->fetch_array($query);
   $adminusername=$tmpinfo['val'];
   $ausername=trim($ausername);
   $apassword=trim($apassword);
   if($ausername!=$adminusername||$apassword!=$adminpassword){
      show('管理员帐号或者密码错误,请返回检查', 'back');
   }else{
      $_SESSION['adminname']=$adminusername;
   }
}

if($_SESSION['adminname']&&$action=='logout'){
   session_destroy();
   show('退出后台成功', 'close');
}

?>
<!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>
<title>后台管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<script type="Text/Javascript" language="JavaScript">
if (window.top != window)
{
  window.top.location.href = document.location.href;
}
</script>
<frameset rows="83,*" framespacing="0" border="0">
  <frame src="top.php" id="header-frame" name="header-frame" frameborder="no" scrolling="no">
  <frameset cols="180, 10, *" framespacing="0" border="0" id="frame-body">
    <frame src="menu.php" id="menu-frame" name="menu-frame" frameborder="no" scrolling="yes">
    <frame src="drag.php" id="drag-frame" name="drag-frame" frameborder="no" scrolling="no">
    <frame src="setting.php" id="main-frame" name="main-frame" frameborder="no" scrolling="yes">
  </frameset>
</frameset>
</head>
<body>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -