www.17pop.cn

再次修改登陆入口-----效果非常好----ss5.0final

上一篇 / 下一篇  2006-11-03 18:44:44

查看( 5101 ) / 评论( 47 )

 

batch.panel.php

 

大家先看看效果,代码在下一楼,各位看了多提宝贵意见

[ 本帖最后由 qianmeng 于 2006-11-2 23:28 编辑 ]

1.jpg

 

<?php

/*
[SupeSite/X-Space] (C)2001-2006 Comsenz Inc.
用户动态面板

$RCSfile: batch.panel.php,v $
$Revision: 1.8 $
$Date: 2006/11/02 01:15:02 $
*/

include_once('./include/main.inc.php');

getcookie();

$uid = $_SGLOBAL['supe_uid'];

if(!empty($uid)) {
print <<<END
document.write('<h3>我的菜单</h3>');
document.write('<ul class="msgtitlelist">');
document.write('<li><a href="http://x.discuz.net/$uid.html" target="_blank"><font color="#ff0000">我的空间</font></a> &nbsp; <a href="$siteurl/spacecp.php" target="_blank">空间管理</a> &nbsp; <a href="$bbsurl" target="_blank"><font color="#ff6600">访问论坛</font></a></li>');
document.write('<li><a href="$siteurl/spacecp.php?docp=$uid&action=spaceblogs&op=add&openwindow=1" target="_blank"><font color="#ff3300">发布日志</font></a> &nbsp; <a href="$siteurl/spacecp.php?docp=$uid&action=spaceimages&op=add&openwindow=1" target="_blank"><font color="green">添加相片</font></a> &nbsp; <a href="$siteurl/spacecp.php?docp=$uid&action=spacelinks&op=add&openwindow=1" target="_blank">发布书签</a></li>');
document.write('<li><a href="$siteurl/spacecp.php?docp=$uid&action=friends&op=add&openwindow=1" target="_blank">添加好友</a> &nbsp; <a href="$siteurl/spacecp.php?docp=$uid&action=spacefiles&op=add&openwindow=1" target="_blank">共享文件</a> &nbsp; <a href="$siteurl/spacecp.php?docp=$uid&action=spacegoods&op=add&openwindow=1" target="_blank">发布商品</a></li>');
        document.write('<li><a href="$bbsurl/pm.php" target="_blank">站内消息</a> &nbsp; <a href="http://x.discuz.net/action_site_type_panel.html" target="_self">快捷面板</a> &nbsp; <a href="$siteurl/batch.login.php?action=logout" target="_self"><font color="blue">安全退出</font></a></li>');
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('<fieldset id="userlogin">');
document.write('<legend>用户登录</legend>');
document.write('<p><label for="username">用户名</label><input type="text" name="username" id="username" /></p>');
document.write('<p><label for="userpass">密 码</label><input type="password" name="password" id="userpass" /></p>');
document.write('<p><button type="submit" name="loginsubmit" id="dologin" value="true">登录</button></p> <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('</fieldset>');
document.write('</form>');
END;
}

?>


 


TAG:

我来说两句

(可选)

Open Toolbar