전광판 코드수정해주세요... > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

전광판 코드수정해주세요... 정보

전광판 코드수정해주세요...

본문

한개그룹의 최신글을 스크롤하려고 하는데
이하 코드대로 하면 좌측으로 흐르면서 가장 최근의 글 하나만 스크롤 됩니다.
어떻게 하면 한개그룹의 여러개 최신글을 위로 스크롤 할수 있을까요? 수정부탁드립니다...
____________________________________________________________
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 최신글 설정
$t_width = 300; // 전광판 넓이
?>
<style>
A:link {text-decoration:none; color:#5B5B5B}
A:visited {text-decoration:none; color:#5B5B5B}
A:active {text-decoration:none; color:#5B5B5B}
A:hover {text-decoration:none; color:#BC0000}
A:hover  {color:BC0000;text-decoration:underline}
body, table, tr, td, select,div,input,form,textarea {font-family:돋움;font-size:9pt;color:#5B5B5B;}
select,input,form {font-family:돋움; font-size:9pt; color:#353535; line-height:150%}
</style>
<!-- <?=$board[bo_subject]?> (<?=$board[bo_table]?>) 전광판 최신글 시작 -->
<table width="500" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td background="<?=$latest_skin_path?>/img/left.gif" width="100" height="30"></td>
    <td background="<?=$latest_skin_path?>/img/main_bg.gif" width="350" height="30">
 <marquee behavior=up>
 <?
 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:9pt; color:#2C88B9;'><strong>{$list[$i][subject]}</strong></font>";
        else
   // * echo "<img src=$latest_skin_path/img/dia_green.gif border=0 vspace=0 hspace=0> ";
            echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$list[$i][subject]}   </font>";
        echo "</a>";
      
  }
        ?></marquee>
</td>
    <td background="<?=$latest_skin_path?>/img/right.gif" width="50" height="30"><div align="center"><a href="<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>" onFocus="this.blur()"> </a>                <p align="left">    <a href="<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>" onFocus="this.blur()">more</a></p>
</div></td>
  </tr>
</table>

댓글 전체

불러오는 코드에서 갯수를 여러개로 해보세요~

<?=latest("스킨명", "게시판아이디", 출력라인수, 출력글자수);?>

http://www.sir.co.kr/gnuboard/g4_faq.php#03
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT