<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
<%@ Page language="c#" Codebehind="LinkmanEdit.aspx.cs" AutoEventWireup="false" Inherits="WebStarCRM.CL.LinkmanEdit" validateRequest=false %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>联系人</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" runat="server">
			<uc1:css id="Css1" runat="server"></uc1:css>
			<TABLE cellSpacing="1" cellPadding="0" width="100%" border="0">
				<TR>
					<TD class="WsdnOrgTitle1"><asp:button id="Button1" runat="server" Text="联系人基本资料↓"></asp:button><asp:label id="LabelCF" runat="server" Visible="False"></asp:label><asp:textbox id="Wsdn_StarCRM_Id" runat="server" Visible="False">0</asp:textbox><asp:textbox id="Wsdn_StarCRM_Clientid" runat="server" Width="1px">0</asp:textbox><asp:datagrid id="DGValidate" runat="server" Visible="False" Width="100%" AutoGenerateColumns="False"
							ForeColor="Red" Height="68px">
							<AlternatingItemStyle ForeColor="Red"></AlternatingItemStyle>
							<ItemStyle ForeColor="Red"></ItemStyle>
							<HeaderStyle ForeColor="Red" CssClass="WsdnOrgTitle1"></HeaderStyle>
							<Columns>
								<asp:BoundColumn DataField="MainCaption" HeaderText="错误项目"></asp:BoundColumn>
								<asp:BoundColumn DataField="Value" HeaderText="项目值"></asp:BoundColumn>
								<asp:BoundColumn DataField="ValidateMessage" HeaderText="描述"></asp:BoundColumn>
							</Columns>
						</asp:datagrid></TD>
				</TR>
				<TR>
					<TD><asp:panel id="Panel1" runat="server">
							<TABLE cellSpacing="1" cellPadding="0" width="100%" border="0">
								<TR>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label1" runat="server">联系人姓名</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Name" runat="server" Width="200px" MaxLength="50"></asp:TextBox><FONT face="宋体" color="red">*</FONT></TD>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label3" runat="server">性别</asp:Label></TD>
									<TD>
										<asp:RadioButtonList id="Wsdn_StarCRM_Sex" runat="server" RepeatDirection="Horizontal">
											<asp:ListItem Value="男" Selected>男</asp:ListItem>
											<asp:ListItem Value="女">女</asp:ListItem>
										</asp:RadioButtonList></TD>
								</TR>
								<TR>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label14" runat="server">公司</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Client" runat="server" Width="200px"></asp:TextBox><IMG onclick="javascript:window.open('../include/selcl.aspx?type=5','_blank','location=no, top=100, left=100,toolbar=yes, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no')"
											height="14" alt="察看该项目" src="../image/mini_post.gif" width="13">
									</TD>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label11" runat="server">客户部门</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Dept" runat="server" Width="200px"></asp:TextBox>&nbsp;
									</TD>
								</TR>
								<TR>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label2" runat="server">联系人类型</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Class" runat="server" Width="200px"></asp:TextBox><IMG onclick="javascript:doselect('联系类型','Wsdn_StarCRM_Class');" height="14" alt="察看该项目"
											src="../image/mini_post.gif" width="13">
									</TD>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label4" runat="server">职业</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Work" runat="server" Width="200px"></asp:TextBox><IMG onclick="javascript:doselect('职业','Wsdn_StarCRM_Work');" height="14" alt="察看该项目"
											src="../image/mini_post.gif" width="13">
									</TD>
								</TR>
								<TR>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label15" runat="server">职位</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Postion" runat="server" Width="200px"></asp:TextBox><IMG onclick="javascript:doselect('职位','Wsdn_StarCRM_Postion');" height="14" alt="察看该项目"
											src="../image/mini_post.gif" width="13">
									</TD>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label16" runat="server">职称</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Tech" runat="server" Width="200px"></asp:TextBox><IMG onclick="javascript:doselect('职称','Wsdn_StarCRM_Tech');" height="14" alt="察看该项目"
											src="../image/mini_post.gif" width="13">
									</TD>
								</TR>
								<TR>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label5" runat="server">电话</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Phone" runat="server" Width="200px"></asp:TextBox>&nbsp;
									</TD>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label6" runat="server">手机</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Mobile" runat="server" Width="200px"></asp:TextBox>&nbsp;
									</TD>
								</TR>
								<TR>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label7" runat="server">传真号码</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Fax" runat="server" Width="200px"></asp:TextBox>&nbsp;
									</TD>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label8" runat="server">电子邮件</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Email" runat="server" Width="200px"></asp:TextBox>&nbsp;
									</TD>
								</TR>
								<TR>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label9" runat="server">生日</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Birthday" runat="server" Width="200px"></asp:TextBox><A title="选择时间" href="javascript:OpenCalendar('Wsdn_StarCRM_Birthday', false)"><IMG height="18" src="../image/ftb/insertdate.gif" width="19" align="absMiddle" border="0"></A>
										<asp:ImageButton id="ImageButton1" runat="server" ImageUrl="../image/history.gif" AlternateText="计算至今的时间"></asp:ImageButton></TD>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label13" runat="server">主页</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_URL" runat="server" Width="200px"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label23" runat="server">户籍</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_NationPlace" runat="server" Width="200px"></asp:TextBox><IMG onclick="javascript:selectprov('Wsdn_StarCRM_NationPlace');" height="14" alt="察看该项目"
											src="../image/mini_post.gif" width="13">
									</TD>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label12" runat="server">城市</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_City" runat="server" Width="200px"></asp:TextBox><IMG onclick="javascript:selectcityE('Wsdn_StarCRM_City');" height="14" alt="察看该项目" src="../image/mini_post.gif"
											width="13"></TD>
								</TR>
								<TR>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label19" runat="server">邮编</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Postnum" runat="server" Width="200px"></asp:TextBox>&nbsp;
									</TD>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label18" runat="server">地址</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Address" runat="server" Width="200px"></asp:TextBox>&nbsp;
									</TD>
								</TR>
								<TR>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label36" runat="server">录入时间</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Time" runat="server" Width="200px" ReadOnly="True"></asp:TextBox>
										<asp:ImageButton id="Imagebutton4" runat="server" ImageUrl="../image/history.gif" AlternateText="计算至今的时间"></asp:ImageButton></TD>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label37" runat="server">录入人员</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Recorder" runat="server" Width="200px" ReadOnly="True"></asp:TextBox>&nbsp;
									</TD>
								</TR>
								<TR>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label35" runat="server">相关部门</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Department" runat="server" Width="200px"></asp:TextBox><IMG onclick="javascript:doselectdepartment();" height="14" alt="选择部门" src="../image/mini_post.gif"
											width="13">
									</TD>
									<TD class="WsdnOrgInfo"></TD>
									<TD>
										<asp:CheckBox id="Locked" runat="server" Text="是否锁定" Visible="False"></asp:CheckBox></TD>
								</TR>
								<TR>
									<TD class="WsdnOrgInfo">
										<asp:CheckBox id="Wsdn_StarCRM_IsWeb" runat="server" Text="是否网站会员" Visible="False" Enabled="False"></asp:CheckBox></TD>
									<TD class="">
										<asp:CheckBox id="Wsdn_StarCRM_IsMailList" runat="server" Text="是否进入邮件列表" Visible="False" Enabled="False"></asp:CheckBox></TD>
									<TD class="WsdnOrgInfo">
										<asp:CheckBox id="Wsdn_StarCRM_IsPublic" runat="server" Text="公开资料"></asp:CheckBox></TD>
									<TD class="">
										<asp:CheckBox id="DeleteFlag" runat="server" Text="删除" Visible="False"></asp:CheckBox></TD>
								</TR>
							</TABLE>
						</asp:panel></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgTitle1"><asp:button id="Button4" runat="server" Text="其他信息↓"></asp:button></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo"><asp:panel id="Panel2" runat="server" Visible="False">
							<TABLE cellSpacing="1" cellPadding="0" width="100%" border="0">
								<TR>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label17" runat="server">兴趣爱好</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Like" runat="server" Width="200px"></asp:TextBox>&nbsp;
									</TD>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label20" runat="server">第一次会谈时间</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_FirstTime" runat="server" Width="200px"></asp:TextBox><A title="选择时间" href="javascript:OpenCalendar('Wsdn_StarCRM_FirstTime', false)"><IMG height="18" src="../image/ftb/insertdate.gif" width="19" align="absMiddle" border="0"></A>
										<asp:ImageButton id="Imagebutton2" runat="server" ImageUrl="../image/history.gif" AlternateText="计算至今的时间"></asp:ImageButton></TD>
								</TR>
								<TR>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label21" runat="server">最近联络时间</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_LatelyTime" runat="server" Width="200px"></asp:TextBox><A title="选择时间" href="javascript:OpenCalendar('Wsdn_StarCRM_LatelyTime', false)"><IMG height="18" src="../image/ftb/insertdate.gif" width="19" align="absMiddle" border="0"></A>
										<asp:ImageButton id="Imagebutton3" runat="server" ImageUrl="../image/history.gif" AlternateText="计算至今的时间"></asp:ImageButton></TD>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label22" runat="server">年薪</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Salary" runat="server" Width="200px"></asp:TextBox>&nbsp;
									</TD>
								</TR>
								<TR>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label10" runat="server">国家</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Country" runat="server" Width="200px"></asp:TextBox><IMG onclick="javascript:doselect('国家','Wsdn_StarCRM_Country');" height="14" alt="察看该项目"
											src="../image/mini_post.gif" width="13"></TD>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label24" runat="server">民族</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Nation" runat="server" Width="200px"></asp:TextBox><IMG onclick="javascript:doselect('民族','Wsdn_StarCRM_Nation');" height="14" alt="察看该项目"
											src="../image/mini_post.gif" width="13">
									</TD>
								</TR>
								<TR>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label25" runat="server">配偶姓名</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Mate" runat="server" Width="200px"></asp:TextBox>&nbsp;
									</TD>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label26" runat="server">紧急联系人姓名</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_ContactName" runat="server" Width="200px"></asp:TextBox>&nbsp;
									</TD>
								</TR>
								<TR>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label27" runat="server">紧急联系电话</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_ContactPhone" runat="server" Width="200px"></asp:TextBox>&nbsp;
									</TD>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label28" runat="server">身份证号码</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Identity" runat="server" Width="200px"></asp:TextBox>&nbsp;
									</TD>
								</TR>
								<TR>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label29" runat="server">银行</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Bank" runat="server" Width="200px"></asp:TextBox><IMG onclick="javascript:doselect('银行','Wsdn_StarCRM_Bank');" height="14" alt="察看该项目"
											src="../image/mini_post.gif" width="13">
									</TD>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label30" runat="server">银行账户</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_ATM" runat="server" Width="200px"></asp:TextBox>&nbsp;
									</TD>
								</TR>
								<TR>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label31" runat="server">ICQ</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_ICQ" runat="server" Width="200px"></asp:TextBox>&nbsp;
									</TD>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label32" runat="server">OICQ</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_OICQ" runat="server" Width="200px"></asp:TextBox>&nbsp;
									</TD>
								</TR>
								<TR>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label33" runat="server">MSN</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_MSN" runat="server" Width="200px"></asp:TextBox>&nbsp;
									</TD>
									<TD class="WsdnOrgInfo">
										<asp:Label id="Label34" runat="server">小灵通</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_LT" runat="server" Width="200px"></asp:TextBox>&nbsp;
									</TD>
								</TR>
							</TABLE>
						</asp:panel></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgTitle1"><asp:button id="Button5" runat="server" Text="联系人备注↓"></asp:button></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo"><asp:panel id="Panel3" runat="server" Visible="False">
							<TABLE cellSpacing="1" cellPadding="0" width="100%" border="0">
								<TR>
									<TD>
										<FTB:FreeTextBox language="zh-cn" id="Wsdn_StarCRM_Info" runat="server" Width="92%" Height="150px"
											GutterBackColor="224, 224, 224" BackColor="224, 224, 224" SupportFolder="~/FreeTextBox/" ToolbarBackgroundImage="False"
											DesignModeCss="WsdnOrgInfo" HtmlModeCss="WsdnOrgInfo" DropDownListCssClass="WsdnOrgInfo"></FTB:FreeTextBox></TD>
								</TR>
							</TABLE>
						</asp:panel></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo" align="center">
						<P><asp:button id="BtSubmit" runat="server" Text="Button"></asp:button>&nbsp;
							<asp:button id="Btcopy" runat="server" Text="复制当前记录"></asp:button>&nbsp;
							<asp:button id="Btsearch" runat="server" Text="高级搜索" Visible="False"></asp:button>&nbsp;
							<asp:button id="Button3" runat="server" Text="返回联系人分组" Visible="False"></asp:button>&nbsp;
							<asp:button id="Button2" runat="server" Text="返回联系人列表" Visible="False"></asp:button></P>
						<P>&nbsp;
							<asp:button id="BtPrint" runat="server" Text="打印当前信息"></asp:button><asp:dropdownlist id="PrintList" runat="server">
								<asp:ListItem Value="网页形式">网页形式</asp:ListItem>
								<asp:ListItem Value="输出为Excel" Selected="True">输出为Excel</asp:ListItem>
							</asp:dropdownlist>&nbsp;
							<asp:checkbox id="CheckBox2" runat="server" Text="打印基本资料" Checked="True"></asp:checkbox>&nbsp;
							<asp:checkbox id="CheckBox1" runat="server" Text="打印备注" Checked="True"></asp:checkbox>&nbsp;&nbsp;
							<asp:button id="BtFile" runat="server" Text="上传相关文件" ToolTip="添加完毕并存盘之后方可上传相关文件"></asp:button>&nbsp;&nbsp;&nbsp;&nbsp;
						</P>
						<P>&nbsp;
							<asp:label id="Msg" runat="server" ForeColor="#C00000"></asp:label>&nbsp;
						</P>
						<P>
							<HR width="100%" SIZE="1">
					</TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo"></TD>
				</TR>
				<TR>
					<TD colSpan="4"><asp:label id="Label38" runat="server">发表备忘：</asp:label><asp:textbox id="TextBox1" runat="server" Width="450px"></asp:textbox><asp:button id="Button6" runat="server" Text="提交备忘"></asp:button></TD>
				</TR>
				<TR>
					<TD colSpan="4"><asp:datagrid id="DataGridNote" runat="server" Width="100%" AutoGenerateColumns="False">
							<ItemStyle CssClass="WsdnOrgInfo"></ItemStyle>
							<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
							<Columns>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Employee" HeaderText="发表人"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Name" HeaderText="内容"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Time" HeaderText="发表时间"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Department" HeaderText="所在部门"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Status" HeaderText="状态"></asp:BoundColumn>
							</Columns>
						</asp:datagrid><asp:label id="Label39" runat="server">相关文件：</asp:label><asp:datagrid id="DataGridFile" runat="server" Width="100%" AutoGenerateColumns="False">
							<ItemStyle CssClass="WsdnOrgInfo"></ItemStyle>
							<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
							<Columns>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Employee" HeaderText="发表人"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Name" HeaderText="文件说明"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Time" HeaderText="发表时间"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Department" HeaderText="所在部门"></asp:BoundColumn>
								<asp:HyperLinkColumn Text="下载" Target="_blank" DataNavigateUrlField="Wsdn_StarCRM_Url" DataNavigateUrlFormatString="../UploadFile/{0}"
									HeaderText="下载"></asp:HyperLinkColumn>
							</Columns>
						</asp:datagrid></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
