메인으로 추출한 최신글 의 글자를 마우스 온 했을때 다른컬러주기.. 정보
메인으로 추출한 최신글 의 글자를 마우스 온 했을때 다른컬러주기..첨부파일
본문
메인으로 추출한 최신글 의 글자를 마우스 온 했을때 다른컬러를 주고 싶은데요,
어느 부분을 수정하면 되는지 아시면,답변 부탁드립니다
----------------------------------------------------------
스킨은 basic 스킨인데요
latest.skin.php
파일 올립니다.
----------------------------------------------------------
latest.skin.php
----------------------------------------------------------
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<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 border="0">
<tr>
<td><img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle height="4">
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}' style='text-decoration:none;'>";
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 "</a>";
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>";
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
echo " " . $list[$i]['icon_new'];
echo " " . $list[$i]['icon_file'];
echo " " . $list[$i]['icon_link'];
echo " " . $list[$i]['icon_hot'];
echo " " . $list[$i]['icon_secret'];
?>
<?
$new_datetime = $list[$i]['datetime2'];
if ($list[$i]['datetime'] == $g4['time_ymd']) {
$new_datetime = date("y/m/d", strtotime($list[$i]['wr_datetime']));
}
echo "<font style='font-family:돋움; font-size:8pt; color:#6d6d6d;'>$new_datetime</font>";
?>
</td></tr></table></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><? } ?>
</table>
<div align="center"></div>
어느 부분을 수정하면 되는지 아시면,답변 부탁드립니다
----------------------------------------------------------
스킨은 basic 스킨인데요
latest.skin.php
파일 올립니다.
----------------------------------------------------------
latest.skin.php
----------------------------------------------------------
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<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 border="0">
<tr>
<td><img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle height="4">
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}' style='text-decoration:none;'>";
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 "</a>";
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>";
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
echo " " . $list[$i]['icon_new'];
echo " " . $list[$i]['icon_file'];
echo " " . $list[$i]['icon_link'];
echo " " . $list[$i]['icon_hot'];
echo " " . $list[$i]['icon_secret'];
?>
<?
$new_datetime = $list[$i]['datetime2'];
if ($list[$i]['datetime'] == $g4['time_ymd']) {
$new_datetime = date("y/m/d", strtotime($list[$i]['wr_datetime']));
}
echo "<font style='font-family:돋움; font-size:8pt; color:#6d6d6d;'>$new_datetime</font>";
?>
</td></tr></table></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><? } ?>
</table>
<div align="center"></div>
댓글 전체
onmouseover="컬러명"
감사합니다~
그런데 테이블은 안되는것같구 어디에 넣어야 하는지요,,?!?!?!?
그런데 테이블은 안되는것같구 어디에 넣어야 하는지요,,?!?!?!?
echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$list[$i]['subject']}</font>";
echo "</a>";
제목 출력문안에 style 지정되잇는데. 팁란이나 질답검색후 css로 처리해보셔요
echo "</a>";
제목 출력문안에 style 지정되잇는데. 팁란이나 질답검색후 css로 처리해보셔요