새글

    최근 180일 이내 등록된 새글 이에요.
  • 작성자 및 관리자 외 열람할 수 없습니다.
    비밀글 기능으로 보호된 글입니다.
    bank365 2025-11-10 버그제보
  • 엘지>삼성>레노버 브랜드 제품 이용하다노트북 지원 받을일이 있어 모델 고르던 중 애플 브랜드 한번 경험 해보고 싶어맥프로 M5 중간 모델로 이전 준비중 입니다.어떤 차별점이 있을지 궁금하기도 하군요.
    우루사100mg 2025-11-10 자유 게시판
  • 작성자 및 관리자 외 열람할 수 없습니다.
    비밀글 기능으로 보호된 글입니다.
    넌나의에너지 2025-11-10 질문과 답변
  • 테마 basic > shop > shop.head.php 파일입니다.https://om.tloghost.kr/shop/1670824116COWIN 프리미엄 4K HDMI 2.0 케이블 8M 10M 12M 15M온라인 입점몰 형태의 오픈마켓으로 다양한 상품을 판매중에 있습니다.https://om.tloghost.kr/shop/1670824116 상품판매 페이지도 공지를 리스트처럼 카테고리가 나오게 하고 싶습니다.코드가 짤리네요. 위에 zip파일을 다운로드 받아 코드 수정좀 해주세요<?phpif (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가$q = isset($_GET['q']) ? clean_xss_tags($_GET['q'], 1, 1) : '';if(G5_IS_MOBILE) {    include_once(G5_THEME_MSHOP_PATH.'/shop.head.php');    return;}include_once(G5_THEME_PATH.'/head.sub.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');include_once(G5_LIB_PATH.'/latest.lib.php');add_javascript('<script src="'.G5_JS_URL.'/owlcarousel/owl.carousel.min.js"></script>', 10);add_stylesheet('<link rel="stylesheet" href="'.G5_JS_URL.'/owlcarousel/owl.carousel.css">', 0);add_stylesheet('<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined" rel="stylesheet">');add_stylesheet('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@xpressengine/xeicon@2.3.3/xeicon.min.css">');//안읽은 알림if ($is_member) {        if( isset($member['mb_memo_cnt']) ){            $memo_not_read = $member['mb_memo_cnt'];        } else {            $memo_not_read = get_memo_not_read($member['mb_id']);        }}//안읽은 메세지if ($is_member) {        if( isset($member['mb_chat_cnt']) ){            $chat_not_read = $member['mb_chat_cnt'];        } else {            $chat_not_read = get_chat_not_read($member['mb_id']);        }}//공유포인트 세션처리if(!session_id()) {    session_start();}//세션 변수 등록 / 해당상품만 적용if($default['de_ssr_sh'] > 0) { // 설정이 되어있는 경우만    if($_GET['seller_id'] && $_GET['it_id'] && $_GET['seller_id'] != $member['mb_id']) {         $_SESSION['seller_id'] = $_GET['seller_id'];        $_SESSION['seller_it_id'] = $_GET['it_id'];    } else {         $_SESSION['seller_id'] = "";        $_SESSION['seller_it_id'] = "";    }} else {  // 설정안된경우 비운다    $_SESSION['seller_id'] = "";        $_SESSION['seller_it_id'] = "";}//공구 종료 전체알림//종료된 공구가 있는지 체크 (al_chk = 0 알림을 보내지 않은것만 체크)$today_in = date("Y-m-d");$sql_end = " select * from {$g5['g5_shop_item_table']} where item_type = '10' and DATE_FORMAT(it_2, '%Y-%m-%d') < '{$today_in}' and it_use = '1' and al_chk = '0' ";$ress_end = sql_query($sql_end);     for ($i=0; $rows_end=sql_fetch_array($ress_end); $i++) {                    $partner_ids = $rows_end['it_10']; // 판매자 아이디를 얻는다.                        $rows_end_me = sql_fetch(" select max(me_id) as new_me_id from {$g5['memo_table']} ");            $me_end_id = $rows_end_me['new_me_id'] + 1;            $send_id_end = 'admin'; //발송할 아이디            $memo_content_end = '등록하신 '.$rows_end['it_name'].' 공동구매의 기간이 종료 되었습니다. 공구현황을 확인해주세요.';            $sql_ms1 = " insert into {$g5['memo_table']} set me_id='$me_end_id', me_recv_mb_id = '{$partner_ids}', me_send_mb_id = '{$send_id_end}', me_send_datetime='".G5_TIME_YMDHIS."', me_memo = '".$memo_content_end."', me_chk = '{$partner_ids}-{$rows_end['it_id']}-{$rows_end['item_type']}-partner' ";            sql_query($sql_ms1);            $sql_ms2 = " update {$g5['member_table']} set mb_memo_call = 'admin', mb_memo_cnt = '".get_memo_not_read($partner_ids)."' where mb_id = '{$partner_ids}' ";            sql_query($sql_ms2);                                        /*************** Push */                        $sql_push = "select token as devno, mb_id from g5_member where token_and = 'and' and mb_id='{$partner_ids}'  and token != '' "; //수신자                    $res_push = sql_query($sql_push);                     $tokens = array();                     while ($row = sql_fetch_array($res_push))                     {                        $tokens[] =trim(str_replace(" ","",$row['devno']));                     }                    $title = "공동구매 종료 알림"; //푸시제목                    $message = $memo_content_end; //메세지                    $links = urldecode(G5_URL."/shop/item.php?it_id=".$rows_end['it_id']); //이동주소                    $urls = urldecode(G5_URL);                    $icons = G5_URL."/app/noti_only.png";                    $icons2 = G5_URL."/app/noti.png";                    $arr = array();                     $arr['title'] = $title;                      $arr['body'] = $message;                     $arr['message'] = $message;                    $arr['murl'] = $links;                    $arr['surl'] = $links;                    $arr['url']   = $urls;                     $arr['largeIcon'] = $icons;                      $arr['icon']  = $icons2;                    $arr['ch']    = $icons2;                      $arr['url1']  = $icons2;                      $arr['gType'] = "1";                      $message_status = Android_Push($tokens, $arr);                     /************** Push */                        //알림 중복이 되지않도록 아이템 테이블에 업데이트            $sql_push_chk = " update {$g5['g5_shop_item_table']} set al_chk = '1' where it_id = '{$rows_end['it_id']}' ";            sql_query($sql_push_chk);                        }//종료된 공구가 있는지 체크$sql_end2 = " select * from {$g5['g5_shop_item_table']} where item_type = '10' and DATE_FORMAT(it_2, '%Y-%m-%d') < '{$today_in}' and it_use = '1' ";$ress_end2 = sql_query($sql_end2);         for ($i=0; $rows_end2=sql_fetch_array($ress_end2); $i++) {                //조회된 상품의 전체 구매합계를 조회        $row_all_p = sql_fetch(" select sum(ct_qty * ct_price + io_price) as cnt_price from g5_shop_cart where it_id = '{$rows_end2['it_id']}' and ct_status IN ('입금','준비','배송','완료') ");                //전체 구매합계가 목표금액보다 크거나 같을때 (성공)        if($rows_end2['it_3'] <= $row_all_p['cnt_price']) {                        //해당상품의 알림을 보내지 않은 구매자 ID를 얻는다.            $sql_user = " select mb_id, ct_id from {$g5['g5_shop_cart_table']} where ct_status IN ('주문', '입금') and it_id = '{$rows_end2['it_id']}' and al_chk = '0' group by od_id ";            $res_user = sql_query($sql_user);                                             //얻어진 ID에게 알림을 발송                for ($i=0; $row_user=sql_fetch_array($res_user); $i++) {                                    $rows_me = sql_fetch(" select max(me_id) as new_me_id from {$g5['memo_table']} ");                    $me_ids = $rows_me['new_me_id'] + 1;                    $send_ids = 'admin'; //발송할 아이디                    $memo_contents = '참여중인 '.$rows_end2['it_name'].' 공동구매가 목표금액을 달성했습니다.';                    $from_ids = $row_user['mb_id'];                    $sql_m1 = " insert into {$g5['memo_table']} set me_id='$me_ids', me_recv_mb_id = '{$from_ids}', me_send_mb_id = '$send_ids', me_send_datetime='".G5_TIME_YMDHIS."', me_memo='".$memo_contents."', me_chk = '{$from_ids}-{$rows_end2['it_id']}-{$row_user['od_id']}-{$row_user['ct_item_type']}' ";                    sql_query($sql_m1);                    $sql_m2 = " update {$g5['member_table']} set mb_memo_call = 'admin', mb_memo_cnt = '".get_memo_not_read($from_ids)."' where mb_id = '{$from_ids}' ";                    sql_query($sql_m2);                                        /*************** Push */                        $sql_push = "select token as devno, mb_id from g5_member where token_and = 'and' and mb_id='{$from_ids}'  and token != '' "; //수신자                    $res_push = sql_query($sql_push);                     $tokens = array();                     while ($row = sql_fetch_array($res_push))                     {                        $tokens[] =trim(str_replace(" ","",$row['devno']));                     }                    $title = "공동구매 성공 알림"; //푸시제목                    $message = $memo_contents; //메세지                    $links = urldecode(G5_URL."/shop/item.php?it_id=".$rows_end2['it_id']); //이동주소                    $urls = urldecode(G5_URL);                    $icons = G5_URL."/app/noti_only.png";                    $icons2 = G5_URL."/app/noti.png";                    $arr = array();                     $arr['title'] = $title;                      $arr['body'] = $message;                     $arr['message'] = $message;                    $arr['murl'] = $links;                    $arr['surl'] = $links;                    $arr['url']   = $urls;                     $arr['largeIcon'] = $icons;                      $arr['icon']  = $icons2;                    $arr['ch']    = $icons2;                      $arr['url1']  = $icons2;                      $arr['gType'] = "1";                      $message_status = Android_Push($tokens, $arr);                     /************** Push */                                        //알림 중복이 되지않도록 카트 테이블에 업데이트                    $sql_push_chk = " update {$g5['g5_shop_cart_table']} set al_chk = '1' where mb_id = '{$row_user['mb_id']}' and ct_id = '{$row_user['ct_id']}' ";                    sql_query($sql_push_chk);                                }                    } else { //실패                        //해당상품의 알림을 보내지 않은 구매자 ID를 얻는다.            $sql_user = " select mb_id, ct_id from {$g5['g5_shop_cart_table']} where ct_status IN ('주문', '입금') and it_id = '{$rows_end2['it_id']}' and al_chk = '0' group by od_id ";            $res_user = sql_query($sql_user);                                 //얻어진 ID에게 알림을 발송                for ($i=0; $row_user=sql_fetch_array($res_user); $i++) {                                    $rows_me = sql_fetch(" select max(me_id) as new_me_id from {$g5['memo_table']} ");                    $me_ids = $rows_me['new_me_id'] + 1;                    $send_ids = 'admin'; //발송할 아이디                    $memo_contents = '참여중인 '.$rows_end2['it_name'].' 공동구매가 기간동안 목표금액을 달성하지 못하여 실패처리 되었습니다.                    해당 주문건은 취소(환불) 될 예정입니다. 자세한 내용은 1:1문의 또는 상품문의를 이용해주세요.';                    $from_ids = $row_user['mb_id'];                    $sql_m1 = " insert into {$g5['memo_table']} set me_id='$me_ids', me_recv_mb_id = '{$from_ids}', me_send_mb_id = '$send_ids', me_send_datetime='".G5_TIME_YMDHIS."', me_memo = '".$memo_contents."', me_chk =' {$from_ids}-{$rows_end2['it_id']}-{$row_user['od_id']}-{$row_user['ct_item_type']}' ";                    sql_query($sql_m1);                    $sql_m2 = " update {$g5['member_table']} set mb_memo_call = 'admin', mb_memo_cnt = '".get_memo_not_read($from_ids)."' where mb_id = '{$from_ids}' ";                    sql_query($sql_m2);                                        /*************** Push */                        $sql_push = "select token as devno, mb_id from g5_member where token_and = 'and' and mb_id='{$from_ids}'  and token != '' "; //수신자                    $res_push = sql_query($sql_push);                     $tokens = array();                     while ($row = sql_fetch_array($res_push))                     {                        $tokens[] =trim(str_replace(" ","",$row['devno']));                     }                    $title = "공동구매 실패 알림"; //푸시제목                    $message = $memo_contents; //메세지                    $links = urldecode(G5_URL."/shop/item.php?it_id=".$rows_end2['it_id']); //이동주소                    $urls = urldecode(G5_URL);                    $icons = G5_URL."/app/noti_only.png";                    $icons2 = G5_URL."/app/noti.png";                    $arr = array();                     $arr['title'] = $title;                      $arr['body'] = $message;                     $arr['message'] = $message;                    $arr['murl'] = $links;                    $arr['surl'] = $links;                    $arr['url']   = $urls;                     $arr['largeIcon'] = $icons;                      $arr['icon']  = $icons2;                    $arr['ch']    = $icons2;                      $arr['url1']  = $icons2;                      $arr['gType'] = "1";                      $message_status = Android_Push($tokens, $arr);                     /************** Push */                                        //알림 중복이 되지않도록 카트 테이블에 업데이트                    $sql_push_chk = " update {$g5['g5_shop_cart_table']} set al_chk = '1' where mb_id = '{$row_user['mb_id']}' and ct_id = '{$row_user['ct_id']}' ";                    sql_query($sql_push_chk);                                }                    }            }//등록된 변수 사용//echo "seller_id: ".$_SESSION['seller_id']."<br/>";//echo "seller_it_id 값: ".$_SESSION['seller_it_id'];?><?php /*$subcate = substr($_GET['ca_id'], 0, 2);*/?><?php    if(defined('_INDEX_')) { // index에서만 실행        include G5_BBS_PATH.'/newwin.inc.php'; // 팝업레이어    }?><?//ajax 알람include_once(G5_PLUGIN_PATH.'/alarm/alarm.php');?><?php//푸시 기기등록을 위한 토큰전송if($_SERVER['HTTP_X_REQUESTED_WITH'] == $config['cf_10']) {?><script><?php if($member['mb_id']) { ?>window.Android.call_log('token');  function setMsg(msg) {    //alert(msg);    $.post("<?php echo G5_BBS_URL ?>/push_update.php", {         user_idx: "<?php echo $member['mb_id'];?>",         token : msg      }, function(result){         //alert("success"+result);     }); }<?php } ?></script><?php } ?><div class="main_wrap">    <!-- 상단 { -->    <div class="top_wrap">        <div class="top_fixed">        <div class="inner">            <ul class="top_wrap_ul1">                <a href="<?php echo G5_URL ?>" class="pc"><img src="<?php echo G5_THEME_URL ?>/image/top/logo.png"></a>                <a href="<?php echo G5_URL ?>" class="mobile"><img src="<?php echo G5_THEME_URL ?>/image/top/logo_m.png"></a>            </ul>            <ul class="top_wrap_ul2">                <div class="gnb">                    <?php                    $menu_datas = get_menu_db(0, true);                    $gnb_zindex = 999; // gnb_1dli z-index 값 설정용                    $i = 0;                    foreach( $menu_datas as $row ){                        if( empty($row) ) continue;                    ?>                    <a href="<?php echo $row['me_link']; ?>" class="font-naver-EB"><?php echo $row['me_name'] ?></a>                                        <?php                    $i++;                    }                    ?>                    <!-- <a href="<?php echo G5_SHOP_URL ?>/search.php?qnow=1" class="font-naver-EB top_gnb_bolt">당일발송</a> -->                </div>            </ul>            <ul class="top_wrap_ul4">                                <li class="po_rel">                    <a href="<?php echo G5_BBS_URL ?>/chat_list.php" title="메세지">                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-message-circle"><path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"></path></svg>                    </a>                    <?php if($chat_not_read > 0) { ?>                    <span class="top_num_ico font-naver-H" onclick="location.href='<?php echo G5_BBS_URL ?>/chat_list.php';"><?php echo $chat_not_read ?></span>                    <?php } ?>                </li>                                <li class="mobile">                    <a href="<?php echo G5_SHOP_URL ?>/search_product.php?sq=" title="검색">                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>                    </a>                </li>                <li class="po_rel">                    <a href="<?php echo G5_BBS_URL ?>/memo.php" title="알림">                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bell"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path><path d="M13.73 21a2 2 0 0 1-3.46 0"></path></svg>                    </a>                    <?php if($memo_not_read > 0) { ?>                    <span class="top_num_ico font-naver-H" onclick="location.href='<?php echo G5_BBS_URL ?>/memo.php';"><?php echo $memo_not_read ?></span>                    <?php } ?>                </li>                <li>                    <a href="<?php echo G5_BBS_URL ?>/member_confirm.php?url=<?php echo G5_BBS_URL ?>/register_form.php" title="회원정보 수정">                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-user"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>                    </a>                </li>                <li class="po_rel">                    <a href="<?php echo G5_SHOP_URL; ?>/cart.php" title="장바구니">                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-shopping-cart"><circle cx="9" cy="21" r="1"></circle><circle cx="20" cy="21" r="1"></circle><path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"></path></svg>                    </a>                    <?php if(get_boxcart_datas_count() > 0) { ?>                    <span class="top_num_ico font-naver-H" onclick="location.href='<?php echo G5_SHOP_URL; ?>/cart.php';"><?php echo get_boxcart_datas_count(); ?></span>                    <?php } ?>                </li>                <li class="r_gnb_li"><a href="javascript:void(0);" class="sh-side-options-item-trigger"><img src="<?php echo G5_THEME_URL ?>/image/icon/ico_r_gnb.svg"></a></li>            </ul>            <div class="cb"></div>        </div>                        <div class="mobile mobile_gnbs">                <div class="swiper-container swiper-container-sgnb-m">                    <ul class="swiper-wrapper swiper-wrapper-sgnb-m">                <?php                    $menu_datas = get_menu_db(0, true);                    $gnb_zindex = 999; // gnb_1dli z-index 값 설정용                    $i = 0;                    foreach( $menu_datas as $row ){                        if( empty($row) ) continue;                    ?>                        <li class="swiper-slide swiper-slide-sgnb-m"><a href="<?php echo $row['me_link']; ?>" class="font-naver-EB"><?php echo $row['me_name'] ?></a></li>                                        <?php                    $i++;                    }                    ?>                        <!-- <li class="swiper-slide swiper-slide-sgnb-m"><a href="<?php echo G5_SHOP_URL ?>/search.php?qnow=1" class="font-naver-EB top_gnb_bolt">당일발송</a></li> -->                    </ul>                </div>                <script>                    var swiper = new Swiper('.swiper-container-sgnb-m', {                        slidesPerView: 'auto', //가로갯수                        spaceBetween: 25, // 간격                        touchRatio: 1, // 드래그 가능여부(1, 0)                        slidesOffsetBefore: 20, //좌측여백 px                        slidesOffsetAfter: 20, // 우측여백 px                    });                </script>            </div>                    </div>                <script>            var didScroll;             var lastScrollTop = 0;             var delta = 5;             var navbarHeight = $('.top_fixed').outerHeight();            $(window).scroll(function(event){                 didScroll = true;             });            setInterval(function() {                 if (didScroll) {                     hasScrolled(); didScroll = false;                 }             }, 10);            function hasScrolled() {                var st = $(this).scrollTop();                if(Math.abs(lastScrollTop - st) <= delta)                    return;                if (st > lastScrollTop && st > navbarHeight){                    $('.top_fixed').addClass('gnb_up');                    $('#sub_cates').addClass('cate_up');                                    } else {                        if(st < 10) {                        $('.top_fixed').removeClass('gnb_up');                        $('#sub_cates').removeClass('cate_up');                    }                }                lastScrollTop = st;            }        </script>                <?php        if($_GET['ca_id']) {            $gnb_ca_id = substr($_GET['ca_id'], 0, 2);             $sql_gnb = " select ca_id, ca_name from {$g5['g5_shop_category_table']} where ca_id like '{$gnb_ca_id}%' and length(ca_id) = '4' and ca_use = '1' order by ca_id "; $result_gnb = sql_query($sql_gnb);                    }        ?>                    <div class="gnb_sub_div">                <div class="inner">                <ul class="gnb_sub_div_ul1" id="sub_cates">                    <li class="gnb_sub_div_ul1_li1">                            <?php if($_GET['ca_id']) { ?>                                                        <?php                            for($j=0; $row_gnb=sql_fetch_array($result_gnb); $j++) {                                if($j == 0)                                    echo '<ul class="swiper-container swiper-container-sgnb"><ul class="swiper-wrapper swiper-wrapper-sgnb">';                                    $ca_list_href = G5_SHOP_URL.'/list.php?ca_id='.$row_gnb['ca_id'];                                                                    if(strlen($_GET['ca_id']) == 2) {                                        $cate_2st = "";                                    } else {                                         $cate_2st = substr($_GET['ca_id'], 0, 4);                                    }                                                                ?>                                                <li class="swiper-slide swiper-slide-sgnb"><a href="<?php echo $ca_list_href; ?>" class="sct_ct_view <?php if($cate_2st == $row_gnb['ca_id']) { ?>top_ons<?php } ?>"><?php echo $row_gnb['ca_name']; ?></a></li>                                                    <?php                            }                            if($j > 0) {                                echo '</ul></ul>';                            } else if($j == 0) { ?>                                <?php echo latest('theme/notice_top', 'news', 1, 99); ?>                            <?php } ?>                            <?php } else { ?>                                <?php echo latest('theme/notice_top', 'news', 1, 99); ?>                            <?php } ?>                            <script>                            var swiper = new Swiper('.swiper-container-sgnb', {                                slidesPerView: 'auto', //가로갯수                                spaceBetween: 25, // 간격                                touchRatio: 0, // 드래그 가능여부(1, 0)                                breakpoints: { // 반응형 처리                                    1024: {                                        slidesPerView: 'auto',                                        touchRatio: 0,                                        spaceBetween: 20,                                    },                                    768: {                                        slidesPerView: 'auto',                                        touchRatio: 1,                                        spaceBetween: 20,                                    },                                    10: {                                        slidesPerView: 'auto',                                        touchRatio: 1,                                        spaceBetween: 20,                                    }                                }                            });                            </script>                    </li>                    <div class="cb mobile"></div>                    <li class="gnb_sub_div_ul1_li3">                                                <form name="frmsearch1" action="<?php echo G5_SHOP_URL; ?>/search_product.php" onsubmit="return search_submit(this);">                        <input type="text" name="sq" class="top_search_inp font-naver-EB" placeholder="검색어를 입력하세요." value="<?php echo stripslashes(get_text(get_search_string($sq))); ?>">                        <button type="submit" class="top_search_btn">                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>                        </button>                        </form>                                                <script>                        function search_submit(f) {                            if (f.sq.value.length < 2) {                                alert("검색어는 두글자 이상 입력하세요.");                                f.sq.select();                                f.sq.focus();                                return false;                            }                            return true;                        }                        </script>                                            </li>                                        <li class="gnb_sub_div_ul1_li2">                        <?php echo popular('theme/basic', 10); ?>                    </li>                                        <div class="cb"></div>                </ul>                <div class="cb"></div>            </div>            </div>            </div>    <!-- } -->                <!-- 컨텐츠 { -->    <div class="body_wrap">                                <?php                 if(!defined('_INDEX_')) {                $plus_url = $_SERVER['SCRIPT_NAME'];                $php_self = explode("/", $_SERVER['PHP_SELF']);                $url_cnt = count($php_self) - 1;                $this_page = $php_self[$url_cnt];            ?>            <div class="inner subs_wrap">                                <div class="title_div">                                        <?php if($this_page == "orderinquiry.php" ||                     $this_page == "orderinquiryview.php" ||                     $this_page == "orderinquiry_fund.php" ||                     $this_page == "cart.php" ||                     $this_page == "wishlist.php" ||                     $this_page == "point.php" ||                     $this_page == "favo.php" ||                     $this_page == "memo.php" ||                     $this_page == "memo_view.php" ||                     $this_page == "chat_list.php" ||                     $this_page == "digital_code.php" ||                    $bo_table == "qna") { ?>
    티로그 2025-11-10 질문과 답변
  • 게시판에 많은 글자를 입력하는 경우 글자가 잘리는 경우가 있습니다.두가지 변경으로 처리해줄 수 있습니다.해당 게시판의 wr_content 컬럼의 타입을 TEXT > LONGTEXT 로 변경.보통은 여기서 해결된다고 하지만, 그누보드 코어에는 wr_content 의 글자를 강제로 자르는 코드가 있습니다./bbs/write_update.php 파일의 32라인 부근의 아래코드 입니다.$wr_content = substr(trim($_POST['wr_content']),0,65536);입력폼에서 넘어온 wr_content 를 최대 65,536 바이트만 남기고 자르는 코드 입니다.위 코드를 아래와같이 변경해주시면 많은양의 글자를 입력하더라도 서버에서 걸리는게 아니면 정상적으로 저장됩니다.$wr_content = $_POST['wr_content'] ?? '';
    리빌더 2025-11-10 팁과노하우
  • 게시판안에 현재 게시판의 ID를 출력하려면보편적인 방법으로 <?php echo $bo_table ?> 을 넣으면현재 보고있는 게시판의 ID 가 출력됩니다.하지만 위젯이나, 모듈을 게시판 안에 추가했고, 위젯이나 모듈에서 $bo_table 을 넣으면 리빌더의 모듈 출력 구조상 아무것도 출력이 되지않습니다. (최신글의 경우 출력되는 게시물의 bo_table 이 출력됨)이럴때는 $bo_table 대신에 $GLOBALS['bo_table'] 을 사용하면 되겠습니다.예제1 (현재 게시판의 ID를 위젯 또는 모듈에 출력)<?php if (!empty($GLOBALS['bo_table'])) echo $GLOBALS['bo_table']; ?>예제2 (조건문을 통해 특정내용 출력)<?php if (!empty($GLOBALS['bo_table']) && $GLOBALS['bo_table'] == "free") { ?> free 게시판 안에있는 위젯 또는 모듈에 출력 됩니다. <?php } ?> <?php if (!empty($GLOBALS['gr_id']) && $GLOBALS['gr_id'] == "community") { ?> community 그룹에 속해있는 위젯 또는 모듈이면 출력 됩니다. <?php } ?> <?php if (!empty($GLOBALS['wr_id']) && $GLOBALS['wr_id'] == "1") { ?> ID가 1인 게시물 안에 있는 위젯 또는 모듈이면 출력 됩니다. <?php } ?> 감사합니다.
    리빌더 2025-11-10 팁과노하우
  • 개인적으로 의뢰들어온건이 있어, 구독시스템 안정화를 마무리하고서레이아웃작업은 잠시 미뤄야 할 것 같습니다.혹시라도 레이아웃을 기다리셨던 분들이 계시다면 죄송의 말씀 드립니다...
    HUMHAE 2025-11-09 자유 게시판
  • 10월말에 출시한 것 같은데 이제 깔아서 사용해보는데전반적인 UI는 엣지 브라우저랑 미묘하게 닮은 것 같아요.https://browser.samsung.com/betaSamsung InternetEnjoy easy, fast and secure web surfinghttps://browser.samsung.com/beta갤럭시 휴대폰과 연동성을 기대해봐도 좋을 것 같습니다. (하지만 저는 아이폰...)
    HUMHAE 2025-11-08 자유 게시판
  • 수정내용입니다.1. 로그인시 레벨숫자를 텍스트로 변경(그누사이트에서 참고했습니다.)2. 디스코드 버튼 클릭시 아래로 내려오는 슬라이드 추가3. 갤러리 게시판을 유튜브 링크가 있을때 나오도록 변경4. 최신글에 유튜브 인경우 아이콘 나오게 수정5. 일정관리 최신글 추가(미니버전)이상입니다.
    만두 2025-11-07 사용후기
  • 작성자 및 관리자 외 열람할 수 없습니다.
    비밀글 기능으로 보호된 글입니다.
    KKKK 2025-11-07 질문과 답변
  • 작성자 및 관리자 외 열람할 수 없습니다.
    비밀글 기능으로 보호된 글입니다.
    a5df093b 2025-11-07 버그제보
  • 버전 1.0.0 버젼이 설치되어 있습니다.사이트는 작업이 완료 된 상태이며, 오픈 예정입니다.그누보드 패치도 안 되어 있는 상태이며, 리빌더 버젼업을 하고 싶은데요.최신 파일만 다운로드 받아 올리면 되는건지.1.0.0 이후 파일들을 다 다운로드 해서 업로드 해야하는건지 궁금합니다.그리고 버전 업이 최근까지 안된다면, 어느버전까지 할수 있는건지.보안패치는 어디까지 할수 있는건지 궁금합니다.
    디오 2025-11-07 질문과 답변
  • 더보기 눌러서 들어가서 가 아닌,메인에서도 웹진형 으로 보이게  어떻게 하나요?웹진게시판 설치해도  모듈 출려개수 세로로 해도출력항목 썸네일 체크 하면 크게 나오고 ㅜ 어떻게하징
    기무 2025-11-07 질문과 답변
  • 위에 이미지처럼 안나오고 아래 이미지처럼 나오네요 뭐가 문제인가요?<?php if (empty($_GET['it_id'])): ?><li class="gnb_sub_div_ul1_li1">    <?php    // 현재 선택된 1차 카테고리 (ca_id 앞 2자리)    $current_1st = !empty($_GET['ca_id']) ? substr($_GET['ca_id'], 0, 2) : '';    // 1차 카테고리 조회    $sql_1st = "SELECT ca_id, ca_name                 FROM {$g5['g5_shop_category_table']}                 WHERE LENGTH(ca_id) = 2 AND ca_use = '1'                ORDER BY ca_order, ca_id";    $result_1st = sql_query($sql_1st);    $has_category = false;    ?>        <ul class="swiper-container swiper-container-sgnb">        <ul class="swiper-wrapper swiper-wrapper-sgnb">            <?php            while ($row = sql_fetch_array($result_1st)) {                $has_category = true;                $link = G5_SHOP_URL . '/list.php?ca_id=' . $row['ca_id'];                $is_active = ($current_1st === $row['ca_id']) ? 'top_ons' : '';                ?>                <li class="swiper-slide swiper-slide-sgnb">                    <a href="<?php echo $link; ?>" class="sct_ct_view <?php echo $is_active; ?>">                        <?php echo get_text($row['ca_name']); ?>                    </a>                </li>                <?php            }            ?>        </ul>    </ul>    <?php if (!$has_category): ?>        <?php echo latest('theme/notice_top', 'news', 1, 99); ?>    <?php endif; ?>    <script>    var swiper = new Swiper('.swiper-container-sgnb', {        slidesPerView: 'auto',        spaceBetween: 25,        touchRatio: 0,        breakpoints: {            1024: { slidesPerView: 'auto', touchRatio: 0, spaceBetween: 20 },            768: { slidesPerView: 'auto', touchRatio: 1, spaceBetween: 20 },            10: { slidesPerView: 'auto', touchRatio: 1, spaceBetween: 20 }        }    });    </script></li><?php endif; ?>해당 부분 코드입니다.
    티로그 2025-11-06 질문과 답변
  • 1. 기업형 레이아웃 전용 탑비주얼 스킨타이틀 문구와 서브 문구를 자유롭게 지정하고, 버튼을 자유롭게 추가 및 삭제 할 수 있습니다.2. 키워드 인터랙션 스킨위젯으로 제공되며, 타이틀과 키워드를 php 변수로 추가할 수 있으며 타이틀 문구는 마우스 움직임에 따라 인터랙션 효과를 보여줍니다.3. 전용 최신글 스킨리빌더 기본으로 제공되는 최신글 스킨을 리터치한 최신글 스킨입니다.4. 파트너 로고 위젯로고는 widget.php 파일에서 추가 할 수 있으며 지속적으로 스크롤 됩니다.로고는 기본적으로 흑백 노출 되며, 해당 로고 마우스 오버시 컬러로 변환됩니다.5. 문의안내 위젯(배너)6. 네비게이터접속한 메뉴에 속하는 그룹들의 메뉴 목록을 출력합니다. (현재 접속 메뉴 액티브 효과)7. 채용게시판 스킨기존 콘텐츠허브에 멤버십전용으로 등록된 내부채용게시판 스킨을 기본탑재합니다. (리빌더 채용정보 스킨과 별도)8. 기타 기본 페이지회사소개, 오시는길, 연혁페이지, CEO 인사말 페이지* 구매 예정중이신분의 의견을 반영하여 필요한 페이지가 있을경우 검토 후 제작예정본 스킨은 유료로 제공 될 예정이며, 라이센스는 검토중에 있습니다.(1 domain 1 copy, 납품용 라이센스) 등 리빌더 콘텐츠허브 내부적으로 처리할 수 있는 방안 한에서 ​검토 예정입니다.
    HUMHAE 2025-11-06 자유 게시판
  • 1762393125_0dea0efe83ca60df_clipboard_image_1762393122217.png
오늘 출석 안하셨어요! 출석체크 하러가기