제나빌더 매뉴 따라 하기--; 제발 답변점 이상한 답변 사절.인사 댓글 사절 > 질문답변

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

질문답변

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

제나빌더 매뉴 따라 하기--; 제발 답변점 이상한 답변 사절.인사 댓글 사절

페이지 정보

본문

아래는 게시판 자동 매뉴 생성인데요.
여분 필드 10에 내용 작성시 자동 매뉴 생성 에서 링크 부분을 여분 필드 10에 작성한 내용으로 따라가게 햇으면 좋겟습니다. 제나빌더가 그렇게 하던데ㅣ;;;
저도 따라 해 보구 싶습니다.

<? if($gr_id){ ?>
<!-- Nav_V -->
<table width="100" cellpadding=0 cellspacing=0><tr><td height=4 align="center" valign=top></td></tr></table>
<table style="border-collapse:collapse;" align="center" cellpadding="0" cellspacing="0" width="190">
    <tr>
        <td width="190" height="5" colspan="3">
            <p><img src="<?=$g4['path']?>/img/outline_top.gif" width="190" height="5" border="0"></p>
        </td>
    </tr>
    <tr>
        <td width="5" background="<?=$g4['path']?>/img/outline_left.gif">
        </td>
        <td width="180" align="center">
     
<!-- Nav_V -->
<table width='180' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td align="center">

<table width='100%' align="center" cellpadding=0 cellspacing=0 border=0>
<?
$red_bullet="<img src='$g4[path]/images/bullets/circle03_orange.gif' width='6' height='10' align='middle'>";
$blue_bullet="<img src='$g4[path]/img/icl.gif' border='0'>";
$blue_bullet1="<img src='$g4[path]/img/icl1.gif' border='0'>";
$line_shadow = "<td height=1 background='$g4[path]/img/dot_line.gif'></td></tr>";

$sql = " select gr_id, gr_subject from $g4[group_table] where gr_id = '$gr_id'";//해당그룹 $gr_id를 해당그룹명으로 대체가능
// morning님 전체그룹에서 제외그룹설정
/*
$sql = " select * from $g4[group_table] where gr_id not in ('test', 'test2') order by gr_id ";
$sql = " select * from $g4[group_table]
where gr_id <> 'photo'
and gr_id <> 'common'
and gr_id <> '제외그룹3'
order by gr_id ";
*/
$result = sql_query($sql);
while ($row=mysql_fetch_array($result)) {
//그룹을 보여준다면
echo "<tr><td background='$g4[path]/img/lbg7.gif' height='37' align='center'>";
echo "<br>$row[gr_subject]</td></tr>";
// 게시판 목록보기 권한설정순 정렬
//$sql2 = " SELECT bo_subject, bo_table from $g4[board_table] where (bo_list_level <= $member[mb_level]) and (gr_id = '$row[gr_id]') order by bo_subject ";//참고하세요.
$sql2 = " select bo_subject, bo_table from $g4[board_table] where (bo_list_level <= $member[mb_level]) and (gr_id = '$row[gr_id]') and bo_use_search = '1' order by bo_order_search";
//제외보드설정
//$sql2 = " select * from $g4[board_table]
//where gr_id = '$row[gr_id]'
//and bo_table  <> '제외보드1'
//and bo_table  <> '제외보드2'
//order by bo_order_search ";
$result2 = sql_query($sql2);
$bar = "";
while ($row2=mysql_fetch_array($result2)) {
$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='$g4[path]/img/icon_new.gif' border='0'>"; //new 아이콘
else
$new = ""; //new 아이콘 없음
echo "<tr><td width=\"100%\" height='25' align='left' class='left_menu_btn'>";
//g6man님 해당게시판 볼드체로
if ($row2[bo_table] == $bo_table)
echo "&nbsp;&nbsp;&nbsp;$blue_bullet1&nbsp;&nbsp;<a href='$g4[bbs_path]/board.php?bo_table=$row2[bo_table]' class='list_menu menu_on' onfocus='this.blur()'><font color=#6b98cf><b>$row2[bo_subject]<b></font></a>&nbsp;$new";
//echo "<a href='$g4[bbs_path]/board.php?bo_table=$row2[bo_table]' class='list_menu menu_on' onfocus='this.blur()'>$row2[bo_subject]</a>&nbsp;&nbsp;$blue_bullet1&nbsp;&nbsp;";
else
echo "&nbsp;&nbsp;&nbsp;$blue_bullet&nbsp;&nbsp;<a href='$g4[bbs_path]/board.php?bo_table=$row2[bo_table]' class='list_menu' onfocus='this.blur()'>$row2[bo_subject]</a>&nbsp;"; //네모 뷸릿 + 테이블명 + new 아이콘
echo "</td></tr>"; //칸 닫기
echo $line_shadow;//경계선
}
}//}
echo "</td></tr>";
?>
</table>

</td>
</tr>
</table>
<!--네비게이션 메뉴 끝-->



        </td>
        <td width="5" background="<?=$g4['path']?>/img/outline_right.gif">
        </td>
    </tr>
    <tr>
        <td width="190" height="5" colspan="3">
            <p><img src="<?=$g4['path']?>/img/outline_bottom.gif" width="190" height="5" border="0"></p>
        </td>
    </tr>
</table>
<? } ?>
추천0

댓글목록

profile_image

제로님의 댓글

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

