최신겔러리게시물이 2줄로 안밖여요. 정보
최신겔러리게시물이 2줄로 안밖여요.본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 : 아무리해도 안되요..
latest.skin.php 파일내용입니다.
아무리해도 안되요.. 크기는 조정되는데 줄이 안되요.!!2줄로 어떻게 해야되나요?
<?
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
?>
<!-- <?=$board[bo_subject]?> (<?=$board[bo_table]?>) 최신글 -->
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr><td align=center>
<table width=100% border=0 cellspacing=0 cellpadding=0>
<tr height=25><td align=left valign=bottom colspan=3> <strong><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><?=$board[bo_subject]?></a></strong></td></tr>
<tr><td width=78 height=4><img src="<?=$latest_skin_path?>/img/bgl.gif" border=0></td>
<td width=34 height=4><img src="<?=$latest_skin_path?>/img/bgm.gif" border=0></td>
<td width=100% height=4 background="<?=$latest_skin_path?>/img/bgr.gif"></td></tr></table>
</td></tr>
<tr><td align=center>
<table width=100%>
<tr>
<?
for ($i=0; $i<count($list); $i++)
{
if ($i > 0)
echo '<td width=20> </td>';
$title = get_text($list[$i][wr_subject]);
$content = cut_str(get_text($list[$i][wr_content]), 80);
$img = "$g4[path]/data/file/$bo_table/".urlencode($list[$i][file][0][file]);
if (!file_exists($img) || !$list[$i][file][0][file])
$img = "$latest_skin_path/img/no_image.gif";
$href = "$g4[bbs_path]/board.php?bo_table=$bo_table";
echo <<<HEREDOC
<td align=center>
<table border=0 cellpadding=0 cellspacing=0 align=center width=100%>
<tr><td height=5 align=center></td></tr>
<tr><td align=center><a href='$g4[bbs_path]/board.php?bo_table=$bo_table&wr_id={$list[$i][wr_id]}'><img src='{$img}' border='0' width=60 height=60 align='absmiddle' title='$title'></a></td></tr>
<tr><td height=5 align=center></td></tr>
<tr><td height=20 align=center><a href='$g4[bbs_path]/board.php?bo_table=$bo_table&wr_id={$list[$i][wr_id]}'>{$list[$i][subject]}</a></td></tr></table>
</td>
HEREDOC;
}
?>
</tr>
<? if (count($list) == 0) { ?>
<tr><td colspan=2 align='center' height=25>게시물이 없습니다.</td></tr>
<? } ?>
</table>
</td></tr></table>
오류 주소 : 아무리해도 안되요..
latest.skin.php 파일내용입니다.
아무리해도 안되요.. 크기는 조정되는데 줄이 안되요.!!2줄로 어떻게 해야되나요?
<?
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
?>
<!-- <?=$board[bo_subject]?> (<?=$board[bo_table]?>) 최신글 -->
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr><td align=center>
<table width=100% border=0 cellspacing=0 cellpadding=0>
<tr height=25><td align=left valign=bottom colspan=3> <strong><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><?=$board[bo_subject]?></a></strong></td></tr>
<tr><td width=78 height=4><img src="<?=$latest_skin_path?>/img/bgl.gif" border=0></td>
<td width=34 height=4><img src="<?=$latest_skin_path?>/img/bgm.gif" border=0></td>
<td width=100% height=4 background="<?=$latest_skin_path?>/img/bgr.gif"></td></tr></table>
</td></tr>
<tr><td align=center>
<table width=100%>
<tr>
<?
for ($i=0; $i<count($list); $i++)
{
if ($i > 0)
echo '<td width=20> </td>';
$title = get_text($list[$i][wr_subject]);
$content = cut_str(get_text($list[$i][wr_content]), 80);
$img = "$g4[path]/data/file/$bo_table/".urlencode($list[$i][file][0][file]);
if (!file_exists($img) || !$list[$i][file][0][file])
$img = "$latest_skin_path/img/no_image.gif";
$href = "$g4[bbs_path]/board.php?bo_table=$bo_table";
echo <<<HEREDOC
<td align=center>
<table border=0 cellpadding=0 cellspacing=0 align=center width=100%>
<tr><td height=5 align=center></td></tr>
<tr><td align=center><a href='$g4[bbs_path]/board.php?bo_table=$bo_table&wr_id={$list[$i][wr_id]}'><img src='{$img}' border='0' width=60 height=60 align='absmiddle' title='$title'></a></td></tr>
<tr><td height=5 align=center></td></tr>
<tr><td height=20 align=center><a href='$g4[bbs_path]/board.php?bo_table=$bo_table&wr_id={$list[$i][wr_id]}'>{$list[$i][subject]}</a></td></tr></table>
</td>
HEREDOC;
}
?>
</tr>
<? if (count($list) == 0) { ?>
<tr><td colspan=2 align='center' height=25>게시물이 없습니다.</td></tr>
<? } ?>
</table>
</td></tr></table>
댓글 전체
2줄이란뜻이 뭔가요?