<?php /* [SupeSite/X-Space] (C)2001-2006 Comsenz Inc. 用户动态面板 $RCSfile: batch.panel.php,v $ $Revision: 1.17 $ $Date: 2007/06/25 14:39:34 $ */ include_once('./include/main.inc.php'); include_once(S_ROOT.'./language/batch.lang.php'); getcookie(); $uid = $_SGLOBAL['supe_uid']; if(!empty($uid)) { $uid_url = url_remake(geturl("uid/$uid")); print <<<END document.write('<div id="paneltitle2"><img src="$siteurl/templates/$_SCONFIG[template]/images/title_usermenu.gif" width="125" height="38" alt="" /></div>'); document.write('<div id="panelcontent2"></a><a href="$uid_url" target="_blank"><img src="头像地址" alt="最佳头像大小64*64像素"></a>'); document.write('<ul>'); document.write('<li>Welcome:<a href="$uid_url" target="_blank" class="TextGreenBold">用户名</a></li>'); document.write('<li><a href="$uid_url" target="_blank">$blang[my_space]</a> <a href="$uid_url" target="_blank">$uid_url</a></li>'); document.write('<li><a href="$siteurl/spacecp.php?docp=me" target="_blank">$blang[space_management]</a> <a href="$siteurl/?action-site-type-panel" target="_blank">$blang[my_quickly_face]</a> <a href="$siteurl/spacecp.php?action=userspaces&op=userfield" target="_blank">修改资料</a> <a href="$bbsurl/" target="_blank">$blang[forum_visit]</a></li>'); document.write('<li><a href="$siteurl/spacecp.php?action=spaceblogs&op=add" target="_blank">发布日志</a> <a href="spacecp.php?action=spaceimages&op=add" target="_blank">添加图片</a> <a href="$siteurl/spacecp.php?action=groups&op=add" target="_blank">创建圈子</a> <a href="$siteurl/batch.login.php?action=logout" target="_self">$blang[safe_logout]</a></li>'); document.write('</ul></div>'); END; } else { $siteurl = S_URL_ALL; 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"><div id="paneltitle"><img src="$siteur/templates/$_SCONFIG[template]/images/title_userlogin.gif" width="125" height="38" alt="" /></div>'); document.write('<div id="panelcontent">'); document.write('<p><label for="username"><img src="$siteur/templates/$_SCONFIG[template]/images/login_username.gif" alt="" width="57" height="5" /></label><input type="text" name="username" id="username" /></p>'); document.write('<p><label for="userpass"><img src="$siteur/templates/$_SCONFIG[template]/images/login_password.gif" alt="" width="57" height="5" /></label><input type="password" name="password" id="userpass" onblur="this.className=input1" onfocus="this.className=input1-bor"/></p>'); document.write('<p><button type="submit" name="loginsubmit" id="dologin" value="true" title="登录">登录</button><a href="$bbsurl/register.php?referer=$siteurl/index.php"><img src="templates/$_SCONFIG[template]/images/login_btn_reg.gif" width="62" height="53" alt="注册" id="doreg" ></a></p>'); document.write('<p style="margin-top:15px; margin-left:65px"><label for="cookietime"><input type="checkbox" checked="checked" id="cookietime" name="cookietime" value="315360000" class="checkbox" />记住我</label><a href="$bbsurl/register.php?referer=$siteurl/index.php" target="_blank">注册</a></strong> <strong> <a href="$bbsurl/member.php?action=lostpasswd" target="_blank">找回密码</a></strong></p>'); document.write(' </div></fieldset>'); document.write('</form>'); END; } ?>
使用道具 举报
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )
GMT+8, 2025-9-15 17:47 , Processed in 0.081015 second(s), 14 queries , Gzip On.
Powered by Discuz! X3.4
Copyright © 2001-2023, Tencent Cloud.