soft_show.asp

来自「利用C++编写的网络跟踪代码」· ASP 代码 · 共 694 行 · 第 1/3 页

ASP
694
字号
<!--#include file="Inc/syscode_soft.asp"-->
<%
const ChannelID=3
Const ShowRunTime="Yes"
MaxPerPage=20
SkinID=0
PageTitle="软件信息"
Set rsSoft= Server.CreateObject("ADODB.Recordset")
Set rsPic= Server.CreateObject("ADODB.Recordset")
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<link href="img/css.CSS" rel="stylesheet" type="text/css">
<STYLE type=text/css>BODY {
	SCROLLBAR-FACE-COLOR: #E4E4E4;
	SCROLLBAR-HIGHLIGHT-COLOR: #cccccc;
	SCROLLBAR-SHADOW-COLOR: #828282;
	SCROLLBAR-3DLIGHT-COLOR: #ffffff;
	SCROLLBAR-ARROW-COLOR: #797979;
	SCROLLBAR-TRACK-COLOR: #ECECEC;
	SCROLLBAR-DARKSHADOW-COLOR: #ffffff;
	background-color: #EFEBE7;
}
</STYLE>
<script language="JavaScript" type="text/JavaScript">
function Check()
{
  if (document.myform.Name.value=="")
  {
    alert("请输入姓名!");
	document.myform.Name.focus();
	return false;
  }
  if (document.myform.Content.value=="")
  {
    alert("请输入评论内容!");
	document.myform.Content.focus();
	return false;
  }
  return true;  
}
</script>
<link href="new/css.CSS" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body,td,th {
	color: #000000;
}
-->
</style></head>

<body topmargin="0">


<%
dim sqlRoot,rsRoot,trs,arrClassID,TitleStr
sqlRoot="select C.ClassID,C.ClassName,C.RootID,L.LayoutFileName,L.LayoutID,C.Child,C.ParentPath From SoftClass C inner join Layout L on C.LayoutID=L.LayoutID where C.ParentID=" & ClassID & " or C.ParentPath like '%" & ParentPath & "," & ClassID & "%' and C.IsElite=True and C.LinkUrl='' and C.BrowsePurview>=" & UserLevel & " order by C.OrderID"
Set rsRoot= Server.CreateObject("ADODB.Recordset")
rsRoot.open sqlRoot,conn,1,1	
arrClassID=ClassID
do while not rsRoot.eof
	arrClassID=arrClassID & "," & rsRoot(0)
	rsRoot.movenext
