테마기능 추가

This commit is contained in:
chicpro
2015-08-31 14:22:30 +09:00
parent bc74dad81b
commit a2f2e19c95
542 changed files with 54577 additions and 779 deletions

View File

@ -0,0 +1,19 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="'.$popular_skin_url.'/style.css">', 0);
?>
<!-- 인기검색어 시작 { -->
<section id="popular">
<div>
<h2>인기검색어</h2>
<ul>
<?php for ($i=0; $i<count($list); $i++) { ?>
<li><a href="<?php echo G5_BBS_URL ?>/search.php?sfl=wr_subject&amp;sop=and&amp;stx=<?php echo urlencode($list[$i]['pp_word']) ?>"><?php echo $list[$i]['pp_word'] ?></a></li>
<?php } ?>
</ul>
</div>
</section>
<!-- } 인기검색어 끝 -->

View File

@ -0,0 +1,12 @@
@charset "utf-8";
/* SIR 지운아빠 */
/* 인기검색어 */
#popular {border-bottom:1px dotted #dde4e9}
#popular div {margin:0 auto;width:970px;zoom:1}
#popular div:after {display:block;visibility:hidden;clear:both;content:""}
#popular h2 {float:left;padding:10px 45px 10px 0}
#popular ul {float:left;margin:0;padding:0;list-style:none}
#popular li {float:left}
#popular a {display:inline-block;padding:10px;text-decoration:none}
#popular a:focus, #popular a:hover {}