<?
session_start();
include_once '../../include.inc/config.inc.php';
include_once '../../include.inc/conn.db.inc.php';
include_once '../../include.inc/global.inc.php';	
$website = strval($_GET[website]);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content=TRUE name=MSSmartTagsPreventParsing>
<META http-equiv=MSThemeCompatible content=Yes>
<META http-equiv=html content=no-cache>
<link href="imagefiles/style.css" rel="stylesheet" type="text/css">
<STYLE type=text/css>
A {
	COLOR: #000000; TEXT-DECORATION: none
}
A:hover {
	COLOR: #4455aa; TEXT-DECORATION: underline
}
BODY {
	FONT-SIZE: 12px;  MARGIN: 0px; COLOR: #000000; FONT-FAMILY: Tahoma;  TEXT-ALIGN: center
}
FONT {
	LINE-HEIGHT: normal
}
TD {
	FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: Tahoma
}
.en {
	FONT-SIZE: 11px; FONT-FAMILY: verdana
}
</STYLE>

<META content="MSHTML 6.00.2900.2604" name=GENERATOR></HEAD>
<BODY>
<SCRIPT>
function checkclick(msg){
if(confirm(msg)){
event.returnValue=true;
}else{
event.returnValue=false;
}
}
</SCRIPT>

<DIV class=menuskin id=popmenu onmouseover=clearhidemenu() style="Z-INDEX: 100" 
onmouseout=dynamichide(event)></DIV>
<TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" align=center>
  <TBODY>
  <TR>
    <TD class=tablebody12 vAlign=top align=middle width="100%">
      <TABLE style="WIDTH: 100%" cellSpacing=0 cellPadding=0>
        <TBODY>
          <TR> 
            <TD width="100%" height=30 valign="top" background="imagefiles/menubg.jpg" > 
              <B> <IMG id=aimgboard5 alt=展开菜单 
            src="imagefiles/bookclose.gif" align=absMiddle> <A href="../../main.php?website=<?=$website?>" 
            target=window_main><font color="#333333">统计概况</font></A></B> </TD>
          </TR>
          <TR> 
            <TD 
          width="100%" height=30 background="imagefiles/menubg.jpg" 
          onclick="showsubmenu('submenuboard0','subimgboard0','aimgboard0','bookopen.gif','bookclose.gif')" > 
              <IMG id=aimgboard0 alt=展开菜单 
            src="imagefiles/bookclose.gif" align=absMiddle> <B><A 
            style="cursor: hand;"><font color="#333333">实时统计</font></A></B> </TD>
          </TR>
          <TR> 
            <TD id=submenuboard0 style="DISPLAY: yes"> <TABLE width="100%" align=center cellPadding=0 cellSpacing=0>
                <TBODY>
                  <TR> 
                    <TD class=tablebody1 vAlign=middle align=left> &nbsp;&nbsp; 
                      &nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../show_today.php?website=<?=$website?>" 
                  target=window_main>今日明细</A></TD>
                  </TR>
                  <TR> 
                    <TD class=tablebody1 vAlign=middle align=left> &nbsp; &nbsp;&nbsp;<img src="imagefiles/blue21.gif" width="12" height="12">&nbsp;<A 
                  href="../../show_today.php?website=<?=$website?>&types=2" 
                  target=window_main>历史明细</A></TD>
                  </TR>
                  <TR> 
                    <TD class=tablebody1 vAlign=middle align=left> &nbsp;&nbsp; 
                      &nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../online.php?website=<?=$website?>&types=3" 
                  target=window_main>二十分钟在线</A></TD>
                  </TR>
                </TBODY>
              </TABLE></TD>
          </TR>
          <!-- 受访页分析 -->
          <TR> 
            <TD height=30 background="imagefiles/menubg.jpg" 
          onclick="showsubmenu('submenuboard4','subimgboard4','aimgboard4','bookopen.gif','bookclose.gif')" > 
              <IMG id=aimgboard4 alt=展开菜单 
            src="imagefiles/bookclose.gif" align=absMiddle> <B><A 
            style="cursor: hand;"><font color="#333333">访问者分析</font></A></B> </TD>
          </TR>
          <TR id=submenuboard4 style="DISPLAY: yes"> 
            <TD height=30><TABLE cellSpacing=0 cellPadding=0 width="100%" align=center>
                <TBODY>
                  <TR onclick="showsubmenu('submenuboard41','subimgboard41','aimgboard41','bookopen.gif','bookclose.gif')"> 
                    <TD align=left vAlign=middle bgcolor="#CCCCCC" class=tablebody1>&nbsp; 
                      &nbsp;&nbsp;<img src="imagefiles/blue22.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
            style="cursor: hand;">单一访问者跟踪</A></TD>
                  </TR>
                  <TR  id=submenuboard41 style="DISPLAY: none"> 
                    <TD class=tablebody1 vAlign=middle align=left><TABLE cellSpacing=0 cellPadding=0 width="100%" align=center>
                        <TBODY>
                          <TR>
                            <TD class=tablebody2 vAlign=middle align=left>&nbsp; 
                              &nbsp;&nbsp;&nbsp;&nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../stat_alexa.php?website=<?=$website?>" 
                  target=window_main>Alexa工具条</A></TD>
                          </TR>
                          <TR> 
                            <TD class=tablebody2 vAlign=middle align=left>&nbsp;&nbsp; 
                              &nbsp;&nbsp;&nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../viewer_daily.php?website=<?=$website?>" target=window_main>每日访问者</A></TD>
                          </TR>
                          <TR> 
                            <TD class=tablebody2 vAlign=middle align=left>&nbsp;&nbsp; 
                              &nbsp;&nbsp;&nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../viewer_views.php?website=<?=$website?>" target=window_main>访问量和浏览量</A></TD>
                          </TR>
                          <TR> 
                            <TD class=tablebody2 vAlign=middle align=left>&nbsp;&nbsp; 
                              &nbsp;&nbsp;&nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../viewer_fealty.php?website=<?=$website?>" target=window_main>访问者忠诚度</A></TD>
                          </TR>
                          <TR> 
                            <TD class=tablebody2 vAlign=middle align=left>&nbsp;&nbsp; 
                              &nbsp;&nbsp;&nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../viewer_similar.php?website=<?=$website?>" target=window_main>访问者新近度</A></TD>
                          </TR>
                        </TBODY>
                      </TABLE></TD>
                  </TR>
                  <TR onclick="showsubmenu('submenuboard42','subimgboard42','aimgboard42','bookopen.gif','bookclose.gif')"> 
                    <TD class=tablebody1 vAlign=middle align=left>&nbsp; &nbsp;&nbsp;<A 
            style="cursor: hand;"><strong></strong></A><A 
            style="cursor: hand;"><img src="imagefiles/blue22.gif" width="12" height="12" align="absmiddle"> 
                      所有访问者跟踪</A></TD>
                  </TR>
                  <TR  id=submenuboard42 style="DISPLAY: none"> 
                    <TD class=tablebody1 vAlign=middle align=left><table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <TR> 
                          <TD align=left vAlign=middle class=tablebody2>&nbsp;&nbsp; 
                            &nbsp;&nbsp;&nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../referer.php?website=<?=$website?>" 
                  target=window_main>访问来源</A></TD>
                        </TR>
                        <TR> 
                          <TD align=left vAlign=middle class=tablebody2>&nbsp; 
                            &nbsp;&nbsp;&nbsp;&nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../domain.php?website=<?=$website?>" 
                  target=window_main>来源站点</A></TD>
                        </TR>
                        <TR> 
                          <TD align=left vAlign=middle class=tablebody2> &nbsp;&nbsp; 
                            &nbsp;&nbsp;&nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../country.php?website=<?=$website?>" 
                  target=window_main>国家统计</A></TD>
                        </TR>
                        <TR> 
                          <TD height="17" align=left vAlign=middle class=tablebody2> 
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../province.php?website=<?=$website?>" 
                  target=window_main>省份统计</A></TD>
                        </TR>
                        <TR> 
                          <TD align=left vAlign=middle class=tablebody2>&nbsp;&nbsp;&nbsp;&nbsp; 
                            &nbsp;<img src="imagefiles/blue21.gif" width="12" height="12">&nbsp;<A 
                  href="../../city.php?website=<?=$website?>" 
                  target=window_main>城市统计</A></TD>
                        </TR>
                        <TR> 
                          <TD align=left vAlign=middle class=tablebody2> &nbsp;&nbsp; 
                            &nbsp;&nbsp;&nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../area.php?website=<?=$website?>" 
                  target=window_main>网络位置</A></TD>
                        </TR>
                        <TR> 
                          <TD align=left vAlign=middle class=tablebody2>&nbsp;&nbsp; 
                            &nbsp;&nbsp;&nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../language.php?website=<?=$website?>"target=window_main>语言</A></TD>
                        </TR>
                        <TR> 
                          <TD align=left vAlign=middle class=tablebody2>&nbsp;&nbsp; 
                            &nbsp;&nbsp;&nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../timezone.php?website=<?=$website?>" target=window_main>时区</A></TD>
                        </TR>
                      </table></TD>
                  </TR>
                </TBODY>
              </TABLE></TD>
          </TR>
          <TR> 
            <TD 
          width="100%" height=30 background="imagefiles/menubg.jpg" 
          onclick="showsubmenu('submenuboard6','subimgboard6','aimgboard6','bookopen.gif','bookclose.gif')" > 
              <IMG id=aimgboard6 alt=展开菜单 
            src="imagefiles/bookclose.gif" align=absMiddle> <B><A 
            style="cursor: hand;"><font color="#333333">浏览页面分析</font></A></B> </TD>
          </TR>
          <TR> 
            <TD id=submenuboard6 style="DISPLAY: yes"> <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center>
                <TBODY>
                  <TR> 
                    <TD class=tablebody1 vAlign=middle align=left> &nbsp;&nbsp; 
                      &nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../page.php?website=<?=$website?>" 
                  target=window_main>热门页面</A></TD>
                  </TR>
                  <TR> 
                    <TD class=tablebody1 vAlign=middle align=left> &nbsp;&nbsp; 
                      &nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../pagetitle.php?website=<?=$website?>" 
                  target=window_main>热门标题</A></TD>
                  </TR>
                  <TR> 
                    <TD height="28" align=left vAlign=middle class=tablebody1> 
                      &nbsp;&nbsp; &nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../entry_page.php?website=<?=$website?>&type=0" 
                  target=window_main>入口页面</A></TD>
                  </TR>
                  <TR> 
                    <TD class=tablebody1 vAlign=middle align=left> &nbsp;&nbsp; 
                      &nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../exit_page.php?website=<?=$website?>&type=0" 
                  target=window_main>出口页面</A></TD>
                  </TR>
                  <TR> 
                    <TD class=tablebody1 vAlign=middle align=left>&nbsp;&nbsp; 
                      &nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../page_dynamic.php?website=<?=$website?>" 
                  target=window_main>动态内容</A></TD>
                  </TR>
                  <TR> 
                    <TD class=tablebody1 vAlign=middle align=left>&nbsp;&nbsp; 
                      &nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../page_view_depth.php?website=<?=$website?>" target=window_main>访问深度</A><A 
                  href="#"></A></TD>
                  </TR>
                  <TR> 
                    <TD class=tablebody1 vAlign=middle align=left>&nbsp;&nbsp; 
                      &nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../page_view_times.php?website=<?=$website?>" target=window_main>访问时长</A></TD>
                  </TR>
                </TBODY>
              </TABLE></TD>
          </TR>
          <!-- 受访页分析结束 -->
          <!-- 地域分析 -->
          <TR> 
            <TD 
          width="100%" height=30 background="imagefiles/menubg.jpg" 
          onclick="showsubmenu('submenuboard8','subimgboard8','aimgboard8','bookopen.gif','bookclose.gif')"> 
              <IMG id=aimgboard8 alt=展开菜单 
            src="imagefiles/bookclose.gif" align=absMiddle> <B><A 
            style="cursor: hand;"><font color="#333333">搜索引擎分析</font></A></B> 
            </TD>
          </TR>
          <TR> 
            <TD id=submenuboard8 style="DISPLAY: none"> <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center>
                <TBODY>
                  <TR> 
                    <TD class=tablebody1 vAlign=middle align=left>&nbsp;&nbsp; 
                      &nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../keyword.php?website=<?=$website?>" 
                  target=window_main>关键字</A></TD>
                  </TR>
                  <TR> 
                    <TD class=tablebody1 vAlign=middle align=left>&nbsp;&nbsp; 
                      &nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../referer.php?website=<?=$website?>&engine=true" 
                  target=window_main>搜索引擎</A></TD>
                  </TR>
                  <TR> 
                    <TD class=tablebody1 vAlign=middle align=left> &nbsp;&nbsp; 
                      &nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../bot.php?website=<?=$website?>" 
                  target=window_main>网络蜘蛛</A></TD>
                  </TR>
                </TBODY>
              </TABLE></TD>
          </TR>
          <!-- 地域分析结束 -->
          <!-- 回头率分析 -->
          <TR> 
            <TD 
          width="100%" height=30 background="imagefiles/menubg.jpg"> <IMG id=aimgboard5 alt=展开菜单 
            src="imagefiles/bookclose.gif" align=absMiddle> <B><A 
                  href="../../advertisement.php?website=<?=$website?>" 
                  target=window_main><FONT  COLOR="red">广告统计分析</font></A></B> </TD>
          </TR>
          <!-- 回头率分析结束 -->
          <!-- 统计报表分析 
          <TR> 
            <TD height=30 background="imagefiles/menubg.jpg" 
          onclick="showsubmenu('submenuboard32','subimgboard32','aimgboard32','bookopen.gif','bookclose.gif')" > 
              <IMG id=aimgboard5 alt=展开菜单 
            src="imagefiles/bookclose.gif" align=absMiddle> <B><A style="cursor: hand;"><font color="#333333">统计报表分析</font></A></B></TD>
          </TR>
          <TR> 
            <TD id=submenuboard32 style="DISPLAY: none"><TABLE cellSpacing=0 cellPadding=0 width="100%" align=center>
                <TBODY>
                  <TR> 
                    <TD class=tablebody1 vAlign=middle align=left> &nbsp;&nbsp; 
                      &nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../report.php?website=<?=$website?>" 
                  target=_blank>快速报表</A></TD>
                  </TR>
                  <TR> 
                    <TD class=tablebody1 vAlign=middle align=left> &nbsp;&nbsp; 
                      &nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../myreport/index.htm" 
                  target=window_main>每周报表</A></TD>
                  </TR>
                  <TR> 
                    <TD class=tablebody1 vAlign=middle align=left> &nbsp;&nbsp; 
                      &nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A        
                  href="../../alexa.php?website=<?=$website?>" 
                  target=window_main>Alexa排名</A></TD>
                  </TR>
                </TBODY>
              </TABLE></TD>
          </TR>
		 统计报表分析结束 -->
          <!-- 时段分析 -->
          <TR> 
            <TD 
          width="100%" height=30 background="imagefiles/menubg.jpg" 
          onclick="showsubmenu('submenuboard10','subimgboard10','aimgboard10','bookopen.gif','bookclose.gif')"> 
              <IMG id=aimgboard10 alt=展开菜单 
            src="imagefiles/bookclose.gif" align=absMiddle> <B><A 
            style="cursor: hand;"><font color="#333333">历史数据分析</font></A></B> 
            </TD>
          </TR>
          <TR> 
            <TD id=submenuboard10 style="DISPLAY: none"> <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center>
                <TBODY>
                  <TR> 
                    <TD class=tablebody1 vAlign=middle align=left> &nbsp;&nbsp; 
                      &nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../stat_day.php?website=<?=$website?>" 
                  target=window_main>每日统计</A></TD>
                  </TR>
                  <TR> 
                    <TD class=tablebody1 vAlign=middle align=left> &nbsp;&nbsp; 
                      &nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../stat_month.php?website=<?=$website?>" 
                  target=window_main>每月统计</A></TD>
                  </TR>
                  <TR> 
                    <TD class=tablebody1 vAlign=middle align=left> &nbsp;&nbsp; 
                      &nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../stat_year.php?website=<?=$website?>" 
                  target=window_main>每年分析</A></TD>
                  </TR>
                </TBODY>
              </TABLE></TD>
          </TR>
          <!-- 时段分析结束 -->
          <!-- 搜索引擎分析 -->
          <TR> 
            <TD 
          width="100%" height=25 background="imagefiles/menubg.jpg" 
          onclick="showsubmenu('submenuboard12','subimgboard12','aimgboard12','bookopen.gif','bookclose.gif')"> 
              <IMG id=aimgboard12 alt=展开菜单 
            src="imagefiles/bookclose.gif" align=absMiddle> <B><A 
            style="cursor: hand;"><font color="#333333">web参数设计</font></A></B> 
            </TD>
          </TR>
          <TR> 
            <TD id=submenuboard12 style="DISPLAY: none"> <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center>
                <TBODY>
                  <TR> 
                    <TD class=tablebody1 vAlign=middle align=left>&nbsp;&nbsp; 
                      &nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../language.php?website=<?=$website?>"target=window_main>系统语言</A></TD>
                  </TR>
                  <TR> 
                    <TD class=tablebody1 vAlign=middle align=left>&nbsp;&nbsp; 
                      &nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../soft.php?website=<?=$website?>" 
                  target=window_main>平台&浏览器版本</A></TD>
                  </TR>
                  <TR>
                    <TD class=tablebody1 vAlign=middle align=left>&nbsp;&nbsp; 
                      &nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../screen.php?website=<?=$website?>" target=window_main>屏幕分辨率&颜色</A></TD>
                  </TR>
                  <TR> 
                    <TD class=tablebody1 vAlign=middle align=left>&nbsp;&nbsp; 
                      &nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../plug.php?website=<?=$website?>" target=window_main>已启用Java&Flash</A></TD>
                  </TR>
                </TBODY>
              </TABLE></TD>
          </TR>
          <!-- 搜索引擎分析结束 -->
          <!-- 统计站点 -->
          <?
		  include_once '../../include.inc/config.inc.php';
		  include_once '../../include.inc/conn.db.inc.php';
		  if( $_SESSION[SESSION_USERGROUP] == "admin" or $_SESSION[SESSION_USERGROUP] == "superadmin" )
			{
			?>
          <TR>
            <TD height=30 background="imagefiles/menubg.jpg" 
          onclick="showsubmenu('submenuboard14','subimgboard14','aimgboard14','openfolder.gif','closedfolder.gif')"><IMG id=aimgboard14 alt=展开菜单 
            src="imagefiles/bookclose.gif" align=absMiddle> <B><A 
            style="cursor: hand;"><font color="#333333">实用功能</font></A></B> 
            </TD>
          </TR>
          <TR> 
            <TD  id=submenuboard14 style="DISPLAY: none"><TABLE cellSpacing=0 cellPadding=0 width="100%" align=center>
                <TBODY>
                  <TR> 
                    <TD class=tablebody1 vAlign=middle align=left>&nbsp;&nbsp; 
                      &nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../ip_search.php?website=<?=$website?>" 
                  target=window_main>IP地址查询</A></TD>
                  </TR>
                </TBODY>
              </TABLE></TD>
          </TR>
          <TR> 
            <TD height=30 background="imagefiles/menubg.jpg" 
          onclick="showsubmenu('submenuboard109','subimgboard109','aimgboard109','openfolder.gif','closedfolder.gif')"> 
              <IMG id=aimgboard109 alt=展开菜单 
            src="imagefiles/bookclose.gif" align=absMiddle> <B><A 
            style="cursor: hand;"><font color="#333333">统计站点列表</font></A></B> 
            </TD>
          </TR>
          <TR> 
            <TD id=submenuboard109 style="DISPLAY: none"><TABLE cellSpacing=0 cellPadding=0 width="100%" align=center>
                <TBODY>
                  <?
			
		if($_SESSION[SESSION_USERGROUP] == 'superadmin')
		{	
			$rs = $Conn->Execute( " select site,sitename,sitetype,website,all_count,all_count_ip from $TableList[site]");
		}
		else
		{	
			$ResSite = $Conn->Execute( " select websiteid from $TableList[user_site] where managerid = '$manager'");
			while($TmpSite = $ResSite->FetchRow())
			$WebsiteID[] = $TmpSite[websiteid];
			$Where = implode("|",$WebsiteID);
			$Res = $Conn->Execute( " select site,sitename,sitetype,website,all_count,all_count_ip from $TableList[site] where website REGEXP '".$Where."'");
			$manager = $_SESSION[SESSION_MANAGER];
			$rs = $Conn->Execute("select sitename,website,site from $TableList[site] where managerid = '$manager' order by id asc");
		}
			while($row = $rs->FetchRow())
				{
			?>
                  <TR> 
                    <TD class=tablebody1 vAlign=middle align=left> &nbsp;&nbsp; 
                      &nbsp;<img src="imagefiles/blue21.gif" width="12" height="12" align="absmiddle">&nbsp;<A 
                  href="../../index.php?website=<?=$row[website]?>" 
                  target=window_main> 
                      <?=$row[sitename]?>
                      </A></TD>
                  </TR>
                  <?
				}			
			?>
                </TBODY>
              </TABLE></TD>
          </TR>
          <!-- 统计站点结束 -->
          <?
			}
			 ?>
          <TR> 
            <TD width="100%" height=30 background="imagefiles/menubg.jpg"> &nbsp;&nbsp;&nbsp;<IMG src="imagefiles/h1.gif"> 
              <B><A  onclick="checkclick('确实要退出管理吗?')" 
                  href="../../login.php?logout=true" 
                  target=window_main><font color="#333333">安全退出</font></A></B> 
            </TD>
          </TR>
          <TR> 
            <TD></TD>
          </TR>
        </TBODY>
      </TABLE></TD></TR>
  <TR>
    <TD class=tablebody111 vAlign=bottom>
      <TABLE cellSpacing=0 cellPadding=0 width="96%" align=left border=0>
        <TBODY>
        <TR>
          <TD align=middle></TD></TR></TD></TR>
        <TR></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<SCRIPT language=javascript1.2>

function showsubmenu(ss,iis,ii)
{
var menuobjedt=document.getElementById(ss);
if (menuobjedt)
{
 if (menuobjedt.style.display=="none") 
  {menuobjedt.style.display="";
   document.getElementById(ii).src="imagefiles/bookopen.gif";
   document.getElementById(ii).alt="关闭菜单";
   //document.getElementById(aa).src="imagefiles/"+openimg;
   //document.getElementById(aa).alt="关闭菜单";
}
 else
  {menuobjedt.style.display="none"; 
	document.getElementById(ii).src="imagefiles/bookclose.gif";
	document.getElementById(ii).alt="展开菜单";
	//document.getElementById(aa).src="imagefiles/"+closeimg;
	//document.getElementById(aa).alt="展开菜单";
   }
}
}
function reloadpage(){
	parent.window_left.location.reload();
}
</SCRIPT>
</BODY></HTML>
