fmNewFile.aspx
资源名称:ioffice-e.rar [点击查看]
上传用户:kaisitong
上传日期:2022-01-01
资源大小:3672k
文件大小:16k
源码类别:
OA系统
开发平台:
ASP/ASPX
- <%@ Page Language="vb" AutoEventWireup="false" Codebehind="fmNewFile.aspx.vb" Inherits="ioffice.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 Basic 7.0" name="CODE_LANGUAGE">
- <meta content="JavaScript" name="vs_defaultClientScript">
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <LINK href="../../Styles.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 style="WIDTH: 501px; HEIGHT: 100%" cellSpacing="0" cellPadding="0" border="0">
- <TR>
- <TD style="WIDTH: 544px" vAlign="top" noWrap align="left">
- <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
- <TR>
- <TD noWrap>
- <IMG alt="" src="../../img/button/filepro.gif" align="absBottom">
- </TD>
- </TR>
- </TABLE>
- <TABLE 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" CssClass="tttable" Height="20px">文件名</asp:label>
- <asp:textbox id="txtFileName" style="Z-INDEX: 102; LEFT: 64px; POSITION: absolute; TOP: 1px" runat="server" CssClass="edline" Width="428px"></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" 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"></asp:textbox>
- <asp:requiredfieldvalidator id="RequiredFieldValidator1" style="Z-INDEX: 120; LEFT: 496px; POSITION: absolute; TOP: 5px" runat="server" CssClass="err" ControlToValidate="txtFileName" ErrorMessage="文件名不能为空">*</asp:requiredfieldvalidator>
- <asp:label id="lblFileLoc" style="Z-INDEX: 121; LEFT: 64px; POSITION: absolute; TOP: 29px" runat="server" CssClass="td"></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"></asp:label>
- <asp:label id="Label7" style="Z-INDEX: 126; LEFT: 350px; POSITION: absolute; TOP: 145px" runat="server" CssClass="tttable">所有者</asp:label>
- <asp:label id="lblEName" style="Z-INDEX: 127; LEFT: 404px; POSITION: absolute; TOP: 148px" runat="server"></asp:label>
- </DIV>
- <TABLE 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" CssClass="td">文件图标>></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">
- <asp:radiobutton id="rdoOther" style="Z-INDEX: 129; LEFT: 1px; POSITION: absolute; TOP: 3px" runat="server" GroupName="type" Text="<img src=../../img/button/other.gif align=absmiddle>" ToolTip="默认文件图标"></asp:radiobutton>
- <asp:radiobutton id="rdoWord" style="Z-INDEX: 129; LEFT: 65px; POSITION: absolute; TOP: 3px" runat="server" Width="39px" GroupName="type" Text="<img src=../../img/button/word.gif align=absmiddle>" ToolTip="微软Word文档"></asp:radiobutton>
- <asp:radiobutton id="rdoExcel" style="Z-INDEX: 129; LEFT: 132px; POSITION: absolute; TOP: 3px" runat="server" GroupName="type" Text="<img src=../../img/button/excel.gif align=absmiddle>" ToolTip="微软电子表格文档"></asp:radiobutton>
- <asp:radiobutton id="rdoPpt" style="Z-INDEX: 129; LEFT: 196px; POSITION: absolute; TOP: 3px" runat="server" GroupName="type" Text="<img src=../../img/button/ppt.gif align=absmiddle>" ToolTip="微软PowerPoint演示文档"></asp:radiobutton>
- <asp:radiobutton id="rdoAccess" style="Z-INDEX: 129; LEFT: 260px; POSITION: absolute; TOP: 3px" runat="server" GroupName="type" Text="<img src=../../img/button/access.gif align=absmiddle>" ToolTip="微软Access文档"></asp:radiobutton>
- <asp:radiobutton id="rdoHtml" style="Z-INDEX: 129; LEFT: 328px; POSITION: absolute; TOP: 3px" runat="server" GroupName="type" Text="<img src=../../img/button/html.gif align=absmiddle>" ToolTip="超文本文档"></asp:radiobutton>
- <asp:radiobutton id="rdoBmp" style="Z-INDEX: 129; LEFT: 0px; POSITION: absolute; TOP: 30px" runat="server" GroupName="type" Text="<img src=../../img/button/bmp.gif align=absmiddle>" ToolTip="图片文档"></asp:radiobutton>
- <asp:radiobutton id="rdoZip" style="Z-INDEX: 129; LEFT: 65px; POSITION: absolute; TOP: 30px" runat="server" GroupName="type" Text="<img src=../../img/button/zip.gif align=absmiddle>" ToolTip="压缩文档"></asp:radiobutton>
- <asp:radiobutton id="rdoNote" style="Z-INDEX: 129; LEFT: 130px; POSITION: absolute; TOP: 30px" runat="server" GroupName="type" Text="<img src=../../img/button/note1.gif align=absmiddle>" ToolTip="文本文档"></asp:radiobutton>
- <asp:radiobutton id="rdoMedia" style="Z-INDEX: 129; LEFT: 195px; POSITION: absolute; TOP: 30px" runat="server" GroupName="type" Text="<img src=../../img/button/media.gif align=absmiddle>" ToolTip="多媒体文档"></asp:radiobutton>
- <asp:radiobutton id="rdoPdf" style="Z-INDEX: 129; LEFT: 260px; POSITION: absolute; TOP: 30px" runat="server" GroupName="type" Text="<img src=../../img/button/pdf.gif align=absmiddle>" ToolTip="Adobe Acrobat文档"></asp:radiobutton>
- <asp:radiobutton id="rdoExe" style="Z-INDEX: 129; LEFT: 328px; POSITION: absolute; TOP: 30px" runat="server" GroupName="type" Text="<img src=../../img/button/exe.gif align=absmiddle>" ToolTip="执行文件"></asp:radiobutton>
- </DIV>
- </TD>
- </TR>
- </TABLE>
- <HR width="100%" SIZE="1">
- <asp:datagrid id="dgdFileInf" runat="server" CssClass="td" Width="100%" DataKeyField="fileid" AutoGenerateColumns="False" BorderColor="#999999" CellPadding="0" PageSize="1" AllowSorting="True">
- <HeaderStyle CssClass="tttable" BackColor="#D8C8A8"></HeaderStyle>
- <Columns>
- <asp:HyperLinkColumn Target="_blank" DataNavigateUrlField="fileid" DataNavigateUrlFormatString="download.aspx?fileid={0}" DataTextField="name" HeaderText="名称">
- <HeaderStyle Wrap="False"></HeaderStyle>
- </asp:HyperLinkColumn>
- <asp:BoundColumn DataField="size" ReadOnly="True" HeaderText="大小">
- <HeaderStyle Wrap="False" HorizontalAlign="Center"></HeaderStyle>
- <ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="type" 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>
- </asp:datagrid>
- <TABLE 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 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">文件名:</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" CssClass="td" Height="20px" Width="61px" Text="上传" CausesValidation="False"></asp:button>
- </TD>
- </TR>
- </TABLE>
- <TABLE 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 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">权限设定>></asp:linkbutton>
- </TD>
- <TD class="td" style="WIDTH: 83px" noWrap>
- <FONT size="3">
- <asp:radiobutton id="rdoRight1" runat="server" CssClass="td" GroupName="flag" Text="权限继承" Checked="True" AutoPostBack="True"></asp:radiobutton>
- </FONT>
- </TD>
- <TD class="td" style="WIDTH: 102px" noWrap>
- <asp:radiobutton id="rdoRight2" runat="server" CssClass="td" GroupName="flag" Text="自定义权限" AutoPostBack="True"></asp:radiobutton>
- </TD>
- <TD class="td" noWrap align="right">
- <asp:linkbutton id="cmdGetOwner" runat="server"><img src="../../img/prvlg.gif" border="0" align="absbottom"> 取得所有权</asp:linkbutton>
- </TD>
- <TD class="td" noWrap width="80">
- <asp:linkbutton id="cmdRightAdd" runat="server"><img src="../../img/add.gif" border="0" align="absbottom"> 新增...</asp:linkbutton>
- </TD>
- </TR>
- </TABLE>
- <asp:datagrid id="dgdRight" runat="server" CssClass="td" Width="100%" DataKeyField="conid" AutoGenerateColumns="False" BorderColor="#999999" Visible="False">
- <HeaderStyle CssClass="tttable" BackColor="#D8C8A8"></HeaderStyle>
- <Columns>
- <asp:BoundColumn DataField="dname" ReadOnly="True" HeaderText="部门/员工"></asp:BoundColumn>
- <asp:BoundColumn DataField="bname" ReadOnly="True" HeaderText="机构"></asp:BoundColumn>
- <asp:TemplateColumn HeaderText="管理">
- <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
- <ItemStyle HorizontalAlign="Center"></ItemStyle>
- <ItemTemplate>
- <asp:RadioButton id="radAdmin" runat="server" Checked='<%# 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='<%# 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='<%# 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>
- </asp:datagrid>
- </TD>
- </TR>
- </TABLE>
- <TABLE 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="cmdSaveCon" runat="server" ImageUrl="../../img/button/savecon.gif"></asp:imagebutton>
- <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" ShowMessageBox="True" ShowSummary="False"></asp:validationsummary>
- <asp:label id="lblErr" runat="server" CssClass="err"></asp:label>
- <asp:label id="lblID" runat="server" Visible="False"></asp:label>
- <asp:label id="lblFileID" runat="server" Visible="False"></asp:label>
- <asp:label id="lblURL" runat="server" Visible="False"></asp:label>
- </TD>
- </TR>
- </TABLE>
- </TD>
- </TR>
- </TABLE>
- </FONT>
- </form>
- </body>
- </HTML>