<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="view_file.aspx.vb" Inherits="work_plan_web_deploy.view_file" %>

<!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 id="Head1"  runat="server">
<title runat="server" id="title1"></title>
    <link rel="stylesheet" type="text/css" href="lib/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="stylesheets/theme.css">
    <link rel="stylesheet" href="lib/font-awesome/css/font-awesome.css">
<LINK href="site_css2.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="js/html5media/html5media.min.js"></script>
<script type="text/javascript">
    function reinitIframe() {

        try {

            var iframe = document.getElementById("showfile");
            if (iframe !== null) {
                iframe.height = document.documentElement.clientHeight - 72 - document.getElementById("file1").offsetHeight;
            }
            else {
                document.getElementById('file2').style.height = document.documentElement.clientHeight - 72 - document.getElementById("file1").offsetHeight + "px";
            }

        }
        catch (ex) { }

    }
    window.onload = function () {
        reinitIframe();
    }
    window.onresize = function () {
        reinitIframe();
    }  
</script>
</head>
<body>

    <form id="form1" runat="server">
    <div id="file1">
    文件名称：<asp:Label 
            ID="fname" runat="server"></asp:Label>
        　文件大小：<asp:Label ID="fsize" runat="server"></asp:Label>
        　所属任务：<asp:Label ID="taskmc" runat="server"></asp:Label>
        　上传人：<asp:Label ID="lrr" runat="server"></asp:Label>
        　上传时间：<asp:Label ID="addtime" runat="server"></asp:Label>
        　<asp:Button ID="Button1" runat="server" Text="下载文件" />
        　<asp:Button ID="Button2" runat="server" Text="内容刷新" ForeColor="#CC0000" />
        <asp:HiddenField ID="id" runat="server" />
    </div>
    <div id="file2">
        <%=html%>
    </div>
    <div id="file3">
    
        <asp:LinkButton ID="LinkButton1" runat="server" Visible="False">上一文件</asp:LinkButton>
        　　<asp:LinkButton ID="LinkButton2" runat="server" Visible="False">下一文件</asp:LinkButton>
    
    </div>
    </form>

</body>
</html>