
<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>

