11.Nas_1


새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사


배추빌더 라이트의 메뉴 구성

♨ 카랜더 일정 :
  • 링크

  • 첨부

  • 컨텐츠 정보

    본문

      슬프다 (58.♡.1.95) 2012-12-07 (금) 22:50
    \r\n
    \r\n
    1. 상단 메뉴바와 좌측 트리메뉴에서 제외하시려면
    head.php에서 아래를 찾으세요. 2군데 나올건데요,
    $sql2 = "select * from $g4[board_table] where gr_id = '$row[gr_id]'
    둘 다
    $sql2 = "select * from $g4[board_table] where gr_id = '$row[gr_id]' and bo_table != 'B11'
    이렇게 바꿔주면 됩니다. B11 자리에는 제외하고 싶은 게시판 넣으면 되고요.
    첫번째 찾은 것이 메뉴바고, 두번째 찾은 것이 좌측 트리메뉴니까 따로 지정해도 되고요.

    2. 최신글에서 제외하려면(아마 이 질문이신 듯)
    $sql = "select * from $g4[board_table] 찾아서
    $sql = "select * from $g4[board_table] where bo_table != 'B11'
    이렇게 바꿔주면 됩니다. B11 자리에 제외할 게시판 적음 되고요.
    Shims HomePage
    [https://11q.kr 홈피]
    .\n
    [이 게시물은 관리자님에 의해 2013-11-18 21:29:50 11.H_BBS에서 이동 됨]
    [ 추가 정보 ... 더보기) ]
    뷰PDF 1,2



    office view

    관련자료

    댓글목록

    profile_image

    11q.kr관리자님의 댓글

    11q.kr관리자 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 아이피 (210.♡.41.89) 작성일

    <table cellspacing="0" cellpadding="0" width="100%">\r\n<tbody>\r\n<tr>\r\n<td class="mw_basic_view_subject">[라이트] \r\n<h1>라이트 - 그룹게시판 좌측메뉴 아래부분에 다른 사진을 넣고 싶어요 </h1></td></tr>\r\n<tr>\r\n<td bgcolor="#e7e7e7" height="1"></td></tr>\r\n<tr>\r\n<td class="mw_basic_view_title" height="30">글쓴이 : <span class="mw_basic_view_name"><a class="screenshot" href="http://g4.miwit.com/plugin/cybercash/index.php" rel="../data/mw.cash/i10_tooltip" target="_blank" jquery1357256772884="6"><img align="absMiddle" src="http://g4.miwit.com/data/mw.cash/i10" alt="" /></a>&nbsp;<a title="[only]슬프다" href="javascript:;" target="_blank"><img border="0" align="absMiddle" src="http://g4.miwit.com/data/member/on/only.gif" width="16" height="16" alt="" /> <span class="member">슬프다</span></a> <span style="border-bottom: #ddd 1px solid; border-left: #ddd 1px solid; border-top: #ddd 1px solid; border-right: #ddd 1px solid" class="icon_level5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span> 날짜 : <span class="mw_basic_view_datetime">2012-12-06 (목) 10:39</span> 조회 : <span class="mw_basic_view_hit">384</span> <a href="javascript:btn_singo(1335, 1335)" target="_blank"><img title="신고" align="absMiddle" src="http://g4.miwit.com/skin/board/mw.basic/img/btn_singo2.gif" alt="" /></a> <a href="javascript:btn_print()" target="_blank"><img title="인쇄" align="absMiddle" src="http://g4.miwit.com/skin/board/mw.basic/img/btn_print.gif" alt="" /></a> </span></td></tr>\r\n<tr>\r\n<td bgcolor="#e7e7e7" height="1"></td></tr>\r\n<tr>\r\n<td class="mw_basic_view_title" height="30">글주소 : <span id="post_url">http://mwt.so/0Cb9T</span> <img id="post_url_copy" align="absMiddle" src="http://g4.miwit.com/skin/board/mw.basic/img/copy.png" alt="" /> </td></tr><style type="text/css">\r\n#qr_code_layer { display:none; position:absolute; background-color:#fff; border:2px solid #ccc; padding:10px; width:280px; }\r\n#qr_code_layer .qr_code_google { border:5px solid #469CE0; float:left; }\r\n#qr_code_layer .qr_code_google img { width:100px; height:100px; }\r\n#qr_code_layer .qr_code_info { float:left; margin:0 0 0 10px; width:115px; font:normal 12px 'gulim'; line-height:18px; color:#555; }</style>\r\n<tr>\r\n<td class="mw_basic_view_content">\r\n<div id="view_1335">\r\n<div id="view_content">head.php에서 &lt;?=poll("mw.poll")?&gt; 찾아서 아래에 다음과 같이 넣어보세요. <br />G03 이런 것은 디에고님께서 사용하시는 그룹ID를 말하는 것입니다. <br />\r\n<div id="highlighter_346378" class="syntaxhighlighter  php">\r\n<div class="bar                                    ">\r\n<div class="toolbar"><a style="width: 16px; height: 16px" class="item viewSource" title="view source" href="http://g4.miwit.com/bbs/board.php?bo_table=mw_tip&wr_id=1335&sca=라이트#viewSource" target="_blank" commandname="viewSource" highlighterid="highlighter_346378">view source</a> \r\n<div class="item copyToClipboard"></div><a style="width: 16px; height: 16px" class="item printSource" title="print" href="http://g4.miwit.com/bbs/board.php?bo_table=mw_tip&wr_id=1335&sca=라이트#printSource" target="_blank" commandname="printSource" highlighterid="highlighter_346378">print</a><a style="width: 16px; height: 16px" class="item about" title="?" href="http://g4.miwit.com/bbs/board.php?bo_table=mw_tip&wr_id=1335&sca=라이트#about" target="_blank" commandname="about" highlighterid="highlighter_346378">?</a></div></div>\r\n<div class="lines">\r\n<div class="line alt1">\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td class="number"><code>1</code></td>\r\n<td class="content"><code class="php plain">&lt;? </code><code class="php keyword">if</code> <code class="php plain">(</code><code class="php variable">$gr_id</code> <code class="php plain">== G03 &amp;&amp; !</code><code class="php variable">$bo_table</code><code class="php plain">) { ?&gt;&lt;img src=</code><code class="php string">"이미지주소1"</code><code class="php plain">&gt;&lt;? } ?&gt; </code></td></tr></tbody></table></div>\r\n<div class="line alt2">\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td class="number"><code>2</code></td>\r\n<td class="content"><code class="php plain">&lt;? </code><code class="php keyword">if</code> <code class="php plain">(</code><code class="php variable">$gr_id</code> <code class="php plain">== G04 &amp;&amp; !</code><code class="php variable">$bo_table</code><code class="php plain">) { ?&gt;&lt;img src=</code><code class="php string">"이미지주소2"</code><code class="php plain">&gt;&lt;? } ?&gt; </code></td></tr></tbody></table></div>\r\n<div class="line alt1">\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td class="number"><code>3</code></td>\r\n<td class="content"><code class="php plain">&lt;? </code><code class="php keyword">if</code> <code class="php plain">(</code><code class="php variable">$gr_id</code> <code class="php plain">== G05 &amp;&amp; !</code><code class="php variable">$bo_table</code><code class="php plain">) { ?&gt;&lt;img src=</code><code class="php string">"이미지주소3"</code><code class="php plain">&gt;&lt;? } ?&gt;</code></td></tr></tbody></table></div></div></div><br /><br />\r\n<div class="autosourcing-stub">\r\n<div style="padding-bottom: 0px; margin: 11px 0px 7px; padding-left: 0px; padding-right: 0px; padding-top: 0px"><a href="http://g4.miwit.com/bbs/board.php?bo_table=mw_tip&wr_id=1335" target="_blank">[출처] 마이위트 - http://g4.miwit.com/bbs/board.php?bo_table=mw_tip&amp;wr_id=1335</a> </div></div></div></div></td></tr></tbody></table>

    profile_image

    11q.kr관리자님의 댓글

    11q.kr관리자 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 아이피 (210.♡.41.89) 작성일

    <table cellspacing="0" cellpadding="0" width="100%">\r\n<tbody>\r\n<tr>\r\n<td class="mw_basic_view_subject">[라이트] \r\n<h1>배추라이트 메인 최신글 원하는 것만 출력 </h1></td></tr>\r\n<tr>\r\n<td bgcolor="#e7e7e7" height="1"></td></tr>\r\n<tr>\r\n<td class="mw_basic_view_title" height="30">글쓴이 : <span class="mw_basic_view_name"><a title="[ogogago]사노라가노라" href="javascript:;" target="_blank"><span class="member">사노라가노라</span></a> <span style="border-bottom: #ddd 1px solid; border-left: #ddd 1px solid; border-top: #ddd 1px solid; border-right: #ddd 1px solid" class="icon_level1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span> 날짜 : <span class="mw_basic_view_datetime">2011-04-01 (금) 05:42</span> 조회 : <span class="mw_basic_view_hit">3027</span> <a href="javascript:btn_singo(505, 505)" target="_blank"><img title="신고" align="absMiddle" src="http://g4.miwit.com/skin/board/mw.basic/img/btn_singo2.gif" alt="" /></a> <a href="javascript:btn_print()" target="_blank"><img title="인쇄" align="absMiddle" src="http://g4.miwit.com/skin/board/mw.basic/img/btn_print.gif" alt="" /></a> </span></td></tr>\r\n<tr>\r\n<td bgcolor="#e7e7e7" height="1"></td></tr>\r\n<tr>\r\n<td class="mw_basic_view_title" height="30">글주소 : <span id="post_url">http://mwt.so/03Fv3</span> <img id="post_url_copy" align="absMiddle" src="http://g4.miwit.com/skin/board/mw.basic/img/copy.png" alt="" /> </td></tr><style type="text/css">\r\n#qr_code_layer { display:none; position:absolute; background-color:#fff; border:2px solid #ccc; padding:10px; width:280px; }\r\n#qr_code_layer .qr_code_google { border:5px solid #469CE0; float:left; }\r\n#qr_code_layer .qr_code_google img { width:100px; height:100px; }\r\n#qr_code_layer .qr_code_info { float:left; margin:0 0 0 10px; width:115px; font:normal 12px 'gulim'; line-height:18px; color:#555; }</style>\r\n<tr>\r\n<td class="mw_basic_view_content">\r\n<div id="view_505">\r\n<div id="view_content">index.php <br /><br /><br />원본 <br /><br />&lt;table border="0" cellpadding="0" cellspacing="0" width="100%"&gt; <br />&lt;? <br />$sql = "select * from $g4[board_table] order by bo_order_search"; <br />$qry = sql_query($sql); <br />for ($i=0; $row=sql_fetch_array($qry); $i++) { <br />?&gt; <br />&lt;tr&gt; <br />.... <br />.. <br />. <br />&lt;? } ?&gt; <br />&lt;/table&gt; <br /><br /><br /><br />수정 - sql 및 for 문 관련 모두 삭제 후 아래와 같이 출력 하고자 하는 최신글만 반영 <br />&lt;table border="0" cellpadding="0" cellspacing="0" width="100%"&gt; <br />&lt;tr&gt; <br />&nbsp; &nbsp; &lt;td width="350" valign="top"&gt; <br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;div class="item"&gt;&lt;?=latest("mw.list", "B11", 5, 45)?&gt;&lt;/div&gt; <br />&nbsp; &nbsp; &lt;/td&gt; <br />&nbsp; &nbsp; &lt;td width="10"&gt;&lt;/td&gt; <br />&nbsp; &nbsp; &lt;td width="345" valign="top"&gt; <br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;div class="item"&gt;&lt;?=latest("mw.list", "B12", 5, 45)?&gt;&lt;/div&gt; <br />&nbsp; &nbsp; &lt;/td&gt; <br />&lt;/tr&gt; <br />&lt;/table&gt;&nbsp; \r\n<div class="autosourcing-stub">\r\n<div style="padding-bottom: 0px; margin: 11px 0px 7px; padding-left: 0px; padding-right: 0px; padding-top: 0px"><a href="http://g4.miwit.com/bbs/board.php?bo_table=mw_tip&wr_id=505" target="_blank">[출처] 마이위트 - http://g4.miwit.com/bbs/board.php?bo_table=mw_tip&amp;wr_id=505</a> </div></div></div></div></td></tr></tbody></table>

    목록

    새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사




    Total 1,684 / 9 Page
    [ winscp hidden files / 히든파일 보이게 하기 ( ctrl + alt + h ) ]

    winscp 패널 페이지 (기본 설정 대화 상자)환경 설정 대화 상자의패널 페이지에서파일 패널의 표시 및 동작 옵션을 구성 할 수 있습니다.로컬…

    [ phpMyadmin으로 Mysql data 백업 복원하기 및 전체 게시글 text 글자 수정 제거 하기 ]

    phpMyadmin으로 Mysql data 백업 복원하기 및 전체 게시글 text 글자 수정 제거 하기시스템 : 시놀로지 / 헤놀로지홈빌드 : …

    [ 헤놀로지 vmware workstation 백업서버를 이용한 복원기 ] 댓글 1

    헤놀로지 vmware workstation 백업서버를 이용한 복원기볼륨 충돌하여 저의 서버 복구 하였습니다 문제 추정 : wise care 36…

    [ 자체성공) tvheadend 녹화 파일 자동 인코딩 mkv 파일저장 하는방법(autoencoding.sh 사… ] 댓글 4

    tvheadend 자체적으로 mkv 파일 저장 가능 합니다.사용버전시놀로지 도커 버전 mkv 파일 저장 성공설정 조건tvheadend의 녹화 프…

    [ 성공)시놀로지 docker에서 seafile 설치작업 /docker 이미지 : m3adow/seafile ] 댓글 3

    시놀로지 docker에서 seafile 설치작업 성공docker 이미지 :m3adow/seafile웹에 파일 공유에 편리한 웹하드 입니다사용설치…

    [ skb smart2 기가wifi 공유기 설정 진입 안되는것 ]

    쓸모 없는 공유기 버리고 iptime공유기 대치 사용 하지만 그래도 한번 사용 해보자skb smart2 기가wifi 공유기 설정 진입 안되는것인…

    [ PhotoStation 폴더 마운트 추가하기하여 usb photo 사진 마운트 하기 ] 댓글 2

    사진을 usb 외장하드에 있습니다이것을 phostation에 마운트하여 썸네일 생성 하여 정상 적으로 보이나 확인합니다사진저장 폴더 (usb 폴…

    [ Windows 및 Putty를 사용하여 ssh 접속 CoreELEC에서 원격 제어를 구성하는 방법 ] 댓글 1

    Windows 및 Putty를 사용하여 ssh 접속 CoreELEC에서 원격 제어를 구성하는 방법libreELEC에 액세스LibreELEC를 설…

    [ ★1)termux에서 데비안10 설치 명령 debian-in-termux(재설치1) ] 댓글 8

    Termux를 설치하고 debian 설치 tvheadend 설치 자동실행 하는 방법https://github.com/MFDGaming/debia…


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-07-03 14:06:32

    오늘의 홈 현황


    • 현재 접속자♨ 660(1) 명
    • 오늘 가입자※ 2 명
    • 어제 가입자※ 3 명
    • 주간 가입자※ 13 명
    • 오늘 방문자 1,389 명
    • 어제 방문자 2,223 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,410,741 명
    • 전체 게시물※ 8,673 개
    • 전체 댓글수※ 24,818 개
    • 전체 회원수 11,083 명

    QR코드


    ☞ QR코드 스캔은 kakao앱 자체 QR코드

    알림 0








    최신글↑