에라구문 한번봐주실래요? > 그누3질답

그누3질답

에라구문 한번봐주실래요? 정보

그누보드 에라구문 한번봐주실래요?

본문

Fatal error: Call to undefined function: get_category_list() in /home/hosting_users/icnapt/www/gnu3/bbs/skin/board/naru/gblist.skin.php on line 25
///////////
<style>
  .bh {font-size:8pt;COLOR: #666666;font-weight:bold;}
  .tt {font-size:9pt;COLOR: #575757;}
</style>

<table width='<?=$width?>' align=center><tr><td>

<table width=100%>
<tr>
    <form name=fcategory method=get action='<?="./"?>'>
    <input type=hidden name=doc value='<?=$doc?>'>
    <td width=50%>

<? if ($is_category) { ?>
<select name=ca_id onchange="location='<?=$category_location?>'+this.value;" class=select>
<option value=''>전체</option>
<?=$category_option?>
</select>
<? } ?>
<!-- // html 주석으로 처리하고자 할경우
<?
if ($is_category) {
  +++ //  이부분이 25번째...  echo "<input type=hidden name=ca_id>";
echo get_category_list("$cfg[write_table_prefix]$bo_table",$category_location);
}
?>
// html 주석으로 처리하고자 할경우 -->
    </td>
    </form>
    <td width=50% align=right height=20 style="font-size:11px;color:#666666;"><img src="<?="$board_skin/s_total.gif"?>" width="35" height="12"><?=nf($total_count)?><img src="<?="$board_skin/s_articles.gif"?>" width="61" height="12"><?=nf($page)?><img src="<?="$board_skin/s_sun.gif"?>" width="20" height="12"><?=nf($total_page)?><img src="<?="$board_skin/s_pages.gif"?>" width="41" height="12">
<? if ($admin_href) { echo "<a href='$admin_href'><u>A</u></a>"; } ?></td>
</tr>
</table>

<table width=100% border=0 cellpadding=0 cellspacing=0>
<form name=frmgblist method='post' action='./?doc=bbs/gbdeleteall.php'>
<input type=hidden name=bo_table value='<?=$bo_table?>'>
<input type=hidden name=sselect  value='<?=$sselect?>'>
<input type=hidden name=stext    value='<?=$stext?>'>
<input type=hidden name=section  value='<?=$section?>'>
<input type=hidden name=page    value='<?=$page?>'>
<tr><td colspan=8 height=3 bgcolor=#EBEBEB></td></tr>
<tr align=center height=30>
    <td width=50><?=subject_sort_link('wr_num', $qstr2)?><img src='<?="$board_skin/list_num.gif"?>' border=0></a></td>
    <? if ($is_category) { ?><td width=60><?=subject_sort_link('ca_id', $qstr2)?><img src='<?="$board_skin/list_cat.gif"?>' border=0></a></td><? } ?>
    <td><?=subject_sort_link('wr_subject', $qstr2)?><img src='<?="$board_skin/list_title.gif"?>' border=0></a></td>
    <td width=100><?=subject_sort_link('wr_name', $qstr2)?><img src='<?="$board_skin/list_name.gif"?>' border=0></a></td>
    <td width=60><?=subject_sort_link('wr_datetime', $qstr2)?><img src='<?="$board_skin/list_date.gif"?>' border=0></a></td>
    <td width=40><?=subject_sort_link('wr_hit', $qstr2)?><img src='<?="$board_skin/list_hit.gif"?>' border=0></a></td>
    <? if ($is_good) { ?><td width=40><?=subject_sort_link('wr_good', $qstr2)?><span class=bh>Good</span></a></td><? } ?>
    <? if ($is_nogood) { ?><td width=40><?=subject_sort_link('wr_nogood', $qstr2)?><span class=bh>Bad</span></a></td><? } ?>
</tr>
<tr><td colspan=8 height=1 bgcolor=#CCCCCC></td></tr>
<tr><td colspan=8 height=2 bgcolor=#EBEBEB></td></tr>

<?
// 번호에 이미지를 사용할 경우는 아래의 주석을 제거하고 $list[$i][num]의 내용을 수정후 사용하세요.
// if (!is_int($list[$i][num])) { $list[$i][num] = "<img src='$board_skin/img/arrow.gif'>"; }
?>
<? for ($i=0; $i<count($list); $i++) { ?>
<? if ($list[$i][num] == '공지') { $list[$i][num] = "<img src='$board_skin/icon_notice.gif' border=0>"; } // 공지를 이미지로 변환 ?>
<? if ($list[$i][num] == '<font color=crimson><b>→</b></font>') { $list[$i][num] = "<img src='$board_skin/icon_arrow.gif' border=0>"; } // 화살표표시를 이미지로 변환 ?>
<tr align=center>
    <td height=25><span class=tt><?=$list[$i][num]?></span></td>
    <? if ($is_category) { ?><td><span class=tt><?=$list[$i][ca_name]?></span></td><? } ?>
    <td align=left>
        <? if ($is_checkdelete) { ?><input type=checkbox name=chk_wr_id[] value='<?=$list[$i][wr_id]?>'><? } ?>&nbsp;
        <?=$list[$i][reply]?>
        <?=$list[$i][icon_reply]?>
        <a href='<?=$list[$i][href]?>'><? if ($list[$i][is_notice]) echo "<b>"; ?><span class=tt><?=$list[$i][subject]?></span><? if ($list[$i][is_notice]) echo "</b>"; ?></a>
        <span style='font-size:8pt;'><span class=tt><?=$list[$i][commentcnt]?></span></span>
        <?=$list[$i][icon_file]?>
        <?=$list[$i][icon_link]?>
        <?=$list[$i][icon_new]?>
        <?=$list[$i][icon_hot]?>
        <?=$list[$i][icon_battle]?>
        <?=$list[$i][icon_secret]?></td>
    <td nowrap><span class=tt><?=$list[$i][name]?></span></td>
    <td><span class=tt><?=$list[$i][datetime]?></span></td>   
    <td><span class=tt><?=$list[$i][wr_hit]?></span></td>   
    <? if ($is_good) { ?><td><span class=tt><?=$list[$i][wr_good]?></span></td><? } ?>
    <? if ($is_nogood) { ?><td><span class=tt><?=$list[$i][wr_nogood]?></span></td><? } ?>
</tr>
<tr><td colspan=8 height=1 bgcolor=#F3F3F3></td></tr>
<? } ?>

<? if (count($list) == 0) { echo "<tr><td colspan=8 align=center height=100 class='content contentbg'>자료가 없습니다.</td></tr>"; } ?>

</form>
</table><br>

<table width=100%>
<tr>
    <td width=50%>
        <? if ($list_href) { echo "<a href='$list_href'><img src='$board_skin/list.gif' border=0 alt='목록' align=absmiddle></a>"; } ?>
        <? if ($write_href) { echo "<a href='$write_href'><img src='$board_skin/write.gif' border=0 alt='글쓰기' align=absmiddle></a>"; } ?>
        <? if ($is_checkdelete) { ?>
        <a href='javascript:all_checked(true);'><img src='<?="$board_skin/allchk.gif"?>' border=0 alt='전체선택' align=absmiddle></a>
        <a href='javascript:all_checked(false);'><img src='<?="$board_skin/allunchk.gif"?>' border=0 alt='선택해제' align=absmiddle></a>
        <a href='javascript:all_delete();'><img src='<?="$board_skin/allchkdel.gif"?>' border=0 alt='선택삭제' align=absmiddle></a>
        <script language='javascript'>
            function all_checked(sw)
            {
                var f = document.frmgblist;

                for (var i=0; i<f.length; i++) {
                    if (f.elements[i].name == 'chk_wr_id[]') {
                        f.elements[i].checked = sw;
                    }
                }
            }

            function all_delete()
            {
                var f = document.frmgblist;
                var chk_count = 0;

                for (var i=0; i<f.length; i++) {
                    if (f.elements[i].name == 'chk_wr_id[]' && f.elements[i].checked) {
                        chk_count++;
                    }
                }
               
                if (!chk_count) {
                    alert("게시물을 하나 이상 선택하세요.");
                    return;
                }

                if (!confirm("선택한 게시물을 정말 삭제 하시겠습니까?\n\n한번 삭제한 자료는 복구할 수 없습니다")) {
                    return;
                }

                f.submit();
            }
        </script>
        <? } ?>
    </td>
    <form name=fsearch method=get action='<?="./"?>'>
    <input type=hidden name=doc value='<?=$doc?>'>
    <input type=hidden name=bo_table value='<?=$bo_table?>'>
    <td width=50% align=right valign=bottom>
        <select name=sselect class=select>
            <option value='wr_subject|wr_content'>제목+내용</option>
            <option value='wr_name'>이름</option>
            <option value='wr_num'>번호</option>
            <option value='wr_datetime'>날짜</option>
            <option value='wr_subject'>제목</option>
            <option value='wr_content'>내용</option>
            <option value='wr_hit'>읽음</option>
            <? if ($is_good) { ?><option value='wr_good'>추천</option><? } ?>
            <? if ($is_nogood) { ?><option value='wr_nogood'>비추천</option><? } ?>
        </select><input type=text name=stext size=16 required itemname='검색어' value='<?=$stext?>' class=search><input type=image src='<?="$board_skin/search.gif"?>' border=0 alt='검색' align=absmiddle>
    </td>
    </form>



</tr>
</table>
<table width=100%>
<tr>
    <td align=center>
        <? if ($prev_section_href) { echo "<a href='$prev_section_href'><img src='$board_skin/sectionprev.gif' border=0 alt='이전검색'></a>"; } ?>
        <?=$write_pages?>
        <? if ($next_section_href) { echo "<a href='$next_section_href'><img src='$board_skin/sectionnext.gif' border=0 alt='다음검색'></a>"; } ?>
    </td>
</tr>
</table>
</td></tr></table>
구문에라가 뭘 뜻하는지?
답변부탁합니다.고맙습니다.
  • 복사

댓글 전체

Fatal error: Call to undefined function: get_category_list() in /home/hosting_users/icnapt/www/gnu3/bbs/skin/board/naru/gblist.skin.php on line 25
이 에러는..
get_category_list() 함수가 없기 때문에 발생되는 것입니다.
그누보드의 정상적 배포판에는 이 함수가 없는 것으로 알고 있습니다.

아래 링크로 들어가보면..
팁앤테크의 내용인데 카타고리별 최신글 불러오는 함수중..
그 함수가 있을겁니다

http://www.sir.co.kr/?doc=bbs/gnuboard.php&bo_table=tiptech&sselect=wr_content&stext=get_category_list&soperator=1&page=1&wr_id=1213
© SIRSOFT
현재 페이지 제일 처음으로