⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 manage.asp

📁 采用ASP。NET做的网上游戏交易平台
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file="isValidUser.asp"-->
<%
if session("userID")="" then
%>
<!--#include file="top.asp"-->
<%
else
%>
<!--#include file="top1.asp"-->
<%
end if
%>

<style>
<!--
a:link.nav {COLOR: #ffffff;TEXT-DECORATION: none}
.navbg {filter : progid:DXImageTransform.Microsoft.DropShadow(color=#ffffff,offX=1,offY=1,positives=true);}
.navbg1 {filter : progid:DXImageTransform.Microsoft.DropShadow(color=#6C2C00,offX=1,offY=1,positives=true);}
a:link.nav1 {COLOR: #434343;TEXT-DECORATION: none}
.toptext {color: #555555;filter:dropshadow(color=#ffffff,offx=1,offy=1,positive=1);}
-->
</style>

<%
if session("area")="" then session("area")="未选择"
'memberArr=array("普通会员","高级会员","管理员")
if request.querystring("flagstr")="tijiao" then
dim myarea,tmpmemo
tmpmemo=trim(request("textarea"))
if tmpmemo="" then tmpmemo="简要介绍未填写"
myarea=request.form("area")
tempArr=split(myarea,"*")
sql="update userinfo set contact='"&request.form("txtContact")&"',phone='"&request.form("txtPhone")&"',introduce='"&tmpmemo&"',province='"&tempArr(0)&"',city='"&tempArr(1)&"',address='"&trim(request.form("txtAddress"))&"',qqormsn='"&request.form("txtQq")&"' where username='"&session("username")&"'"
'response.write sql
'response.end
conn.execute(sql)
Response.Write "<script language=javascript>" &vbCrLf&_
"alert('修改成功!!!');" &vbCrLf&_
"window.location='manage.asp';"&vbCrLf&_
"</script>"
end if
'////////////////////////////////////////////////////////////////
'response.write session("userID")
'response.end
dim myprovince,mycity
set rs=server.CreateObject("adodb.recordset")
sql="select * from userinfo where ID="&cint(session("userID"))
rs.open sql,conn,3,1
redim infoArr(7)
infoArr(0)=rs("contact")
infoArr(1)=rs("phone")
infoArr(2)=rs("introduce")
if rs("province")="" or isnull(rs("province")) then
infoArr(3)="35,省份不限"
else
infoArr(3)=rs("province")
end if
if rs("city")="" or isnull(rs("city")) then
infoArr(4)="0,城市不限"
else
infoArr(4)=rs("city")
end if
infoArr(5)=rs("address")
infoArr(6)=rs("qqormsn")
infoArr(7)=rs("step")
rs.close
if instr(infoArr(3),",")>0 then
'tmpArr1=split(infoArr(3),",")
strdotpos=instr(infoArr(3),",")

'myprovince=tmpArr1(0)
myprovince=cint(left(infoArr(3),strdotpos))
'session("area")=session("area")&tmpArr1(1)
else
myprovince=35
end if
if instr(infoArr(4),",")>0 then
'tmpArr2=split(infoArr(4),",")
strdotpos2=instr(infoArr(4),",")
mycity=cint(left(infoArr(4),strdotpos2))
'mycity=tmpArr2(0)
'session("area")=session("area")&tmpArr2(1)
else
mycity=0
end if
'session("area")=tmpArr1(1)&tmpArr2(1)
'session("step")=infoArr(7)
%>




<script src="images/area.js"></script>
<script language="JavaScript">
function chkform(){
if (document.jobs.txtContact.value==""){
	document.jobs.txtContact.focus();
	alert("联系人必须填写!");
	return false;
}
else if (document.jobs.txtPhone.value==""){
	document.jobs.txtPhone.focus();
	alert("联系电话必须填写!");
	return false;
}
else if (document.jobs.Province.value=="省份不限"){
	document.jobs.Province.focus();
	alert("省份必须选择!");
	return false;
}
else if (document.jobs.txtAddress.value==""){
	document.jobs.txtAddress.focus();
	alert("详细地址必须填写!");
	return false;
}
else if (document.jobs.txtQq.value==""){
	document.jobs.txtQq.focus();
	alert("QQ/MSN必须填写!");
	return false;
}
else{
	jobs.action="manage.asp?flagstr=tijiao";
	jobs.submit();
}
}
</script>
<body style="text-align: center">

<table border="0" width="100%" cellspacing="0" cellpadding="0" background="images/bg1.jpg" height="100%">
	<tr>
		<td valign=top>
		<table border="0" width="900" cellspacing="0" cellpadding="0">
			<tr>
				<td width="900" colspan="3" height="7"></td>
			</tr>
			<tr>
				<td width="65"> </td>
				<td width="778" height="50">
				<table border="0" width="778" cellspacing="0" cellpadding="0">
					<tr>
						<td width="9">
						<img border="0" src="images/2vv2_r7_c2.gif" width="9" height="50"></td>
						<td width="759" background="images/2vv2_r7_c4.gif">						
						<table border="0" width="100%" cellspacing="0" cellpadding="0" height="100%">
          <%
		  call getGameName2
		  for i=0 to 20
		  if i=0 then response.write "<tr height=21>"
		  
		  response.write "<td align='center'valign=bottom class=top><a href='search.asp?key="&tmpArr1(i)&"'>"&formatGameName(tmpArr2(i))&"</a> &nbsp;|</td>"
		  if i mod 11 =10 and i>0 then response.write "</tr><tr height=22>"
		  next
		  response.write "<td align='center' valign=bottom class=top><a href='search.asp?key=all'>全 部...</a></td>"
		  %>

        </table>
	</td>
						<td width="10">
						<img border="0" src="images/2vv2_r7_c31.gif" width="10" height="50"></td>
					</tr>
				</table>
				</td>
				<td width="57"> </td>
			</tr>
			<tr>
				<td width="65"></td>
				<td width="778" height="7"></td>
				<td width="57"></td>
			</tr>
			<tr>
				<td width="65"> </td>
				<td width="778">
				
<div align="center">
	<table border="0" width="770" cellspacing="0" cellpadding="0">
		<tr>
			<td background="images/2_r1_c2.gif" width="22">
			<img border="0" src="images/2_r1_c1.gif" width="22" height="33"></td>
			<td background="images/2_r1_c2.gif" width="724" valign=bottom>
			<table border="0" cellspacing="0" cellpadding="0" height="28">
				<tr>
					<td class=navbg>艾维游戏交易平台---管理中心</td>
				</tr>
			</table>
			</td>
			<td background="images/2_r1_c2.gif" width="24">
			<img border="0" src="images/2_r1_c3.gif" width="24" height="33"></td>
		</tr>
		<tr>
			<td background="images/2_r2_c1.gif" width="770" colspan="3" height="30">
			<div align="center">
				<table border="0" width="96%" cellspacing="0" cellpadding="0">
							<tr >
								<td width="748" class=top>


			<b><%=session("username")%>欢迎光临:</b> 艾维游戏交易平台将真诚为您提供最完善的服务!&nbsp; 本站QQ客服: 
			648081898</td>
							</tr>
						</table>
			</div>
</td>
		</tr>
		<tr>
			<td width="770" colspan="3" valign=top>
			<table border="0" width="770" cellspacing="0" cellpadding="0">
				<tr>
					<td width="13" bgcolor="#69B4FE" valign=top>
					<img border="0" src="images/2_r3_c1.gif" width="13" height="185"></td>
					<td width="744" bgcolor="#FFFFFF" valign=top><table border="1" width="100%" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#1965CD" height="300">
						<tr><td valign=top>
							
				<table border="0" width="742" cellpadding="2" height="100%">
					<tr>
						<td width="142">
						<table border="0" width="100%" cellspacing="3" cellpadding="3" height="100%" bgcolor="#2B78DA">
							<tr>
								<td>
								<table border="0" width="100%" cellspacing="0" cellpadding="0" height="100%" bgcolor="#FFFFFF">
									<tr>
										<td height="23" bgcolor="#AEB8CE">

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -