스킨은 latest이구요, 내용은 아래와 같습니다. 게시물이 2개가 되면 세로로나오는데
나오는 게시물을 가로로 나오게 하고 싶습니다.
어느부분을 수정하면 그렇게 할수 있을까요?
고수님들 부탁드려요~
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width=100% cellpadding=0 cellspacing=0>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td colspan=4 align=center>
<table width="47%" cellpadding="2" cellspacing="0">
<?$img = "$g4[path]/data/file/$bo_table/".urlencode($list[$i][file][0][file])?>
<tr>
<td>
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="center"><img src="<?=$img?>" width="84" height="94" style="border:1px solid #939393"></td></tr><tr>
<td valign="middle" style="padding:4px;"><font color="#6A6A6A"><?=cut_str($list[$i][wr_content],105,"...")?></font></td>
</tr>
</table>
</td></tr>
</table></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>
</table>
나오는 게시물을 가로로 나오게 하고 싶습니다.
어느부분을 수정하면 그렇게 할수 있을까요?
고수님들 부탁드려요~
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width=100% cellpadding=0 cellspacing=0>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td colspan=4 align=center>
<table width="47%" cellpadding="2" cellspacing="0">
<?$img = "$g4[path]/data/file/$bo_table/".urlencode($list[$i][file][0][file])?>
<tr>
<td>
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="center"><img src="<?=$img?>" width="84" height="94" style="border:1px solid #939393"></td></tr><tr>
<td valign="middle" style="padding:4px;"><font color="#6A6A6A"><?=cut_str($list[$i][wr_content],105,"...")?></font></td>
</tr>
</table>
</td></tr>
</table></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>
</table>
댓글 1개
게시글 목록
| 번호 | 제목 |
|---|---|
| 284438 | |
| 284437 | |
| 284435 | |
| 284430 | |
| 284420 | |
| 284417 | |
| 284409 | |
| 284401 | |
| 284399 | |
| 284397 | |
| 284380 | |
| 284378 | |
| 284371 | |
| 284370 | |
| 284366 | |
| 284364 | |
| 284360 | |
| 284357 | |
| 284355 | |
| 284354 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기