사이트맵에서 게시판 제외 > 질문답변

본문 바로가기
사이트 내 전체검색

질문답변

서버정보나 계정정보는 보안유지를 위해 관리자쪽지나 메일로 발송해 주시거나 제작의뢰 게시판을 이용해 주시면 감사하겠습니다..

사이트맵에서 게시판 제외

페이지 정보

본문

항상 고맙습니다.
아직 php를 공부하기 때문에 작은 것에도 이렇게 질문을 드립니다.
제나빌더 사이트맵에서 그룹 제외시키기는 있는데 특정 게시판 제외는 없군요.
그누홈에 있는 옛날 사이트맵의 not_select_sitemap.php을 응용하여 보려니 잘 안되는군요.
바쁘신데 죄송합니다.
추천0

댓글목록

profile_image

제로님의 댓글

제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 작성일

//제외보드설정
    //$sql1 = " select bo_subject, bo_table from $g4[board_table] where bo_table not in ('z1_1', 'z2_1', 'z2_3', 'z5_1') and (bo_list_level <= $member[mb_level]) and (gr_id = '$row[gr_id]') order by bo_order_search";

응용해 보세요.

profile_image

제로님의 댓글

제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 작성일

다운로드 디자인에서 찾아 보세요~!

profile_image

webpark님의 댓글의 댓글

webpark쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 작성일

고맙습니다 ^^  아래처럼 넣어봤는데 안되네요.

<?

$cells = 0;

//switch(true)
//{
// case $member[mb_level] <= 2 : // 정회원 5 미만일때
// $except="'banner','gust','html'"; // 제외 그룹
// break;
// case $member[mb_level] <= 5 : // 정회원일때
// $except="'banner','html'"; // 제외 그룹
// break;
// default:
// $except="''";
//}

//접근가능그룹 여분필드 1 순서로 추출
$sql = " SELECT a.gr_id, a.gr_subject, a.gr_use_access, b.mb_id FROM $g4[group_table] AS a LEFT JOIN $g4[group_member_table] AS b ON a.gr_id = b.gr_id WHERE  (b.mb_id = '$member[mb_id]' AND a.gr_use_access = '1' ) OR a.gr_use_access = '0'  ORDER BY a.gr_1";
   
// 제외그룹설정 root님
// html , banner , guest 라는 그룹은 제외시킴
$sql = " select * from $g4[group_table] where gr_id not in ('html', 'banner', 'guest') order by gr_1";

//$sql = " select  gr_id, gr_subject from $g4[group_table] where gr_id not in ($except) order by gr_subject desc ";
$rst1 = sql_query($sql);

while ($row=sql_fetch_array($rst1)) {

if($cells%3==0)
echo "</tr><tr>";

echo "<td width='33%' valign='top' align='center'>";
echo "<table width='179' height='100%' cellpadding='0' cellspacing='0' border='0'>";
echo "<tr><td background='img/sitemap_bg1.gif' width='179' height='42' style='padding-left:22px;'><img src='img/icon_dot.gif' width='2' height='2' align='absmiddle'>&nbsp;&nbsp;<strong>$row[gr_subject]</strong></td></tr>"; // 그룹명 출력

$sql2 = " select * from $g4[board_table] where gr_id = '$row[gr_id]' order by bo_order_search ";
$rst2 = sql_query($sql2);
$cells++;

    //제외보드설정
    //$sql1 = " select bo_subject, bo_table from $g4[board_table] where bo_table not in ('z1_1', 'z2_1', 'z2_3', 'z5_1') and (bo_list_level <= $member[mb_level]) and (gr_id = '$row[gr_id]') order by bo_order_search";


while ($row2=sql_fetch_array($rst2)) {
$new_time = date("Y-m-d H:i:s", time()-3600*$row2[bo_new]);
$sql3 = " select count(*) as cnt from $g4[write_prefix]$row2[bo_table] where wr_datetime >= '$new_time' ";
$row3 = sql_fetch($sql3);
if ($row3[cnt] > 0)
$new = "&nbsp;<img src='img/icon_new.gif'>"; // new 아이콘
else
$new = ""; //new 아이콘 없음
echo "<tr><td style='padding-left:18px; height:26px;'>ㆍ<a href='$g4[bbs_path]/board.php?bo_table=$row2[bo_table]'>$row2[bo_subject]</a>&nbsp;$new <br /></td>";
echo "<tr><td height='1' bgcolor='#E9E9E9'></td></tr>";
}
echo "<tr><td height='20'></td></tr></table>";
echo "</td>";
}
?>

profile_image

제로님의 댓글의 댓글

제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 작성일

플래쉬쪽에도 아이콘은 있습니다~!

Total 1,640건 13 페이지
  • RSS
질문답변 목록
번호 제목 글쓴이 조회 추천 날짜
1340 겐쨩쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 9527 0 12-24
1339 뽕샘쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7210 0 12-24
1338 유후훌쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 7086 0 12-25
1337 Gmasta쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7893 0 12-25
1336 초돌이쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 10458 0 12-26
1335 초돌이쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8802 0 12-26
1334 초돌이쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8299 0 12-26
1333 Gmasta쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7930 0 12-28
1332 초돌이쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 9490 0 12-28
1331 천둥이쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 9623 0 12-29
1330 초돌이쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7560 0 12-30
1329 초돌이쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7319 0 12-30
1328 초돌이쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8849 0 12-30
1327 사이몽쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 11678 0 12-30
1326 나홀로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12933 0 12-31
1325 유후훌쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 9936 0 12-31
1324 유후훌쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 8443 0 12-31
1323 백작쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 11884 0 01-01
1322 백작쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 10249 0 01-01
1321 초돌이쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 10189 0 01-02
1320 유후훌쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 15876 0 01-02
1319 유후훌쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 11772 0 01-02
1318 힘쓰쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 14055 0 01-02
1317 피스토스쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 36 0 01-02
1316 힘쓰쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 9634 0 01-02

검색

회원로그인

회원가입

사이트 정보

株式会社YHPLUS / 대표 : ZERO
〒140-0011 東京都品川区東大井2-5-9-203
050-5539-7787
오픈카카오톡 (YHPLUS) :
https://open.kakao.com/o/slfDj15d

접속자집계

오늘
3,697
어제
5,524
최대
8,233
전체
1,505,134
Copyright (c) 株式会社YHPLUS. All rights reserved.