📄 manage.asp
字号:
else
if IsValidEmail(Email)=false then
errmsg=errmsg & "<br><li>您的Email有错误</li>"
founderr=true
end if
end if
if Comane="" then
founderr=true
errmsg=errmsg & "<br><li>公司名称不能为空</li>"
end if
if Add="" then
founderr=true
errmsg=errmsg & "<br><li>收货地址不能为空</li>"
end if
if Somane="" then
founderr=true
errmsg=errmsg & "<br><li>收货人不能为空</li>"
end if
if Phone="" then
founderr=true
errmsg=errmsg & "<br><li>联系电话不能为空</li>"
end if
if FoundErr<>true then
rsUser("Sex")=Sex
rsUser("Email")=Email
rsUser("HomePage")=HomePage
rsUser("Comane")=Comane
rsUser("Add")=Add
rsUser("Somane")=Somane
rsUser("Zip")=Zip
rsUser("Phone")=Phone
rsUser("Fox")=Fox
rsUser.update
response.write"<SCRIPT language=JavaScript>alert('会员资料修改成功!');"
response.write"javascript:history.go(-1)</SCRIPT>"
else
call WriteErrMsg()
end if
else
%>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="179" valign="top"><table Class=border width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="206" valign="top"><FORM name="Form1" action="Manage.asp" method="post">
<table width=100% border=0 align="center" cellpadding=2 cellspacing=2 class='border'>
<TR align=center class='title'>
<TD height=20 colSpan=2><font color="#FF6600" class=font14><b>修改注册用户信息</b></font></TD>
</TR>
<TR>
<TD width="120" align="right" class="top_m_txt01"><b>用 户 名:</b></TD>
<TD><INPUT name=UserName class="INPUT" value="<%=rsUser("UserName")%>" size=30 maxLength=14></TD>
</TR>
<TR>
<TD width="120" align="right" class="top_m_txt01"><strong>性别:</strong></TD>
<TD class="top_m_txt01"><INPUT type=radio value="1" name=sex <%if rsUser("Sex")=1 then response.write "CHECKED"%>>
男
<INPUT type=radio value="0" name=sex <%if rsUser("Sex")=0 then response.write "CHECKED"%>>
女</TD>
</TR>
<TR>
<TD width="120" align="right" class="top_m_txt01"><strong>Email地址:</strong></TD>
<TD><INPUT name=Email class="INPUT" value="<%=rsUser("Email")%>" size=30 maxLength=50>
</TD>
</TR>
<TR>
<TD width="120" align="right" class="top_m_txt01"><strong>主页:</strong></TD>
<TD><INPUT name=homepage class="INPUT" value="<%=rsUser("HomePage")%>" size=30 maxLength=100></TD>
</TR>
<TR>
<TD width="120" align="right" class="top_m_txt01"><strong>公司名称:</strong></TD>
<TD><INPUT name=Comane class="INPUT" value="<%=rsUser("Comane")%>" size=30 maxLength=20></TD>
</TR>
<TR>
<TD width="120" align="right" class="top_m_txt01"><strong>收货地址:</strong></TD>
<TD><INPUT name=Add class="INPUT" value="<%=rsUser("Add")%>" size=30 maxLength=50></TD>
</TR>
<TR>
<TD align="right" class="top_m_txt01"><strong>收货人:</strong></TD>
<TD><INPUT name=Somane class="INPUT" value="<%=rsUser("Somane")%>" size=30 maxLength=50></TD>
</TR>
<TR>
<TD align="right" class="top_m_txt01"><strong>邮政编码:</strong></TD>
<TD><INPUT name=Zip class="INPUT" value="<%=rsUser("Zip")%>" size=30 maxLength=50></TD>
</TR>
<TR>
<TD align="right" class="top_m_txt01"><strong>联系电话:</strong><br></TD>
<TD><INPUT name=Phone class="INPUT" value="<%=rsUser("Phone")%>" size=30 maxLength=50></TD>
</TR>
<TR>
<TD align="right" class="top_m_txt01"><strong>传 真:</strong></TD>
<TD><INPUT name=Fox class="INPUT" value="<%=rsUser("Fox")%>" size=30 maxLength=50></TD>
</TR>
<TR align="center" >
<TD height="40" colspan="2"><input name="Action" type="hidden" id="Action" value="Modify">
<input name=Submit type=submit class="INPUT01" id="Submit" value="保存修改结果">
</TR>
</TABLE>
</form></td>
</tr>
</table></td>
</tr>
</table>
<%
end if
end if
rsUser.close
set rsUser=nothing
end if
call CloseConn()
%></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="20" background="img/gsjs_right_bg01.gif"></td>
</tr>
<tr>
<td background="img/gsjs_bg01.gif"></td>
<td valign="bottom" background="img/gsjs_right_bg01.gif"><img src="img/gsjs_img04.gif" width="20" height="148"></td>
</tr>
<tr>
<td colspan="3"><img src="img/gsjs_img02.gif" width="540" height="18"></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="9" background="img/cont_tbl01_bg01.gif"></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="img/cont_img02.gif" width="580" height="17"></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="33" valign="top" background="img/cont_right_bg01.gif"><img src="img/cont_right_img01.gif" width="33" height="431"></td>
</tr>
<tr>
<td valign="top"><img src="img/cont_di_img01.gif" width="30" height="29"></td>
<td align="center" valign="middle" background="img/cont_di_bg01.gif" style="padding-top:9px; "><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="39%"><table width="304" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="57"><img src="img/yqlj_img01.gif" width="57" height="15"></td>
<td width="247"><MARQUEE
align="left" width=230 scrollAmount=1 scrollDelay=4 class="top_m_txt01" onmouseover="this.stop()" onmouseout="this.start()">
<% call ShowAnnounce(5) %>
</MARQUEE></td>
</tr>
</table></td>
<td width="61%" align="right" class="top_m_txt01"><script language="JavaScript" type="text/javascript" src="inc/site.asp?online=1&show=all"></script></td>
</tr>
</table></td>
<td valign="top"><img src="img/cont_di_img02.gif" width="33" height="29"></td>
</tr>
</table></td>
</tr>
</table>
<!--#include file="Inc/foot.asp"-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -