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

📄 admin.php

📁 This a free web game, animportantnote of this, "xia domain" for free software, follow the "general p
💻 PHP
字号:
<?
session_save_path("tmp");
session_start();

/*
===============================================================
=                 侠域(Ver 0.9.0) 使用规则版本(Ver 0.2)     =
 此程序所有版权归原作者所有. 此版权信息不得删除.
= Copyright (C) 2001-2002  WFoxd                              =
=                                                             =
=版权所有(C)2002,作者 田野(风狐) 未经许可 不得使用 传播    =
=E-MAIL:wfoxd@cnnetgame.com                                   =
=http://www.cnnetgame.com                                     =
===============================================================
*/
include "../inc/config.inc.php";
include "../inc/style.inc.php";

?>

<?
//--------------
if($rlogin){
     session_destroy();
     echo "等待重新登陆...";
     echo "<meta http-equiv=\"refresh\" content=\"2; url=admin.php\">";
     exit();
}

//--------------

//--------------
if(session_is_registered("userid")){
     echo "用户".$userid."已经登陆,如要更换登陆用户请点击重新登陆。\n";
     echo "<br>\n";
     echo "<a href=".$PHP_SELF."?rlogin=1>重新登陆</a>\n";
     exit();
}

//---------------
if($submit){     
     if($password==$password_post && $userid==$userid_post){
            echo "<center>欢管理员进入系统,2秒钟后将自动进入控制页面。<center>\n";
            if(!session_register("userid")){
            	echo "处理参数出现问题!\n";
            }
            echo "<meta http-equiv=\"refresh\" content=\"2; url=member.php\">";
            exit();
     }else{
            echo "<center>登陆密码出现错误,用户不能进入</center>";
            exit();
     }
}
?>

<table border="1" width="100%" cellspacing="0" cellpadding="0" bordercolorlight="#339966" bordercolordark="#339966">
  <tr>
    <td width="100%" bgcolor="#339933">
      <p align="center"><font color="#3333CC">用户登陆</font></td>
  </tr>
  <tr>
    <td width="100%">
      <form method="post" action="admin.php">
        <input type="text" name="userid_post" size="20">用户名<br>
        <input type="password" name="password_post" size="20">密 码<br> 
        <input type="submit" value="提交" name="submit">
      </form>
    </td>
  </tr>
</table>

<? include "../help/copyright.inc.php"; ?>

⌨️ 快捷键说明

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