<!--#include file="Inc/SysDown.asp" -->
<!--#include file="inc/Skin_css.asp"-->

<script language="JavaScript"> 
<!-- 
var flag=false; 
function DrawImage(ImgD){ 
 var image=new Image(); 
 image.src=ImgD.src; 
 if(image.width>0 && image.height>0){ 
  flag=true; 
  if(image.width/image.height>= 150/150){ 
   if(image.width>150){
    ImgD.width=150; 
    ImgD.height=(image.height*150)/image.width; 
   }else{ 
    ImgD.width=image.width;
    ImgD.height=image.height; 
   } 
   ImgD.alt="点击查看详细信息..."; 
  } 
  else{ 
   if(image.height>150){
    ImgD.height=150; 
    ImgD.width=(image.width*150)/image.height; 
   }else{ 
    ImgD.width=image.width;
    ImgD.height=image.height; 
   } 
   ImgD.alt="点击查看详细信息..."; 
  } 
 }
}

//无级缩放图片大小
function bbimg(o)
{
  var zoom=parseInt(o.style.zoom, 10)||100;
  zoom+=event.wheelDelta/12;
  if (zoom>0) o.style.zoom=zoom+'%';
  return false;
}
//--> 
</script> 

<%
ShowSmallClassType=ShowSmallClassType_Article
dim ID
ID=trim(request("ID"))
if Id="" then
	response.Redirect("Download.asp")
end if

sql="select * from Download where ID=" & ID & ""
Set rs= Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,3
if rs.bof and rs.eof then
  response.write"<SCRIPT language=JavaScript>alert('找不到此下载！');"
  response.write"javascript:history.go(-1)</SCRIPT>"
else
  rs("Hits")=rs("Hits")+1
  rs.update
Start=Rs("Title")
%>
<!-- #include file="Head.asp" -->
<TABLE class="xmtable" border=0 align="center" cellPadding=0 cellSpacing=12 bgcolor="#FFFFFF">
  
  <tr> 
    <td  height="450" valign="top" Class="tdbg_left"><table width="100%" border="0" cellspacing="0" cellpadding="0">

      <tr>
        <td height="10"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td><% call ShowUserLogin() %>
              </td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td height="5"></td>
      </tr>
    </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="34" class="title_left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;下载列表</td>
        </tr>
        <tr>
          <td height="5"></td>
        </tr>
        <tr>
          <td height="10"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td><% call ShowSmallClass_Down_Tree() %>
                </td>
              </tr>
          </table></td>
        </tr>
        <tr>
          <td height="5"></td>
        </tr>
      </table>
    </td>
    <TD width=1 background=images/MainLine.gif></TD>    
    <td valign="top" bgcolor="#FFFFFF"><table width="670" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td><% If IsFlash4="Yes" Then %>
            <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="<%=width4%>" height="<%=High4%>">
              <param name="movie" value="<%=BannerUrl4%>">
              <param name="quality" value="high">
              <param name="wmode" value="transparent">
              <embed src="<%=BannerUrl4%>" width="<%=width4%>" height="<%=High4%>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
            </object>
            <% Else %>
            <img src="<%=BannerUrl4%>" width="<%=width4%>" height="<%=High4%>">
            <% end If%>
        </td>
      </tr>
    </table>
      <br>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" 
                              border=0>
        <TBODY>
          <TR>
            <TD class="title_b"></TD>
            <TD><TABLE cellSpacing=0 cellPadding=0 width="100%" 
                                border=0>
                <TBODY>
                  <TR>
                    <TD width=98 class="title_c">下载中心</TD>
                    <TD width="555" class="title_right">　</TD>
                  </TR>
                </TBODY>
            </TABLE></TD>
          </TR>
          <TR>
            <TD vAlign=bottom colSpan=2 height=5><TABLE cellSpacing=0 cellPadding=0 width="100%" 
                                border=0>
                <TBODY>
                  <TR>
                    <TD bgColor=#e3e3e3 
                                height=1></TD>
                  </TR>
                </TBODY>
            </TABLE></TD>
          </TR>
        </TBODY>
      </TABLE>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <TR>
          <TD width="490" height="30"><%
response.write "&nbsp;<a href='Download.asp?BigClassName=" & rs("BigClassName") & "'>" & rs("BigClassName") & "</a>&nbsp;&gt;&gt;&nbsp;"
if rs("SmallClassName") & ""<>"" then
	response.write "<a href='Download.asp?BigClassName=" & rs("BigClassName")&"&SmallClassName=" & rs("SmallClassName") & "'>" & rs("SmallClassName") & "</a>&nbsp;&gt;&gt;&nbsp;"
