- <%@ Page language="c#" Codebehind="fmNewFile.aspx.cs" AutoEventWireup="false" Inherits="qminoa.Webs.FM.fmNewFile" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <HTML>
- <HEAD>
- <title></title>
- <meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
- <meta content="Visual C# 7.0" name="CODE_LANGUAGE">
- <meta content="JavaScript" name="vs_defaultClientScript">
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <LINK href="../lynn.css" type="text/css" rel="stylesheet">
- </HEAD>
- <body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" MS_POSITIONING="GridLayout">
- <form id="Form1" method="post" encType="multipart/form-data" runat="server">
- <FONT face="宋体">
- <TABLE style="WIDTH: 100%; POSITION: absolute; HEIGHT: 100%" cellSpacing="0" cellPadding="0" width="734" border="0">
- <TR>
- <TD style="HEIGHT: 12px" vAlign="top" noWrap align="middle" height="14"></TD>
- </TR>
- <TR>
- <TD vAlign="top" noWrap align="middle">
- <TABLE id="Table1" cellSpacing="0" cellPadding="1" width="300" bgColor="black" border="0">
- <TR>
- <TD>
- <TABLE id="Table2" style="WIDTH: 501px; HEIGHT: 100%" cellSpacing="0" cellPadding="0" bgColor="white" border="0">
- <TR>
- <TD style="WIDTH: 544px" vAlign="top" noWrap align="left">
- <TABLE id="Table3" cellSpacing="0" cellPadding="0" width="100%" border="0">
- <TR>
- <TD noWrap><IMG alt="" src="img/button/filepro.gif" align="absBottom">
- </TD>
- </TR>
- </TABLE>
- <TABLE id="Table4" style="WIDTH: 100%" cellSpacing="0" cellPadding="0" border="0">
- <TR>
- <TD class="boxform" style="PADDING-RIGHT: 15px; PADDING-LEFT: 20px; PADDING-BOTTOM: 15px; WIDTH: 59800%; PADDING-TOP: 20px" vAlign="top" noWrap align="left">
- <DIV style="WIDTH: 100%; POSITION: relative; HEIGHT: 168px" ms_positioning="GridLayout">
- <asp:label id="Label1" style="Z-INDEX: 101; LEFT: 1px; POSITION: absolute; TOP: 1px" runat="server" Height="20px" CssClass="tttable">文件名</asp:label>
- <asp:textbox id="txtFileName" style="Z-INDEX: 102; LEFT: 64px; POSITION: absolute; TOP: 1px" runat="server" Height="23px" Width="430px" BorderStyle="Inset"></asp:textbox>
- <asp:label id="Label2" style="Z-INDEX: 103; LEFT: 2px; POSITION: absolute; TOP: 30px" runat="server" CssClass="tttable">位置</asp:label>
- <asp:label id="Label4" style="Z-INDEX: 104; LEFT: 3px; POSITION: absolute; TOP: 83px" runat="server" CssClass="tttable">备注</asp:label>
- <asp:textbox id="txtNote" style="Z-INDEX: 105; LEFT: 64px; POSITION: absolute; TOP: 85px" runat="server" Height="41px" Width="435px" BorderStyle="Inset" TextMode="MultiLine"></asp:textbox>
- <asp:label id="Label3" style="Z-INDEX: 106; LEFT: 0px; POSITION: absolute; TOP: 58px" runat="server" CssClass="tttable">关键字</asp:label>
- <asp:textbox id="txtKeyWord" style="Z-INDEX: 107; LEFT: 64px; POSITION: absolute; TOP: 57px" runat="server" CssClass="edline" Width="434px" BorderStyle="Inset"></asp:textbox>
- <asp:requiredfieldvalidator id="RequiredFieldValidator1" style="Z-INDEX: 120; LEFT: 496px; POSITION: absolute; TOP: 5px" runat="server" CssClass="err" ErrorMessage="文件名不能为空" ControlToValidate="txtFileName" Font-Size="X-Small">*</asp:requiredfieldvalidator>
- <asp:label id="lblFileLoc" style="Z-INDEX: 121; LEFT: 64px; POSITION: absolute; TOP: 29px" runat="server" CssClass="td" Font-Size="X-Small"></asp:label>
- <HR style="Z-INDEX: 123; WIDTH: 100%; POSITION: absolute; TOP: 136px; HEIGHT: 1px" width="100" SIZE="1">
- <asp:label id="Label6" style="Z-INDEX: 124; LEFT: 1px; POSITION: absolute; TOP: 145px" runat="server" CssClass="tttable">创建时间</asp:label>
- <asp:label id="lblCDate" style="Z-INDEX: 125; LEFT: 65px; POSITION: absolute; TOP: 146px" runat="server" Font-Size="X-Small"></asp:label>
- <asp:label id="Label7" style="Z-INDEX: 126; LEFT: 350px; POSITION: absolute; TOP: 145px" runat="server" Font-Size="X-Small">所有者</asp:label>
- <asp:label id="lblEName" style="Z-INDEX: 127; LEFT: 404px; POSITION: absolute; TOP: 148px" runat="server" Font-Size="X-Small"></asp:label></DIV>
- <TABLE id="Table5" style="WIDTH: 100%; HEIGHT: 10px" cellSpacing="0" cellPadding="0" border="0">
- <TR>
- <TD style="WIDTH: 72px" vAlign="top" noWrap width="72">
- <asp:linkbutton id="cmdFileIco" runat="server" Height="26px" CssClass="td" Width="84px" Font-Size="X-Small" CausesValidation="False">文件图标>></asp:linkbutton></TD>
- <TD noWrap width="100%">
- <DIV id="DIV1" style="LEFT: 0px; WIDTH: 100%; POSITION: relative; TOP: 0px; HEIGHT: 57px" runat="server" ms_positioning="GridLayout" Visible="false" CausesValidation="False">
- <asp:radiobutton id="rdoOther" style="Z-INDEX: 129; LEFT: 1px; POSITION: absolute; TOP: 3px" runat="server" ToolTip="默认文件图标" Text="<img src=img/button/other.gif align=absmiddle>" GroupName="type"></asp:radiobutton>
- <asp:radiobutton id="rdoWord" style="Z-INDEX: 129; LEFT: 65px; POSITION: absolute; TOP: 3px" runat="server" Width="39px" ToolTip="微软Word文档" Text="<img src=img/button/word.gif align=absmiddle>" GroupName="type"></asp:radiobutton>
- <asp:radiobutton id="rdoExcel" style="Z-INDEX: 129; LEFT: 132px; POSITION: absolute; TOP: 3px" runat="server" ToolTip="微软电子表格文档" Text="<img src=img/button/excel.gif align=absmiddle>" GroupName="type"></asp:radiobutton>
- <asp:radiobutton id="rdoPpt" style="Z-INDEX: 129; LEFT: 196px; POSITION: absolute; TOP: 3px" runat="server" ToolTip="微软PowerPoint演示文档" Text="<img src=img/button/ppt.gif align=absmiddle>" GroupName="type"></asp:radiobutton>
- <asp:radiobutton id="rdoAccess" style="Z-INDEX: 129; LEFT: 260px; POSITION: absolute; TOP: 3px" runat="server" ToolTip="微软Access文档" Text="<img src=img/button/access.gif align=absmiddle>" GroupName="type"></asp:radiobutton>
- <asp:radiobutton id="rdoHtml" style="Z-INDEX: 129; LEFT: 328px; POSITION: absolute; TOP: 3px" runat="server" ToolTip="超文本文档" Text="<img src=img/button/html.gif align=absmiddle>" GroupName="type"></asp:radiobutton>
- <asp:radiobutton id="rdoBmp" style="Z-INDEX: 129; LEFT: 0px; POSITION: absolute; TOP: 30px" runat="server" ToolTip="图片文档" Text="<img src=img/button/bmp.gif align=absmiddle>" GroupName="type"></asp:radiobutton>
- <asp:radiobutton id="rdoZip" style="Z-INDEX: 129; LEFT: 65px; POSITION: absolute; TOP: 30px" runat="server" ToolTip="压缩文档" Text="<img src=img/button/zip.gif align=absmiddle>" GroupName="type"></asp:radiobutton>
- <asp:radiobutton id="rdoNote" style="Z-INDEX: 129; LEFT: 130px; POSITION: absolute; TOP: 30px" runat="server" ToolTip="文本文档" Text="<img src=img/button/note1.gif align=absmiddle>" GroupName="type"></asp:radiobutton>
- <asp:radiobutton id="rdoMedia" style="Z-INDEX: 129; LEFT: 195px; POSITION: absolute; TOP: 30px" runat="server" ToolTip="多媒体文档" Text="<img src=img/button/media.gif align=absmiddle>" GroupName="type"></asp:radiobutton>
- <asp:radiobutton id="rdoPdf" style="Z-INDEX: 129; LEFT: 260px; POSITION: absolute; TOP: 30px" runat="server" ToolTip="Adobe Acrobat文档" Text="<img src=img/button/pdf.gif align=absmiddle>" GroupName="type"></asp:radiobutton>
- <asp:radiobutton id="rdoExe" style="Z-INDEX: 129; LEFT: 328px; POSITION: absolute; TOP: 30px" runat="server" ToolTip="执行文件" Text="<img src=img/button/exe.gif align=absmiddle>" GroupName="type"></asp:radiobutton></DIV>
- </TD>
- </TR>
- </TABLE>
- <HR width="100%" SIZE="1">
- <asp:datagrid id="dgdFileInf" runat="server" CssClass="table" Width="100%" BorderStyle="Solid" AllowSorting="True" PageSize="1" CellPadding="2" BorderColor="#F7F7F7" AutoGenerateColumns="False" BorderWidth="1px" BackColor="#F7F7F7" GridLines="None" ForeColor="Black">
- <SelectedItemStyle BackColor="Transparent"></SelectedItemStyle>
- <EditItemStyle ForeColor="Black" BackColor="Black"></EditItemStyle>
- <AlternatingItemStyle BorderColor="White" BackColor="White"></AlternatingItemStyle>
- <ItemStyle CssClass="textcenter" BackColor="#DEDFDE"></ItemStyle>
- <HeaderStyle CssClass="headcenter"></HeaderStyle>
- <FooterStyle CssClass="headcenter"></FooterStyle>
- <Columns>
- <asp:BoundColumn Visible="False" DataField="fileId" HeaderText="主键"></asp:BoundColumn>
- <asp:HyperLinkColumn Target="_blank" DataNavigateUrlField="fileId" DataNavigateUrlFormatString="Download.aspx?fid={0}" DataTextField="fname" HeaderText="名称"></asp:HyperLinkColumn>
- <asp:BoundColumn DataField="size" ReadOnly="True" HeaderText="大小(KB)">
- <HeaderStyle Wrap="False" HorizontalAlign="Center"></HeaderStyle>
- <ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="Ftype" HeaderText="类型">
- <HeaderStyle Wrap="False"></HeaderStyle>
- <ItemStyle Wrap="False"></ItemStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="cdate" ReadOnly="True" HeaderText="创建时间">
- <HeaderStyle Wrap="False" HorizontalAlign="Center"></HeaderStyle>
- <ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
- </asp:BoundColumn>
- <asp:ButtonColumn Text="<img src=img/delete.gif border=0 alt=删除/>" CommandName="Delete">
- <HeaderStyle HorizontalAlign="Center" Width="10px"></HeaderStyle>
- <ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
- </asp:ButtonColumn>
- </Columns>
- <PagerStyle HorizontalAlign="Center" ForeColor="DarkSlateBlue" BackColor="PaleGoldenrod"></PagerStyle>
- </asp:datagrid>
- <TABLE id="Table6" style="WIDTH: 100%; HEIGHT: 15px" cellSpacing="0" cellPadding="0" border="0">
- <TR>
- <TD class="td" style="COLOR: #009999" vAlign="top" noWrap align="left">操作提示:请在文件名处单击右键,并选取"目标另存为"以下载文件!</TD>
- </TR>
- <TR>
- <TD vAlign="top" noWrap align="middle" height="10"></TD>
- </TR>
- </TABLE>
- <TABLE id="Table7" style="WIDTH: 100%; HEIGHT: 1px" cellSpacing="0" cellPadding="0" border="0">
- <TR>
- <TD class="tttable" style="WIDTH: 56px; HEIGHT: 1px" vAlign="top" noWrap align="left">
- <asp:label id="lblFileName" runat="server" Font-Size="X-Small">文件名:</asp:label></TD>
- <TD class="td" style="WIDTH: 365px; HEIGHT: 20px" vAlign="top" noWrap align="left">
- <INPUT id="File1" style="WIDTH: 372px; HEIGHT: 20px" type="file" size="42" name="File1" runat="server">
- </TD>
- <TD class="td" style="WIDTH: 74px; HEIGHT: 1px" vAlign="top" noWrap align="left">
- <asp:button id="cmdUpFile" runat="server" Height="20px" CssClass="td" Width="61px" Text="上传" CausesValidation="False"></asp:button></TD>
- </TR>
- </TABLE>
- <TABLE id="Table8" cellSpacing="0" cellPadding="0" width="100%" border="0">
- <TR>
- <TD noWrap>
- <HR style="WIDTH: 100%; HEIGHT: 1px" width="1" SIZE="1">
- </TD>
- </TR>
- </TABLE>
- <TABLE id="Table9" style="WIDTH: 100%; HEIGHT: 18px" cellSpacing="0" cellPadding="0" border="0">
- <TR>
- <TD class="td" style="WIDTH: 70px" noWrap>
- <asp:linkbutton id="cmdRightSet" runat="server" Height="30px" Width="87px" Font-Size="X-Small" CausesValidation="False">权限设定>></asp:linkbutton></TD>
- <TD class="td" style="WIDTH: 83px" noWrap><FONT size="3"></FONT></TD>
- <TD class="td" style="WIDTH: 102px" noWrap></TD>
- <TD class="td" style="WIDTH: 160px" noWrap align="right"></TD>
- <TD class="td" noWrap width="80">
- <asp:linkbutton id="cmdRightAdd" runat="server" Height="14px" Width="84px" Visible="False" Font-Size="X-Small"><img src="img/add.gif" border="0" align="absbottom" Visible="False"> 新增...</asp:linkbutton></TD>
- </TR>
- </TABLE>
- <asp:datagrid id="dgdRight" runat="server" CssClass="td" Width="100%" BorderStyle="Solid" Visible="False" CellPadding="2" BorderColor="#F7F7F7" AutoGenerateColumns="False" BorderWidth="1px" BackColor="#F7F7F7" GridLines="None" ForeColor="Black" DataKeyField="conid">
- <SelectedItemStyle BackColor="Transparent"></SelectedItemStyle>
- <EditItemStyle ForeColor="Black" BackColor="Black"></EditItemStyle>
- <AlternatingItemStyle BorderColor="White" BackColor="White"></AlternatingItemStyle>
- <ItemStyle CssClass="textcenter" BackColor="#DEDFDE"></ItemStyle>
- <HeaderStyle CssClass="headcenter"></HeaderStyle>
- <FooterStyle CssClass="headcenter"></FooterStyle>
- <Columns>
- <asp:BoundColumn Visible="False" DataField="ConId" HeaderText="key"></asp:BoundColumn>
- <asp:BoundColumn DataField="EmpName" ReadOnly="True" HeaderText="部门/人员"></asp:BoundColumn>
- <asp:TemplateColumn HeaderText="管理">
- <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
- <ItemStyle HorizontalAlign="Center"></ItemStyle>
- <ItemTemplate>
- <asp:RadioButton id="radAdmin" runat="server" Checked='<%# DataBinder.Eval(Container.DataItem,"AdminFlag") %>' GroupName="flag">
- </asp:RadioButton>
- </ItemTemplate>
- </asp:TemplateColumn>
- <asp:TemplateColumn HeaderText="写入">
- <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
- <ItemStyle HorizontalAlign="Center"></ItemStyle>
- <ItemTemplate>
- <asp:RadioButton id="radWrite" runat="server" GroupName="flag" Checked='<%# DataBinder.Eval(Container.DataItem,"WriteFlag") %>'>
- </asp:RadioButton>
- </ItemTemplate>
- <EditItemTemplate>
- <FONT face="宋体"></FONT>
- </EditItemTemplate>
- </asp:TemplateColumn>
- <asp:TemplateColumn HeaderText="读取">
- <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
- <ItemStyle HorizontalAlign="Center"></ItemStyle>
- <ItemTemplate>
- <asp:RadioButton id="radRead" runat="server" Checked='<%# DataBinder.Eval(Container.DataItem,"ReadFlag") %>' GroupName="flag">
- </asp:RadioButton>
- </ItemTemplate>
- </asp:TemplateColumn>
- <asp:ButtonColumn Text="<img src=img/delete.gif border=0 alt=删除 />" CommandName="Delete">
- <HeaderStyle Width="18px"></HeaderStyle>
- </asp:ButtonColumn>
- </Columns>
- <PagerStyle HorizontalAlign="Center" ForeColor="DarkSlateBlue" BackColor="PaleGoldenrod"></PagerStyle>
- </asp:datagrid></TD>
- </TR>
- </TABLE>
- <TABLE id="Table10" style="PADDING-RIGHT: 20px; PADDING-LEFT: 20px" cellSpacing="0" cellPadding="0" width="100%" border="0">
- <TR>
- <TD class="td" noWrap height="10"></TD>
- </TR>
- <TR>
- <TD class="td" noWrap>
- <asp:imagebutton id="cmdSaveExi" runat="server" ImageUrl="img/button/saveexi.gif"></asp:imagebutton>
- <asp:imagebutton id="cmdExit" runat="server" CausesValidation="False" ImageUrl="img/button/exit.gif"></asp:imagebutton></TD>
- </TR>
- </TABLE>
- <asp:validationsummary id="ValidationSummary1" runat="server" ShowSummary="False" ShowMessageBox="True"></asp:validationsummary>
- <asp:label id="lblErr" runat="server" CssClass="err" Font-Size="X-Small"></asp:label>
- <asp:label id="lblID" runat="server" Visible="False" Font-Size="X-Small"></asp:label>
- <asp:label id="lblFileID" runat="server" Visible="False" Font-Size="X-Small"></asp:label>
- <asp:label id="lblURL" runat="server" Visible="False" Font-Size="X-Small"></asp:label></TD>
- </TR>
- </TABLE>
- </TD>
- </TR>
- </TABLE>
- </TD>
- </TR>
- </TABLE>
- </FONT>
- </form>
- </body>
- </HTML>