<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DownLoadFileMng.aspx.cs"
    Inherits="Webdisk.DownLoadFileMng"%>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="Webdisk" %>
<%@ Import Namespace="Webdisk.DAL" %>
<%info.GetFile();%>
<%@ Register Src="Top.ascx" TagName="top" TagPrefix="uc1" %>
<%@ Register Src="bottom.ascx" TagName="bottom" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <link href="themes/default/easyui.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="themes/icon.css" />
    <link href="css/demo.css" rel="stylesheet" type="text/css" />
    <link href="css/common.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery-1.7.1.min.js" type="text/javascript"></script>
    <script src="js/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="js/Common.js" type="text/javascript"></script>
    <script type="text/javascript" language="javascript" src="js/dialog.js"></script>
    <script type="text/javascript" language="javascript" src="js/DownLoadMng.js"></script>
    <title></title>
</head>
<body class="easyui-layout">
    <div data-options="region:'west',split:true,title:'下载排行'" style="width: 250px;">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <%=template.GetCode("downcount")%>
        </table>
    </div>
    <div data-options="region:'center',title:'首页>>文件属性'">
        <div id="loading" style="border-right: #dbdce3 1px solid; border-top: #dbdce3 1px solid;
            display: none; border-left: #dbdce3 1px solid; border-bottom: #dbdce3 1px solid;
            position: absolute; background-color: #ffffae">
            <img src="pics/loading.gif" width="32" height="32" align="absMiddle">
            <b>正在处理，请稍候……</b>
        </div>
        
    <form id="Form1" name="Form1" runat="server">
        <div class="info_right" style="float:left;">
            <div class="title1"><h6><%=info.FileName %></h6><span><a><img src="images/inside_share_btn_1.png" width="62" height="16" /></a><a href=""><img src="images/inside_share_btn_2.png" width="16" height="16" /></a><a href=""><img src="images/inside_share_btn_3.png" width="16" height="16" /></a><a href=""><img src="images/inside_share_btn_4.png" width="16" height="16" /></a><a href=""><img src="images/inside_share_btn_5.png" width="16" height="16" /></a><a href=""><img src="images/inside_share_btn_6.png" width="16" height="16" /></a></span><a class="return" href="">返回</a></div>
            <div class="info_rightcon">
                <div class="DW_text">
                    <p>所属用户： <%=info.UserName%></p>
                    <p>文件大小： <%=info.FileSize%></p>
                    <p>文件类型： <%=info.FileSize%></p>
                    <p>上传时间： <%=info.LastTime%> </p>
                    <p>资源类型： <%=info.zytype%></p>
                    <p>下载次数： <%=info.DownCount%></p>
                    <p>教材版本： <%=info.jcvar%></p>
                    <p>科目： <%=info.km%></p>
                    <p>年级： <%=info.nj%></p>
                    <table>
                        <tr>
                            <td><a href="<%=info.Url%>">立即下载</a></td>
                            <td>&nbsp;</td>
                            <td><a onclick="cutfile('2');" runat="server" id="copyLink">分享到空间</a></td>
                        </tr>
                    </table>
                    <input id="copytype" type="hidden" size="20" />
                    <input id="HdnSelectedValues" type="hidden" size="1" name="HdnSelectedValues" runat="server" />
                    <input id="selpath" type="hidden" size="20" />
                    <input id="txttmp" type="hidden" size="1" runat="server" />
                    <input id="txttmp1" type="hidden" size="1" runat="server" />
                    <input id="txtfileid" type="hidden" size="20" runat="server" />
                    <input id="txtFileUser" type="hidden" size="10" value="<%=info.UserName %>" />
                    <input id="filePath" type="hidden" size="10" value="<%=info.FileName %>.<%=info.FileExt %>" />
                </div>
                <img class="DW_img" src="<%=info.ImgPath %>" />
                <div class="DW_text1">
                    <p><span>资源介绍：</span><%=info.Note%></p>
                </div>
            </div>
        </div>
        </form>
       <%-- <table border="0" align="left" cellpadding="0" cellspacing="0">
            <tr>
                <td valign="top">
                    <table border="0" align="left" cellpadding="0" cellspacing="0" style="font-size: 14px;
                        margin-left: 20px">
                        <tr>
                            <td height="40" colspan="2" align="left" valign="middle" class="text" style="font-size: 18px;
                                padding-left: 20px">
                                <h2>
                                    <%=info.FileName%></h2>
                            </td>
                        </tr>
                        <tr>
                            <td width="100px" height="30" align="left" valign="middle" class="text">
                                <strong>所属用户：</strong>
                            </td>
                            <td align="left" valign="middle" class="text">
                                <%=info.UserName%>
                            </td>
                        </tr>
                        <tr>
                            <td height="30" align="left" valign="middle" class="text">
                                <strong>文件大小：</strong>
                            </td>
                            <td align="left" valign="middle" class="text">
                                <%=info.FileSize%>
                            </td>
                        </tr>
                        <tr>
                            <td height="30" align="left" valign="middle" class="text">
                                <strong>文件类别：</strong>
                            </td>
                            <td align="left" valign="middle" class="text">
                                <%=info.FileExt%>
                            </td>
                        </tr>
                        <tr>
                            <td height="30" align="left" valign="middle" class="text">
                                <strong>上传时间：</strong>
                            </td>
                            <td align="left" valign="middle" class="text">
                                <%=info.LastTime%>
                            </td>
                        </tr>
                        <tr>
                            <td height="30" align="left" valign="middle" class="text">
                                <strong>文件类别：</strong>
                            </td>
                            <td align="left" valign="middle" class="text">
                                <%=info.FileKind%>
                            </td>
                        </tr>
                        <tr>
                            <td height="30" align="left" valign="middle" class="text">
                                <strong>下载次数：</strong>
                            </td>
                            <td align="left" valign="middle" class="text">
                                <%=info.DownCount%>
                            </td>
                        </tr>
                        <tr>
                            <td height="30" align="left" valign="middle" class="text">
                                <strong>文件注释：</strong>
                            </td>
                            <td align="left" valign="middle" class="text">
                                <%=info.Note%>&nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td height="30" align="center" valign="middle" class="text">
                                &nbsp;
                            </td>
                            <td align="left" valign="middle" class="text">
                                <a href="<%=info.browse%>"><a href="<%=info.Url%>&txtfileid=<% if(Request["fileid"]!=null) Response.Write(Request["fileid"].ToString()); %>">
                                    <img src="pics/down.jpg" width="120" height="35" border="0" /></a>
                                    <input id="copytype" type="hidden" size="20" />
                                    <input id="HdnSelectedValues" type="hidden" size="1" name="HdnSelectedValues" runat="server" />
                                    <a onclick="cutfile('2');" runat="server" id="copyLink">
                                        <img src="pics/down.jpg" width="120" height="35" border="0" /></a>
                                    <input id="selpath" type="hidden" size="20" />
                                    <input id="txttmp" type="hidden" size="1" runat="server" />
                                    <input id="txttmp1" type="hidden" size="1" runat="server" />
                                    <input id="txtfileid" type="hidden" size="20" runat="server" />
                                    <input id="txtFileUser" type="hidden" size="10" value="<%=info.UserName %>" />
                                    <input id="filePath" type="hidden" size="10" value="<%=info.FileName %>.<%=info.FileExt %>" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>--%>
    </div>
</body>
</html>
<script type="text/javascript">
    $(function () {
        $("#divLeft").css("height", common.PageHeight() - 350);
    });
</script>
