注册时 加入防恶意注册码 + 建议填性别 ForDz4。1[9-20更新]
=====================================================================
||HACK:注册时 加入防恶意注册码 + 选择性别 For Dz4.X
||作者: aligo
||修改折翼の天使♂
||性质: 绿色 人性化 美化
||安装: 易
||演示: http://www.goerz.cn/bbs/register.php
||更多HACK请见: http://www.goerz.cn
=====================================================================
①打开 register.php
找- if($password != $password2) {
- showmessage('profile_passwd_notmatch');
- }
复制代码 下面加- //By [url]www.goerz.cn[/url]
- if($regcheck != '欢迎光临') {
- showmessage('请输入正确的注册验证!');
- }
- //By [url]www.goerz.cn[/url] End
复制代码 ③打开 register.htm
找- <tr>
- <td class="altbg1"><span class="bold">{lang gender}</span></td>
- <td class="altbg2">
- <input class="radio" type="radio" name="gendernew" value="1"> {lang male}
- <input class="radio" type="radio" name="gendernew" value="2"> {lang female}
- <input class="radio" type="radio" name="gendernew" value="0" checked> {lang secret}
- </td></tr>
复制代码 删除
找- <tr>
- <td class="altbg1"><span class="bold">{lang email}</span></td>
复制代码 上面加- <!--By [url]www.goerz.cn[/url]-->
- <tr>
- <td class="altbg1">防恶意码:</td>
- <td class="altbg2"><input type="text" name="regcheck" size="25"> [防恶意注册,请填入"<font color=red>欢迎光临</font>"(红色部分),谢谢合作]
- </td></tr>
- <!--By [url]www.goerz.cn[/url] End-->
-
- <tr>
- <td class="altbg1">您的{lang gender}:</td>
- <td class="altbg2">
- <input type="radio" name="gendernew" value="1"> <img src="images/common/male.gif" alt="我是帅哥">
- <input type="radio" name="gendernew" value="2"> <img src="images/common/female.gif" alt="我是美女">
- <input type="radio" name="gendernew" value="0" checked> <img src="images/common/secret.gif" alt="保密性别">
- <font color=red>[请认真填写,便于论坛性别统计]</font>
- </td></tr>
复制代码 ④解压附件到根目录
演示图:稍候上!
[ 本帖最后由 折翼の天使♂ 于 2007-5-13 16:08 编辑 ] |
-
-
性别.rar (3.08 KB)