First Commit
This commit is contained in:
15
web/html/theme/AT_WEB01/mobile/skin/visit/basic/style.css
Normal file
15
web/html/theme/AT_WEB01/mobile/skin/visit/basic/style.css
Normal file
@ -0,0 +1,15 @@
|
||||
@charset "utf-8";
|
||||
|
||||
#visit {margin:30px 10px}
|
||||
#visit h2 {display:inline-block;background: #4162ff;color: #fff;border-radius: 13px;line-height: 24px;padding: 0 10px;margin:0 0 10px;
|
||||
-webkit-box-shadow: 0 0 5px rgba(65,98,255,0.8);
|
||||
-moz-box-shadow: 0 0 5px rgba(65,98,255,0.8);
|
||||
box-shadow: 0 0 8px rgba(65,98,255,0.8); }
|
||||
#visit dl{background:#fff;padding:10px;border-radius:3px;line-height:20px;
|
||||
-webkit-box-shadow: 0 1px 4px #cbd1df;
|
||||
-moz-box-shadow: 0 1px 4px #cbd1df;
|
||||
box-shadow: 0 1px 4px #cbd1df;}
|
||||
#visit dl:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#visit dt {float:left;width:50%}
|
||||
#visit dd {float:left;width:50%;text-align:right}
|
||||
#visit a {display:inline-block;padding:10px 3px;text-decoration:none}
|
||||
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
global $is_admin;
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$visit_skin_url.'/style.css">', 0);
|
||||
?>
|
||||
|
||||
<aside id="visit">
|
||||
<h2><i class="fa fa-user" aria-hidden="true"></i> 접속자집계</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 } ?>
|
||||
</aside>
|
||||
Reference in New Issue
Block a user