<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CRMClientContactAnniversaryList.aspx.cs" Inherits="DSWeb.CRM.CRMClientContactAnniversaryList" %>

<!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 rel="STYLESHEET" type="text/css" href="../theme/buttons.css"/>
    <link rel="STYLESHEET" type="text/css" href="../theme/button/default/Fee.css"/>
    <script language="javascript" type="text/javascript" src="../js/date/jsDateFormat.js"></script>
	<script language="javascript" type="text/javascript" src="../js/m97date/wdatepicker.js"></script>
	<script language="javascript" type="text/javascript" src="../js/date/jsDateFM.js"></script>
    <!--按钮条-->
    <style type="text/css">
        .btn-content0{
	        width:100%;
	        height:30px;
            background:url("../images/content-header.gif");
            cursor:default;
            }
	</style>
    <!--Grid-->
        <link rel="STYLESHEET" type="text/css" href="../theme/dhtmlxgrid.css"/>
        <link rel="STYLESHEET" type="text/css" href="../theme/page.css"/>
        <script src="../js/dhtmlxcommon.js" type="text/javascript"></script>
        <script src="../js/dhtmlxgrid.js" type="text/javascript"></script>
        <script src="../js/dhtmlxgridcell.js" type="text/javascript"></script>
	    <script src="../js/dhtmlxcombo.js" type="text/javascript"></script>
	    <script src="../js/dhtmlxgrid_keymap_excel.js" type="text/javascript"></script>
	    <script src="../js/dhtmlxgrid_drag.js" type="text/javascript"></script>
	    <script src="../js/dhtmlxgrid_group.js" type="text/javascript"></script>
	    <script src="../js/dhtmlxgrid_mcol.js" type="text/javascript"></script>
	    <script src="../js/jsGridCRMClientContactAnniversaryList.js" type="text/javascript"></script>
	    <script src="../js/json2.js" type="text/javascript"></script>
    	<style type="text/css">
        #divh { position:absolute; z-index:1001; left:40%; top:30%; width:300px; margin-left:-200px; border:solid 6px #ddd; }
        .box { border:solid 1px #999; font-size:14px; }
        #tit { border-bottom:solid 1px #999;background-color:#cccccc; padding:6px; font-weight:bold;}
        #bod { background-color:#ffffff; padding:20px; }
        #bot { border-top:solid 1px #999;background-color:#cccccc; text-align:right;}
        .menu { position:absolute; z-index:101; width:150px; border:solid 1px #999; padding:2px; background-color:#ffffff;}
        .menu a {padding:5px 6px; font-size:12px; color:#000000; cursor:default; text-decoration:none; padding-top:1px; width:90px;}
        .menu a:hover { background-color:#507cd1; color:#ffffff;}
        
        .regular{text-decoration:none;cursor:default; margin-right:20px;}
        .imgLeftButton{
           background-image:url(../images/icons/edit_right.gif);height:19px;width:19px; margin-left:22px;margin-bottom:30px;
        }
        .imgLeftHoverButton{
           background-image:url(../images/icons/edit_righthover.gif);height:19px;width:19px; margin-left:22px;margin-bottom:30px;
        }

        .imgRightButton{
           background-image:url(../images/icons/edit_left.gif);height:19px;width:19px; margin-left:22px;
        }
        .imgRightHoverButton{
           background-image:url(../images/icons/edit_lefthover.gif);height:19px;width:19px; margin-left:22px;
        }

        .imgUpButton{
           background-image:url(../images/icons/edit_up.gif);height:19px;width:19px; margin-left:22px;margin-bottom:30px;
        }
        .imgUpHoverButton{
           background-image:url(../images/icons/edit_uphover.gif);height:19px;width:19px; margin-left:22px;margin-bottom:30px;
        }

        .imgDownButton{
           background-image:url(../images/icons/edit_down.gif);height:19px;width:19px; margin-left:22px;
        }
        .imgDownHoverButton{
           background-image:url(../images/icons/edit_downhover.gif);height:19px;width:19px; margin-left:22px;
        }
        .enterButton{
            display:block;
            float:left;
            margin:0 7px 0 0;
            background-color:#d5d5d5;
            border:1px solid #dedede;
            border-top:1px solid #eee;
            border-left:1px solid #eee;

            font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
            font-size:12px;
            line-height:130%;
            text-decoration:none;
            font-weight:bold;
            color:#565656;
            cursor:default;
            padding:5px 10px 6px 7px; /* Links */
            width:60px;
            text-align:center;
            margin-top:8px;
            margin-left:20px;
            
        }

        .enterButton:hover{
            background-color:#dff4ff;
            border:1px solid #c2e1ef;
            color:#336699;
        }
        .enterButton:active{
            background-color:#6299c5;
            border:1px solid #6299c5;
            color:#fff;
        }
        .dvMenu{
        	display:block;
            background-color:#ffffff;
            border:1px solid #dedede;
            border-top:1px solid #eee;
            border-left:1px solid #eee;

            font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
            font-size:12px;
            line-height:130%;
            text-decoration:none;
            font-weight:bold;
            color:#565656;
            cursor:default;
            padding:8px 0px 6px 7px; /* Links */
            width:95%;
            text-align:center;
            
        }
         .dvMenu:hover{
            background-color:#dff4ff;
            border:1px solid #c2e1ef;
            color:#336699;
        }
        .dvMenu:active{
            background-color:#6299c5;
            border:1px solid #6299c5;
            color:#fff;
        }
        .txtTab{border:1px solid #A0A0A4; border-color:#6699CC;}
        .btncss 
        {
	        width:100px;
            BORDER-RIGHT: #2C59AA 1px solid; 
            PADDING-RIGHT: 2px; BORDER-TOP: #2C59AA 1px solid; 
            PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#C3DAF5); 
            BORDER-LEFT: #2C59AA 1px solid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px; 
            BORDER-BOTTOM: #2C59AA 1px solid;
        }
    </style>
    <script type="text/javascript">
        //回车键控制
        document.onkeypress=function()
        {
            if(event.keyCode==13)
            {
                ShowDetailFresh();
            }
        } 
    </script>
</head>
<body onload="initWinScreen();initLog();initMenu();gettime();" style="border:0px; width:100%; height:100%">
    <form id="form1" runat="server">
    <div>
        <table style="border:0; padding:0;">
            <tr>
                <td style="width:10px;" height="20px"></td>
                <td style="width:120px;"><div style="width:100px; text-align:right;">提醒时间段:</div></td>
                <td style="width:112px;">
                    <asp:DropDownList ID="ddltime" runat="server" Width="100px" CssClass="txtTab" onchange="gettime();">
                        <asp:ListItem Selected="True">本周</asp:ListItem>
                        <asp:ListItem>最近两周</asp:ListItem>
                        <asp:ListItem>本月</asp:ListItem>
                        <asp:ListItem>自定义</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td><div id="divzdy" runat=server style="width:90px; text-align:right;">自定义时间段:</div></td>
                <td>
                    <asp:TextBox ID="tbtime" runat="server" onclick="WdatePicker()" MaxLength="10" Width="100px" CssClass="txtTab"></asp:TextBox>
                </td>
                <td><div id="divzdy1" runat=server style="width:10px; text-align:right;">至</div></td>
                <td>
                    <asp:TextBox ID="tbtime1" runat="server" onclick="WdatePicker()" MaxLength="10" Width="100px" CssClass="txtTab"></asp:TextBox>
                </td>
                <td style="width:10px;" height="20px"></td>
                <td style="width:70px;">
                    <div class="buttons" onclick="ShowDetailFresh()" style="float:left"><a href="javascript:void(0)" class="regular" ><img src="../images/icons/btnSearch.gif" title="查询"/>查询</a></div>
                </td>
                <td style="width:120px;">
                    <div class="buttons" onclick="initSearch()" style="float:left"><a href="javascript:void(0)" class="regular" ><img src="../images/icons/btnDel.gif" title="清空条件"/>清空条件</a></div>
                </td>
             </tr>
        </table>
    </div>
    <div style="width:100%;vertical-align:text-bottom;" class="btn-content0">  
        <div class="btn-blank"></div>
        <div class="xbtn-img">
            <img id="imgFresh" runat=server src="../images/icons/btnFresh.gif" onclick="ShowDetailFresh();" class="btnimg" alt="刷新" onmouseover="imgFreshChangePic();" onMouseOut="imgFreshChangePic();"/>
        </div>
    </div>
    <div style=" width:100%; height:100%;" oncontextmenu="return false">
        <div style="width:98%; overflow-x:scroll; position:relative;"><div id="mygrid_log" style="width:1100px; height:440px;" runat="server" class="cssfont"></div></div>
        <div id="pager" style="width: 100%; margin: 0px; padding: 4px; border: 0px solid #999;"></div>
        <div id="info" style="text-align: center; width: 100%; margin: 0 2px; padding: 4px; border: 1px solid #999;display:none;"></div>
        <div>
            <input type="hidden" id="hid_setting" runat="server"/>
            <input type="hidden" id="hid_header" runat="server" />
            <div id="dvSaveState" runat="server"></div>
            <div id="divh" style="display: none;">
                <div class="box">
                    <div id="tit"></div>
                    <div id="bod"></div>
                    <div id="bot"></div>
                </div>
            </div>
        </div>
    </div>
    <div>
        <input id="hdRangeV" type="hidden" runat=server/>
        <input id="hdRangeO" type="hidden" runat=server/>
        <input id="hdRange" type="hidden" runat=server/>
        
        <input type="hidden" id="hd_clientgid" runat="server" />
        <input type="hidden" id="hd_exceltitle" runat="server" />
    </div>
    </form>
</body>
</html>