Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

[疑难] 用户动态面板调用问题

[复制链接]
ylkj 发表于 2008-8-10 20:13:04 | 显示全部楼层 |阅读模式
用户动态面板地址 http://www.51435.com.cn/batch.panel.php
以下是batch.panel.php的代码

<?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>&nbsp; <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>&nbsp; &nbsp; &nbsp;<a href="$siteurl/?action-site-type-panel" target="_blank">$blang[my_quickly_face]</a>&nbsp; &nbsp; &nbsp;<a href="$siteurl/spacecp.php?action=userspaces&op=userfield" target="_blank">修改资料</a>&nbsp; &nbsp; &nbsp;<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>&nbsp; &nbsp; &nbsp;<a href="spacecp.php?action=spaceimages&op=add" target="_blank">添加图片</a>&nbsp; &nbsp; &nbsp;<a href="$siteurl/spacecp.php?action=groups&op=add" target="_blank">创建圈子</a>&nbsp; &nbsp; &nbsp;<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>&nbsp; &nbsp;<strong> <a href="$bbsurl/member.php?action=lostpasswd" target="_blank">找回密码</a></strong></p>');
        document.write(' </div></fieldset>');
        document.write('</form>');
END;
}

?>


请问红色部份的调用代码是什么?

[ 本帖最后由 ylkj 于 2008-8-10 20:14 编辑 ]
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

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.

快速回复 返回顶部 返回列表