탭메뉴 스킨 좀 봐주세요~ 정보
탭메뉴 스킨 좀 봐주세요~본문
탭메뉴스킨인데요... latest.skin.php 이 파일은 일반 최신글스킨으로 대체가 않되더군요, 이하 스킨구문인데 첫번째 글은 이미지+제목+내용 으로 하고 두번째 글부터 제목만 나오게 할려면 어떻게 하면 될까요?
자유게시판에 올려서 좀 그렇긴 한데요,,,^^;;
아시는 분 좀 알려주세요~~~
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<table width=100% cellpadding=0 cellspacing=0 border=0>
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<table width=100% cellpadding=0 cellspacing=0 border=0>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td colspan=4 align=center>
<table width=95% cellpadding=0 cellspacing=0>
<tr>
<td style='padding-top:2px;padding-right:2px;padding-bottom:2px;'><img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>
<?
echo $list[$i]['icon_reply'] . " ";
echo "<span style='OVERFLOW:hidden;'><a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'><strong>{$list[$i]['subject']}</strong></font>";
else
//echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$list[$i]['subject']}</font>";
echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>";?><?=cut_str($list[$i]['subject'],40,"...");?><? echo "</font>";
// 출력 글씨 많을 시 ... 으로 변환
<tr>
<td colspan=4 align=center>
<table width=95% cellpadding=0 cellspacing=0>
<tr>
<td style='padding-top:2px;padding-right:2px;padding-bottom:2px;'><img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>
<?
echo $list[$i]['icon_reply'] . " ";
echo "<span style='OVERFLOW:hidden;'><a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'><strong>{$list[$i]['subject']}</strong></font>";
else
//echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$list[$i]['subject']}</font>";
echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>";?><?=cut_str($list[$i]['subject'],40,"...");?><? echo "</font>";
// 출력 글씨 많을 시 ... 으로 변환
if ($list[$i]['comment_cnt'])
echo " <font style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$list[$i]['comment_cnt']}</font>";
echo "</a></span>";
echo " <font style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$list[$i]['comment_cnt']}</font>";
echo "</a></span>";
# if ($list[$i]['comment_cnt'])
# echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$list[$i]['comment_cnt']}</span></a>";
# echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$list[$i]['comment_cnt']}</span></a>";
?></td>
<td align='right' style='padding-top:2px;padding-right:2px;padding-bottom:2px;'><span style='font-size:8pt; color:#666666;'><?=$list[$i][datetime]?></span></td>
</tr>
<? if ($i+1 < count($list)) { ?>
<tr>
<td colspan=2 bgcolor=#EBEBEB height=1></td>
<td align='right' style='padding-top:2px;padding-right:2px;padding-bottom:2px;'><span style='font-size:8pt; color:#666666;'><?=$list[$i][datetime]?></span></td>
</tr>
<? if ($i+1 < count($list)) { ?>
<tr>
<td colspan=2 bgcolor=#EBEBEB height=1></td>
</tr>
<? } // if() ?>
</table></td>
</tr>
<? } ?>
<? } // if() ?>
</table></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=50><a href="<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>"><font color=#6A6A6A>게시물이 없습니다.</font></a></td></tr><? } ?>
</table>
댓글 전체

해당 최신글을 latest.skin.php를 아래 링크의 것으로 대체해 보세요..
http://www.sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=1798&sca=%C3%D6%BD%C5%B1%DB&page=22
http://www.sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=9867&sca=%C3%D6%BD%C5%B1%DB&page=15
http://www.sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=1798&sca=%C3%D6%BD%C5%B1%DB&page=22
http://www.sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=9867&sca=%C3%D6%BD%C5%B1%DB&page=15
ㅎㅎ 대체해서는 아니된답니다.. 이미 실험해봤습니다..
왜 안 되는지, 증상을 적어 주셔야......

뭐
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
한줄 더 있는것 빼고는 다를 것도 없는 부분입니다...위 소스로 봐서는...^^
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
한줄 더 있는것 빼고는 다를 것도 없는 부분입니다...위 소스로 봐서는...^^
원유의 글에 스킨을 씌우면 않되는군요. 새로쓴 글부터 적용이 됩니다^^;;