<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<%@ Page language="c#" Codebehind="PicUpload.aspx.cs" AutoEventWireup="false" Inherits="WebOCRM.Office.PicUpload" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>PicUpload</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<script language="javascript" src="../js/JScript.js"></script>
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" encType="multipart/form-data" runat="server">
			<uc1:css id="Css1" runat="server"></uc1:css>
			<TABLE cellSpacing="1" cellPadding="0" width="100%" border="0">
				<TR>
					<TD class="WsdnOrgTitle1" colSpan="3">
						<P><STRONG>图片中心</STRONG>——管理存储各部门、各分类的日常图片。&nbsp;&nbsp;</P>
					</TD>
				</TR>
				<TR CssClass="WsdnOrgTitle1">
					<TD><asp:label id="Label6" runat="server">文档名称:</asp:label><asp:textbox id="Wsdn_StarCRM_Name" runat="server" Width="65px"></asp:textbox>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<asp:dropdownlist id="DropDownList1" runat="server" Width="57px">
							<asp:ListItem Value="可用">可用</asp:ListItem>
							<asp:ListItem Value="回收站">回收站</asp:ListItem>
						</asp:dropdownlist>&nbsp;<asp:button id="BtSearch" runat="server" Text="搜索"></asp:button>&nbsp;<asp:button id="Btmore" runat="server" Text="更多条件↓"></asp:button>&nbsp;&nbsp;
						<asp:Button id="Btupload" runat="server" Text="上传图片"></asp:Button>&nbsp;
						<asp:button id="BtDel" runat="server" Text="删除"></asp:button></TD>
				<TR>
				<TR CssClass="WsdnOrgTitle1">
					<TD><asp:panel id="Panel2" runat="server" Visible="False">&nbsp; 
<asp:Label id="Label9" runat="server">上传时间:</asp:Label>
<asp:TextBox id="Wsdn_StarCRM_Time" runat="server" Width="65px"></asp:TextBox>&nbsp; 
      <A title="选择时间" href="javascript:OpenCalendar('Wsdn_StarCRM_Time', false)"><IMG src="../image/ftb/insertdate.gif" align="absMiddle" border="0"></A> 
      &nbsp;&nbsp; 
<asp:Label id="Label10" runat="server">重要性:</asp:Label>
<asp:TextBox id="Wsdn_StarCRM_Prior1" runat="server" Width="65px"></asp:TextBox>&nbsp;&nbsp;&nbsp; 
<asp:Label id="Label11" runat="server">相关部门:</asp:Label>
<asp:TextBox id="Wsdn_StarCRM_Department" runat="server" Width="65px"></asp:TextBox>&nbsp; 
      <IMG onclick="javascript:doselectdepartment();" alt="选择部门" src="../image/ftb/insertdate.gif">&nbsp;&nbsp; 
<asp:label id="Label7" runat="server">上传者:</asp:label>
<asp:textbox id="Wsdn_StarCRM_Uploader" runat="server" Width="65px"></asp:textbox>&nbsp; 
<asp:label id="Label8" runat="server">文档类别:</asp:label>
<asp:TextBox id="Wsdn_StarCRM_Class" runat="server"></asp:TextBox>&nbsp;<IMG onclick="javascript:doselect('文档分类','Wsdn_StarCRM_Class');" alt="察看该项目" src="../image/mini_post.gif"></asp:panel></TD>
				<TR>
					<TD><asp:datagrid id="DataGrid1" runat="server" Width="100%" PageSize="15" AllowPaging="True" AutoGenerateColumns="False">
							<HeaderStyle CssClass="WsdnOrgInfo"></HeaderStyle>
							<FooterStyle HorizontalAlign="Right"></FooterStyle>
							<Columns>
								<asp:TemplateColumn HeaderText="小图">
									<ItemTemplate>
										<a href='<%#String.Format("../UploadIMG/{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Name"))%>' target=_blank>
											<IMG id="IMG1" height="53" alt='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Info"))%>' src='<%#String.Format("../UploadIMG/{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Name"))%>' runat="server"></a>
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Info" HeaderText="文档说明"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Size" HeaderText="文档大小"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Class" HeaderText="文档类别"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Time" HeaderText="上传时间"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Prior" HeaderText="重要性"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Uploader" HeaderText="上传者"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Department" HeaderText="所在部门"></asp:BoundColumn>
								<asp:TemplateColumn HeaderText="删除">
									<ItemTemplate>
										<asp:CheckBox id="ChkDelete" Runat="server"></asp:CheckBox>
										<asp:TextBox id=TextBox1 accessKey='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "DeleteFlag"))%>' runat="server" CssClass='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Id"))%>' Width="0px">
										</asp:TextBox>
									</ItemTemplate>
								</asp:TemplateColumn>
							</Columns>
							<PagerStyle CssClass="WsdnOrgTitle1" Mode="NumericPages"></PagerStyle>
						</asp:datagrid>
						<asp:Label id="Lgrid" runat="server"></asp:Label></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