loop
rsRoot.close
set rsRoot=nothing
%>
<!--#include file="top.asp"-->
<table width="860" height="400" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="f2f2f2" class="44">
  <tr valign="top"> 
    <td width="244" class="tdb"> <div align="left"> 
        <table width="100%" height="10" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr> 
            <td height="12"></td>
          </tr>
        </table>
        <table width="220" height="26" border="0" align="center" cellpadding="0" cellspacing="0" background="new/ccd.jpg">
          <tr> 
            <td height="12"> <table  width="220" height="22" border="0" align="center" cellpadding="0" cellspacing="0" class="44"">
                <tr> 
                  <td width="18" height="15"> <div align="right"><img src="new/ee.gif" width="10" height="12"> 
                    </div></td>
                  <td width="195" style="FILTER: dropshadow(color=#cccccc,offx=1,offy=1);color:#333333"> 
                    <table width="100%" height="1" border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr> 
                        <td height="1"></td>
                      </tr>
                    </table>
                    &nbsp;&nbsp;下载搜索</td>
                </tr>
              </table></td>
          </tr>
        </table>
        <table width="100%" height="10" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr> 
            <td height="12"></td>
          </tr>
        </table>
        <table width="222" height="125" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="F7F7F7">
          <tr> 
            <td height="12" valign="top" class="w4"> <table width="100%" height="10" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr> 
                  <td height="15"></td>
                </tr>
              </table>
              <% call ShowSearchForm("Article_search.asp",1) %>
            </td>
          </tr>
        </table>
        <table width="100%" height="10" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr> 
            <td height="12"></td>
          </tr>
        </table>
        <table width="220" height="26" border="0" align="center" cellpadding="0" cellspacing="0" background="new/ccd.jpg">
          <tr> 
            <td height="12"> <table  width="220" height="22" border="0" align="center" cellpadding="0" cellspacing="0" class="44"">
                <tr> 
                  <td width="18" height="15"> <div align="right"><img src="new/ee.gif" width="10" height="12"> 
                    </div></td>
                  <td width="195" style="FILTER: dropshadow(color=#cccccc,offx=1,offy=1);color:#333333"> 
                    <table width="100%" height="1" border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr> 
                        <td height="1"></td>
                      </tr>
                    </table>
                    &nbsp;&nbsp;相关专题</td>
                </tr>
              </table></td>
          </tr>
        </table>
        <table width="100%" height="10" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr> 
            <td height="12"></td>
          </tr>
        </table>
        <table width="222" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="F7F7F7" class="44">
          <tr> 
            <td height="12" valign="top" class="w4"> <table width="100%" height="5" border="0" align="center" cellpadding="0" cellspacing="7" bgcolor="#FFFFFF">
                <tr> 
                  <td height="5">
                    <% call ShowSpecial(5) %>
                  </td>
                </tr>
              </table></td>
          </tr>
        </table>
        <table width="100%" height="10" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr> 
            <td height="12"></td>
          </tr>
        </table>
        <table width="220" height="70" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#CC0000">
          <tr> 
            <td height="12"><div align="center"><font color="#FFFFFF">广告位(220*70)</font></div></td>
          </tr>
        </table>
        <table width="100%" height="10" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr> 
            <td height="12"></td>
          </tr>
        </table>
        <table width="220" height="26" border="0" align="center" cellpadding="0" cellspacing="0" background="new/ccd.jpg">
          <tr> 
            <td height="12"> <table  width="220" height="22" border="0" align="center" cellpadding="0" cellspacing="0" class="44"">
                <tr> 
                  <td width="18" height="15"> <div align="right"><img src="new/ee.gif" width="10" height="12"> 
                    </div></td>
                  <td width="195" style="FILTER: dropshadow(color=#cccccc,offx=1,offy=1);color:#333333"> 
                    <table width="100%" height="1" border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr> 
                        <td height="1"></td>
                      </tr>
                    </table>
                    &nbsp;&nbsp;下载排行</td>
                </tr>
              </table></td>
          </tr>
        </table>
        <table width="100%" height="10" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr> 
            <td height="12"></td>
          </tr>
        </table>
        <table width="222" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="F7F7F7" class="44">
          <tr> 
            <td height="12" valign="top" class="w4"> 
              <table width="100%" height="5" border="0" align="center" cellpadding="0" cellspacing="7" bgcolor="#FFFFFF">
                <tr> 
                  <td height="5"> 
                   <%call ShowTop(5,32,arrClassID)%> 
                  </td>
                </tr>
              </table></td>
          </tr>
        </table>
        <table width="100%" height="10" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr> 
            <td height="12"></td>
          </tr>
        </table><table  width="220" height="22" border="0" align="center" cellpadding="0" cellspacing="0" class="44"">
                <tr> 
                  <td width="18" height="15"> <div align="right"><img src="new/ee.gif" width="10" height="12"> 
                    </div></td>
                  <td width="195" style="FILTER: dropshadow(color=#cccccc,offx=1,offy=1);color:#333333"> 
                    <table width="100%" height="1" border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr> 
                        <td height="1"></td>
                      </tr>
                    </table>
                    &nbsp;&nbsp;下载评论</td>
                </tr>
              </table><table width="100%" border="0" align="center" cellpadding="5" cellspacing="0" style="word-break:break-all">
              <form name="myform" method="post" action="Soft_Comment.asp" onSubmit="return Check()"  target="_blank" >
                <% if CheckUserLogined()=false then%>
                <tr> 
                  <td align="center">姓名
<input name="Name" type="text" id="Name" size="22" maxlength="16" title=必填>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                </tr>
                <%else%>
                <input type="hidden" name="Name2"  value="<%=UserName%>">
                <% end if %>
                <tr > 
                  <td align="center">评分
                    <input type="radio" name="Score" value="1" style="BORDER:0px;">
                    1
                    <input type="radio" name="Score" value="2" style="BORDER:0px;">
                    2
                    <input type="radio" name="Score" value="3" checked style="BORDER:0px;">

⌨️ 快捷键说明

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