First Commit
This commit is contained in:
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$popular_skin_url.'/style.css">', 0);
|
||||
?>
|
||||
|
||||
<aside id="popular">
|
||||
<h2><i class="fa fa-star-o" aria-hidden="true"></i> 인기검색어</h2>
|
||||
<div>
|
||||
<?php
|
||||
if( isset($list) && is_array($list) ){
|
||||
for ($i=0; $i<count($list); $i++) {
|
||||
?>
|
||||
<a href="<?php echo G5_BBS_URL ?>/search.php?sfl=wr_subject&sop=and&stx=<?php echo urlencode($list[$i]['pp_word']) ?>"><?php echo get_text($list[$i]['pp_word']); ?></a>
|
||||
<?php
|
||||
} //end for
|
||||
} //end if
|
||||
?>
|
||||
</div>
|
||||
</aside>
|
||||
10
web/html/theme/AT_WEB01/mobile/skin/popular/basic/style.css
Normal file
10
web/html/theme/AT_WEB01/mobile/skin/popular/basic/style.css
Normal file
@ -0,0 +1,10 @@
|
||||
@charset "utf-8";
|
||||
|
||||
/* 인기검색어 */
|
||||
#popular {margin:30px 10px }
|
||||
#popular 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); }
|
||||
#popular a{display:inline-block;height:22px;line-height:22px;background:#b9bdd3;color:#fff;margin:2px 0;padding: 0 5px;border-radius:3px}
|
||||
#popular a:hover{background:#646982}
|
||||
Reference in New Issue
Block a user