Discuz!NT 2.5 正式版 下载
beta、RC版升级补丁
Comsenz 招聘信息
首届Discuz!NT 模板大赛圆满结束
著名音乐网站SoGua网、分贝网
采用Discuz!NT搭建社区
FIFA Online2官网论坛使用Discuz!NT
游戏城寨论坛使用Discuz!NT搭建
第二届优秀版主评选揭晓
Discuz!NT 2.5正式开源 Discuz!NT文档中心
用户整合说明文档
Discuz!NT亮相微软Tech-Ed 2007
Discuz!NT情景搞笑短片抢先看
1/2页12 跳转到查看:7015
发新话题 回复该主题

DNT首页快速登录 for Discuz!NT 1.0正式版(SQL/ACCESS通用)

DNT首页快速登录 for Discuz!NT 1.0正式版(SQL/ACCESS通用)

DNT首页快速登录 for Discuz!NT 1.0正式版(SQL/ACCESS通用)

安装:



0、以下操作可能有“覆盖”过程,如果您的相关文件有修改,请先自行备份!!!

1、解压包中的index.htm文件到网站\templates\default目录里

2、重新生成模板令其生效

3、实现代码:


引用:

<div class="maintable" align="center"><br />
<%if {userid}==-1%>
  <form id="loginform" name="loginform" method="post" action="login.aspx">
  <b>用户:</b><input name="username" type="text" id="username" size="10" class="colorblur"  />
  <b>密码:</b><input name="password" type="password" id="password" size="10" class="colorblur"  />
  <b>验证码:</b><span class="altbg2 smalltext"><%template _vcode%></span>
  <b>保存登录</b>
  <input type="radio" name="expires" value="5256000" /><label>是</label>
  <input type="radio" name="expires" value="0" checked="checked" /><label>不</label>
  <select name="templateid">
    <option value="0">默认风格</option>
  </select>
  <input name="login" type="submit" id="login" value="登录"  class="button" />
  <input name="cancel" type="button" id="cancel2" value="取消"  class="button" />
  <a href="register.aspx" title="立即注册 (ALT + R)"><b>轻松注册</b></a>/<a href="getpassword.aspx" title="忘记密码"><b>忘记密码?</b></a> </td>
  </form>
<%/if%>
</div>


也可以把这段代码放到其他相关的模板文件里



作者:Dili

演示:
http://bbs.hotzs.com/

下载:

附件: index.rar (2007-4-11 1:12:11, 5.51 K)
该附件被下载次数 369

http://bbs.hotzs.com

TOP

 

回复:DNT首页快速登录 for Discuz!NT 1.0正式版(SQL/ACCESS通用)

如果后台没有指定验证码登录,就把这行代码去掉:

<b>验证码:</b><span class="altbg2 smalltext"><%template _vcode%></span>
http://bbs.hotzs.com

TOP

 

回复:DNT首页快速登录 for Discuz!NT 1.0正式版(SQL/ACCESS通用)

谢谢,用上!

TOP

 

回复:DNT首页快速登录 for Discuz!NT 1.0正式版(SQL/ACCESS通用)

谢谢!很实用!

TOP

 

回复:DNT首页快速登录 for Discuz!NT 1.0正式版(SQL/ACCESS通用)

正在找呢,谢谢LZ

TOP

 

回复:DNT首页快速登录 for Discuz!NT 1.0正式版(SQL/ACCESS通用)

直接放进去就行了吗?下载先试用!

TOP

 

回复:DNT首页快速登录 for Discuz!NT 1.0正式版(SQL/ACCESS通用)

<div class="maintable" align="center"><br />
<%if {userid}==-1%>
  <form id="loginform" name="loginform" method="post" action="login.aspx">
  <b>用户:</b><input name="username" type="text" id="username" size="10" class="colorblur"  />
  <b>密码:</b><input name="password" type="password" id="password" size="10" class="colorblur"  />
  <b>验证码:</b><span class="altbg2 smalltext"><%template _vcode%></span>
  <b>保存登录</b>
  <input type="radio" name="expires" value="5256000" /><label>是</label>
  <input type="radio" name="expires" value="0" checked="checked" /><label>不</label>
  <select name="templateid">
    <option value="0">默认风格</option>
  </select>
  <input name="login" type="submit" id="login" value="登录"  class="button" />
  <input name="cancel" type="button" id="cancel2" value="取消"  class="button" />
  <a href="register.aspx" title="立即注册 (ALT + R)"><b>轻松注册</b></a>/<a href="getpassword.aspx" title="忘记密码"><b>忘记密码?</b></a> </td>
  </form>
<%/if%>
</div>

这段代码放在哪里?是否是index.aspx里呢?

TOP

 

回复:DNT首页快速登录 for Discuz!NT 1.0正式版(SQL/ACCESS通用)

没搞成功!

TOP

 

回复:DNT首页快速登录 for Discuz!NT 1.0正式版(SQL/ACCESS通用)

2、重新生成模板令其生效

这个操作了?
http://bbs.hotzs.com

TOP

 

回复:DNT首页快速登录 for Discuz!NT 1.0正式版(SQL/ACCESS通用)

后台更新了,但没有成功呀!

TOP

 
1/2页12 跳转到
发表新主题 回复该主题