최근게시물 썸네일 간격문제 정보
최근게시물 썸네일 간격문제본문
최근게시물 썸네일 간격을 설정하는 파일이 어느건가요 아무리찾아봐도 답을 찾을수가 없네요
소스가 밑에처럼 돼있는데 어느부분을 설정을 해야 하는지 잘모르겠네요
지금 최근게시물 설정했는데 썸네일 간격이 너무 벌어져서요..
그림처럼 가로길이를 좀길게 해놓으면 옆으로 너무 나가버리고 해서..
썸네일 가로길이를 좀 줄이면 사이간격이 너무 많이 벌어져서 더 옆으로 나가버리네요
아시는분 답변좀 부탁드립니다.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?><style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
<table width='320' height="110" border='0' cellpadding='0' cellspacing='0' style="
border-collapse:collapse; border-top:3;
">
<tr>
<td>
<table width='320' height="110" border='0' cellpadding='0' cellspacing='0'>
<tr>
<td width='16'></td>
<td width='100%' height="20" align="left" valign="bottom" style="padding-top:5"> <a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><b></a></a></td>
<td align="right">
<a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'></a></td>
</tr>
<tr>
<td width='16'> </td>
<td colspan="2" width='100%'>
<table width=98% border=0>
<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 width='120' valign='top' align='center'>
<table width='120' border='0' cellpadding='0' cellspacing='0' align='center'>
<tr>
<td width='120' height='5' align='center'></td>
</tr>
<tr>
<td width='60' height='60' align='center'>
<div style='width:60px;height:60px;padding:3px' align='center'>
<a href='$g4[bbs_path]/board.php?bo_table=$bo_table&wr_id={$list[$i][wr_id]}'><img src='{$img}' width='120' height='60' border='0' align='absmiddle' title='$title'></a>
</div>
</td>
</tr>
<tr>
<td width='120' height='5' align='center'></td>
</tr>
<tr>
<td width='120' 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>
</table>
<? if (count($list) == 0) { ?>게시물이 없습니다.<? } ?>
</td>
</tr>
</table>
</td>
</tr>
</table>
소스가 밑에처럼 돼있는데 어느부분을 설정을 해야 하는지 잘모르겠네요
지금 최근게시물 설정했는데 썸네일 간격이 너무 벌어져서요..
그림처럼 가로길이를 좀길게 해놓으면 옆으로 너무 나가버리고 해서..
썸네일 가로길이를 좀 줄이면 사이간격이 너무 많이 벌어져서 더 옆으로 나가버리네요
아시는분 답변좀 부탁드립니다.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?><style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
<table width='320' height="110" border='0' cellpadding='0' cellspacing='0' style="
border-collapse:collapse; border-top:3;
">
<tr>
<td>
<table width='320' height="110" border='0' cellpadding='0' cellspacing='0'>
<tr>
<td width='16'></td>
<td width='100%' height="20" align="left" valign="bottom" style="padding-top:5"> <a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><b></a></a></td>
<td align="right">
<a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'></a></td>
</tr>
<tr>
<td width='16'> </td>
<td colspan="2" width='100%'>
<table width=98% border=0>
<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 width='120' valign='top' align='center'>
<table width='120' border='0' cellpadding='0' cellspacing='0' align='center'>
<tr>
<td width='120' height='5' align='center'></td>
</tr>
<tr>
<td width='60' height='60' align='center'>
<div style='width:60px;height:60px;padding:3px' align='center'>
<a href='$g4[bbs_path]/board.php?bo_table=$bo_table&wr_id={$list[$i][wr_id]}'><img src='{$img}' width='120' height='60' border='0' align='absmiddle' title='$title'></a>
</div>
</td>
</tr>
<tr>
<td width='120' height='5' align='center'></td>
</tr>
<tr>
<td width='120' 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>
</table>
<? if (count($list) == 0) { ?>게시물이 없습니다.<? } ?>
</td>
</tr>
</table>
</td>
</tr>
</table>
댓글 전체

echo '<td width=20> </td>';
이부분을
//echo '<td width=20> </td>';
이렇게 해보세요...^^
이부분을
//echo '<td width=20> </td>';
이렇게 해보세요...^^
위처럼 해도 안되네요 다른최근게시물스킨을 받아서 다시 해봐야 겟어요