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

 找回密码
 立即注册
搜索

[疑难] 登录问题,这是何故?

[复制链接]
mbenben 发表于 2008-6-16 21:35:22 | 显示全部楼层 |阅读模式
我把batch.panel.php的第二部分,改成以下方式,却怎么也登录不了了,何故?

        document.write('<form id="login" method="post" name="login" action="$siteurl/batch.login.php?action=login" target="_self">');
        document.write('<div style="margin-top:5px;width:320px;height:24px;overflow:hidden;">');
        document.write('<div style="float:left;width:53px;line-height:24px;height:24px;">用户名:</div>');
        document.write('<div style="float:left;width:100px;height:24px;"><input type="text" name="username" id="username" style="width:100px;border:1px solid #ccc;" /></div>');
        document.write('<div style="float:left;margin-left:8px;width:50px;"><input type="image" src="images/p_btn_submit.gif" name="loginsubmit" id="dologin" value="true" /></div>');
        document.write('</div>');
        document.write('<div style="width:320px;height:24px;overflow:hidden;">');
        document.write('<div style="float:left;width:53px;line-height:24px;height:24px;">密 码:</div>');
        document.write('<div style="float:left;width:100px;height:24px;"><input type="password" name="password" id="userpass" style="width:100px;border:1px solid #ccc;" /></div>');
        document.write('<div style="float:left;margin-left:8px;width:137px;"><input type="checkbox" id="cookietime" name="cookietime" value="315360000" />记住我 | <a href="#">免费注册</a></div>');
        document.write('</div>');
        document.write('</form>');
回复

使用道具 举报

 楼主| mbenben 发表于 2008-6-17 09:31:15 | 显示全部楼层
顶一下!!
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-9-14 22:18 , Processed in 0.115125 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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