<SCRIPT language=javascript1.2>
function showsubmenu(ss,ii,aa,openimg,closeimg)
{
var menuobjedt=document.getElementById(ss);
if (menuobjedt)
{
 if (menuobjedt.style.display=="none") 
  {menuobjedt.style.display="";
}
 else
  {menuobjedt.style.display="none"; 
   }
}
}
function draw_pic()//画统计图
{
	var sa_obj=document.getElementsByName("sa");
	for(var i=0;i<sa_obj.length;i++) draw_bar_single(i);	
}
window.onload=function(){draw_pic();}
</SCRIPT>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

{/if $keywordstatshow == ""/}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td width="100%" colspan=3></td>
  </tr>
  <tr> 
    <td colspan="3">
        
       {/foreach item=Item key=Key from=$Datas/} <BR>
	   <table style="BORDER-COLLAPSE: collapse" borderColor=#93C2DC cellPadding=2 
      width="100%" border=1>
        <tr class=titlefont> 
          <td colspan="5"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="80%"><div align="center"><a href="{/$Item.fromsite/}" target="_blank"><strong>{/$Item.fromsite/}</strong></a><strong>&nbsp;搜索关键词列表(共搜索<font color="#FF0000">{/$Item.allcounts/}</font>次)<a name="http://{/$Item.fromsite/}"></a></strong></div></td>
                <td width="20%"></td>
              </tr>
            </table></td>
        </tr>
        <tr class=titlefont> 
          <td width="20%" height="24" >&nbsp;关键词</td>
          <td width="10%" height="24" >&nbsp;访问量</td>
          <td width="10%" height="24" >&nbsp;比率</td>
          <td width="40%" height="24" >&nbsp;图表</td>
          <td width="20%" height="24" >&nbsp;查看</td>
        </tr>
        {/foreach item=subs key=Key2 from=$Item.sub/}		
		{/if $Key2%2 == "0"/} 
        <tr   bgcolor="#e9e9e9" onmousedown=bgColor='#9DC0D8'  onMouseOver=bgColor='#9DC0D8' onMouseOut=bgColor='#e9e9e9' height=24> 
    {/else/} 
		  <tr   bgcolor="#f5f5f5" onmousedown=bgColor='#9DC0D8'  onMouseOver=bgColor='#9DC0D8' onMouseOut=bgColor='#f5f5f5' height=24> 
    {//if/} 
          <td height="24">&nbsp;&nbsp;<a href="{/$subs.lastpage/}" target="_blank">{/$subs.keyword/}</a></div></td>
          <td height="24">&nbsp;&nbsp;{/$subs.counts/}</td>
          <td height="24">&nbsp;&nbsp;{/$subs.percent/}%</td>
          <td height="24"> 
            <div class="pillar4" style="height:15px;width:{/$subs.percent/}%;" ></div></td>
          <td height="24">&nbsp;&nbsp;<a href=options_history.php?website={/$website/}&options1=keyword&options2={/$subs.keyword2/}&regexp=false title="查看历史纪录">Views</a></td>
        </tr>
        {//foreach/} 
        <tr > 
          <td width="20%" height="24" align="center" ><strong>&nbsp;小计</strong></td>
          <td height="24" colspan="4" ><strong>搜索<font color="#FF0000">{/$Item.allcounts/}</font>次</strong></td>
        </tr>
		{/if ($Key+1)%3 == "0"/}
		 <tr >           
          <td height="24" colspan="5" align=right><INPUT TYPE="button" onclick="window.history.go(-1)" value="返回">&nbsp;&nbsp;</td>
        </tr>
		{//if/}
      </table>
      {//foreach/} </td>
  </tr>
  <tr  > 
    <td colspan="3">&nbsp;</td>
  </tr>
</table>
{//if/}
{/if $keywordstatshow == "true"/}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td align="center"> <form name="form1" method="get" action="">
        <div align="center">请选择月份 {/html_select_date time=$DataTime end_year="+5" 
          start_year="-2" month_format="%m" display_days=false /}月/年 
		  <input type="Submit" name="Submit" value="查看" class=pagebutton>          
          <input type="button" name="Submit2" value="上一月" class=pagebutton onClick="location='?website={/$website/}&Date_Month={/$Month-1/}&Date_Year={/$Year/}&keywordstat={/$keywordstat/}';">
          <input type="button" name="Submit2" value="下一月" class=pagebutton onClick="location='?website={/$website/}&Date_Month={/$Month+1/}&Date_Year={/$Year/}&keywordstat={/$keywordstat/}';">
          <input type="hidden" name="website" value="{/$website/}">
		  <input type="hidden" name="keywordstat" value="{/$keywordstat/}">
        </div>
      </form></td>
  </tr>
  <tr> 
    <td align="center">&nbsp;</td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr > 
    <td height="26" align=right><INPUT TYPE="button" onclick="window.history.go(-1)" value="返回">&nbsp;&nbsp;</td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr class=titlefont_02> 
    <td height="26" >&nbsp;&nbsp;[{/$keywordstat/}]&nbsp;&nbsp;关键字月数据总体走势图</td>
  </tr>
</table><br>
<DIV id=sa data=" 关键字月数据总体走势图  统计日期:{/$Year/}/{/$Month/} ,搜索次数,PV量,{/$WIDTH_NUM1/},{/$WIDTH_NUM2/},a;{/$Datas/}"></DIV>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr > 
    <td height="26" align=right><INPUT TYPE="button" onclick="window.history.go(-1)" value="返回">&nbsp;&nbsp;</td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr class=titlefont_02> 
    <td height="26" >&nbsp;&nbsp;[{/$keywordstat/}]&nbsp;关键字月数据在<FONT  COLOR="#ff0000">GOOGLE</FONT>上的走势图</td>
  </tr>
</table><br>
<DIV id=sa data=" 关键字月数据在<FONT  COLOR=#ff0000>GOOGLE</FONT>上的走势图  统计日期:{/$Year/}/{/$Month/} ,搜索次数,PV量,{/$WIDTH_NUM1/},{/$WIDTH_NUM2/},b;{/$GOOGLEDatas/}"></DIV>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr > 
    <td height="26" align=right><INPUT TYPE="button" onclick="window.history.go(-1)" value="返回">&nbsp;&nbsp;</td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr class=titlefont_02> 
    <td height="26" >&nbsp;&nbsp;[{/$keywordstat/}]&nbsp;&nbsp;关键字月数据在<FONT  COLOR="#ff0000">BAIDU</FONT>上的走势图</td>
  </tr>
</table>
<DIV id=sa data=" 关键字月数据在<FONT  COLOR=#ff0000>BAIDU</FONT>上的走势图  统计日期:{/$Year/}/{/$Month/} ,搜索次数,PV量,{/$WIDTH_NUM1/},{/$WIDTH_NUM2/},c;{/$BAIDUDatas/}"></DIV>

<br>
{//if/}