최실글에서 날짜대신에 new아이콘을 넣으려면
위에 이미지는 최신글인데요.
일단 공간을 절약하기 위해서, 새글이 올라오면 날짜 부분에 날짜가 아니라 new아이콘으로
대체하려고 하는데, 어디를 어떻게 손을 보면 될까요?
고수님들, 한수 가르쳐주세요.^^
아래 최신글 스킨소스입니다.
********************************
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<style>
.latest_link a{color:#666666;}
.latest_link a:hover{color:#ea6f0b;}
</style>
<table width=100% cellpadding=0 cellspacing=0 class=latest_main>
<?
for ($i=0; $i<count($list); $i++) {
?>
<tr>
<td align=center>
<table width=100% cellpadding=2 cellspacing=0 class=latest_link>
<tr>
<td align=left style='border-bottom:1px #b9c695 dotted;'><img src='<?=$latest_skin_path?>/img/arrow.gif' align=absmiddle>
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "<font style='font-size:13px;'>{$list[$i]['subject']}</font>";
else
echo "<font style='font-size:13px;'>{$list[$i]['subject']}</font>";
echo "</a>";
if ($list[$i]['comment_cnt'])
echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font-size:9pt; color:#ea6f0b;'>{$list[$i]['comment_cnt']}</span></a>";
?></td>
<td widht="40" align=right style='border-bottom:1px #b9c695 dotted;'><span style='color:#cacaca;'><?=$list[$i][datetime2]?></span></td>
</tr>
</table>
</td>
</tr>
<?
}
?>
<?
if (count($list) == 0) {
?>
<tr>
<td align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td>
</tr>
<?
}
?>
</table>
********************************************
일단 공간을 절약하기 위해서, 새글이 올라오면 날짜 부분에 날짜가 아니라 new아이콘으로
대체하려고 하는데, 어디를 어떻게 손을 보면 될까요?
고수님들, 한수 가르쳐주세요.^^
아래 최신글 스킨소스입니다.
********************************
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<style>
.latest_link a{color:#666666;}
.latest_link a:hover{color:#ea6f0b;}
</style>
<table width=100% cellpadding=0 cellspacing=0 class=latest_main>
<?
for ($i=0; $i<count($list); $i++) {
?>
<tr>
<td align=center>
<table width=100% cellpadding=2 cellspacing=0 class=latest_link>
<tr>
<td align=left style='border-bottom:1px #b9c695 dotted;'><img src='<?=$latest_skin_path?>/img/arrow.gif' align=absmiddle>
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "<font style='font-size:13px;'>{$list[$i]['subject']}</font>";
else
echo "<font style='font-size:13px;'>{$list[$i]['subject']}</font>";
echo "</a>";
if ($list[$i]['comment_cnt'])
echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font-size:9pt; color:#ea6f0b;'>{$list[$i]['comment_cnt']}</span></a>";
?></td>
<td widht="40" align=right style='border-bottom:1px #b9c695 dotted;'><span style='color:#cacaca;'><?=$list[$i][datetime2]?></span></td>
</tr>
</table>
</td>
</tr>
<?
}
?>
<?
if (count($list) == 0) {
?>
<tr>
<td align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td>
</tr>
<?
}
?>
</table>
********************************************
첨부파일
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 5개
위에 제가 최신글 스킨소스를 올렸습니다.
구체적으로 어디에 어덯게 넣으면 되는지요? ㅠ ㅠ
제가 좀 아직 왕 초보라서요...ㅠ ㅠ
<?=$icon_new?>를 넣어면되지않을까요? 어차피 해당리스팅데되는 데이타에대한 아이콘값을 불러오는것이니까요 안되면 네이트온 아이디 알려주세요 해드릴게용
아무런 변화가 없는데요?
그리고,,아,,모를거 많아서..ㅎ
네이트온 아이디는 뭐지요?
그냥 기존대로 하려구요. 어차피 최신글인데, 거기에 new아이콘으로 더 이상 강조할
필요가 없을것 같아서요...^^