최신글 출력시 리스트가 병렬? 형태로 나오게 하려면... 정보
최신글 출력시 리스트가 병렬? 형태로 나오게 하려면...본문
안녕하세요
팁이나 질문답변 게시판을 찾아봐도 못찾아서 이렇게 질문드려봅니다
보통 최신글 출력하면
게시판제목 more
--------------------------
게시물제목
게시물제목
게시물제목
게시물제목
게시물제목
요런식인데 게시물 출력수를 50개정도 노출할때 세로로 한줄로만 저렇게 가면
화면이 길어지잖아요
아래처럼 한 20개 단위로 끈어서 21번째 리스트는 가로로 출력되게끔 하려면
latest.skin.php파일에서 어떻게 수정해야하나요?????
게시판제목 more
------------------------------------------------------------------
게시물제목... 게시물제목... 게시물제목...
게시물제목... 게시물제목... 게시물제목...
게시물제목... 게시물제목... 게시물제목...
게시물제목... 게시물제목... 게시물제목...
게시물제목... 게시물제목... 게시물제목...
이건 latest.skin.php 파일인데요...
답변좀 부탁드립니다 ㅠ
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<div style="text-align:center;">
<div id="Layer0" style="width: 100%; border: 1 solid #cccccc">
<table align="center" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="10"></td>
<td>
<table cellpadding="0" cellspacing="0" width="100%" border="0">
<tr height="5"><td colspan="2"></td></tr>
<tr height="28">
<td><img src="<?=$latest_skin_path?>/img/sub.gif">
<a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><font color="#000000"><b><?=$board[bo_subject]?></b></font></a>
</td>
<td align="right"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><font color="#000000">더보기</font></a></td>
</tr>
</table>
</td>
<td width="10"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width=100% border=0 cellpadding=0 cellspacing=0 <?=$options?>>
<tr>
<td align=center valign=top>
<? for ($i=0; $i<$rows; $i++) { ?>
<table width=95% border=0 cellpadding=0 cellspacing=0>
<tr>
<td height=25 <?if ($i<$rows-1) {?> style="padding:3px 0 0 0; border-bottom:1px dotted #ebebeb;" <?}?> >
<img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
echo "{$list[$i]['subject']}";
echo "</a>";
if ($list[$i]['comment_cnt'])
echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font-size:10px; color:#FF6600;'>{$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_file'];
//echo " " . $list[$i]['icon_link'];
//echo " " . $list[$i]['icon_hot'];
echo " " . $list[$i]['icon_secret'];
?>
</td>
</tr>
</table>
<? } ?>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</div>
팁이나 질문답변 게시판을 찾아봐도 못찾아서 이렇게 질문드려봅니다
보통 최신글 출력하면
게시판제목 more
--------------------------
게시물제목
게시물제목
게시물제목
게시물제목
게시물제목
요런식인데 게시물 출력수를 50개정도 노출할때 세로로 한줄로만 저렇게 가면
화면이 길어지잖아요
아래처럼 한 20개 단위로 끈어서 21번째 리스트는 가로로 출력되게끔 하려면
latest.skin.php파일에서 어떻게 수정해야하나요?????
게시판제목 more
------------------------------------------------------------------
게시물제목... 게시물제목... 게시물제목...
게시물제목... 게시물제목... 게시물제목...
게시물제목... 게시물제목... 게시물제목...
게시물제목... 게시물제목... 게시물제목...
게시물제목... 게시물제목... 게시물제목...
이건 latest.skin.php 파일인데요...
답변좀 부탁드립니다 ㅠ
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<div style="text-align:center;">
<div id="Layer0" style="width: 100%; border: 1 solid #cccccc">
<table align="center" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="10"></td>
<td>
<table cellpadding="0" cellspacing="0" width="100%" border="0">
<tr height="5"><td colspan="2"></td></tr>
<tr height="28">
<td><img src="<?=$latest_skin_path?>/img/sub.gif">
<a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><font color="#000000"><b><?=$board[bo_subject]?></b></font></a>
</td>
<td align="right"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><font color="#000000">더보기</font></a></td>
</tr>
</table>
</td>
<td width="10"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width=100% border=0 cellpadding=0 cellspacing=0 <?=$options?>>
<tr>
<td align=center valign=top>
<? for ($i=0; $i<$rows; $i++) { ?>
<table width=95% border=0 cellpadding=0 cellspacing=0>
<tr>
<td height=25 <?if ($i<$rows-1) {?> style="padding:3px 0 0 0; border-bottom:1px dotted #ebebeb;" <?}?> >
<img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
echo "{$list[$i]['subject']}";
echo "</a>";
if ($list[$i]['comment_cnt'])
echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font-size:10px; color:#FF6600;'>{$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_file'];
//echo " " . $list[$i]['icon_link'];
//echo " " . $list[$i]['icon_hot'];
echo " " . $list[$i]['icon_secret'];
?>
</td>
</tr>
</table>
<? } ?>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</div>
댓글 전체
<table width=100% border=0 cellpadding=0 cellspacing=0 <?=$options?>>
<tr>
<td align=center valign=top>
<table width=95% border=0 cellpadding=0 cellspacing=0>
<? for ($i=0; $i<$rows; $i++) {
if($i < 20) { ?>
<tr>
<td colspan="3" height=25 <?if ($i<$rows-1) {?> style="padding:3px 0 0 0; border-bottom:1px dotted #ebebeb;" <?}?> >
<img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
echo "{$list[$i]['subject']}";
echo "</a>";
if ($list[$i]['comment_cnt'])
echo " <a href="{$list[$i]['comment_href']}"><span style='font-size:10px; color:#FF6600;'>{$list[$i]['comment_cnt']}</span></a>";
echo " " . $list[$i]['icon_new'];
echo " " . $list[$i]['icon_secret'];
?>
</td>
</tr>
<?
} else {
echo "<tr>";
if($i%3=="0") {
echo "</tr><tr>";
}
<td height=25 <?if ($i<$rows-1) {?> style="padding:3px 0 0 0; border-bottom:1px dotted #ebebeb;" <?}?> >
<img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
echo "{$list[$i]['subject']}";
echo "</a>";
if ($list[$i]['comment_cnt'])
echo " <a href="{$list[$i]['comment_href']}"><span style='font-size:10px; color:#FF6600;'>{$list[$i]['comment_cnt']}</span></a>";
echo " " . $list[$i]['icon_new'];
echo " " . $list[$i]['icon_secret'];
echo "</td>";
<? } } ?>
</table>
</td>
</tr>
<tr>
<td align=center valign=top>
<table width=95% border=0 cellpadding=0 cellspacing=0>
<? for ($i=0; $i<$rows; $i++) {
if($i < 20) { ?>
<tr>
<td colspan="3" height=25 <?if ($i<$rows-1) {?> style="padding:3px 0 0 0; border-bottom:1px dotted #ebebeb;" <?}?> >
<img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
echo "{$list[$i]['subject']}";
echo "</a>";
if ($list[$i]['comment_cnt'])
echo " <a href="{$list[$i]['comment_href']}"><span style='font-size:10px; color:#FF6600;'>{$list[$i]['comment_cnt']}</span></a>";
echo " " . $list[$i]['icon_new'];
echo " " . $list[$i]['icon_secret'];
?>
</td>
</tr>
<?
} else {
echo "<tr>";
if($i%3=="0") {
echo "</tr><tr>";
}
<td height=25 <?if ($i<$rows-1) {?> style="padding:3px 0 0 0; border-bottom:1px dotted #ebebeb;" <?}?> >
<img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
echo "{$list[$i]['subject']}";
echo "</a>";
if ($list[$i]['comment_cnt'])
echo " <a href="{$list[$i]['comment_href']}"><span style='font-size:10px; color:#FF6600;'>{$list[$i]['comment_cnt']}</span></a>";
echo " " . $list[$i]['icon_new'];
echo " " . $list[$i]['icon_secret'];
echo "</td>";
<? } } ?>
</table>
</td>
</tr>
우선 신경써주셔서 감사합니다
<table width=100% border=0 cellpadding=0 cellspacing=0 <?=$options?>> 부터 붙여넣기 해봤는데...
아무것도 안뜨는데요... 다시한번만 봐주세요~
<table width=100% border=0 cellpadding=0 cellspacing=0 <?=$options?>> 부터 붙여넣기 해봤는데...
아무것도 안뜨는데요... 다시한번만 봐주세요~
아무것도 안 뜬다는 의미가 무엇인가요?
리스트가 하나도 나오지 않는 다는 의미인가요?
홈피 링크 걸어주실래요?
리스트가 하나도 나오지 않는 다는 의미인가요?
홈피 링크 걸어주실래요?
여차저차 님께서 올려두신 소스로 성공했습니다~~ 감사합니다
tr td 배열에 문제가 있었네요 붙여넣기할때
tr td 배열에 문제가 있었네요 붙여넣기할때