<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 

global $is_admin;
$row1 = sql_fetch(" select count(*) as cnt from $g4[member_table] ");//전체 회원수

$row2 = sql_fetch(" select count(*) as cnt from $g4[member_table] where left(mb_datetime,10) = '".date("Y-m-d", time())."' ");// 오늘 가입 

$row3 = sql_fetch(" select count(*) as cnt from $g4[member_table] where left(mb_datetime,10) = '".date("Y-m-d", time()-86400)."' "); 
?>
오늘 <span style="color:#39a3e7;"><?=number_format($visit[1])?></span> <? if ($is_admin == "super") { ?><a href="<?=$g4[admin_path]?>/visit_list.php">a</a><?}?> 어제 <span style="color:#39a3e7;"><?=number_format($visit[2])?></span> 최대 <span style="color:#39a3e7;"><?=number_format($visit[3])?></span> 전체 <span style="color:#39a3e7;"><?=number_format($visit[4])?></span><!-- &nbsp;|&nbsp;오늘 가입 <span style="color:#39a3e7;"><?=$row2[cnt]?></span> 어제 가입 <span style="color:#39a3e7;"><?=$row3[cnt]?></span> 총 회원수 <span style="color:#39a3e7;"><?=$row1[cnt]?></span> -->
