최근게시물 카테고리 출력
본문
[code]<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
//add_stylesheet('<link rel="stylesheet" href="'.$latest_skin_url.'/style.css">', 0);
$css_name = "mw5-max-gr-{$bo_table}-{$rows}-{$subject_len}";
$css = "{$latest_skin_url}/style.php?bo_table={$bo_table}&rows={$rows}&subject_len={$subject_len}";
add_stylesheet("<link rel=\"stylesheet\" href=\"{$css}\">");
?>
<div class="<?php echo $css_name?>">
<h2><a href="#"><?php echo $options; ?></a></h2>
<ul>
<?php for ($i=0; $i<count($list); $i++) {
$class = '';
if ($list[$i]['icon_secret'])
$class.= " secret";
if ($list[$i]['icon_new'])
$class.= " new";
echo "<li class=\"{$class}\">";
echo "<a href=\"".G5_BBS_URL."/board.php?bo_table={$list[$i]['bo_table']}\">";
echo "[".$list[$i]['bo_subject']."] ";
echo "</a>";
echo "<a href=\"{$list[$i]['href']}\">";
echo $list[$i]['subject'];
echo "</a>";
if ($list[$i]['comment_cnt'])
echo "<span class=\"comment\">({$list[$i]['comment_cnt']} )</span>";
//echo "<span class=\"datetime\">-- {$list[$i]['datetime']} --</span>";
?>
</li>
<?php } ?>
<?php if (count($list) == 0) { //게시물이 없을 때 ?>
<li>게시물이 없습니다.</li>
<?php } ?>
</ul>
</div><!--<?php echo $css_name?>-->
[code]
그룹형 최근게시물 스킨인데 게시판이름 나오는곳에 카테고리이름으로 나오게 변경하고 싶은데 어디를 고쳐야 하나요?