softview.asp
来自「超炫电台程序开发了两个版本了」· ASP 代码 · 共 684 行 · 第 1/3 页
ASP
684 行
<% rs.close %>
<tr bgcolor="#FFFFFF">
<td colspan="3" height="19" align="center" nowrap><%
sql="select * from "&CategoryName&"_SoftLink where SoftID=" & request.QueryString("SoftID")
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.write "目前没有任何下载连接"
else
dim i
i=1
do while not rs.eof
%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><table border=0 cellpadding=0 cellspacing=0 width="320">
<tbody>
<tr>
<td bgcolor=#000000 colspan=2 height=60><object classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA height=30
id=RxMP name=RxMP width=320>
<param name="SRC" value="<%=rs("Address")%>">
<param name="CONTROLS" value="ControlPanel">
<param name="CONSOLE" value="cons">
<param name="autostart" value="true">
<embed
src="<%=rs("Address")%>" width="320"
height="30" autostart="true" type="audio/x-pn-realaudio-plugin"
controls="ControlPanel" console="cons" name="RxMP" > </embed>
</object>
<object classid=CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA height=30
id=RxMP name=RxMP width=320>
<param name="SRC" value="<%=rs("Address")%>">
<param name="CONTROLS" value="StatusPanel">
<param name="CONSOLE" value="cons">
<embed
src="<%=rs("Address")%>"
type="audio/x-pn-realaudio-plugin" width="320" height="30"
controls="StatusPanel" console="cons" name="RxMP" > </embed>
</object></td>
</tr>
</tbody>
</table></td>
</tr>
<tr>
<td align="center" height="30"><a href="SoftDown.asp?ID=<%=rs("ID")%>" class="ArticleList"><%=trim(rs("LinkName"))%></a><font color="#0066FF"> 人气:<%=rs("Hits")%></font> </td>
</tr>
</table>
<br>
<%
i=i+1
rs.movenext
loop
end if
rs.close
%>
</td>
</tr>
<%
sql="select SoftID,SoftName,SoftVer from "&CategoryName&"_SoftInfo where SoftName like '%"& left((keys),8) &"%' and SoftID<>" & request.QueryString("SoftID")
rs.open sql,conn,1,1
if not (rs.eof and rs.bof) then
%>
<tr bgcolor="#FFFFFF">
<td width="65" align="center" nowrap><font color="#339900"><b>相关歌曲:</b></font></td>
<td colspan="2"><% do while not rs.eof %>
<li><a href="SoftView.asp?SoftID=<%=rs("SoftID")%>" class="ArticleList"><%=rs("SoftName")&" "&rs("SoftVer")%></a></li>
<% rs.movenext
loop %>
</td>
</tr>
<% end if
rs.close
%>
<tr bgcolor="#63AECE">
<td align="center">用户评价:</td>
<td colspan="2"><% if EssayNum=0 then
response.write "目前没有用户参与评价"
else
response.write "共有<b><font color=red>"&EssayNum&"</font></b>人参与评价,得分:<font color=red>"&avgGrade&"</font>分"
response.write "『<a href=""ShowEssay.Asp?SoftID="&request.QueryString("SoftID")&""">查看评价</a>』"
end if
dim userip_temp
userip_temp=Request.ServerVariables("HTTP_X_FORWARDED_FOR")
if userip_temp="" then
userip_temp=Request.ServerVariables("REMOTE_ADDR")
end if
Response.Write(" 来自<b>"&userip_temp&"</b>的朋友,你可以参与评论!")
%>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="3" align="center"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%" valign="top"><% sql="select top 5 * from "&CategoryName&"_SoftEssay where SoftID="&request.QueryString("SoftID")&" order by ID desc"
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.write "<p align='center'>没有评论</p>"
else
do while not rs.eof
if len(Trim(rs("Content")))>65 then
response.write "<li>"&left(Trim(rs("Content")),64)&".. ["&rs("UserName")&" <font color=""red"">"&DateTimeFormat(rs("DateTime"),4)&"</font>]"
else
Response.Write "<li>"&Trim(rs("Content")) & " ["&rs("UserName")&" <font color=""red"">"&DateTimeFormat(rs("DateTime"),4)&"</font>]"
end if
rs.movenext
loop
end if
rs.close
Response.Write("</li>")
%>
</td>
<td width="50%" valign="top"><table width="100%" border="0" cellpadding="1" cellspacing="1">
<form name="myform" method="post" action="" target="_top" onSubmit="return Juge(this)" >
<tr bgcolor="#FCFCFC">
<td>用 户:</td>
<td><input type="text" name="UserName" maxlength="15" size="28" style="height: 16px;BORDER-BOTTOM: #888888 1px solid; BORDER-LEFT: #888888 1px solid; BORDER-RIGHT: #888888 1px solid; BORDER-TOP: #888888 1px solid; font-size: 9pt">
<font color="#FF0000">!</font> </td>
</tr>
<tr bgcolor="#FCFCFC">
<td>Email:</td>
<td><input type="text" name="Email" maxlength="50" size="28" style="height: 16px;BORDER-BOTTOM: #888888 1px solid; BORDER-LEFT: #888888 1px solid; BORDER-RIGHT: #888888 1px solid; BORDER-TOP: #888888 1px solid; font-size: 9pt">
<font color="#FF0000">!</font>
<input type="Hidden" name="SoftID" value='<%=request("SoftID")%>'>
<input type="Hidden" name="action" value='savereinfo'>
</td>
</tr>
<tr bgcolor="#FCFCFC">
<td>分 值:</td>
<td><input type="radio" name="Grade" value="100">
100分
<input type="radio" name="Grade" value="85" checked>
85分
<input type="radio" name="Grade" value="70">
70分
<input type="radio" name="Grade" value="55">
55分 <br>
<input type="radio" name="Grade" value="40">
40分
<input type="radio" name="Grade" value="25">
25分
<input type="radio" name="Grade" value="10">
10分
<input type="radio" name="Grade" value="0">
0分</td>
</tr>
<tr bgcolor="#FCFCFC">
<td>说 明:</td>
<td><textarea name="content" cols="38" rows="5" title="请注意用语文明且合法,不要发布带有攻击性的言论,谢谢合作!" style="BORDER-BOTTOM: #888888 1px solid; BORDER-LEFT: #888888 1px solid; BORDER-RIGHT: #888888 1px solid; BORDER-TOP: #888888 1px solid; font-size: 9pt"></textarea>
<font color="#FF0000">!</font> </td>
</tr>
<tr bgcolor="#FCFCFC">
<td> </td>
<td><input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit2" value="重设">
(注:“<font color="#FF0000">!</font>”为必填内容。) </td>
</tr>
</form>
</table></td>
</tr>
</table></td>
</tr>
</table>
<%end sub %>
</td>
</tr>
</table></td>
</tr>
</table></TD>
</TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE id=table17 cellSpacing=0 cellPadding=0 width=732 align=center border=0>
<TBODY>
<TR>
<TD vAlign=top align=middle width=228><IMG height=16
src="../img/left_down.gif"
width=228> </TD>
<TD width=10><IMG height=10
src="../img/trans.gif"
width=10></TD>
<TD vAlign=top align=middle width=494><IMG height=16
src="../img/second_bg.gif"
width=494> </TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=750 align=center border=0>
<TBODY>
<TR>
<TD height=6></TD>
</TR>
<TR>
<TD align=middle height=12><TABLE height=1 cellSpacing=0 cellPadding=0 width="96%" bgColor=#ffffff
border=0>
<TBODY>
<TR>
<TD height=1><IMG height=1
src="img/trans.gif"
width=1></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
<TR>
<TD align=middle height=19><FONT
style="FONT-SIZE: 12px; COLOR: #3b3b3b"><FONT
color=#ffffff><a href="javascript:alert('即将开放!')" target="_top"><FONT
color=#ffffff>关于我们</FONT></a> | <a href="javascript:alert('即将开放!')" target="_top"><FONT
color=#ffffff>About</FONT></a> | <a href="javascript:alert('即将开放!')" target="_top"><FONT
color=#ffffff>服务条款</FONT></a> | <A
href="javascript:alert('即将开放!')" target=_top><FONT
color=#ffffff>广告服务</FONT></A> | <a href="javascript:alert('即将开放!')" target="_top"><FONT
color=#ffffff>人才招聘</FONT></a> | <A
href="javascript:alert('即将开放!')" target=_top><FONT
color=#ffffff>客服中心</FONT></A></FONT></font></TD>
</TR>
<TR>
<TD height=12></TD>
</TR>
<TR>
<TD align=middle> </TD>
</TR>
<TR>
<TD align=middle><FONT style="FONT-SIZE: 12px; COLOR: #ffffff">Copyright © 2005 PAZZ Inc. All Rights Reserved<BR>
平安杂志 <FONT
color=#ffffff>版权所有</FONT></FONT></TD>
</TR>
<TR>
<TD height=12></TD>
</TR>
</TBODY>
</TABLE>
</BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?