안녕하세요 초보자 질문좀 드릴게여? 정보
안녕하세요 초보자 질문좀 드릴게여?본문
<?
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줄로 고정이 되있더라구여 그래서 게시물이 없으면 밑으로 게시물이 없습니다.라고 뜨는데요 이걸 자유롭게 줄수를 조정할려면 소스를 어디를 수정해야 하는지 몰라서 질문좀 드립니다. 답변좀 부탁합니다. "감사합니다"
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줄로 고정이 되있더라구여 그래서 게시물이 없으면 밑으로 게시물이 없습니다.라고 뜨는데요 이걸 자유롭게 줄수를 조정할려면 소스를 어디를 수정해야 하는지 몰라서 질문좀 드립니다. 답변좀 부탁합니다. "감사합니다"
댓글 전체
count(list)이 부분이 게신글의 갯수를 세는 곳입니다.
근데 현재 이것은 최신글인거 같은데 최신글의 갯수는 출력하는 위치 latest(스킨명,게시판명,출력할갯수,글자수) 이런곳이 있을겁니다. 거기서 수정하시면됩니다.
임의로하실라면 위에 부분을 수정하시면 됩니다
근데 현재 이것은 최신글인거 같은데 최신글의 갯수는 출력하는 위치 latest(스킨명,게시판명,출력할갯수,글자수) 이런곳이 있을겁니다. 거기서 수정하시면됩니다.
임의로하실라면 위에 부분을 수정하시면 됩니다