end if
response.write rs("Title")
%>
          </TD>
          <TD width="60"><div align="center"></div></TD>
        </TR>
        <TR bgcolor="#666666">
          <TD height="1" colspan="3" bgcolor="#CCCCCC"></TD>
        </TR>
        <TR>
          <TD colspan="3"><br>
              <table width="100%" border="0" align="center" cellpadding=0 cellSpacing=1 bgcolor="#CCCCCC" >
                <TR class='MC_DoShow_T1Tr1'>
                  <td height="30" colspan=2 bgcolor="#FFFFFF">&nbsp;<%=rs("Title")%></TD>
                </TR>
                <TR bgcolor="#FFFFFF" >
                  <td width="312" height="30" >&nbsp;软件语言：<%=rs("Language")%></TD>
                  <td width="240" rowspan=5><div align="center"> <a href="<%=rs("PhotoUrl")%>"><img onmousewheel="return bbimg(this)" src="<%if rs("PhotoUrl")="" then%>Img/nopic.gif<%else%><%=rs("PhotoUrl")%><%end if%>" alt="<%=rs("title")%>" width="150" height="150" border="0" onload="javascript:DrawImage(this);"></a> </div></TD>
                </TR>
                <TR>
                  <td height="30" bgcolor="#FFFFFF" >&nbsp;文件大小：<%=rs("FileSize")%></TD>
                </TR>
                <TR>
                  <td height="30" bgcolor="#FFFFFF">&nbsp;运行环境：<%=rs("System")%></TD>
                </TR>
                <TR>
                  <td height="30" bgcolor="#FFFFFF" >&nbsp;整理日期：<%=FormatDateTime(rs("AddDate"),2)%></TD>
                </TR>
                <TR>
                  <td height="30" bgcolor="#FFFFFF" >&nbsp;下载次数：<%=rs("Hits")%></TD>
                </TR>
              </TABLE>
              <br>
              <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td><TABLE cellSpacing=0 cellPadding=0 width="100%" 
                              border=0>
                      <TBODY>
                        <TR>
                          <TD class="title_b"></TD>
                          <TD><TABLE cellSpacing=0 cellPadding=0 width="100%" 
                                border=0>
                              <TBODY>
                                <TR>
                                  <TD width=98 class="title_c">下载地址</TD>
                                  <TD width="555" class="title_right">　</TD>
                                </TR>
                              </TBODY>
                          </TABLE></TD>
                        </TR>
                        <TR>
                          <TD vAlign=bottom colSpan=2 height=5><TABLE cellSpacing=0 cellPadding=0 width="100%" 
                                border=0>
                              <TBODY>
                                <TR>
                                  <TD bgColor=#e3e3e3 
                                height=1></TD>
                                </TR>
                              </TBODY>
                          </TABLE></TD>
                        </TR>
                      </TBODY>
                    </TABLE></td>
                </tr>
                <tr>
                  <td height="35">　┊<a href="<%=rs("DownloadUrl")%>" target=_blank><font color="#FF0000">下载地址</font></a>┊</td>
                </tr>
                <tr>
                  <td><TABLE cellSpacing=0 cellPadding=0 width="100%" 
                              border=0>
                      <TBODY>
                        <TR>
                          <TD class="title_b"></TD>
                          <TD><TABLE cellSpacing=0 cellPadding=0 width="100%" 
                                border=0>
                              <TBODY>
                                <TR>
                                  <TD width=98 class="title_c">下载说明</TD>
                                  <TD width="555" class="title_right">　</TD>
                                </TR>
                              </TBODY>
                          </TABLE></TD>
                        </TR>
                        <TR>
                          <TD vAlign=bottom colSpan=2 height=5><TABLE cellSpacing=0 cellPadding=0 width="100%" 
                                border=0>
                              <TBODY>
                                <TR>
                                  <TD bgColor=#e3e3e3 
                                height=1></TD>
                                </TR>
                              </TBODY>
                          </TABLE></TD>
                        </TR>
                      </TBODY>
                    </TABLE></td>
                </tr>
              </table>
            <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td height="10"></td>
                </tr>
                <tr>
                  <td><%=rs("Content")%></td>
                </tr>
            </table></TD>
        </TR>
        <TR>
          <TD colspan="3" background=img/naBialym.gif><IMG height=1 src="img/1x1_pix.gif" 
              width=10></TD>
        </TR>
        <TR>
          <TD height="19" colspan="2"><div align="right">【<a href='javascript:history.back()'>返回</a>】</div>
              <div align="center"></div></TD>
        </TR>
      </table></td>
    <TD width=1 background=images/MainLine.gif></TD>    
    <TD width="79" > </TD>
  </tr>
</table>
<!-- #include file="Inc/Foot.asp" -->
</BODY></HTML>
<%
end if
rs.close
set rs=nothing
call CloseConn()
%>