스크롤되는 최신글 소스입니다. 최신글 클릭시에 새창이나 팝업이나 detail 화면에 띄우고 싶어요.. > 그누3질답

그누3질답

스크롤되는 최신글 소스입니다. 최신글 클릭시에 새창이나 팝업이나 detail 화면에 띄우고 싶어요.. 정보

스크롤되는 최신글 소스입니다. 최신글 클릭시에 새창이나 팝업이나 detail 화면에 띄우고 싶어요..

본문

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<link rel="stylesheet" href="../../../css/real.css" type="text/css">
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 최신글 설정
$n_width = 300; // 들어갈 폭에 맞게 전광판 넓이 설정
?>
</head>
<body>
<table width="250" border="0" cellpadding="0" cellspacing="0" class="list">
  <tr  bgcolor="#EFEFEF">
  <!-- <td width="29" 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;' class="list"  bgcolor="#EFEFEF">&nbsp;<a href='<?=$g3[bbs_path]?>/gnuboard.php?bo_table=<?=$bo_table?>'><font style='font-family:돋움; font-size:9pt; color:#696969;' class="list"><strong><?=$board[bo_subject]?></strong></font></a>&nbsp;&nbsp;</td>
<td background="<?=$latest_skin_path?>./img/board_title_bg.gif" style='padding-top:3px;' class="list"  bgcolor="#EFEFEF">
<marquee width='<?=$n_width?>' direction='up' scrollamount='1' scrolldelay=50 height=100 onmouseover='this.stop();' onmouseout='this.start();'>
        <?
for ($i=0; $i<count($list); $i++) {
echo $list[$i][icon_reply] . " ";
echo "<a href='{$list[$i][href]}'>";
        if ($list[$i][is_notice])
            echo "<font style='font-family:돋움; font-size:11pt; color:#2C88B9;'><strong>{$list[$i][subject]}</strong></font>";
        else
            echo "<li><font style='font-family:돋움; font-size:11pt; color:#6A6A6A;'>{$list[$i][subject]}</font></li>";
        echo "</a>";
echo " " . $list[$i][icon_new];
echo "<br>";
}
        ?>
</marquee>
</td>
    <!--<td width="19"><img src="<?=$latest_skin_path?>./img/board_title_right.gif" width="19" height="31"></td>-->
  </tr>
</table>
</body>
</html>
  • 복사

댓글 전체

© SIRSOFT
현재 페이지 제일 처음으로