📄 addmember.asp
字号:
"," & sqlstr(pwd) & "," & sqlstr(email) & "," & sqlstr(uname) & "," & sqlstr(address) & "," & sqlstr(tel) & _
"," & sqlstr(fax) & "," & sqlstr(cman) & "," & sqlstr(url) & "," & sqlstr(utype) & "," & sqlstr(intro) & ")"
conn.execute(strsql)
%>
<div align="center"><center>
<table width=778 border="0" cellspacing="0" cellpadding="10" align="center" background=images/bg4.gif>
<tr>
<td class="bodyline"><div align="center"><center><table background=images/bg4.gif width="100%" cellpadding="0" cellspacing="0" border="0" height="400">
<tr>
<td valign="top" align="center">
<br><br><br>您已注册成功!!
<P><INPUT id=button1 type=button value="关闭窗口" name=button1 LANGUAGE=javascript onclick="return button1_onclick()"></P>
<P><INPUT id=button1 type=button value="返回主页" name=button2 LANGUAGE=javascript onclick="return button2_onclick()"></P>
</td></tr></table></td></tr></table></div>
<%else%>
<div align="center"><center>
<table width="100%" border="0" cellspacing="0" cellpadding="10" align="center"
background="images/bg4.gif">
<tr>
<td class="bodyline"><div align="center"><center><table width="100%" cellpadding="0"
cellspacing="0" border="0">
<tr>
<td><form name="form2" id="form2" action="addmember.asp" method="post">
<table cellpadding="1" cellspacing="0" border="0" bgcolor="#ffffff" width="100%"
align="center">
<tr>
<td width="100%" style="font-family: 宋体; font-size: 10.5pt; color: rgb(255,0,0)"><%
select case errid
case 0
Response.Write "错误:用户名长度应为3-15个字符."
case 1
Response.Write "错误:密码长度应为3-15个字符."
case 2
Response.Write "错误:密码与确认密码不符."
case 3
Response.Write "错误:电子信箱有误."
case 4
Response.Write "帐号 <b>" & uid & "</b> 已经被注册!"
case else
end select
%>
</td>
</tr>
<tr>
<td><table cellpadding="4" cellspacing="1" border="0" width="728">
<!-- *** -->
<tr>
<td bgcolor="#006699" colspan="2" width="718"><font style="FONT-SIZE: 12px"
color="#ffffff" class="thtcolor">注册信息</font><font face="verdana, arial, helvetica"
style="FONT-SIZE: 12px" color="#ffffff" class="thtcolor">: </font><font
style="FONT-SIZE: 12px" color="#ffffff" class="thtcolor">带 </font><font
face="verdana, arial, helvetica" style="FONT-SIZE: 12px" color="#ffffff" class="thtcolor"><b>*</b>
</font><font style="FONT-SIZE: 12px" color="#ffffff" class="thtcolor">的必填</font><font
face="verdana, arial, helvetica" style="FONT-SIZE: 12px" color="#ffffff" class="thtcolor">.</font></td>
</tr>
<!-- *** -->
<tr>
<td bgcolor="#dee3e7" width="260"><font style="FONT-SIZE: 12px">用户名</font><font
face="verdana, arial, helvetica" style="FONT-SIZE: 12px">:<br>
</font><font style="FONT-SIZE: 11px">3-15个字符</font></td>
<td bgcolor="#dee3e7" width="448"><font style="FONT-SIZE: 12px"><input class="bginput"
name="uid" size="25" maxlength="15" id="uid"> </font><font
face="verdana, arial, helvetica" style="FONT-SIZE: 12px"><b>*</b></font></td>
</tr>
<tr>
<td bgcolor="#efefef" width="260"><font style="FONT-SIZE: 12px">密码</font><font
face="verdana, arial, helvetica" style="FONT-SIZE: 12px">:<br>
</font><font style="FONT-SIZE: 11px">3-15个字符</font></td>
<td bgcolor="#efefef" width="448"><font style="FONT-SIZE: 12px"><input type="password"
class="bginput" name="pwd" size="25" maxlength="15"></font><font
face="verdana, arial, helvetica" style="FONT-SIZE: 12px"><b>*</b></font></td>
</tr>
<tr>
<td bgcolor="#efefef" width="260"><font style="FONT-SIZE: 12px">确认密码</font><font
face="verdana, arial, helvetica" style="FONT-SIZE: 12px">:<br>
</font><font style="FONT-SIZE: 11px">3-15个字符</font></td>
<td bgcolor="#efefef" width="448"><input type="password" class="bginput" name="repwd"
size="25" maxlength="15">*</td>
</tr>
<tr>
<td bgcolor="#dee3e7" width="260"><font face="verdana,arial,helvetica"
style="FONT-SIZE: 11px"></font><font style="FONT-SIZE: 12px">公司名称</font><font
face="verdana, arial, helvetica" style="FONT-SIZE: 12px">:</font><font
face="verdana,arial,helvetica" style="FONT-SIZE: 11px"></font></td>
<td bgcolor="#dee3e7" width="448"><font face="verdana, arial, helvetica"
style="FONT-SIZE: 12px"><b></b><input class="bginput" name="uname" size="25"
maxlength="50"><b></b></font></td>
</tr>
<tr>
<td bgcolor="#dee3e7" width="260"><font face="verdana,arial,helvetica"
style="FONT-SIZE: 11px"></font><font style="FONT-SIZE: 12px">地址</font><font
face="verdana, arial, helvetica" style="FONT-SIZE: 12px">:</font><font
face="verdana,arial,helvetica" style="FONT-SIZE: 11px"></font></td>
<td bgcolor="#dee3e7" width="448"><font face="verdana, arial, helvetica"
style="FONT-SIZE: 12px"><b></b><input class="bginput" name="address" size="25"
maxlength="50"><b></b></font></td>
</tr>
<tr>
<td bgcolor="#dee3e7" width="260"><font face="verdana,arial,helvetica"
style="FONT-SIZE: 11px"></font><font style="FONT-SIZE: 12px">电话</font><font
face="verdana, arial, helvetica" style="FONT-SIZE: 12px">:</font><font
face="verdana,arial,helvetica" style="FONT-SIZE: 11px"></font></td>
<td bgcolor="#dee3e7" width="448"><font face="verdana, arial, helvetica"
style="FONT-SIZE: 12px"><b></b><input class="bginput" name="tel" size="25" maxlength="50"><b></b></font></td>
</tr>
<tr>
<td bgcolor="#dee3e7" width="260"><font face="verdana, arial, helvetica"
style="FONT-SIZE: 12px"></font><font style="FONT-SIZE: 12px">传真</font><font
face="verdana, arial, helvetica" style="FONT-SIZE: 12px">:</font></td>
<td bgcolor="#dee3e7" width="448"><font face="verdana, arial, helvetica"
style="FONT-SIZE: 12px"><b></b><input class="bginput" name="fax" size="25" maxlength="50"><b></b></font></td>
</tr>
<tr>
<td bgcolor="#dee3e7" width="260"><font face="verdana, arial, helvetica"
style="FONT-SIZE: 12px">Email:</font><br>
<font style="FONT-SIZE: 11px">请输入一个有效的</font><font
face="verdana,arial,helvetica" style="FONT-SIZE: 11px">Email</font><font
style="FONT-SIZE: 11px">地址</font><font face="verdana,arial,helvetica"
style="FONT-SIZE: 11px">.</font></td>
<td bgcolor="#dee3e7" width="448"><font face="verdana, arial, helvetica"
style="FONT-SIZE: 12px"><input class="bginput" name="email" size="25" maxlength="50"></font></td>
</tr>
<!-- *** -->
<tr>
<td bgcolor="#efefef" width="260"><font style="FONT-SIZE: 12px">联系人</font><font
face="verdana, arial, helvetica" style="FONT-SIZE: 12px">:</font></td>
<td bgcolor="#efefef" width="448"><font face="verdana, arial, helvetica"
style="FONT-SIZE: 12px"><input class="bginput" name="cman" size="25" maxlength="40"></font></td>
</tr>
<tr>
<td bgcolor="#dee3e7" width="260"><font style="FONT-SIZE: 12px">公司类型</font><font
face="verdana, arial, helvetica" style="FONT-SIZE: 12px">:</font></td>
<td bgcolor="#dee3e7" width="448"><select name="utype" size="1">
<option value="M">中介公司</option>
<option value="D">开发公司</option>
<option value="F">装潢公司</option>
</select></td>
</tr>
<tr>
<td bgcolor="#efefef" valign="top" width="260"><font style="FONT-SIZE: 12px">公司介绍</font><font
face="verdana, arial, helvetica" style="FONT-SIZE: 12px">:</font><br>
</td>
<td bgcolor="#efefef" width="448"><textarea name="intro" rows="5" wrap="physical"
cols="35" maxlength="200"></textarea></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellpadding="2" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td align="middle"><font face="verdana, arial, helvetica" style="FONT-SIZE: 12px"><input
type="submit" class="bginput" name="Submit" value="提交"> <input type="reset"
class="bginput" name="Reset" value="重置"></font></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</center></div></td>
</tr>
</table>
</center></div></td>
</tr>
</form>
</table>
</center></div><!--end-->
<%end if%>
</td></tr>
</tbody></table>
<!--#include file="footer.asp"--></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -