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

📄 index.asp

📁 采用ASP。NET做的网上游戏交易平台
💻 ASP
📖 第 1 页 / 共 2 页
字号:
								<td width="76" background="images/2vv2_r9_c26.gif">
								<u><a href="index.asp?gamecodestr=1074">魔兽世界</a></u></td>
								<td width="2" background=images/bg.gif>
								</td>
								<td width="76" background="images/2vv2_r9_c26.gif">
								<u><a href="index.asp?gamecodestr=1196">腾讯QQ</a></u></td>
								<td width="2" background=images/bg.gif>
								</td>
								<td width="76" background="images/2vv2_r9_c261.gif">
								<u><a href="index.asp?gamecodestr=1095">传奇世界</a></u></td>
							</tr>
							<tr>
								<td colspan="9" height="215" background="images/2vv2_r10_c35.gif" valign=top>
								<%
		'- - - - - - - - - - - - - - - - - - - - 读周边产品:tmprs对象公用
		
		set tmprs=server.createobject("adodb.recordset")
		if mygamecodeid="" then
		sql="select * from ziliao where infoType=4 order by pubDate desc"
		else
		sql="select * from ziliao where infoType=4 and gameName='"&mygamecodeid&"' order by pubDate desc"
		end if
		redim besideArr1(7)
		redim besideArr2(7)
		redim besideArr3(7)
		redim besideArr4(7)
		for k=0 to ubound(besideArr1)
		besideArr1(k)=""
		besideArr2(k)=""
		besideArr3(k)=""
		besideArr4(k)=""
		next
		tmprs.open sql,conn,3,1	
		%>
								
								
								<%
			if tmprs.eof then
			response.write "<br><br><br><br><font color='#ff9900'><b>对不起,没有找到该游戏的任何周边产品...</b></font>"
			tmprs.close
			else
			for i=0 to 5
			mygamename=getGameName(tmprs("gameName"))
			mygamename=right(mygamename,len(mygamename)-5)
			besideArr1(i)=mygamename
			besideArr2(i)=left(tmprs("tradeTitle"),6)
			besideArr3(i)=left(tmprs("tradeMemo"),6)&"..."
			besideArr4(i)=tmprs("id")
			tmprs.movenext
			if tmprs.eof then exit for
			next
			tmprs.close
			%>
								<div align="center">
			<table border="0" width="99%" cellspacing="3" cellpadding="3" height="73%">
			
			<%
			for k=0 to ubound(besideArr1)
			if besideArr1(k)<>"" then
			if k mod 2=0 then response.write "<tr>"
			%>
                
                  <td  align="left" height="46" valign="top" >&nbsp;<img border="0" src="images/icon.gif" ><b> 
                    <u class=top1><%=besideArr1(k)%></u></b><table border='0'  cellspacing='0' cellpadding='0' ><tr><td height='8'></td></tr></table>&nbsp;&nbsp;&nbsp;&nbsp;<%="<a href='seeInfo.asp?id="&besideArr4(k)&"&flagid="&mytmpid&"' title='点此查看此交易详细信息' >"&besideArr2(k)&""%> | <%=besideArr3(k)%></td>
			  <%
			  end if
			  if k mod 2=1 then response.write "</tr>"
			  next
			  
			  %>
			  </table>
			  					<table border="0" width="100%" cellpadding="2">
									<tr>
										<td> <a href="manage.asp"><img border="0" src="images/q.gif" width="148" height="40"></a></td>
										<td><a href="manage.asp">
										<img border="0" src="images/c.gif" width="148" height="40"></a> </td>
									</tr>
			</table>
			  					</div>
			  <%end if%>

								
								</td>
							</tr>
						</table>
						</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">
				<table border="0" width="778" cellspacing="0" cellpadding="0">
					<tr>
						<td width="12">
						<img border="0" src="images/2vv2_r15_c2.gif" width="12" height="47"></td>
						<td width="753" background="images/2vv2_r15_c10.gif" height="47"><div align="right">
						<form action="search.asp" method="post" name="frmseek" target="_self">
						<table border="0" width="100%" cellspacing="0" cellpadding="0" height="100%">
							<tr class=top>
								<td width="113">
								<p align="center"><b>信息简单搜索</b></td>
								<td width="285">


			<input class="itm2" size="28" name="txtkey" value="请输入关键字" style="color: #003366"> <select style="WIDTH: 87; height:21; color:#003366" name="txttype" size="1">
			<option value="" selected>请选择</option>
			<option value="0">出售</option>
			<option value="1">求购</option>
			</select></td>
