<%@ page language="C#" autoeventwireup="true" inherits="admin_seo_clientitem, localhost_deploy" %>
<%@ Register Src='../../common/formitem.ascx' TagName='formitem' TagPrefix='uc1' %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>客户编辑页</title>
<link href='/admin/common/client.css' rel='stylesheet' type='text/css' />
<style type='text/css' >

</style>
</head>
<body scroll="auto" >
<br />
<%
	Formitem.Table="sys_Client";
	Formitem.Head="客户编辑页面";
	
	Formitem.AddItem("@@Csharp.SetInputSelect('客户类型','C_Type','0,潜在客户|1,购买客户|2,热门客户','##Table[\"sys_Client\"].C_Type##','true','')@@");
	Formitem.AddItem("@@Csharp.SetInputText('客户姓名','C_Name','##Table[\"Sys_Client\"].C_Name##','25','true','')@@");
	Formitem.AddItem("@@Csharp.SetTextArea('内容','C_Memo','##Table[\"sys_Client\"].C_Memo##','10','true','<br />内容包括客户的联系方式、所在公司等信息。')@@");
	Formitem.AddItem("@@Csharp.SetShowText('最后访问时间','##Table[\"sys_Client\"].C_Time##','')@@");
	Formitem.AddItem("@@Csharp.SetShowText('Session 值','##Table[\"sys_Client\"].C_Session##','')@@");
	
%>	
<uc1:formitem ID='Formitem' runat='server' />
<div style="width:99%;height:500px;">
		<iframe name="list" src="/admin/seo/clientcontactlist.aspx?ord=b.C_Time desc&cid=<%=Formitem["C_ID"]%>" frameborder="0" width="100%" height="100%"></iframe>
		</div>
		<br /><br />
<%
	if(Formitem["C_Session"]!="")
	{
		%>
		<div style="width:99%;height:500px;">
		<iframe name="list" src="/admin/search/sekeyslist.aspx?rang=10&ord=V_Date desc&session=<%=Server.UrlEncode(Formitem["C_Session"])%>" frameborder="0" width="100%" height="100%"></iframe>
		</div>
		<br /><br />
		<%
	}
%>
<script type='text/javascript'>
</script>
</body>
</html>   
