<?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('<br>'); document.write('<br>'); document.write('<ul class="msgtitlelist">'); document.write('<li><a href="$uid_url" target="_blank">$blang[my_space]</a>   <a href="$siteurl/spacecp.php?docp=me" target="_blank">$blang[space_management]</a></li>'); document.write('<li><a href="$bbsurl/pm.php" target="_blank">$blang[my_pm]</a>   <a href="$bbsurl/" target="_blank">$blang[forum_visit]</a></li>'); document.write('<li><a href="$siteurl/?action-site-type-panel" target="_self">$blang[my_quickly_face]</a>   <a href="$siteurl/batch.login.php?action=logout" target="_self">$blang[safe_logout]</a></li>'); document.write('<li><a href="http://www.com/spacecp.php?action=spaceblogs&op=add&openwindow=1" target="_self"><font color=red>我要写日志</font></a>   <a href="http://www.com/spacecp.php?action=spaceimages&op=add" target="_self"><font color=red>我要发图片</font></a></li>'); document.write('</ul>'); END; } else { $siteurl = S_URL_ALL; print <<<END document.write('<br><form id="login" method="post" name="login" action="$siteurl/batch.login.php?action=login" target="_self">'); document.write('<p><label for="username">$blang[username]: </label><input onmouseover=this.focus() style="BORDER-RIGHT: #cc6600 1px solid; BORDER-TOP: #cc6600 1px solid; BORDER-LEFT: #cc6600 1px solid; BORDER-BOTTOM: #cc6600 1px solid" size=15 name=username onfocus="this.select()" type="text" name="username" id="username" /></p>'); document.write('<p><label for="userpass">$blang[password]: </label><input onmouseover=this.focus() style="BORDER-RIGHT: #cc6600 1px solid; BORDER-TOP: #cc6600 1px solid; BORDER-LEFT: #cc6600 1px solid; BORDER-BOTTOM: #cc6600 1px solid" onfocus=this.select() size=15 name=password type="password" name="password" id="userpass" /></p>'); document.write('<p class="cookietime"><label for="cookietime"><input type="checkbox" id="cookietime" name="cookietime" value="315360000" />$blang[i_remember]</label> <a href="$bbsurl/member.php?action=lostpasswd" target="_blank">$blang[find_passwords]</a></p>'); document.write('<button type="submit" name="loginsubmit" id="dologin" value="true" style="height:19px;width:31px;font-size:12px;">$blang[login]</button>    <a href="$bbsurl/register.php?referer=$siteurl/index.php"><img src="http://www.heiye.me/templates/$_SCONFIG[template]/images/reg.jpg"></a>'); document.write('</form>'); END; } ?>
使用道具 举报
应该是修改模板的 css 因为登录框的那块区域可能定的太小,所以吧注册按钮挤到外面了 luciotan 发表于 2008-10-16 17:27
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )
GMT+8, 2025-10-26 23:08 , Processed in 0.123352 second(s), 17 queries , Gzip On.
Powered by Discuz! X3.4
Copyright © 2001-2023, Tencent Cloud.