fmNewFile.aspx
上传用户:kaisitong
上传日期:2022-01-01
资源大小:3672k
文件大小:16k
源码类别:

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="vb" AutoEventWireup="false" Codebehind="fmNewFile.aspx.vb" Inherits="ioffice.fmNewFile" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  3. <HTML>
  4. <HEAD>
  5. <title></title>
  6. <meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
  7. <meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
  8. <meta content="JavaScript" name="vs_defaultClientScript">
  9. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  10. <LINK href="../../Styles.css" type="text/css" rel="stylesheet">
  11. </HEAD>
  12. <body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" MS_POSITIONING="GridLayout">
  13. <form id="Form1" method="post" encType="multipart/form-data" runat="server">
  14. <FONT face="宋体">
  15. <TABLE style="WIDTH: 100%; POSITION: absolute; HEIGHT: 100%" cellSpacing="0" cellPadding="0" width="734" border="0">
  16. <TR>
  17. <TD style="HEIGHT: 12px" vAlign="top" noWrap align="middle" height="14">
  18. </TD>
  19. </TR>
  20. <TR>
  21. <TD vAlign="top" noWrap align="middle">
  22. <TABLE style="WIDTH: 501px; HEIGHT: 100%" cellSpacing="0" cellPadding="0" border="0">
  23. <TR>
  24. <TD style="WIDTH: 544px" vAlign="top" noWrap align="left">
  25. <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
  26. <TR>
  27. <TD noWrap>
  28. <IMG alt="" src="../../img/button/filepro.gif" align="absBottom">
  29. </TD>
  30. </TR>
  31. </TABLE>
  32. <TABLE style="WIDTH: 100%" cellSpacing="0" cellPadding="0" border="0">
  33. <TR>
  34. <TD class="boxform" style="PADDING-RIGHT: 15px; PADDING-LEFT: 20px; PADDING-BOTTOM: 15px; WIDTH: 59800%; PADDING-TOP: 20px" vAlign="top" noWrap align="left">
  35. <DIV style="WIDTH: 100%; POSITION: relative; HEIGHT: 168px" ms_positioning="GridLayout">
  36. <asp:label id="Label1" style="Z-INDEX: 101; LEFT: 1px; POSITION: absolute; TOP: 1px" runat="server" CssClass="tttable" Height="20px">文件名</asp:label>
  37. <asp:textbox id="txtFileName" style="Z-INDEX: 102; LEFT: 64px; POSITION: absolute; TOP: 1px" runat="server" CssClass="edline" Width="428px"></asp:textbox>
  38. <asp:label id="Label2" style="Z-INDEX: 103; LEFT: 2px; POSITION: absolute; TOP: 30px" runat="server" CssClass="tttable">位置</asp:label>
  39. <asp:label id="Label4" style="Z-INDEX: 104; LEFT: 3px; POSITION: absolute; TOP: 83px" runat="server" CssClass="tttable">备注</asp:label>
  40. <asp:textbox id="txtNote" style="Z-INDEX: 105; LEFT: 64px; POSITION: absolute; TOP: 85px" runat="server" Height="41px" Width="435px" TextMode="MultiLine"></asp:textbox>
  41. <asp:label id="Label3" style="Z-INDEX: 106; LEFT: 0px; POSITION: absolute; TOP: 58px" runat="server" CssClass="tttable">关键字</asp:label>
  42. <asp:textbox id="txtKeyWord" style="Z-INDEX: 107; LEFT: 64px; POSITION: absolute; TOP: 57px" runat="server" CssClass="edline" Width="434px"></asp:textbox>
  43. <asp:requiredfieldvalidator id="RequiredFieldValidator1" style="Z-INDEX: 120; LEFT: 496px; POSITION: absolute; TOP: 5px" runat="server" CssClass="err" ControlToValidate="txtFileName" ErrorMessage="文件名不能为空">*</asp:requiredfieldvalidator>
  44. <asp:label id="lblFileLoc" style="Z-INDEX: 121; LEFT: 64px; POSITION: absolute; TOP: 29px" runat="server" CssClass="td"></asp:label>
  45. <HR style="Z-INDEX: 123; WIDTH: 100%; POSITION: absolute; TOP: 136px; HEIGHT: 1px" width="100" SIZE="1">
  46. <asp:label id="Label6" style="Z-INDEX: 124; LEFT: 1px; POSITION: absolute; TOP: 145px" runat="server" CssClass="tttable">创建时间</asp:label>
  47. <asp:label id="lblCDate" style="Z-INDEX: 125; LEFT: 65px; POSITION: absolute; TOP: 146px" runat="server"></asp:label>
  48. <asp:label id="Label7" style="Z-INDEX: 126; LEFT: 350px; POSITION: absolute; TOP: 145px" runat="server" CssClass="tttable">所有者</asp:label>
  49. <asp:label id="lblEName" style="Z-INDEX: 127; LEFT: 404px; POSITION: absolute; TOP: 148px" runat="server"></asp:label>
  50. </DIV>
  51. <TABLE style="WIDTH: 100%; HEIGHT: 10px" cellSpacing="0" cellPadding="0" border="0">
  52. <TR>
  53. <TD style="WIDTH: 72px" vAlign="top" noWrap width="72">
  54. <asp:linkbutton id="cmdFileIco" runat="server" CssClass="td">文件图标>></asp:linkbutton>
  55. </TD>
  56. <TD noWrap width="100%">
  57. <DIV id="DIV1" style="LEFT: 0px; WIDTH: 100%; POSITION: relative; TOP: 0px; HEIGHT: 57px" runat="server" ms_positioning="GridLayout">
  58. <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>
  59. <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>
  60. <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>
  61. <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>
  62. <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>
  63. <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>
  64. <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>
  65. <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>
  66. <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>
  67. <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>
  68. <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>
  69. <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>
  70. </DIV>
  71. </TD>
  72. </TR>
  73. </TABLE>
  74. <HR width="100%" SIZE="1">
  75. <asp:datagrid id="dgdFileInf" runat="server" CssClass="td" Width="100%" DataKeyField="fileid" AutoGenerateColumns="False" BorderColor="#999999" CellPadding="0" PageSize="1" AllowSorting="True">
  76. <HeaderStyle CssClass="tttable" BackColor="#D8C8A8"></HeaderStyle>
  77. <Columns>
  78. <asp:HyperLinkColumn Target="_blank" DataNavigateUrlField="fileid" DataNavigateUrlFormatString="download.aspx?fileid={0}" DataTextField="name" HeaderText="名称">
  79. <HeaderStyle Wrap="False"></HeaderStyle>
  80. </asp:HyperLinkColumn>
  81. <asp:BoundColumn DataField="size" ReadOnly="True" HeaderText="大小">
  82. <HeaderStyle Wrap="False" HorizontalAlign="Center"></HeaderStyle>
  83. <ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
  84. </asp:BoundColumn>
  85. <asp:BoundColumn DataField="type" HeaderText="类型">
  86. <HeaderStyle Wrap="False"></HeaderStyle>
  87. <ItemStyle Wrap="False"></ItemStyle>
  88. </asp:BoundColumn>
  89. <asp:BoundColumn DataField="cdate" ReadOnly="True" HeaderText="创建时间">
  90. <HeaderStyle Wrap="False" HorizontalAlign="Center"></HeaderStyle>
  91. <ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
  92. </asp:BoundColumn>
  93. <asp:ButtonColumn Text="&lt;img src=../../img/delete.gif border=0 alt=删除/&gt;" CommandName="Delete">
  94. <HeaderStyle HorizontalAlign="Center" Width="10px"></HeaderStyle>
  95. <ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
  96. </asp:ButtonColumn>
  97. </Columns>
  98. </asp:datagrid>
  99. <TABLE style="WIDTH: 100%; HEIGHT: 15px" cellSpacing="0" cellPadding="0" border="0">
  100. <TR>
  101. <TD class="td" style="COLOR: #009999" vAlign="top" noWrap align="left">操作提示:请在文件名处单击右键,并选取"目标另存为"以下载文件!</TD>
  102. </TR>
  103. <TR>
  104. <TD vAlign="top" noWrap align="middle" height="10">
  105. </TD>
  106. </TR>
  107. </TABLE>
  108. <TABLE style="WIDTH: 100%; HEIGHT: 1px" cellSpacing="0" cellPadding="0" border="0">
  109. <TR>
  110. <TD class="tttable" style="WIDTH: 56px; HEIGHT: 1px" vAlign="top" noWrap align="left">
  111. <asp:label id="lblFileName" runat="server">文件名:</asp:label>
  112. </TD>
  113. <TD class="td" style="WIDTH: 365px; HEIGHT: 20px" vAlign="top" noWrap align="left">
  114. <INPUT id="File1" style="WIDTH: 372px; HEIGHT: 20px" type="file" size="42" name="File1" runat="server">
  115. </TD>
  116. <TD class="td" style="WIDTH: 74px; HEIGHT: 1px" vAlign="top" noWrap align="left">
  117. <asp:button id="cmdUpFile" runat="server" CssClass="td" Height="20px" Width="61px" Text="上传" CausesValidation="False"></asp:button>
  118. </TD>
  119. </TR>
  120. </TABLE>
  121. <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
  122. <TR>
  123. <TD noWrap>
  124. <HR style="WIDTH: 100%; HEIGHT: 1px" width="1" SIZE="1">
  125. </TD>
  126. </TR>
  127. </TABLE>
  128. <TABLE style="WIDTH: 100%; HEIGHT: 18px" cellSpacing="0" cellPadding="0" border="0">
  129. <TR>
  130. <TD class="td" style="WIDTH: 70px" noWrap>
  131. <asp:linkbutton id="cmdRightSet" runat="server">权限设定>></asp:linkbutton>
  132. </TD>
  133. <TD class="td" style="WIDTH: 83px" noWrap>
  134. <FONT size="3">
  135. <asp:radiobutton id="rdoRight1" runat="server" CssClass="td" GroupName="flag" Text="权限继承" Checked="True" AutoPostBack="True"></asp:radiobutton>
  136. </FONT>
  137. </TD>
  138. <TD class="td" style="WIDTH: 102px" noWrap>
  139. <asp:radiobutton id="rdoRight2" runat="server" CssClass="td" GroupName="flag" Text="自定义权限" AutoPostBack="True"></asp:radiobutton>
  140. </TD>
  141. <TD class="td" noWrap align="right">
  142. <asp:linkbutton id="cmdGetOwner" runat="server"><img src="../../img/prvlg.gif" border="0" align="absbottom">&nbsp;取得所有权</asp:linkbutton>
  143. </TD>
  144. <TD class="td" noWrap width="80">
  145. <asp:linkbutton id="cmdRightAdd" runat="server"><img src="../../img/add.gif" border="0" align="absbottom">&nbsp;新增...</asp:linkbutton>
  146. </TD>
  147. </TR>
  148. </TABLE>
  149. <asp:datagrid id="dgdRight" runat="server" CssClass="td" Width="100%" DataKeyField="conid" AutoGenerateColumns="False" BorderColor="#999999" Visible="False">
  150. <HeaderStyle CssClass="tttable" BackColor="#D8C8A8"></HeaderStyle>
  151. <Columns>
  152. <asp:BoundColumn DataField="dname" ReadOnly="True" HeaderText="部门/员工"></asp:BoundColumn>
  153. <asp:BoundColumn DataField="bname" ReadOnly="True" HeaderText="机构"></asp:BoundColumn>
  154. <asp:TemplateColumn HeaderText="管理">
  155. <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
  156. <ItemStyle HorizontalAlign="Center"></ItemStyle>
  157. <ItemTemplate>
  158. <asp:RadioButton id="radAdmin" runat="server" Checked='<%# Container.DataItem("adminflag") %>' GroupName="flag">
  159. </asp:RadioButton>
  160. </ItemTemplate>
  161. </asp:TemplateColumn>
  162. <asp:TemplateColumn HeaderText="写入">
  163. <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
  164. <ItemStyle HorizontalAlign="Center"></ItemStyle>
  165. <ItemTemplate>
  166. <asp:RadioButton id="radWrite" runat="server" GroupName="flag" Checked='<%# Container.DataItem("writeflag") %>'>
  167. </asp:RadioButton>
  168. </ItemTemplate>
  169. <EditItemTemplate>
  170. <FONT face="宋体"></FONT>
  171. </EditItemTemplate>
  172. </asp:TemplateColumn>
  173. <asp:TemplateColumn HeaderText="读取">
  174. <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
  175. <ItemStyle HorizontalAlign="Center"></ItemStyle>
  176. <ItemTemplate>
  177. <asp:RadioButton id="radRead" runat="server" Checked='<%# Container.DataItem("readflag") %>' GroupName="flag">
  178. </asp:RadioButton>
  179. </ItemTemplate>
  180. </asp:TemplateColumn>
  181. <asp:ButtonColumn Text="&lt;img src=../../img/delete.gif border=0 alt=删除 /&gt;" CommandName="Delete">
  182. <HeaderStyle Width="18px"></HeaderStyle>
  183. </asp:ButtonColumn>
  184. </Columns>
  185. </asp:datagrid>
  186. </TD>
  187. </TR>
  188. </TABLE>
  189. <TABLE style="PADDING-RIGHT: 20px; PADDING-LEFT: 20px" cellSpacing="0" cellPadding="0" width="100%" border="0">
  190. <TR>
  191. <TD class="td" noWrap height="10">
  192. </TD>
  193. </TR>
  194. <TR>
  195. <TD class="td" noWrap>
  196. <asp:imagebutton id="cmdSaveCon" runat="server" ImageUrl="../../img/button/savecon.gif"></asp:imagebutton>
  197. <asp:imagebutton id="cmdSaveExi" runat="server" ImageUrl="../../img/button/saveexi.gif"></asp:imagebutton>
  198. <asp:imagebutton id="cmdExit" runat="server" CausesValidation="False" ImageUrl="../../img/button/exit.gif"></asp:imagebutton>
  199. </TD>
  200. </TR>
  201. </TABLE>
  202. <asp:validationsummary id="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False"></asp:validationsummary>
  203. <asp:label id="lblErr" runat="server" CssClass="err"></asp:label>
  204. <asp:label id="lblID" runat="server" Visible="False"></asp:label>
  205. <asp:label id="lblFileID" runat="server" Visible="False"></asp:label>
  206. <asp:label id="lblURL" runat="server" Visible="False"></asp:label>
  207. </TD>
  208. </TR>
  209. </TABLE>
  210. </TD>
  211. </TR>
  212. </TABLE>
  213. </FONT>
  214. </form>
  215. </body>
  216. </HTML>