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UZxbEx+fUsQSjB/GUgyaE81UgkoPjoPQxJ/YDpwGykqUTFjShR+NVUFYlBTDWcsTBx7ZFBPEl8/bUwhTQN/JV8UM10hewBGHFcseh1FZHkRTTBmAFF6bEx+fQtkexNPMmQCU3p4UUwkfxIPJk0sdhEORBp/LAVbNm0gfgNZeG5qX1tuI3URDmQSf01OElIJICILBC0fHEAAW3JwWSVlNEleFksxJn0nXxV5NUhZAUsnahp2C0YmdxkOJXk5Yklff2ltWBhBaDR0LwYFMS4XCFUCbj8WexdbInIVWTUkejdXHHBnTE81aRJEPXZBCWk4VQV7agBTNXkVAiImEwN5JV4IcToNEDACAXoaSGEsVmRnC2csBUgyLRkGXAZ9NFgVMk41bwdMIFA7bgJeIzQfYSxcEWxLJkoWcD1QHHA7EAYCN0wAJ1cudBMMJ0sndBhEOSZMMFYEfSNEAid7JmAZQ2Y6ZypCGXVqJWgOXHUoQBZ7MWc7XghkNUhXCV4yfxMMZhB9YlZJYn1STSdRPC9FFXIjBgovISUQUAkgbRcGXQdtPUYdVwd7KldIfGNbRBlOInN3Qmt0XUIPWT0iSDRSAHknQAYjfyJkHUdiPmMuRh1xQ0B2HGAGVC1zFFJ7eVAdZ3BbB00deTZeD39iQnBzRS9ENHsXCDwjWBQ1KEIpWRZ6Z0d1dkAqQTpkCVN6eFEcZnFaBlsWfiVJVHRGRT9YAypcMwECTzUkbj1bF3tJSiZKAShlHwA0K2w8QRZ2J0l7eEpJ%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>添加拜访计划</title>
<link href="myStyle.css" rel="stylesheet" type="text/css">
</head>

<body style="background-color: menu; border: 0px;" onCopy="return false;" onSelectStart="return false;" onCut="return false;" onContextMenu="window.event.returnValue=false;">
<table width="480" height="360" border="0" align="center" cellpadding="3" cellspacing="0">
  <tr valign="top"> 
    <td width="140" height="1"> <fieldset style="padding: 10px;">
      <legend>日期</legend>
      <table width="140" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td><select name="mm" onChange="changeMonth();">
              <option value="1">一月</option>
              <option value="2">二月</option>
              <option value="3">三月</option>
              <option value="4">四月</option>
              <option value="5">五月</option>
              <option value="6">六月</option>
              <option value="7">七月</option>
              <option value="8">八月</option>
              <option value="9">九月</option>
              <option value="10">十月</option>
              <option value="11">十一月</option>
              <option value="12">十二月</option>
            </select> </td>
          <td align="right"> <select name="yyyy" size="1" onChange="changeYear();">
              <option value="2000">2000 </option>
              <option value="2001">2001 </option>
              <option value="2002">2002 </option>
              <option value="2003">2003 </option>
            </select> </td>
        </tr>
        <tr> 
          <td colspan="2"><br> <table width="140%" border="0" cellspacing="0" cellpadding="0" style="border-left: 1px solid #808080; border-top: 1px solid #808080; border-right: 1px solid #FFFFFF; border-bottom: 1px solid #FFFFFF;">
              <tr> 
                <td id="calendar">&nbsp;</td>
              </tr>
            </table></td>
        </tr>
      </table>
      </fieldset></td>
    <td rowspan="2"><fieldset style="padding: 10px;">
      <legend>计划内容</legend>
      <table width="100%" height="100%" border="0" cellpadding="3" cellspacing="0">
        <form name="addPlan" action="?action=add" method="post">
          <tr> 
            <td height="20"> 计划日期： 
              <input name="date" type="text" id="date" value="<%BTkIi588xzAQwM1ZvRgoT+N5gA64Q0h9%>" size="12" maxlength="12"> 
              <br>
              拜访类型： 
              <%SbYznDWdvI3lCETJ2T/Emewok9dGoGLVSB5zOW8iThJ0OVQYRQN6IAsYPSBbAWs7QBthCno1WURkew==%> <input name="cId" type="hidden" id="cId" value="<%ulFJmqSAM7qKwRLALb7mC9yyuQksjhiu%>"> 
            </td>
          </tr>
          <tr> 
            <td><textarea name="content" rows="11" id="content" style="width: 100%;"></textarea></td>
          </tr>
          <tr>
            <td height="20">提前
              <input name="day" type="text" id="day" size="4" maxlength="4" value="2">
              天提醒我</td>
          </tr>
          <tr> 
            <td height="20" align="center"><input type="submit" name="Submit" value=" 提交计划 "></td>
          </tr>
        </form>
      </table>
      </fieldset></td>
  </tr>
  <tr valign="top"> 
    <td><fieldset style="padding: 10px;">
      <legend>客户资料</legend>
      <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td><strong>客户名称：</strong></td>
        </tr>
        <tr> 
          <td><%796cNaGp29VxMPkaN7q0909bjpkSrY5D%></td>
        </tr>
        <tr> 
          <td><strong>客户等级：</strong></td>
        </tr>
        <tr> 
          <td><%5aygXgRjhc+1lkEI1E3niTt9w+gvrAou%></td>
        </tr>
        <tr> 
          <td><strong>行业类型：</strong></td>
        </tr>
        <tr> 
          <td><%kGDm5ePt8+FWcMBFC9sks2LtQdtPWMEz%></td>
        </tr>
      </table>
      </fieldset></td>
  </tr>
  <tr valign="top">
    <td>&nbsp;</td>
    <td align="center">
