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,672 / 51 Page
    [ 작업중)리눅스 연속shell명령을 이용하여 초기설치 파일 ]

    ■[쉘스크립트] 쉘스크립트로 다수의 작업을 병렬처리 하기 – 아이군의 블로그https://www.google.co.kr/amp/theeye.pe…

    [ Tvheadend 먹스와 서비스 매핑이 되지 않을때 Tvheadend에 누락된 epg 채널 등록하기. ] 댓글 1

    Tvheadend 먹스와 서비스 매핑이 되지 않을때 Tvheadend에 누락된 epg 채널 등록하기.참조 사이트 정보 내용 >Tvheade…

    [ 크롬 http을 입력하면 https 으로 자동강제 전환(리다이렉트) 해제 방법 ]

    크롬 http을 입력하면 https 으로 자동강제 전환(리다이렉트) 해제 방법https://11q.kr/8899http:// 웹사이트 자동으로…

    [ 데비안 8.3에 MC (Midnight Commander Tool) 설치 방법 ]

    데비안 8.3에 MC (Midnight Commander Tool) 설치 방법자정 사령관 도구가 성공적으로 실행 중입니다.쉬운 설치 과정이 아니…

    [ https://synocommunity.com/packages ]

    [GUIDA] Repositories Index: Elenco delle sorgenti aggiuntive◎ ■ ▶ ☞ ♠ 정보찾아 공유 드리…

    [ 리눅스 날짜 기준으로 파일 삭제하기 ] 댓글 1

    리눅스 날짜 기준으로 파일 삭제하기2018-05-11편집역링크토론리눅스 파일 생성일 기준으로 삭제리눅스 날짜 기준으로 파일 삭제목차1방법 1: …

    [ 팩키지 완전히 삭제 하기 _예 ]

    팩키지 완전히 삭제 하기 예sudo apt-get purge mysql-server sudo rm -rf /etc/mysql sudo apt-g…

    [ POWERBUTTON_6.2-0002.SPK ]

    POWERBUTTON_6.2-0002.SPKhttps://www39.zippyshare.com/v/R3ftOA3X/file.html파일을 요청했…


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-06-02 14:52:40

    오늘의 홈 현황


    • 현재 접속자♨ 571 명
    • 오늘 가입자※ 1 명
    • 어제 가입자※ 4 명
    • 주간 가입자※ 7 명
    • 오늘 방문자 1,832 명
    • 어제 방문자 2,099 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,355,077 명
    • 전체 게시물※ 8,613 개
    • 전체 댓글수※ 24,677 개
    • 전체 회원수 11,005 명

    QR코드


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

    알림 0








    최신글↑