把batch.panel.php修改成这样就可以,再美化下就OK
复制内容到剪贴板
代码:
<?php
/*
[SupeSite/X-Space] (C)2001-2006 Comsenz Inc.
用户动态面板
$RCSfile: batch.panel.php,v $
$Revision: 1.8.4.3 $
$Date: 2006/11/23 01:28:24 $
*/
include_once('./include/main.inc.php');
getcookie();
$uid = $_SGLOBAL['supe_uid'];
if(!empty($uid)) {
print <<<END
document.write('<ul class="msgtitlelist">');
document.write('<a href="$siteurl/?$uid" target="_blank">我的个人空间
</a> | <a href="$siteurl/spacecp.php?docp=me" target="_blank">空间管理</a>');
document.write('<a href="$bbsurl/pm.php" target="_blank">我的站内消息
</a> | <a href="$bbsurl" target="_blank">访问论坛</a> | ');
document.write('<a href="$siteurl/index.php?action_site_type_panel" target="_blank">
我的快捷面板</a> | <a href="$siteurl/batch.login.php?action=logout"
target="_blank">安全退出</a>');
document.write('</ul>');
END;
} else {
print <<<END
document.write('<form id="login" method="post" name="login"
action="$siteurl/batch.login.php?action=login" target="_self">');
document.write('<p><label for="username">用户名</label><input type="text"
name="username" id="username" />');
document.write('<label for="userpass">密 码</label><input type="password"
name="password" id="userpass" />');
document.write('<button type="submit" name="loginsubmit" id="dologin" value="true">
登录</button> <a href="$bbsurl/register.php?referer=$siteurl/index.php" target="_blank">注册
</a> <a href="$bbsurl/member.php?action=lostpasswd" target="_blank">找回密码</a></p>');
document.write('</form>');
END;
}
?>http://www.discuz.net/thread-509229-1-1.html