<!--#include file="conn.asp"--><%seo_title="Change Name,Address-"&sitename%>
<!--#include file="IncAsp/WrzcNet_top.asp"-->
<div align="center">
<table cellpadding="0" cellspacing="0" class="all_t1">
<tr><td class="all_l_td" valign="top">
<!--#include file="IncAsp/WrzcNet_log.asp"--><div class="d5"></div>
</td>
<td valign="top" class="all_c_td">
<table width="99%" border="0" cellpadding="0" cellspacing="0">
<tr><td class="sort">&nbsp;<IMG src="Skin/<%=WrzcNet_skin%>/home.gif" border=0 align="absmiddle">  <a href="index.asp">Home</a> >>&nbsp;Change Name,Address</td></tr>
</table>

<table border="0" cellpadding="0" cellspacing="0" class="useri">
<tr><td height="150">
<%if Request.Cookies("WrzcNet")("user_name")="" then
response.redirect "login.asp?comurl=modify.asp"
response.end
elseif request("action")="modify" then%>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<%
user_name=Request.Cookies("WrzcNet")("user_name")
chklogin(user_name)
set rs=server.createobject("adodb.recordset")
sql="select * from WrzcNet_user where username='"&user_name&"'"
rs.open sql,conn,1,3
rs("usermail")=DelStr(request("user_mail"))
rs("user_adds")=DelStr(request("user_adds"))
rs("user_postcode")=DelStr(request("user_postcode"))
rs("user_tel")=DelStr(request("user_tel"))
rs("user_namec")=DelStr(request("user_namec"))
rs("user_mobile")=DelStr(request("user_mobile"))


rs("user_namec1")=DelStr(request("user_namec1"))
rs("user_city")=DelStr(request("user_city"))
rs("user_state")=DelStr(request("user_state"))
rs("user_country")=DelStr(request("user_country"))





rs.update
rs.close
set rs=nothing
response.write "<tr><td align=center height=200>Done,<a href=# onClick=history.go(-1)><font color=#ff0000>Back</font></a></td></tr>"%>
</table>
<%else%>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<%user_name=Request.Cookies("WrzcNet")("user_name")
chklogin(user_name)
set rs=server.createobject("adodb.recordset")
sql="select * from WrzcNet_user where username='"&user_name&"'"
rs.open sql,conn,1,1
if rs.eof then
response.redirect "login.asp?comurl=modify.asp"
response.end
else%>
<form method="POST" action="modify.asp?action=modify">
<tr class="cartshow1"><td height="30" align="right" width="100">UserName:</td><td height="30" width="525">&nbsp;<%=rs("username")%></td></tr>

<tr class="cartshow0"><td height="30" align="right" width="100">FirstName:</td><td height="30" width="525">&nbsp;<input type="text" name="user_namec" size="10" class=input value="<%=rs("user_namec")%>"></td></tr>
<tr class="cartshow1"><td height="30" align="right" width="100">LastName:</td><td height="30" width="525">&nbsp;<input type="text" name="user_namec1" size="10" class=input value="<%=rs("user_namec1")%>"></td></tr>



<tr class="cartshow0"><td height="30" align="right" width="100">Email::</td><td height="30" width="525">&nbsp;<input type="text" name="user_mail" size="36" class=input value="<%=rs("usermail")%>"></td></tr>
<tr class="cartshow1"><td height="30" align="right" width="100">Phone Number:</td><td height="30" width="525">&nbsp;<input type="text" name="user_tel" size="36" class=input value="<%=rs("user_tel")%>"></td></tr>
<tr class="cartshow0"><td height="30" align="right" width="100">Mobile:</td><td height="30" width="525">&nbsp;<input type="text" name="user_mobile" size="36" class=input value="<%=rs("user_mobile")%>"></td></tr>

<tr class="cartshow1"><td height="30" align="right" width="100">Country:</td><td height="30" width="525">&nbsp;<input type="text" name="user_country" size="36" class=input value="<%=rs("user_country")%>"></td></tr>
<tr class="cartshow0"><td height="30" align="right" width="100">State:</td><td height="30" width="525">&nbsp;<input type="text" name="user_state" size="36" class=input value="<%=rs("user_state")%>"></td></tr>
<tr class="cartshow1"><td height="30" align="right" width="100">City:</td><td height="30" width="525">&nbsp;<input type="text" name="user_city" size="36" class=input value="<%=rs("user_city")%>"></td></tr>


<tr class="cartshow0"><td height="30" align="right" width="100">Address:</td><td height="30" width="525">&nbsp;<input type="text" name="user_adds" size="36" class=input value="<%=rs("user_adds")%>"></td></tr>
<tr class="cartshow1"><td height="30" align="right" width="100">Postcode:</td><td height="30" width="525">&nbsp;<input type="text" name="user_postcode" size="10" class=input value="<%=rs("user_postcode")%>"></td></tr>

<tr class="cartshow0"><td height="30" align="right" width="100"></td><td height="30" width="525">&nbsp;<input type="image" src="img/regbutton.gif" name="submit"></td></tr>
</form>
<%end if
rs.close
set rs=nothing%>
</table><%end if%>
</td></tr></table>
</td></tr></table></div><!--#include file="IncAsp/WrzcNet_copy.asp"-->