최신글 간격 조절 수정좀 알려주세요. > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

최신글 간격 조절 수정좀 알려주세요. 정보

최신글 간격 조절 수정좀 알려주세요.

본문

이미지상에 배너와배너사이 늘리려면 어떻게 수정해야 하나요.
아래 소스중 어디를 어덯게 수정해야 할지좀 자세히좀 알려주시면 감사"감사하겠습니다.
-----------아래----------

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>

<table align="center" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="3" background="<?=$latest_skin_path?>/"></td>
<td background="<?=$latest_skin_path?>/">
<!--타이틀 시작:타이틀 끝-->
</td>
<td width="3" background="<?=$latest_skin_path?>/"></td>
</tr>
<tr>
<td width="3" background="<?=$latest_skin_path?>/"></td>
<td align="center">

<? for ($i=0; $i<count($list); $i++) { ?>

        <?  // View
$table = "01_1";
$wr_id = $list[$i]['wr_id'];
$href = "$g4[bbs_path]/link.php?bo_table={$table}&wr_id=$wr_id&no=1";
sql_query(" update {$g4[write_prefix]}{$table} set wr_3 = wr_3 + 1 where wr_id = '$wr_id' ");             
echo "<a href='$href' target='_blank'>";
            $image = urlencode($list[$i][file][0][file]); // 첫번째 파일이 이미지라면
            if (preg_match("/\.(gif|jpg|png)$/i", $image)) { ?>
<img src='<?=$g4[path]?>/data/file/<?=$bo_table?>/<?=$image?>' width='90' height='30' border='0'></a>
<? } else { ?>
<img src='<?=$latest_skin_path?>/img/noimage.gif' width='90' height='30' border='0'></a>
<? } ?>

<? } ?>

</td>
<td width="3" background="<?=$latest_skin_path?>/"></td>
</tr>
<tr height="0">
<td width="3" background="<?=$latest_skin_path?>/"></td>
<td background="<?=$latest_skin_path?>/"></td>
<td width="3" background="<?=$latest_skin_path?>/"></td>
</tr>
</table>
  • 복사

댓글 전체

<img style="padding-left:1em;" src='<?=$g4[path]?>/data/file/<?=$bo_table?>/<?=$image?>' width='90' height='30' border='0'></a>
<? } else { ?>
<img style="padding-left:1em;"  src='<?=$latest_skin_path?>/img/noimage.gif' width='90' height='30' border='0'></a>
타이틀 주석 밑에도
<table align="center" cellpadding="0" cellspacing="0" width="100%" border="0">
있지 않아나요
그부분에 cellpadding="0" cellspacing="0" 요기를 수치를 조절하시면 될듯 합니다.
© SIRSOFT
현재 페이지 제일 처음으로