상단 메뉴소스를 보면서 스퀘어 문을 일일이 수정해 줘야 합니다.

profile_image

ebakery님의 댓글의 댓글

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

어떤 부분을 어떻게 수정 하시란 말씀 이죠--;

profile_image

제로님의 댓글의 댓글

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

통째로 다 바꿔야 합니다.

profile_image

ebakery님의 댓글의 댓글

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

그러니깐 어디를 수정해야 하냐구요 ㅠ

profile_image

제로님의 댓글

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

<?
$red_bullet="<img src='$g4[path]/images/bullets/circle03_orange.gif' width='6' height='10' align='middle'>";
$blue_bullet="<img src='$g4[path]/img/icl.gif' border='0'>";
$blue_bullet1="<img src='$g4[path]/img/icl1.gif' border='0'>";
$line_shadow = "<td height=1 background='$g4[path]/img/dot_line.gif'></td></tr>";

$sql = " select gr_id, gr_subject from $g4[group_table] where gr_id = '$gr_id'";//해당그룹 $gr_id를 해당그룹명으로 대체가능
// morning님 전체그룹에서 제외그룹설정
/*
$sql = " select * from $g4[group_table] where gr_id not in ('test', 'test2') order by gr_id ";
$sql = " select * from $g4[group_table]
where gr_id <> 'photo'
and gr_id <> 'common'
and gr_id <> '제외그룹3'
order by gr_id ";
*/
$result = sql_query($sql);
while ($row=mysql_fetch_array($result)) {
//그룹을 보여준다면
echo "<tr><td background='$g4[path]/img/lbg7.gif' height='37' align='center'>";
echo "<br>$row[gr_subject]</td></tr>";
// 게시판 목록보기 권한설정순 정렬
//$sql2 = " SELECT bo_subject, bo_table from $g4[board_table] where (bo_list_level <= $member[mb_level]) and (gr_id = '$row[gr_id]') order by bo_subject ";//참고하세요.
$sql2 = " select bo_subject, bo_table from $g4[board_table] where (bo_list_level <= $member[mb_level]) and (gr_id = '$row[gr_id]') and bo_use_search = '1' order by bo_order_search";
//제외보드설정
//$sql2 = " select * from $g4[board_table]
//where gr_id = '$row[gr_id]'
//and bo_table  <> '제외보드1'
//and bo_table  <> '제외보드2'
//order by bo_order_search ";
$result2 = sql_query($sql2);
$bar = "";
while ($row2=mysql_fetch_array($result2)) {
$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='$g4[path]/img/icon_new.gif' border='0'>"; //new 아이콘
else
$new = ""; //new 아이콘 없음
echo "<tr><td width=\"100%\" height='25' align='left' class='left_menu_btn'>";
//g6man님 해당게시판 볼드체로
if ($row2[bo_table] == $bo_table)
echo "&nbsp;&nbsp;&nbsp;$blue_bullet1&nbsp;&nbsp;<a href='$g4[bbs_path]/board.php?bo_table=$row2[bo_table]' class='list_menu menu_on' onfocus='this.blur()'><font color=#6b98cf><b>$row2[bo_subject]<b></font></a>&nbsp;$new";
//echo "<a href='$g4[bbs_path]/board.php?bo_table=$row2[bo_table]' class='list_menu menu_on' onfocus='this.blur()'>$row2[bo_subject]</a>&nbsp;&nbsp;$blue_bullet1&nbsp;&nbsp;";
else
echo "&nbsp;&nbsp;&nbsp;$blue_bullet&nbsp;&nbsp;<a href='$g4[bbs_path]/board.php?bo_table=$row2[bo_table]' class='list_menu' onfocus='this.blur()'>$row2[bo_subject]</a>&nbsp;"; //네모 뷸릿 + 테이블명 + new 아이콘
echo "</td></tr>"; //칸 닫기
echo $line_shadow;//경계선
}
}//}
echo "</td></tr>";
?>

전부

Total 1,640건 36 페이지
  • RSS
질문답변 목록
번호 제목 글쓴이 조회 추천 날짜
765 디란도쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 32 0 12-18
764 쎄엠쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 8846 0 12-17
763 기쁨충만쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 5403 0 12-14
762 하이얌쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7438 0 12-13
761 davi쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 7356 0 12-13
760 기쁨충만쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8389 0 12-11
759 디란도쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 6475 0 12-10
758 메빅맨쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7408 0 12-09
757 ebakery쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8928 0 12-07
756 ebakery쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8640 0 12-07
755 davi쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 9199 0 12-07
열람중 ebakery쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7931 0 12-06
753 ebakery쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8042 0 12-06
752 쎄엠쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 11141 0 12-06
751 포인트쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 11772 0 12-05
750 월드컵쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 8312 0 12-04
749 재다이얼쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7395 0 12-02
748 흐르는강쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7575 0 11-30
747 디란도쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7827 0 11-29
746 후니쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8421 0 11-26
745 외환딜러쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8148 0 11-25
744 gooddew쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7021 0 11-25
743 재다이얼쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 6277 0 11-24
742 귀여운현호쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 8606 0 11-23
741
도움 댓글1
tenuun쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7187 0 11-22

검색

회원로그인

회원가입

사이트 정보

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

접속자집계

오늘
4,757
어제
8,087
최대
8,087
전체
1,419,395
Copyright (c) 株式会社YHPLUS. All rights reserved.