岩前热线:www.yqrx.com 俊客工作室:www.junke.org 吾要下载:www.ent51.com

修改登陆入口-----效果非常好

上一篇 / 下一篇  2007-01-26 11:23:26 / 个人分类:代码

<?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: 代码

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

数据统计

  • 访问量: 2791
  • 日志数: 35
  • 图片数: 1
  • 文件数: 2
  • 书签数: 1
  • 建立时间: 2006-10-29
  • 更新时间: 2007-04-11

RSS订阅

Open Toolbar