장

안녕하세요 초보자 질문좀 드릴게여?

· 2013-11-08 (금) 23:28:42 · 1143 · 1
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<style>
.latset_main_wrap {width:236px; }
.latest_main_title {float:left;width:100%; height:28px; line-height:28px;font-size:13pt;}
.latest_main_title_more {float:right; margin-top:-14px;}
</style>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td width='14'><img src='<?=$latest_skin_path?>/img/xe_latest_left.gif'></td>
<td width='100%' background='<?=$latest_skin_path?>/img/xe_latest_bg.gif'>  <strong><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><?=$board[bo_subject]?>
</a></strong></td>
<td width=37 background='<?=$latest_skin_path?>/img/xe_latest_bg.gif'><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src='<?=$latest_skin_path?>
/img/xe_latest_right.gif' border='0'></a></td>
</tr>
</table>

<table width='100%' cellpadding='0' cellspacing='0'>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td colspan='4' align='center'>
<table width='100%'>
<tr>
<td height='25' style='font-size:11px;color:7777;'><img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>  
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:12px; color:333333;'><strong>{$list[$i]['subject']}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:12px; color:333333;'>{$list[$i]['subject']}</font>";
echo "</a>";

if ($list[$i]['comment_cnt'])
echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font-family:돋움; font-size:11px; color:#777;'>{$list[$i]['comment_cnt']}</span></a>";

// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }

echo " " . $list[$i]['icon_new'];

echo " " . $list[$i]['icon_link'];

echo " " . $list[$i]['icon_secret'];
?></td>
<td width='60' align='right' style='font-size:11px;color:777;'></td></tr>
</table></td>
</tr>
<? } ?>

<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>

</table>

제가 다운받은 스킨 소스인데여 게시물 줄수가 10줄로 고정이 되있더라구여 그래서 게시물이 없으면 밑으로 게시물이 없습니다.라고 뜨는데요 이걸 자유롭게 줄수를 조정할려면 소스를 어디를 수정해야 하는지 몰라서 질문좀 드립니다. 답변좀 부탁합니다. "감사합니다"
|

댓글 1개

<? for ($i=0; $i<count($list); $i++) { ?> 이게 핵심이긴 한데.
아마 이것은 스킨 같습니다.

이것에 해당하는 함수가 있을낍니다.

이 것에 해당하는 함수를 찾아서 갯수를 조정하세요
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

66,531건

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
13-11-09 조회 1,163
13-11-09 조회 963
13-11-09 조회 1,733
13-11-09 조회 927
13-11-09 조회 906
13-11-09 조회 1,695
13-11-09 조회 1,198
13-11-09 조회 1,644
13-11-09 조회 1,276
13-11-09 조회 1,266
13-11-09 조회 1,145
13-11-09 조회 1,760
13-11-09 조회 895
13-11-09 조회 2,076
13-11-09 조회 2,403
13-11-08 조회 1,144
13-11-08 조회 1,107
13-11-08 조회 953
13-11-08 조회 1,844
13-11-08 조회 1,963