<?
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=big5">
<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_old.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="../../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="showsubmenu2('submenuboard41','subimgboard41','aimgboard41','bookopen.gif','bookclose.gif')"> 
                    <TD align=left vAlign=middle bgcolor="#CCCCCC" class=tablebody1>&nbsp; 
                      &nbsp;&nbsp;<img id=aimgboard41 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_new_old.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="showsubmenu2('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 id=aimgboard42 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?>" 
                  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?>" 
                  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="../../search.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="../../keyword_kinds.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="../../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>廣告統計分析</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_week.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';		 
			?>
          <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>
                  <?
		$managercode = $_SESSION[SESSION_USERGROUP_CODE];
		$manager = $_SESSION[SESSION_MANAGER];	
		if($_SESSION[SESSION_USERGROUP] == 'strongsuperadmin')
		{	
			$Res = $Conn->Execute( " select site,sitename,sitetype,website,all_count,all_count_ip from $TableList[site] where msn = '$managercode'");
		}
		else
		{	
			$ResSite = $Conn->Execute( " select websiteid from $TableList[user_site] where managerid = '$manager'");
			while($TmpSite = $ResSite->FetchRow())
			$WebsiteID[] = $TmpSite[websiteid];
			$Where = @implode("|",$WebsiteID);
			if( count($Where) > 0)
			{	
				$WhereStr = " website REGEXP '".$Where."' or ";
			}		
			
			$Res = $Conn->Execute( " select * from $TableList[site] where $WhereStr managerid = '$manager'");		
			
		}
			while($row = $Res->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 showsubmenu2(ss,iis,ii)
{
var menuobjedt=document.getElementById(ss);
if (menuobjedt)
{
 if (menuobjedt.style.display=="none") 
  {menuobjedt.style.display="";
   document.getElementById(ii).src="imagefiles/blue21.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/blue22.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>
