<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Visit_Edit.aspx.cs" Inherits="TotCms.Web.Office.Customer.Visit_Edit" ValidateRequest="false" %>
<!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 id="Head1" runat="server">
    <title>客户信息</title>
    <link href="../style/global.css" rel="stylesheet" type="text/css" />
    <script src="../js/common.js" type="text/javascript"></script>
    <script src="../../js/jquery-1.5.1.min.js" type="text/javascript"></script>
    <script src="../../js/jquery-ui-1.8.10/js/jquery-ui-1.8.10.custom.min.js" type="text/javascript"></script>
    <link href="../../js/jquery-ui-1.8.10/css/ui-lightness/jquery-ui-1.8.10.custom.css" rel="stylesheet" type="text/css" />
    <script src="../../js/jquery-ui-1.8.10/js/i18n/jquery.ui.datepicker-zh-CN.js" type="text/javascript"></script>
    <script src="../../ckeditor/ckeditor.js" type="text/javascript"></script>    
    <script type="text/javascript">
      $(function () {
        $('.dates').datepicker($.datepicker.regional["zh-CN"]);        
      });      
    </script>
</head>
<body>
    <form id="form1" runat="server">
    
    <div class="br"></div>
    <div>
        <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border">
            <tr class="suphead">
                <td colspan="2">
                    客户拜访
                </td>
            </tr>
                        
            
           <tr>
      <td class="fields_text" width="120">
          拜访方式：</td>
      <td class="fields_input">
        <asp:RadioButtonList ID="rbBy" runat="server" RepeatDirection="Horizontal" 
          RepeatLayout="Flow">
          <asp:ListItem>电话</asp:ListItem>
          <asp:ListItem>短信</asp:ListItem>
          <asp:ListItem>登门</asp:ListItem>
        </asp:RadioButtonList>
      </td>
    </tr>
                        
            
           <tr>
      <td class="fields_text">
          拜访日期：</td>
      <td class="fields_input">
        <asp:TextBox ID="tbPubDate" runat="server" CssClass="dates"></asp:TextBox>
      </td>
    </tr>
                        
            
           <tr>
      <td class="fields_text">
          拜访者：</td>
      <td class="fields_input">
        <asp:Label ID="lbUser" runat="server" Text=" "></asp:Label>
      </td>
    </tr>
                        
            
           <tr>
      <td class="fields_text">
          拜访记录：</td>
      <td class="fields_input">
      <asp:TextBox ID="Content" runat="server" TextMode="MultiLine"></asp:TextBox>
          <script type="text/javascript">
		      //<![CDATA[
            // Replace the <textarea id="Content"> with an CKEditor instance.
            var editor = CKEDITOR.replace('Content',
			      {
			        filebrowserBrowseUrl: '../../ckfinder/ckfinder.html', //启用浏览功能
			        filebrowserImageBrowseUrl: '../../ckfinder/ckfinder.html?Type=Images',
			        filebrowserFlashBrowseUrl: '../../ckfinder/ckfinder.html?Type=Flash',
			        filebrowserUploadUrl: '../../ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Files',
			        filebrowserImageUploadUrl: '../../ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Images',
			        filebrowserFlashUploadUrl: '../../ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Flash'
			      }
            );
		      //]]>
		      </script>
      </td>
    </tr>
                        
            
            <tr>
                <td align="center">&nbsp;
                    </td>
                <td align="left" height="35">
                    <asp:Button CssClass="button_blue" ID="btnSubmit" runat="server" Text="确定" OnClick="btnSubmit_Click" /> <input type="button" class="button_gray" onclick="javascript:history.back();" value="返 回" /></td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
