그누보드5 정식버전

This commit is contained in:
chicpro
2014-06-09 14:48:44 +09:00
parent 0243dabe20
commit 7983affa68
1174 changed files with 136960 additions and 0 deletions

View File

@ -0,0 +1,13 @@
@charset "utf-8";
/* SIR 지운아빠 */
/* 방문자 집계 */
#visit {border-bottom:1px dotted #dde4e9}
#visit div {margin:0 auto;width:970px;zoom:1}
#visit div:after {display:block;visibility:hidden;clear:both;content:""}
#visit h2 {float:left;padding:10px 45px 10px 0}
#visit dl {float:left;margin:0 0 0 10px;padding:0}
#visit dt {float:left;margin:0;padding:10px 0 10px}
#visit dd {float:left;margin:0 30px 0 0;padding:10px}
#visit a {display:inline-block;padding:10px;text-decoration:none}
#visit a:focus, #visit a:hover {}

View File

@ -0,0 +1,27 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
global $is_admin;
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="'.$visit_skin_url.'/style.css">', 0);
?>
<!-- 접속자집계 시작 { -->
<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 G5_ADMIN_URL ?>/visit_list.php">상세보기</a><?php } ?>
</div>
</section>
<!-- } 접속자집계 끝 -->