제목을 없애고 싶은데 어디를 수정해야 하나요?
본문
<?
</table>
$cols = 7; // 이미지 가로갯수 // 이미지 세로 갯수는 메인에서 지정(총 이미지 수)
$imgwidth=120; //표시할 이미지의 가로사이즈
$imgheight=80; //표시할 이미지의 세로사이즈
$image_h = 5; // 이미지 상하 간격
$col_width = (int)(100 / $cols);
$data_path = $g4[path]."/data/file/$bo_table";
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="5"><!--여백--></td>
</tr>
<tr>
<td align="center" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<? for ($i=0; $i<count($list); $i++) {
if ($i>0 && $i%$cols==0) { echo "</tr><tr><td colspan='$cols' height='$image_h'></td></tr><tr>"; }
?>
<td width="<?=$col_width?>%" align="center" valign="top">
<?
$image = $list[$i][file][0][file]; //원본
$img=$data_path. "/".$image; //썸네일이 없을경우 원본출력
echo $list[$i][icon_reply] . " ";
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0'>";
echo "<tr><td valign='top' align='center'><a href='{$list[$i]['href']}'><img src='$img' width='{$imgwidth}' height='{$imgheight}' align='center' style='width:{$imgwidth}px;height:{$imgheight}px;border:1px solid #CECECE; padding:0px'></a></td></tr>";
echo "<tr><td align='center' height='17'><a href='{$list[$i]['href']}'><span style='font-size:8pt;'><b>{$list[$i]['subject']}</b></span></a></td></tr>";
echo "</table>";
?> </td>
<? } ?>
<?
$cnt = ($i%$cols);
for ($k=$cnt; $k<$cols && $cnt; $k++) {
echo "<td width=$col_width%></td>";
}
?>
<? if (count($list) == 0) { echo "<td align=center>게시물이 없습니다.</td>"; } ?>
</tr>
</table> </td>
</tr>
</table>
답변 2
echo "<tr><td align='center' height='17'><a href='{$list[$i]['href']}'><span style='font-size:8pt;'><b>{$list[$i]['subject']}</b></span></a></td></tr>";한발 늦었네요
이쪽 라인을 삭제하세요