리빌더 부분 추가
This commit is contained in:
25
theme/rb.basic/skin/popular/rb.basic/popular.skin.php
Normal file
25
theme/rb.basic/skin/popular/rb.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);
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
if( isset($list) && is_array($list) ){
|
||||
for ($i=0; $i<count($list); $i++) {
|
||||
?>
|
||||
<a class="ser_label" href="javascript:void(0);" data-key="<?php echo get_text($list[$i]['pp_word']); ?>"><b>#</b> <?php echo get_text($list[$i]['pp_word']); ?></a>
|
||||
<?php
|
||||
} //end for
|
||||
} //end if
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<?php if (isset($list) && $list && is_array($list)) { //게시물이 있다면 ?>
|
||||
<?php } else { ?>
|
||||
<div class="no_data" style="padding-top:0px !important; padding-bottom:30px !important;">키워드가 없습니다.</div>
|
||||
<?php } ?>
|
||||
<!-- } 인기검색어 끝 -->
|
||||
16
theme/rb.basic/skin/popular/rb.basic/style.css
Normal file
16
theme/rb.basic/skin/popular/rb.basic/style.css
Normal file
@ -0,0 +1,16 @@
|
||||
@charset "utf-8";
|
||||
|
||||
/* 인기검색어 */
|
||||
#popular {position:relative;margin:15px 0 0}
|
||||
#popular h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#popular .popular_inner {width:400px;height:20px;overflow:hidden}
|
||||
#popular ul {padding:0;margin:0}
|
||||
#popular ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#popular li {float:left;width:auto !important;height:18px;line-height:18px;padding-right:20px}
|
||||
#popular li a {color:#8d8c8c}
|
||||
#popular li:first-child {border-left:0}
|
||||
#popular li a:hover {text-decoration:underline}
|
||||
|
||||
.popular_inner .popular_btns{display:none}
|
||||
.popular_btns .pp-next {position:absolute;top:68%;right:0px;width:18px;height:18px;line-height:15px;text-align:center;border:1px solid #53555a;margin-top:-12px;color:#d3d2d2}
|
||||
.popular_btns .pp-prev {position:absolute;top:68%;right:17px;width:18px;height:18px;line-height:15px;text-align:center;border:1px solid #53555a;margin-top:-12px;color:#d3d2d2}
|
||||
Reference in New Issue
Block a user