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

 找回密码
 立即注册
搜索

[疑难] 登录框不显示?

[复制链接]
zdemo 发表于 2008-7-16 10:06:23 | 显示全部楼层 |阅读模式
<H2>登录/加入</H2><!--丫丫猪乐园 登陆框-->
<DIV id=landing><script src="{S_URL}/teplates/$_SCONFIG[template]/login_yyzhu.php-rand=60914" type="text/javascript" language="javascript"></script></DIV>,,像这个代码为什么不能把那个登录框显示出来呀,是不是login_yyzhu.php-rand=60914这个文件里要改什么呀?有谁知道嘛
它显示出来的样子是这样的
111.jpg 什么都没有,一片空白

那个login_yyzhu.php-rand=60914里的代码是这样的
        document.write('<form id="login" method="post" name="login" action="{S_URL}/batch.login.php?action=login" target="_self">');
        document.write('<TABLE style="MARGIN-TOP: 5px" cellSpacing=0 cellPadding=0 width=275 border=0>');
        document.write('<TBODY><TR><TD width=64 height=32><DIV align=right>登录名: </DIV></TD><TD width=127>');
        document.write('<INPUT class=bu_b  name="username" id="username" onmouseover="this.style.borderColor=#8baecf" tabIndex=1 onmouseout="this.style.borderColor=#d4d5d6" maxLength=40></TD>');
        document.write('<TD width=84><INPUT type=checkbox CHECKED value=315360000 name=cookietime>自动登录</TD></TR>');
        document.write('<TR><TD height=32><DIV align=right>密 码:</DIV></TD>');
        document.write('<TD><INPUT class=bu_b onmouseover="this.style.borderColor=#8baecf" tabIndex=2 onmouseout="this.style.borderColor=#d4d5d6" type=password maxLength=40 name="password" id="userpass"></TD>');
        document.write('<TD><INPUT class=bu_a type=submit value=提&nbsp;交 name="loginsubmit" id="dologin"></TD></TR>');
        document.write('<TR><TD class=landing colSpan=3 height=28><A href="{S_URL}/bbs/member.php?action=lostpasswd" target=_blank>密码找回</A> | <A href="{S_URL}/bbs/register.php?referer=http://www.yctcgw.com/index.php" target=_blank>注册拥有</A> | <A href="{S_URL}/bbs/faq.php" target=_blank>入伙指南</A></TD></TR>');
        document.write('</TBODY></TABLE>');
        document.write('</form>');
到底是哪错了,谁帮我改改好嘛,小弟先在此谢过了
回复

使用道具 举报

123752619 发表于 2008-7-16 14:40:43 | 显示全部楼层
  1. <DIV id=landing><script src="{S_URL}/teplates/$_SCONFIG[template]/login_yyzhu.php-rand=60914"
复制代码
上面的这句错了
应该这样

<DIV id=landing><script src="{S_URL}/teplates/$_SCONFIG[template]/login_yyzhu.php?rand=60914"


php后面的问号“?”你写成 “-”了
回复

使用道具 举报

 楼主| zdemo 发表于 2008-7-16 17:12:13 | 显示全部楼层
还是一样的呀,没显示出来.....还是一片空白
回复

使用道具 举报

SSAY 发表于 2008-7-16 17:17:29 | 显示全部楼层
在网吧,没办法帮你检查了,帮你顶!
回复

使用道具 举报

 楼主| zdemo 发表于 2008-7-16 17:26:56 | 显示全部楼层
谢谢,谁会的教我下咯,小弟QQ:30796018
回复

使用道具 举报

123752619 发表于 2008-7-17 07:51:31 | 显示全部楼层
那个login_yyzhu.php-rand=60914里的代码是这样的


你不要搞错了,那个登陆口文件的名字应该是login_yyzhu.php,而不是login_yyzhu.php-rand=60914
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-9-15 15:59 , Processed in 0.105021 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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