게시판 부분 문의드립니다~~ 채택완료
작업하다 막히네요^^;;
메인페이지에는 왼쪽메뉴에 게시판 전체가 다 나오게 되어 있는데
서브페이지로 이동하면 해당 카테고리의 게시판만 나옵니다
이걸 메인 페이지에서 전체리스트 보이는 것 처럼 서브페이지도 전부 보이게 할순 없니요ㅜㅜ
어디를 수정 해야되는지 모르겠네요 ㅜㅜㅜㅜ
include_once(G5_PATH.'/head.sub.php'); include_once(G5_LIB_PATH.'/latest.lib.php'); include_once(G5_LIB_PATH.'/outlogin.lib.php'); include_once(G5_LIB_PATH.'/poll.lib.php'); include_once(G5_LIB_PATH.'/visit.lib.php'); include_once(G5_LIB_PATH.'/connect.lib.php'); include_once(G5_LIB_PATH.'/popular.lib.php');
// 상단 파일 경로 지정 : 이 코드는 가능한 삭제하지 마십시오. if ($config['cf_include_head']) { if (!@include_once($config['cf_include_head'])) { die('기본환경 설정에서 상단 파일 경로가 잘못 설정되어 있습니다.'); } return; // 이 코드의 아래는 실행을 하지 않습니다. }
if (G5_IS_MOBILE) { include_once(G5_MOBILE_PATH.'/head.php'); return; }
$memo_not_read = 0; if ($is_member) { $sql = " select count(*) as cnt "; $sql.= " from {$g5['memo_table']} "; $sql.= " where me_recv_mb_id = '{$member['mb_id']}' "; $sql.= " and substring(me_read_datetime, 1, 1) = '0' "; $row = sql_fetch($sql); $memo_not_read = $row['cnt']; }
$my_url = null; $menu = null;
if (strlen($_SERVER["REQUEST_URI"]) > 1) { $my_url = set_http($_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]); $sql = " select * from {$g5['menu_table']} where me_use = '1' order by me_order "; $qry = sql_query($sql); while ($row = sql_fetch_array($qry)) { if (strstr($my_url, $row['me_link'])) { $menu = $row; break; } //$menu = sql_fetch(" select * from {$g5['menu_table']} where me_link like '{$my_url}%' limit 1"); } }
if (!$theme && get_cookie("ck_theme")) $theme = get_cookie("ck_theme");
if ($theme) { if (preg_match("/^[a-z0-9_-]+$/i", $theme)) { set_cookie("ck_theme", $theme, 60*60*24*30); $g5_theme = $theme; } }
$theme_path = G5_PATH."/theme/".$g5_theme; $theme_url = G5_URL."/theme/".$g5_theme;
if (!is_dir($theme_path) || !file_exists($theme_path)) { $theme_path = G5_PATH."/theme/basic"; $theme_url = G5_URL."/theme/basic"; }
//if ($bo_table) echo ""; ?>