
<table style="BORDER-COLLAPSE: collapse" borderColor=#999999 cellPadding=2 width="100%" border=1 >
  <tr align="center"> 
    <td width="100%">&nbsp;  </td>
  </tr>
  <tr align="center"> 
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td> {/if $switch=='code'/} {/foreach item=Item from=$Datas/} 
            <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" >
              <tr class=line_title> 
                <td valign="top"><strong><a href="#">{/$Item.sitename/}--簡單模式</a></strong><strong></strong></td>
              </tr>
              <tr align="center"> 
                <td  ><table width="600" border="0" align="center" cellpadding="3" cellspacing="1">
                    <tr> 
                      <td>統計代碼:</td>
                    </tr>
                    <tr> 
                      <td><textarea name="textarea" onFocus="this.select()" readonly cols="80" rows="6" >
<script language=javascript>
 var _PCSWebSite="{/$Item.website/}";
</script>
<script language="javascript" type="text/javascript" src="{/$Item.Countlink/}" ></script></textarea></td>
                    </tr>
                    <tr> 
                      <td>將以上代碼複製並插入需要統計的頁面.如許顯示更多信息,請點擊高級模式進行設置.</td>
                    </tr>
                  </table></td>
              </tr>
            </table>
            {//foreach/} {//if/} </td>
        </tr>
			
        <tr>
	
          <td>{/if $switch=='manage'/} 
		  {/foreach item=Item from=$Datas/} <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" >
              <tr class=line_title> 
                <td valign="top"><strong><a href="#">{/$Item.sitename/}--統計信息</a></strong></td>
              </tr>
              <tr align="center"> 
                <td  ><table width="600" border="0" align="center" cellpadding="3" cellspacing="1">
                    <tr> 
                      <td><textarea name="textarea2" onFocus="this.select()" readonly cols="80" rows="5" >
站點代碼:{/$Item.website/}
開始統計時間:{/$Item.fristday|date_format:"%Y-%m-%d"/}
已經統計天數:{/$Item.countday/} </textarea></td>
                    </tr>
                    <tr> 
                      <td><div align="right"><a href="javascript:if(confirm('確實要清空該站點[{/$Item.sitename/}]的統計信息嗎?該操作不可逆轉!')) location='manage_all_site.php?website={/$Item.website/}&ac=truncate'">[清空]</a>&nbsp;<a href="javascript:if(confirm('確實要刪除該站點[{/$Item.sitename/}]以及統計信息嗎?該操作不可逆轉!')) location='manage_all_site.php?website={/$Item.website/}&ac=del'">[刪除]</a></div></td>
                    </tr>
                  </table></td>
              </tr>
            </table>{//foreach/}{//if/}</td>
        </tr>
      </table>
</td>
  </tr>
</table>

