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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[疑难] 怎么样才能做到这样?

[复制链接]
凌乱阳光 发表于 2008-1-1 17:58:37 | 显示全部楼层 |阅读模式
234.jpg
怎么让用户名/密码/登陆/注册/找回密码/等显示出来?
345.jpg

[ 本帖最后由 凌乱阳光 于 2008-1-1 18:14 编辑 ]
 楼主| 凌乱阳光 发表于 2008-1-2 01:23:16 | 显示全部楼层
么人回答还是我的问题有"问题"?
回复

使用道具 举报

liustyle 发表于 2008-1-2 03:35:44 | 显示全部楼层
去问血儿好了...呵呵
回复

使用道具 举报

youngfish 发表于 2008-1-2 09:04:08 | 显示全部楼层
复制一份根目录下的batch.panel.php文件。进行简单修改:
  1. if(!empty($uid)) {
  2.         $uid_url = url_remake(geturl("uid/$uid"));
  3.         print <<<END
  4.         document.write('<div class="s1">');
  5.         document.write('登录成功:');
  6.         document.write('<a href="$siteurl/$uid" target="_blank">进入个人空间</a> | ');
  7.         document.write('<a href="$bbsurl/pm.php" target="_blank">查看消息</a> | ');
  8.         document.write('<a href="$bbsurl" target="_blank">访问论坛</a> | &nbsp;&nbsp;');
  9.         document.write('<a href="$siteurl/index.php?action_site_type_panel" target="_self">快捷面板</a> | ');
  10.         document.write('<a href="$siteurl/batch.login.php?action=logout" target="_self">安全退出</a>');
  11.         document.write('</div>');
  12. END;
  13. } else {
  14.         print <<<END
  15.         document.write('<form id="login" method="post" name="login" action="$siteurl/batch.login.php?action=login" target="_self">');
  16.         document.write('通行证:');
  17.         //用户名<input type="text" name="username" id="username" class="m_i" />
  18.         //document.write('密码<input type="password" name="password" id="userpass" class="m_i" />');
  19.         //document.write('<input type="submit" name="Submit" class="m_e" value="登 录" />');
  20.         document.write('<a href="http://biz.mno.cn/user/login.php?forward=$siteurl/index.php">登录通行证');
  21.         document.write('<a href="http://biz.mno.cn/user/reguser.php?forward=$siteurl/index.php"><span class="reg">注册通行证</span></a>');
  22.         document.write('<a href="$bbsurl/member.php?action=lostpasswd">忘记密码</a>');
  23.         document.write('</form>');
  24. END;
  25. }
复制代码
有些数据不尽相同,请自行修改。
前台进行调用:
  1. <script src="filename.php"></script>
复制代码

评分

1

查看全部评分

回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-27 18:31 , Processed in 0.034362 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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