📄 regbiz.htm
字号:
{template header} <table width="50%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="3"></td> </tr> </table> <br /> <table width="940" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="436" height="311" valign="top"> <form action="regbiz.php?go=yes" method="POST" target="iframe_data" name="form1"> <input type="hidden" name="utype" value="1"> <input type="hidden" name="formhash" value="{FORMHASH}"> <table width="417" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="417" height="35"><span class="fontsizeee"><span id="Label2">企业用户快速注册</span></span></td> </tr> <tr> <td height="124" class="fontk"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="30" width="22%">用户类型:</td> <td width="78%"> <table id="RadioButtonList2" border="0"> <tr> <td><input id="RadioButtonList2_0" type="radio" name="RadioButtonList2" value="0" onclick="javascript:window.location='reguser.php'" /><label for="RadioButtonList2_0">会员注册</label></td><td><input id="RadioButtonList2_1" type="radio" name="RadioButtonList2" value="1" checked="checked" /><label for="RadioButtonList2_1">商家注册</label></td> </tr></table></td> </tr> <tr> <td width="22%" height="30">用户名:</td> <td width="78%"> <input name="username" type="text" id="username" maxlength="16" onblur="javascript:ajaxCheck('username')" style="width:150px;" /> <span id="usernameField" style="color:Red;"></span></td> </tr> <tr> <td height="30">密 码:</td> <td> <input name="password" type="password" id="password" maxlength="16" style="height:16px;width:150px;" /> <span id="passwordField" style="color:Red;"></span></td> </tr> <tr> <td height="30">邮 件:</td> <td> <input name="email" type="text" id="email" onblur="javascript:ajaxCheck('email')" style="width:150px;" /> <span id="emailField" style="color:Red;"></span> </td> </tr> <tr> <td style="height: 30px">来 自:</td> <td style="height: 30px"> <select name="userfrom" id="userfrom"> <!--{loop $localCity $key $var}--> <option value="$key">$var</option> <!--{/loop}--> </select></select></td> </tr> <div id="Panel1"> <tr> <td height="30">企业名称: </td> <td> <input name="bizname" type="text" id="bizname" style="width:222px;" /> <br /> <span id="biznameField" style="color:Red;"></span></td> </tr> <tr> <td height="30">企业联系人: </td> <td> <input name="bizboss" type="text" id="bizboss" style="width:222px;" /> <br /> <span id="bizbossField" style="color:Red;"></span></td> </tr> <tr> <td height="30">联系电话: </td> <td> <input name="biztel" type="text" id="biztel" style="width:222px;" /> <br /> <span id="biztelField" style="color:Red;"></span></td> </tr> </div> <tr> <td height="30">年 龄:</td> <td> <input name="age" type="text" value="25" id="age" style="width:16px;" /> <span id="ageField" style="color:Red;"></span> </td> </tr> <tr> <td height="30">性 别:</td> <td><table id="RadioButtonList1" border="0"> <tr> <td><input id="gender_0" type="radio" name="gender" value="0" checked="checked" /><label for="gender1_0">美女</label></td><td><input id="gender_1" type="radio" name="gender" value="1" /><label for="gender_1">帅哥</label></td> </tr></table></td> </tr> <!--{if $seccodecheck}--> <tr> <td height="30">验证码:</td> <td> <input name="vcode" type="text" value="" id="vcode" maxlength="4" style="width:28px;" /> <img src="../main/vcode.php" style="cursor: pointer;" onclick="this.src='../main/vcode.php?update='+(seccode++)" src="vcode.php"/> <span id="ageField" style="color:Red;"></span> </td> </tr> <!--{/if}--> <tr> <td height="30" style="height: 24px"> </td> <td style="height: 24px"> <span class="gray3">注:在本站注册即代表您同意本</span><a class="gray" href="#" target="blank">网站服务条款</a><span class="gray3">。</span> </td> </tr> <tr> <td height="30" style="height: 24px"></td> <td style="height: 24px"><input type="button" name="Button1" value="确认注册信息" onclick="javascript:checkRegbiz()" id="Button1" style="font-size:12px;height:30px;" /><span id="Label1" style="color:Red;"></span></td> </tr> </table></td> </tr> <tr> <td height="83" style="line-height:20px;" > 全新的 将为您带来更丰富的内容,更快捷的速度,更好的用户体验。<br /> 时尚、消费、打折、积分,吃喝玩乐购尽在美好生活众口相传―― <span id="Label4">SoCity!</span> ! </td> </tr> </table> </form> </td> <td width="484"> </td> </tr> </table> <script type="text/javascript"> <!-- var error = 0; function checkRegbiz() { error = 0; $('usernameField').innerHTML = ''; $('passwordField').innerHTML = ''; $('emailField').innerHTML = ''; $('ageField').innerHTML = ''; var username = trim($('username').value); var email = trim($('email').value); var password = trim($('password').value); var age = trim($('age').value); var bizname = trim($('bizname').value); var bizboss = trim($('bizboss').value); var biztel = trim($('biztel').value); if(username == '' ) { errorMsg('username', '请填写用户名'); } if(password.length == '' ) { errorMsg('password', '请输入密码'); } if(email.length == '' ) { errorMsg('email', '请输入Email'); } if(age < 10 || age > 100 ) { errorMsg('age', '请输入正确的年龄'); } if(bizname == '') { errorMsg('bizname', '请输入企业名称'); } if(bizboss == '') { errorMsg('bizboss', '请输入企业联系人'); } if(biztel == '') { errorMsg('biztel', '请输入联系电话'); } if(error != 0) { return false; } else { document.form1.submit(); } } function errorMsg(obj, msg) { var obj = obj + 'Field'; $(obj).innerHTML = msg; error = 1; } function ajaxCheck(obj) { if(trim($(obj).value) == '') return false; var postStr = 'op=check'+obj+'&'+obj+'='+$(obj).value; runAjax('../ajax/ajaxReg.php', postStr, 'POST', obj+'Field'); } --> </script> {template footer}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -