<%@ page language="C#" autoeventwireup="true" inherits="admin_file, aoshuosoft" %>

<!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 runat="server">
    <title>系统文件管理</title>
        <link href="admin.css" type="text/css" rel="stylesheet" />
</head>
<script language="javascript">
function scwj()
{
upone.style.display="none";
uptwo.style.display="";
scfile.style.display="none";
}
function TABLE1_onclick() {

}

</script>
<body style =" font-size:12px;">
    <form id="form1" runat="server">
    <div >
        <table border="0" cellpadding="0" cellspacing="0" id="scfile">
            <tr>
                <td >
        <asp:Button ID="up" runat="server" Text="上传文件" OnClick="up_Click" /></td>
        <td><asp:Button ID="cj" runat="server" Text="创建目录" OnClick="cj_Click" /></td>
            </tr>
        </table> 
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td  >
        <asp:Panel ID="one" runat="server" Height="1px" Width="100%" Visible="false">
            <table border="0" cellpadding="3" cellspacing="1" width="100%" style="font-size:12px;" id="TABLE1" onclick="return TABLE1_onclick()">
                <tr id="upone" >
                    <td colspan="2">
            <asp:FileUpload ID="fileup" runat="server" Width="397px" />
            <asp:Button ID="upfile" runat="server" Text="上传" OnClick="upfile_Click" OnClientClick="scwj()" Width="80px" /><br />
                        <asp:Literal ID="yxgs" runat="server"></asp:Literal></td>
                </tr>
                <tr id="uptwo" style=" display:none;">
                    <td style="width: 30%; text-align:right;" >
                        <asp:Image ID="Image1" runat="server" ImageUrl="~/image/loading.gif" /></td>
                     <td style="width:70%;">
                         请稍候，正在上传文件请耐心等待.........</td>
                </tr>
            </table>
        </asp:Panel>
        <asp:Panel ID="cjml" runat="server" Height="50px" Width="100%" Visible="false">
            <table border="0" cellpadding="3" cellspacing="1" style="font-size:12px;" align="center">
                <tr>
                    <td style="width: 100px; text-align:right;">
                        目录名称：</td>
                    <td style="width: 100px">
                        <asp:TextBox ID="mc" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <asp:Button ID="kscj" runat="server" Text="创建" Width="77px" OnClick="kscj_Click" /></td>
                </tr>
            </table>
        </asp:Panel>
                </td>
            </tr>
            <tr>
                <td  >
        <asp:Literal ID="table" runat="server"></asp:Literal></td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
