<!--
<?php
print <<<EOT
--> 
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="tablewidth">

  <tr> 
    <td align="center"> 
      <input type="button" name="Submit22" value="管理設置" onClick="window.location=('index.php?lfj=$lfj&hack=$hack&job=set')">
      　　 
      <input type="button" name="Submit2" value="今日流量分析" onClick="window.location=('index.php?lfj=$lfj&hack=$hack&job=list')">
      　　 
      <input type="button" name="Submit23" value="最近詳情分析" onClick="window.location=('index.php?lfj=$lfj&hack=$hack&job=listmore')">
      　　 
      <input type="button" name="Submit232" value="本年度流量分析" onClick="window.location=('index.php?lfj=$lfj&hack=$hack&job=listall')">
    </td>
  </tr>
</table>
<br>
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="tablewidth">
  <form name="form1" method="post" action="index.php?lfj=$lfj&hack=$hack&action=$job">
    <tr class="head"> 
      <td align="center" colspan="2"><font color="#FFFFFF">流量統計</font></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="50%" align="center">今日流量統計</td>
      <td width="50%" align="center">昨日流量統計</td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="50%">今日到訪PV: $todydb[pv] 次<br>
        今日到訪UV: $todydb[uv] 人<br>
        今日到訪IP: $todydb[ip] 個</td>
      <td width="50%">昨日到訪PV: $yesterdaydb[pv] 次<br>
        昨日到訪UV: $yesterdaydb[uv] 人<br>
        昨日到訪IP: $yesterdaydb[ip] 個</td>
    </tr>
     
  </form>
</table>
 
<br>
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="tablewidth">
  <form name="form1" method="post" action="index.php?lfj=$lfj&hack=$hack&action=$job">
    <tr class="head"> 
      <td align="center"><font color="#FFFFFF">調用代碼</font></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td align="left">代碼: <font color="#FF0000">&lt;SCRIPT LANGUAGE=&quot;JavaScript&quot; 
        src=&quot;$webdb[www_url]/do/count.php?fid=1&quot;&gt;&lt;/SCRIPT&gt; 
        </font> ,你只須把這段代碼放到有需要統計的foot.htm網頁模板里邊即可</td>
    </tr>
  </form>
</table>
<br>
<form name="form1" method="post" action="index.php?lfj=$lfj&hack=$hack&action=$job">
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="tablewidth">
  
    <tr class="head"> 
      <td align="center" width="8%"><font color="#FFFFFF">id</font></td>
      <td align="center" width="5%">瀏覽</td>
      <td align="center" width="7%">ip來源</td>
      <td align="center" width="12%">操作系統</td>
      <td align="center" width="10%">瀏覽器</td>
      <td align="center" width="7%">語言</td>
      <td align="center" width="10%">分辨率</td>
      <td align="center" width="24%">來源頁</td>
      <td align="center" width="20%">最後停留頁</td>
    </tr>
<!--
EOT;
foreach($listdb AS $key=>$rs){
$rs[lasturl]=$rs[lasturl]?$rs[lasturl]:$rs[weburl];
print <<<EOT
-->
    <tr bgcolor="#FFFFFF"> 
      <td width="5%" align="center">
        <input type="checkbox" name="iddb[]" value="$rs[id]" checked>
        $rs[id]</td>
      <td width="5%" align="center">$rs[hits]</td>
      <td width="7%" align="center">$rs[ip]
	  <br>$rs[ip_address]</td>
      <td width="12%" align="center">$rs[windows_type]</td>
      <td width="10%" align="center">$rs[ie_type]</td>
      <td width="7%" align="center">$rs[windows_lang]</td>
      <td width="10%" align="center">$rs[screen_size]</td>
      <td width="24%" align="center">
        <input type="text" name="textfield" value="$rs[fromurl]" title="$rs[fromurl],雙擊即可打開,$rs[lasttime],$rs[username]" onDblClick="window.open('$rs[fromurl]');">
		<br>$rs[keyword]
      </td>
      <td width="20%" align="center">
        <input type="text" name="textfield2" value="$rs[lasturl]" title="$rs[lasturl],雙擊即可打開,$rs[lasttime],$rs[username]" onDblClick="window.open('$rs[lasturl]');">
      </td>
    </tr>
<!--
EOT;
}print <<<EOT
-->
  
</table>
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr> 
      <td align="center">$showpage</td>
    </tr>
    <tr>
      <td align="center">
        <input type="submit" name="Submit" value="清除以上選中的信息">
      </td>
    </tr>
  </table>
</form>
<br>
<!--
EOT;
?>
-->
