초보적인 질문 드립니다. > 그누4 질문답변

그누4 질문답변

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

초보적인 질문 드립니다. 정보

초보적인 질문 드립니다.

본문

다름이 아니오라 메인화면에 공지사항이 보이게 해 두었습니다.
그런데 more를 눌렀을 때 링크 되는 부분이 변경하게 하려면
어떻게 해야 하는지 잘 모르겠어서요..
기본(basic)스킨을 사용하는데
관리자 메뉴에는 스킨을 변경하는 방법이 없는 것 같아서요...
고수님들의 의견을 구합니다.

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>

<table width=100% cellpadding=0 cellspacing=0>
<tr>
    <td width=14><img src='<?=$latest_skin_path?>/img/latest_t01.gif'></td>
    <td width='100%' background='<?=$latest_skin_path?>/img/bg_latest.gif'>  <strong><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><?=$board[bo_subject]?></a></strong></td>
    <td width=37 background='<?=$latest_skin_path?>/img/bg_latest.gif'><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src='<?=$latest_skin_path?>/img/more.gif' border=0></a></td>
    <td width=14><img src='<?=$latest_skin_path?>/img/latest_t02.gif'></td>
</tr>
</table>

<table width=100% cellpadding=0 cellspacing=0>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
    <td colspan=4 align=center>
        <table width=95%>
        <tr>
            <td height=25><img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>  
            <?
            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 "<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'];
            ?></td></tr>
        <tr><td bgcolor=#EBEBEB height=1></td></tr>
        </table></td>
</tr>
<? } ?>

<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>

</table>

php파일을 열어보니 소스가 이렇게 되어 있거든요.
변경하려면 어디에다가 써야 하는건지요?

  • 복사

댓글 전체

latest("basic","aaaa",10,40);
과 같이 불러오신 거라면

skin/latest/basic/latest.skin.php
를 보세요.

// latest(최근게시물스킨, 게시판아이디, 출력라인, 글자수);
//echo latest("gallery", "notice", 10, 70);

관리자에서 스킨을 선택하는 것이 아니라 직접 입력입니다.
<td width=37 background='<?=$latest_skin_path?>/img/bg_latest.gif'><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src='<?=$latest_skin_path?>/img/more.gif' border=0></a></td>
이부분이 more클릭시 님이 걸어놓으신 보드스킨 리스트로 가는 곳 같은데요..경로를 바꿀려면 >
<a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'> 이부분을 바꾸는거 겠지요..
근데 해당 게시판 리스트로 가야 되는거 아닌가요???고칠필요가 있나요?
여길 고쳐야 할거 같습니다만.....
latest("latest스킨명(님은basic)","님게시판테이블명",글수,출력가로글자수);
© SIRSOFT
현재 페이지 제일 처음으로