경로 수정 작업 중
This commit is contained in:
@ -1,9 +1,16 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
인기검색어 :
|
||||
<?
|
||||
for ($i=0; $i<count($list); $i++) {
|
||||
echo "<a href='$g4[bbs_path]/search.php?sfl=wr_subject&sop=and&stx=".urlencode($list[$i][pp_word])."'>{$list[$i][pp_word]}</a> ";
|
||||
}
|
||||
?>
|
||||
|
||||
<link rel="stylesheet" href="<?=$popular_skin_url?>/style.css">
|
||||
|
||||
<section id="popular">
|
||||
<div>
|
||||
<h2>인기검색어</h2>
|
||||
<ul>
|
||||
<? for ($i=0; $i<count($list); $i++) { ?>
|
||||
<li><a href="<?=G4_BBS_URL?>/search.php?sfl=wr_subject&sop=and&stx=<?=urlencode($list[$i]['pp_word'])?>"><?=$list[$i]['pp_word']?></a></li>
|
||||
<? } ?>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
10
skin/popular/basic/style.css
Normal file
10
skin/popular/basic/style.css
Normal file
@ -0,0 +1,10 @@
|
||||
/* 인기검색어 */
|
||||
#popular {background:#515151}
|
||||
#popular div {margin:0 auto;width:980px;zoom:1}
|
||||
#popular div:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#popular h2 {float:left;padding:10px 45px 10px 0;color:#fff}
|
||||
#popular ul {float:left;list-style:none}
|
||||
#popular li {float:left}
|
||||
#popular a {display:inline-block;padding:10px;color:#fff;text-decoration:none}
|
||||
#popular a:focus,
|
||||
#popular a:hover {background:#333;color:#fff}
|
||||
Reference in New Issue
Block a user