토마토님 자동차매매스킨 최신글 썸네일... 정보
토마토님 자동차매매스킨 최신글 썸네일...본문
안녕하세요? 중고차매매 홈페이지가 필요해서 토마토님의 자동차매매스킨을 감사이 쓰고있습니다.
그런데 게시판에 gif애니메이션 이미지를 올렸을 경우 최신글에는 이미지가 나타나지 않습니다.
나타나게 하는 방법이 없을까요?
토마토님의 자동차매매스킨 최신글 소스입니다..
고수님들 부탁드립니다~
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$mod = 1;
?>
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$mod = 1;
?>
<table width="100%" cellpadding="0" cellspacing="0"><tr>
<? for ($i=0; $i<count($list); $i++) { ?>
<?
if ($i>0 && $i%$mod==0) { echo "</tr><tr>"; }
?>
<td>
<table width="100%">
<?
$p_four = explode("|",$list[$i][wr_4]);
$four01 = $p_four[0];
$four02 = $p_four[1];
$four03 = $p_four[2];
$four04 = $p_four[3];
$four05 = $p_four[4];
?>
<?
$p_nine = explode("|",$list[$i][wr_9]);
$nine01 = $p_nine[0];
$nine02 = $p_nine[1];
$nine03 = $p_nine[2];
$nine04 = $p_nine[3];
$nine05 = $p_nine[4];
$nine06 = $p_nine[5];
$nine07 = $p_nine[6];
$nine08 = $p_nine[7];
$nine09 = $p_nine[8];
$nine10 = $p_nine[9];
$nine11 = $p_nine[10];
$nine12 = $p_nine[11];
$nine13 = $p_nine[12];
$nine14 = $p_nine[13];
$nine15 = $p_nine[14];
$nine16 = $p_nine[15];
?>
<tr>
<td width="80" align="center">
<table cellpadding="3" cellspacing="1" bgcolor="e4e4e4" >
<tr>
<td bgcolor="ffffff">
<?
echo "<a href='{$list[$i][href]}'>";
$image = urlencode($list[$i][file][0][file]); // 첫번째 파일이 이미지라면
if (preg_match("/\.(gif|jpg|png)$/i", $image)) {
echo "<img src='$g4[path]/data/file/$bo_table/$image.Thum' width='70' height='60' border='0'></a>"; // 이미지크기
} else
echo "<img src='$latest_skin_path/img/noimg.gif' width='70' height='60' border='0'></a>"; ?></td>
</tr>
</table></td>
<td><? if ($list[$i][is_notice]) {?>
<a href='<?=$list[$i][href]?>'><span class=black><b>
<?=$list[$i][subject]?>
</b></span></a>
<? } else {?>
<a href='<?=$list[$i][href]?>'>
<? if ($four02) echo '<b>';?>
<? if ($four03) echo '<span class="blue">';?>
<?=$list[$i][subject]?>
<? if ($four03) echo '</span>';?>
<? if ($four02) echo '</b>';?>
</a>
<? }?>
<? if ($list[$i][comment_cnt]) {?>
<a href="<?=$list[$i][comment_href]?>">
<?=$list[$i][comment_cnt]?>
</a>
<? }?>
<?=$list[$i][icon_new]?>
<?=$list[$i][icon_hot]?>
<? if ($four01)
echo "<img src='$latest_skin_path/img/car_icon_1.gif' border='0' align='absmiddle'>";?>
<? if ($four04)
echo "<img src='$latest_skin_path/img/car_icon_2.gif' border='0' align='absmiddle'>";?>
<? if ($four05)
echo "<img src='$latest_skin_path/img/car_icon_3.gif' border='0' align='absmiddle'>";?>
<br>
<span class=gray>
<?=$nine07?>
/
<?=$nine08?>
/
<?=$nine09?>
</span> </td>
<td width="50" align="center"><?=$nine06?></td>
<td width="90" align="center"><span class="red">
<?=$nine12?>
</span> 위앤</td>
<td width="40" align="center"><?=$list[$i][wr_5]?></td>
<td width="60" align="center"><?=$list[$i][datetime2]?></td>
<td width="20" align="center"><?=$list[$i][wr_hit]?></td>
</tr>
<tr bgcolor="eeeeee">
<td height="1" colspan="7"></td>
</tr>
</table>
</td><? } ?>
<?
$nam = ($i%$mod);
for ($k=$nam; $k<$mod && $nam; $k++)
{ echo "<td> </td>";}
?>
<? if (count($list) == 0) { echo "<td colspan=$mod class=bbs>내용이 없습니다.</td>"; } ?>
</tr></table>
댓글 전체