<td width="89">
								<p align="center">
			<input class="M"  type="submit" value="马上搜索" name="btnseek" style="color: #003366"></td>
								<td width="75">热门关键字:</td>
								
                            <td width="202"><a href="search.asp?key=1074"><u>魔兽世界</u></a><span lang="zh-cn"> </span><a href="search.asp?key=1025"><u>热血传奇</u></a> <a href="search.asp?key=1095"><u>传奇世界</u></a> <a href="search.asp?key=1196"><u>QQ</u></a></td>
							</tr>
						</table></form>
					</div>
</td>
						<td width="13">
						<img border="0" src="images/2vv2_r15_c29.gif" width="13" height="47"></td>
					</tr>
					<tr>
						<td width="778" colspan="3" height="5"></td>
					</tr>
					<tr>
						<td width="778" colspan="3">
						<div align="center">
							<table border="0" width="770" cellspacing="0" cellpadding="0">
								<tr>
									<td colspan="3" height="12">
									<img border="0" src="images/1_r1_c1.gif" width="770" height="12"></td>
								</tr>
								<tr>
									<td width="12" background="images/1_r2_c1.gif" height="50"> </td>
									<td width="746" bgcolor="#FFFFFF" background="images/center.gif">
									
									
									<p></p>
									<p></p>
									<p></p>
									<table border="0" width="100%" cellpadding="2">
										<tr>
											<td valign=top><%
									totalren=5
			sql="select  * from ziliao order by pubDate desc"
			set rs=server.createobject("adodb.recordset")
			rs.open sql,conn,3,1 
			if rs.eof then
			response.write "<br><br><br><br><br><center>信息更新中,稍等...</center>"
			else
			response.write "<table border='0' width='100%' cellspacing='1' cellpadding='1'>"
			for i=0 to totalren-1
			tmpid=rs("id")
			response.write "<tr><td ><img border='0' src='images/icon.gif' width='8' height='7'><font color=ff6600><b> "&formatGameName(getGameName(rs("gamename")))&" </b> "&rs("tradeTitle")&"</font></b></td></tr>"
			response.write "<tr>"
			response.write "<td align='right'><table width='95%'><tr><td><a href='seeInfo.asp?id="&tmpid&"&flagid="&mytmpid&"' title='点此查看此交易详细信息' >"&left(rs("tradeMemo"),70)&"</a>...   <font color=#ff6600>发布时间:["&rs("pubDate")&"]</font><p></td></tr></table></td>"
			response.write "</tr>"
			rs.movenext
			if rs.eof then exit for
			next
			rs.close
			response.write "</table>"
			end if
			%></td>
											<td width="5" valign=top align=center></td><td width="320" valign=top align=center><%
											totalren=16
			sql="select  * from ziliao order by pubDate desc"
			rs.open sql,conn,3,1 
			if rs.recordcount>10 then
			response.write "<table width='100%' cellspacing='2' cellpadding='2'>"
			rs.move(10)
			for i=0 to totalren-1
			tmpid=rs("id")
			response.write "<tr height=25>"
			response.write "<td width=15 ><img border='0' src='images/icon.gif' >"
			response.write "<td ><a href='seeInfo.asp?id="&tmpid&"&flagid="&mytmpid&"' title='点此查看此交易详细信息' ><font color=ff6600>"&formatGameName(getGameName(rs("gamename")))&" </font> "&left(rs("tradeTitle"),20)&".."
			response.write "</tr>"
			rs.movenext
			if rs.eof then exit for
			next
			rs.close
			response.write "</table>"
			end if
			'end if
			%>
</td>
										</tr>
									</table>
									
									
									</td>
									<td width="12" background="images/1_r2_c3.gif" height="50"> </td>
								</tr>
								<tr>
									<td width="770" colspan="3" height="12">
									<img border="0" src="images/1_r3_c1.gif" width="770" height="12"></td>
								</tr>
							</table>
						</div>
						</td>
					</tr>
					<tr>
						<td width="778" colspan="3" height=7></td>
					</tr>
					<tr>
						<td width="778" colspan="3"><!--#include file="bottom1.asp"-->
						 </td>
					</tr>
					<tr>
						<td width="778" colspan="3">
					
								
								</td>
								</tr>
							</table>
						</div>
						</td>
					</tr>
				</table>
				</td>
				<td width="57"> </td>
			</tr>
		</table>
		</td>
	</tr>
</table>

⌨️ 快捷键说明

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