<SCRIPT LANGUAGE="JavaScript">
<!--
function showsubmenu2(ss,ii,aa)
{
var menuobjedt=document.getElementById(ss);
if (menuobjedt)
{
 if (menuobjedt.style.display=="none") 
  {menuobjedt.style.display="";
}
 else
  {menuobjedt.style.display="none"; 
   }
}
}
//-->
</SCRIPT>
<br>
<TABLE style="BORDER-COLLAPSE: collapse" borderColor=#93C2DC cellPadding=2 width="100%" border=1>
        <tr class=titlefont> 
          <td height="25" colspan="5" ><div align="right">
          <div align="left">&nbsp;&nbsp;<strong><a href="manage_user.php">用户列表</a></strong>&nbsp;&nbsp;&nbsp;&nbsp;<strong><a href="manage_all_site.php?ac=common">站点列表</a></strong></div></td>
        </tr>
        <tr> 
          <td height="25" colspan="5" >&nbsp;</td>
        </tr>
        <tr class=titlefont> 
          <td width="25%" >&nbsp;站点名称</td>
          <td width="10%" >&nbsp;总浏览量</td>
          <td width="10%" >&nbsp;总IP</td>
          <td width="50%" >&nbsp;管理</td>
          <td width="5%" >&nbsp;状态</td>
        </tr>
        {/foreach key=Key item=Item from=$UserData1/} 
        <tr bgcolor="#dddddd"> 
          <td  height="30" >&nbsp;<a href={/$Item.site/} target="_blank">{/$Item.sitename/}</a>&nbsp;{/if $Item.sub != ""/}<strong onClick="showsubmenu2('submenuboard{/$Key/}','subimgboard{/$Key/}','aimgboard{/$Key/}','bookopen.gif','bookclose.gif')" style="cursor: hand;" title="点击查看频道或子站">[+]</strong>{//if/}</td>
          <td  height="30" >&nbsp;{/$Item.all_count/}</td>
          <td  height="30" >&nbsp;{/$Item.all_count_ip/}</td>
          <td  height="30" align=center>&nbsp;<a href='index.php?website={/$Item.website/}' target="_blank"><strong>汇总报告</strong></a>&nbsp;<a href='index.php?website={/$Item.website/}' target="_blank"><strong>统计报告</strong></a>&nbsp;<A HREF="#" onclick="window.open('pop.php?website={/$Item.website/}','RSS订约地址','')">RSS订阅</A>&nbsp;{/if $Item.session == 'admin' or $Item.session == 'superadmin' or $Item.session == 'strongsuperadmin'/}<a href=getcode.php?website={/$Item.website/}>统计代码</a>&nbsp;[<a href="javascript:if(confirm('确实要清空该站点[{/$Item.sitename/}]的今日统计信息吗?该操作不可逆转!')) location='manage_all_site.php?website={/$Item.website/}&ac=truncatetoday&type={/$Item.sitetype/}'">清空今日数据</a>&nbsp;<a href=user_info.php?action=editsite&website={/$Item.website/}>编辑站点</a>&nbsp;<a href="javascript:if(confirm('确实要清空该站点[{/$Item.sitename/}]的统计信息吗?该操作不可逆转!')) location='manage_all_site.php?website={/$Item.website/}&ac=truncate&type={/$Item.sitetype/}'">清空站点</a>&nbsp;<a  href="javascript:if(confirm('确实要删除该站点[{/$Item.sitename/}]的统计信息吗?该操作不可逆转!')) location='manage_all_site.php?website={/$Item.website/}&ac=del&type={/$Item.sitetype/}'">删除站点</a>]{//if/}&nbsp;</td>
          <td align=center>{/if $Item.statue == 0/}<font color="#FF0000" disabled>异常</font>{//if/}{/if $Item.statue == 1/}<font color="#FF0000">正常</font>{//if/}</td>
        </tr>
		<tr id=submenuboard{/$Key/} style="DISPLAY: none">
		    <td  colspan="5" align="right" ><table width="100%" border=1 cellPadding=1 borderColor=#dddddd  style="BORDER-COLLAPSE: collapse">
			{/foreach item=SubItem from=$Item.sub/}
              <tr bordercolor="#93C2DC" >
                <td width="25%"  height="30" align="right" >&nbsp;<a href="http://{/$Item.site/}" target="_blank">{/$SubItem.sitename/}</a>&nbsp;(子站)</td>
                <td width="10%"  height="30" align="right" >&nbsp;{/$SubItem.all_count/}&nbsp;</td>
                <td width="10%"  height="30" align="right" >&nbsp;{/$SubItem.all_count_ip/}&nbsp;</td>
                <td width="50%"  height="30" align="right">&nbsp;<a href='index.php?website={/$SubItem.website/}' target="_blank"><strong>统计报告</strong></a>&nbsp;<a href="#" onclick="window.open('pop.php?website={/$SubItem.website/}','RSS订约地址','')">RSS订阅</a>&nbsp;{/if $SubItem.session == 'admin' or $SubItem.session == 'superadmin' or $SubItem.session == 'strongsuperadmin'/}<a href="getcode.php?website={/$SubItem.website/}">统计代码</a>&nbsp;[<a href="javascript:if(confirm('确实要清空该站点[{/$SubItem.sitename/}]的今日统计信息吗?该操作不可逆转!')) location='manage_all_site.php?website={/$SubItem.website/}&amp;ac=truncatetoday&amp;type={/$SubItem.sitetype/}'">清空今日数据</a>&nbsp;<a href="user_info.php?action=editsite&amp;website={/$SubItem.website/}">编辑站点</a>&nbsp;<a href="javascript:if(confirm('确实要清空该站点[{/$SubItem.sitename/}]的统计信息吗?该操作不可逆转!')) location='manage_all_site.php?website={/$SubItem.website/}&amp;ac=truncate&amp;type={/$SubItem.sitetype/}'">清空站点</a>&nbsp;<a  href="javascript:if(confirm('确实要删除该站点[{/$SubItem.sitename/}]的统计信息吗?该操作不可逆转!')) location='manage_all_site.php?website={/$SubItem.website/}&amp;ac=del&amp;type={/$SubItem.sitetype/}'">删除站点</a>]{//if/}&nbsp;&nbsp;&nbsp;&nbsp;</td>
                <td width="5%" align="center">{/if $SubItem.statue == 0/}<font color="#FF0000" disabled="disabled">异常</font>{//if/}{/if $SubItem.statue == 1/}<font color="#FF0000">正常</font>{//if/}</td>
              </tr>{//foreach/} 
            </table></td>
	      </tr>
		  
		 
        {//foreach/}
		{/foreach item=SubItem from=$OthUserData1/}
		 <tr bgcolor="#dddddd"> 
          <td  height="30" align="left" >&nbsp;<a href={/$Item.site/} target="_blank">{/$SubItem.sitename/}</a>&nbsp;</td>
          <td  height="30" align="right" >&nbsp;{/$SubItem.all_count/}&nbsp;</td>
          <td  height="30" align="right" >&nbsp;{/$SubItem.all_count_ip/}&nbsp;</td>
          <td  height="30" align=right>&nbsp;<a href='index.php?website={/$SubItem.website/}' target="_blank"><strong>统计报告</strong></a>&nbsp;<A HREF="#" onclick="window.open('pop.php?website={/$SubItem.website/}','RSS订约地址','')">RSS订阅</A>&nbsp;{/if $SubItem.session == 'admin' or $SubItem.session == 'superadmin' or $SubItem.session == 'strongsuperadmin'/}<a href=getcode.php?website={/$SubItem.website/}>统计代码</a>&nbsp;[<a href="javascript:if(confirm('确实要清空该站点[{/$SubItem.sitename/}]的今日统计信息吗?该操作不可逆转!')) location='manage_all_site.php?website={/$SubItem.website/}&ac=truncatetoday&type={/$SubItem.sitetype/}'">清空今日数据</a>&nbsp;<a href=user_info.php?action=editsite&website={/$SubItem.website/}>编辑站点</a>&nbsp;<a href="javascript:if(confirm('确实要清空该站点[{/$SubItem.sitename/}]的统计信息吗?该操作不可逆转!')) location='manage_all_site.php?website={/$SubItem.website/}&ac=truncate&type={/$SubItem.sitetype/}'">清空站点</a>&nbsp;<a  href="javascript:if(confirm('确实要删除该站点[{/$SubItem.sitename/}]的统计信息吗?该操作不可逆转!')) location='manage_all_site.php?website={/$SubItem.website/}&ac=del&type={/$SubItem.sitetype/}'">删除站点</a>]{//if/}&nbsp;&nbsp;&nbsp;&nbsp;</td>
          <td align=center>{/if $SubItem.statue == 0/}<font color="#FF0000" disabled>异常</font>{//if/}{/if $SubItem.statue == 1/}<font color="#FF0000">正常</font>{//if/}</td>
        </tr>
		 {//foreach/}  
      </table>
	  <br><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td height="40" valign="middle" >
<div class=pagelink>{/$PageLinks/}</div></td>
                </tr>
              </table>