git subtree merge를 위한 g4s_branch 및 서브트리 생성

This commit is contained in:
chicpro
2013-04-26 15:21:39 +09:00
parent f7247c0050
commit da91511e5f
711 changed files with 94885 additions and 0 deletions

View File

@ -0,0 +1,11 @@
/* 방문자 집계 */
#visit {background:#444}
#visit div {margin:0 auto;width:980px;zoom:1}
#visit div:after {display:block;visibility:hidden;clear:both;content:""}
#visit h2 {float:left;padding:10px 45px 10px 0;color:#fff}
#visit dl {float:left;margin:0 0 0 10px;padding:0}
#visit dt {float:left;margin:0;padding:10px 0 10px;color:#fff}
#visit dd {float:left;margin:0 30px 0 0;padding:10px;color:#fff}
#visit a {display:inline-block;padding:10px;color:#fff;text-decoration:none}
#visit a:focus,
#visit a:hover {background:#333;color:#fff}

View File

@ -0,0 +1,24 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
global $is_admin;
?>
<link rel="stylesheet" href="<?php echo $visit_skin_url ?>/style.css">
<section id="visit">
<div>
<h2>접속자집계</h2>
<dl>
<dt>오늘</dt>
<dd><?php echo number_format($visit[1]) ?></dd>
<dt>어제</dt>
<dd><?php echo number_format($visit[2]) ?></dd>
<dt>최대</dt>
<dd><?php echo number_format($visit[3]) ?></dd>
<dt>전체</dt>
<dd><?php echo number_format($visit[4]) ?></dd>
</dl>
<?php if ($is_admin == "super") { ?><a href="<?php echo G4_ADMIN_URL ?>/visit_list.php">상세보기</a><?php } ?>
</div>
</section>