리빌더 부분 추가
This commit is contained in:
25
theme/rb.basic/mobile/skin/popular/basic/popular.skin.php
Normal file
25
theme/rb.basic/mobile/skin/popular/basic/popular.skin.php
Normal file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$popular_skin_url.'/style.css">', 0);
|
||||
?>
|
||||
|
||||
<aside id="popular">
|
||||
<h2>인기검색어</h2>
|
||||
|
||||
<?php
|
||||
if( isset($list) && is_array($list) ){
|
||||
for ($i=0; $i<count($list); $i++) {
|
||||
?>
|
||||
|
||||
<div>
|
||||
<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>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
} //end for
|
||||
} //end if
|
||||
?>
|
||||
|
||||
</aside>
|
||||
9
theme/rb.basic/mobile/skin/popular/basic/style.css
Normal file
9
theme/rb.basic/mobile/skin/popular/basic/style.css
Normal file
@ -0,0 +1,9 @@
|
||||
@charset "utf-8";
|
||||
|
||||
/* 인기검색어 */
|
||||
#popular {}
|
||||
#popular h2 {text-align:left;color:#8d8c8c;line-height:24px;padding:10px}
|
||||
#popular div {background:#fff;padding:0 15px;border-bottom:1px solid #e5ecee}
|
||||
#popular a {display:block;text-align:left;color:#000;padding:10px 0;border-bottom:1px solid #e5ecee}
|
||||
#popular a:last-of-type {border-bottom:0}
|
||||
#popular a:hover {color:#3a8afd}
|
||||
Reference in New Issue
Block a user