$wei = 'www.669977.net'; echo ' <!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> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>火车头采集组件-697中文网-697原创源码独家开发</title> <link rel="stylesheet" type="text/css" href="css/common.css" /> </head> <body> '; //检验用户登录状态 $cuserLogin = new userLogin(); if ($cuserLogin->getUserID() == -1) { if ($name != '') { $res = $cuserLogin->checkUser($name, $pwd); if ($res == 1) { $cuserLogin->keepUser(); } } if ($cuserLogin->getUserID() == -1) { header("location:" . $BOOK_URL . $www_669977_net_ADMIN . "/login.php?gotopage=" . $BOOK_URL . "/697_LocoySpider/"); exit; } } //内容主体 if (!$entry) { $www_669977_Net = $sbyou_Net_Words; $www_669977_Net .= ' <p>[选择操作项目]</p> <p><a class="blue" href="?entry=catalogs&name=' . $name . '&pwd=' . $pwd . '">查看栏目</a></p>
//登录检测 //-------------------------------- if($dopost=="login") { if(empty($validate)) $validate=""; else $validate = strtolower($validate); $admindirs = explode('/',str_replace("\\","/",dirname(__FILE__))); $admindir = $admindirs[count($admindirs)-1]; $svali = GetCkVdValue(); if(($validate=="" || $validate!=$svali) && $cfg_use_vdcode=='Y'){ ShowMsg("验证码不正确!",""); }else{ $cuserLogin = new userLogin($admindir); if(!empty($userid)&&!empty($pwd)) { $res = $cuserLogin->checkUser($userid,$pwd); //成功登录 if($res==1){ $cuserLogin->keepUser($admindir); if(!empty($gotopage)){ ShowMsg("成功登录,正在转向管理管理主页!",$gotopage); exit(); } else{ ShowMsg("成功登录,正在转向管理管理主页!","index.php"); exit(); } } else if($res==-1){ ShowMsg("你的用户名不存在!",""); }
if (file_exists(DEDEDATA . '/admin/skin.txt')) { $skin = file_get_contents(DEDEDATA . '/admin/skin.txt'); $cfg_admin_skin = !in_array($skin, array(1, 2, 3, 4)) ? 1 : $skin; } //获得当前脚本名称,如果你的系统被禁用了$_SERVER变量,请自行更改这个选项 $dedeNowurl = $s_scriptName = ''; $isUrlOpen = @ini_get('allow_url_fopen'); $dedeNowurl = GetCurUrl(); $dedeNowurls = explode('?', $dedeNowurl); $s_scriptName = $dedeNowurls[0]; $cfg_remote_site = empty($cfg_remote_site) ? 'N' : $cfg_remote_site; //检验用户登录状态 $cuserLogin = new userLogin(); if ($cuserLogin->getUserID() == -1) { if ($my_u != '') { $res = $cuserLogin->checkUser($my_u, $my_p); if ($res == 1) { $cuserLogin->keepUser(); } } if ($cuserLogin->getUserID() == -1) { header("location:" . $BOOK_URL . "697_admin/login.php?gotopage=" . urlencode($dedeNowurl)); exit; } } if ($cfg_dede_log == 'Y') { $s_nologfile = '_main|_list'; $s_needlogfile = 'sys_|file_'; $s_method = isset($_SERVER['REQUEST_METHOD']) ? $_SERVER['REQUEST_METHOD'] : ''; $s_query = isset($dedeNowurls[1]) ? $dedeNowurls[1] : ''; $s_scriptNames = explode('/', $s_scriptName);