<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=big5">

{/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/}