<?
if (!defined("_GNUBOARD_")) exit;

include_once("$g4[path]/lib/visit.lib.php");

if (empty($fr_date)) $fr_date = $g4[time_ymd];
if (empty($to_date)) $to_date = $g4[time_ymd];

$qstr = "fr_date=$fr_date&to_date=$to_date";
?>

<table width=100% cellpadding=3 cellspacing=1>
<form name=fvisit method=get>
<tr>
    <td>
        时段 : 
        <input type='text' name='fr_date' size=11 maxlength=10 value='<?=$fr_date?>' class=ed>
        -
        <input type='text' name='to_date' size=11 maxlength=10 value='<?=$to_date?>' class=ed>
        &nbsp;
        <input type=button class=btn1 value=' 访问者 '   onclick="fvisit_submit('visit_list.php');">
        <input type=button class=btn1 value=' 域名 '   onclick="fvisit_submit('visit_domain.php');">
        <input type=button class=btn1 value=' 浏览器 ' onclick="fvisit_submit('visit_browser.php');">
        <input type=button class=btn1 value=' 系统OS '       onclick="fvisit_submit('visit_os.php');">
        <input type=button class=btn1 value=' 时间 '     onclick="fvisit_submit('visit_hour.php');">
        <input type=button class=btn1 value=' 星期 '     onclick="fvisit_submit('visit_week.php');">
        <input type=button class=btn1 value=' 日 '       onclick="fvisit_submit('visit_date.php');">
        <input type=button class=btn1 value=' 月 '       onclick="fvisit_submit('visit_month.php');">
        <input type=button class=btn1 value=' 年 '       onclick="fvisit_submit('visit_year.php');">
    </td>
</tr>
</form>
</table>

<script language='javascript'>
function fvisit_submit(act) 
{
    var f = document.fvisit;
    f.action = act;
    f.submit();
}
</script>
