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

 找回密码
 立即注册
搜索

[已答复] supesite的 登陆框代码 是哪段啊

[复制链接]
tjcn 发表于 2009-10-29 10:00:16 | 显示全部楼层 |阅读模式
supesite的 登陆框代码 是哪段啊
回复

使用道具 举报

pusufly 发表于 2009-10-29 10:04:10 | 显示全部楼层
你说的是用户面板吧。
应该是根目录下一个叫batch.panel.php的文件
里面用JS输出的登录页面的HTML。

评分

1

查看全部评分

回复

使用道具 举报

shwan 发表于 2009-10-29 10:05:20 | 显示全部楼层
\batch.panel.php文件

这一段为登录前,它的div对应css可以当前模板目录下css\common.css中修改。
  1. else {
  2.         $formhash = formhash();
  3.         print <<<END
  4.         var noseccode = $_SCONFIG[noseccode];
  5. document.write('<div class="welcome">欢迎访问众联网!</div>');
  6. document.write('<form action="$siteurl/batch.login.php?action=login" method="post" style="margin:0">');
  7. document.write('<input type="hidden" name="formhash" value="$formhash" />');
  8. document.write('<input type="hidden" name="loginsubmit" value="true" />');
  9. document.write('用户<input type="text"  name="username" size="12" onfocus="addseccode();"  class="input_tx">  ');
  10. document.write('<br>密码<input type="password" name="password"  size="12" onfocus="addseccode();" class="input_tx">   ');
  11. document.write('<br><input type="image" name="loginsubmit" src="/templates/0/pic/login.gif"><img src="/templates/0/pic/reg.gif"><a href="/do.php?action=register">注册</a><img src="/templates/0/pic/rem.gif"><a href="/do.php?action=lostpasswd">找回密码</a> </form>');
  12. END;
  13. }
复制代码
这一段为登录后
  1.         document.write('<div class="welcome"><strong>$_SGLOBAL[supe_username]</strong>,欢迎回来!</div>');
  2.         document.write('<div class="login_pic"><a href="http://home.0888.cc/cp.php?ac=avatar"><img src="$ucurl" alt="点击更换您的头像" width="48" hight="48" border="0"></a></div>');
  3.         document.write('<div class="login_panl"><a href="$siteurl/cp.php" title="您在本站的相关信息">信息</a>|<a href="http://home.0888.cc/?$uid" title="进入多功能博客">博客</a>|<a href="$siteurl/batch.login.php?action=logout" title="安全退出">退出</a><br>');
  4.         document.write('您有<a class="credit" href="$siteurl/cp.php?ac=credit" title="查看您的积分详细情况">{$_SGLOBAL['member']['credit']}</a>积分<br>是{$_SGLOBAL['grouparr'][$_SGLOBAL['member']['groupid']]['grouptitle']}</div>');
  5. END;
复制代码
演示:http://ss.0888.cc

评分

1

查看全部评分

回复

使用道具 举报

huaxuanso 发表于 2009-10-29 10:16:56 | 显示全部楼层
batch.panel.php。。。。。。。。。。。
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-9-15 16:40 , Processed in 0.088346 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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