<input type="button" name="Submit2" value=" 关 闭 " onClick="window.close();">
    </td>
  </tr>
</table>
</body>
</html>
<script language="JavaScript">
<!--
function changeDate()
{
    var yyyy = document.all.yyyy.value;
	var mm = document.all.mm.value;
	
	var strOut;
	var DateArray = ["日","一","二","三","四","五","六"];	
	var arrDate = GetDay(yyyy,mm).TDate();
    strOut = "<table width=\"140\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\" bgcolor=\"#FFFFFF\">";
    strOut = strOut + "<tr>";
	for(var i=0;i<7;i++){
	    strOut = strOut + "<td bgcolor=\"#999999\">" + DateArray[i] + "</td>";
	}		
    strOut = strOut + "</tr>";
	
	for(var i=0;i<6;i++){
        strOut = strOut + "<tr align='center'>";
        for(var j=0;j<7;j++){
		    strOut = strOut + "<td style=\"cursor: hand;\" onClick=\"SetDate('" + arrDate[i * 7 + j] + "');\">" + arrDate[i * 7 + j] + "</td>";
		}
        strOut = strOut + "</tr>";
    }
    strOut = strOut + "</table>";
	
    document.all.calendar.innerHTML = strOut;
	
}

function changeYear()
{
    changeDate();
}

function changeMonth()
{
    changeDate();
}
function SetDate(d)
{
    var y = document.all.yyyy.value;
	var m = document.all.mm.value;
	document.all.date.value = y + "-" + m + "-" + d;
}
function GetDay(y,m)
{
    this.TDate = function()
	{
        this.DayArray = [];
        for(var i=0;i<42;i++)this.DayArray[i] = "&nbsp;";
        for(var i=0;i<new Date(y,m,0).getDate();i++)this.DayArray[i+new Date(y,m-1,1).getDay()] = i + 1;
        return this.DayArray;
    }
    return this;
}
var today = new Date();
var year = today.getYear();
var month = today.getMonth() + 1;
for(var i=0;i<document.all.yyyy.options.length;i++){
    if(document.all.yyyy.options[i].value == year){
	    document.all.yyyy.options[i].selected = true;
	}
}
for(var i=0;i<document.all.mm.options.length;i++){
    if(document.all.mm.options[i].value == month){
	    document.all.mm.options[i].selected = true;
	}
}
changeDate();
-->
</script>