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

📄 login.inc.php

📁 论坛代码网增加免费空间业务
💻 PHP
字号:
<?php

/*
	[Discuz!] (C)2001-2007 Comsenz Inc.
	This is NOT a freeware, use is subject to license terms

	$Id: login.inc.php 12715 2008-03-08 05:06:03Z monkey $
*/

if(!defined('IN_DISCUZ') || !defined('IN_ADMINCP')) {
        exit('Access Denied');
}

if($inajax) {
	ajaxshowheader();
	ajaxshowfooter();
	exit;
}

echo <<<EOT

<!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>Discuz! Administrator's Control Panel</title>
<meta http-equiv="Content-Type" content="text/html;charset=$charset" />
<link rel="stylesheet" href="images/admincp/admincp.css" type="text/css" media="all" />
<meta content="Comsenz Inc." name="Copyright" />
</head>
<body>
<script language="JavaScript">
	if(self.parent.frames.length != 0) {
		self.parent.location=document.location;
	}
</script>
<table class="logintb">
<tr>
	<td class="login">
		<h1>Discuz! Administrator's Control Panel</h1>
		<p>$lang[login_tips]</p>
	</td>

	<td>
EOT;

if($cpaccess == 0 || (!$discuz_secques && $admincp['forcesecques'])) {
	echo '<p class="logintips">'.$msglang[$cpaccess == 0 ? 'noaccess' : 'secques_invalid'].'</p>';
} elseif($cpaccess == 1) {
	$extra = '?'.(isset($action) && empty($frames) ? 'frames=yes&' : '').$_SERVER['QUERY_STRING'];
	echo <<<EOT
		<form method="post" name="login" id="loginform" action="admincp.php$extra">
		<input type="hidden" name="sid" value="$sid">
		<input type="hidden" name="frames" value="yes>
		<input type="hidden" name="url_forward" value="$url_forward">
		<p class="logintitle">$lang[username]: </p>
		<p class="loginform">$discuz_userss</p>
		<p class="logintitle">$lang[password]:</p>
		<p class="loginform"><input name="admin_password" tabindex="1" type="password" class="txt" /></p>
		<p class="loginnofloat"><input name="submit" value="$lang[submit]"  tabindex="3" type="submit" class="btn" /></p>
		</form>
		<script type="text/JavaScript">document.getElementById('loginform').admin_password.focus();</script>
EOT;

}

echo <<<EOT

	</td>
</tr>

<tr>
	<td colspan="2" class="footer">
		<div class="copyright">
			<p>Powered by <a href="http://www.discuz.net/" target="_blank">Discuz!</a> $version </p>
			<p>&copy; 2001-2008, <a href="http://www.comsenz.com/" target="_blank">Comsenz</a> Inc.</p>
		</div>
	</td>
</tr>
</table>
</body>
</html>

EOT;

?>

⌨️ 快捷键说明

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