갤러리형 최신글스킨 사용중입니다.
latest.skin.php내용이구여~
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<style>
.member, .guest {
font-size:11px;
font-family:돋움;
font-weight:normal;
color:#333333;
}
</style>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr style=cursor:hand; onclick=location.href="<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>" onmouseover="this.style.backgroundColor='#FBFBFF';return true;" onMouseOut="this.style.backgroundColor='';return true;">
<td width="27" height="31"><img src="<?=$latest_skin_path?>/img/board_title_left.gif" width="29" height="31"></td>
<td background="<?=$latest_skin_path?>/img/board_title_bg.gif" style='padding-top:3px;padding-left:3px;' width="800"><font style='font-family:돋움; font-size:9pt; color:#696969;'><strong><?=$board[bo_subject]?></strong></font></td>
<td width="124" align="right" background="<?=$latest_skin_path?>/img/board_title_bg.gif"><img src="<?=$latest_skin_path?>/img/board_more.gif" width="30" height="15" border="0" align="right"></td>
<td width="29"><p align="right"><img src="<?=$latest_skin_path?>/img/board_title_right.gif" width="29" height="31"></td></p>
</tr>
</table>
<table width="90%" cellpadding=0 cellspacing=0 border="0">
<td></td>
<td></td>
<?
for ($i=0; $i<count($list); $i++) {
$list[$i]['content']=eregi_replace(" "," ",$list[$i]['wr_content']);
if($list[$i][file][0][file]) {
$file = "<img src='".$list[$i][file][0][path] .'/'. $list[$i][file][0][file]."' align=absmiddle width=\"91\" height=\"60\">";
} else {
$file="";
}
$time_arr=explode(" ",$list[$i]["datetime3"]);
$time_arr1=explode("-",$time_arr[0]);
$year=$time_arr1[0];
$month=$time_arr1[1];
$day=$time_arr1[2];
?>
</tr>
<tr>
<td style="padding:0 10px 0 0" width="84" height="36" rowspan="2">
<a href="<?=$list[$i]['href']?>" title="<?=$list[$i]['subject']?>"><?=$file?></a></td>
<td style="padding:0 10px 0 0" width="312" height="18">
<p><a href=' <?=$list[$i]['href']?>' style='font-family:돋움;color:#285386;font-size:15px;line-height:15px;font-weight:bold;letter-spacing:-1px;'><B><?=$list[$i]['subject']?></B></a></p>
</td>
</tr>
<tr>
<td style="padding:0 10px 0 0" width="312" height="18"><a href="<?=$list[$i]['href']?>"><span style='color:#666666;'><?=conv_subject($list[$i]['content'], 50, $cutopt="...")?></span></a></td>
</tr>
<?if($i!=count($list)-1) { ?>
<tr>
<td height="18" width="94">
<p> </p>
</td>
<td height="18" width="150"><img src="<?=$latest_skin_path?>/img/line_1.gif" border="0" align="absmiddle"></td>
</tr>
<? } ?>
<? } ?>
<? if (count($list) == 0) { ?><tr><td align=center height="18" width="94">
<p></p>
</td>
<td align=center height="18" width="322"><font color=#6A6A6A>게시물이 없습니다.</font></td>
</tr><? } ?>
</table>