새글

    최근 180일 이내 등록된 새글 이에요.
  • 작성자 및 관리자 외 열람할 수 없습니다.
    비밀글 기능으로 보호된 글입니다.
    시헌 2025-11-11 버그제보
  • https://openmarket.tloghost.kr/- 계정 아이디 openmarket / dhvmsakzpt6700- 아이피(210.104.121.36) 방화벽 열었슴 도메인/adm/관리자 : admin / 11120000도메인/plus/파트너 : partner / partner오픈마켓Online Marketplacehttps://openmarket.tloghost.kr/1. 상품 승인 체크 오류 - 최고관리자 - 상품관리 리스트에서 승인 체크박스 풀고 선택수정 하면 오류 발생함, 상품에 체크박스 달고 상단에 선택수정 클릭 시 화면에 오류문구 뜸2. 메인 슬라이드 배너 수정 - 현재 메인 슬라이더 배너를 직접 등록하게 되어있는데, 최고관리자 배너관리자에서 배너신청받아 배너를 등록할 수 있도록 변경 필요3. 디지털코드 추천상품- 최고관리자에서 분류관리에서 이름과 형태 바꾸기 안됨, 작업중인 코드에서는 분류관리에서 이름과 형태가 변경 가능하나 다시 디지털 코드로 원상복귀 시키면 메인에 배너 노출 안되는 문제 발생4. 상품 판매페이지에서도 구매 페이지 상단과 같이 서브 카테고리가 나오도록 수정원함저희가 따로 개발중인 작업이 있어서 건드리면 안되는 부분이 있어서 별도 다시 복사했는데 수정해주시고 수정내역부분 알려주시면 자체 업데이트하고 이 사이트는 지우도록 하겠습니다.
    티로그 2025-11-11 질문과 답변
  • 저희 최신 패치 완료된 입점몰은 언제 받을 수 있을까요?지금 급한대로 작업중이긴 한데 기술 지원을 받을려면 리빌더측 IP가 필요합니다.FTP가 사내 내부에서만 접근이 가능합니다. 리빌더측 IP를 알려주시면 등록 후 남겨 드리겠습니다.답변 부탁드립니다.
    티로그 2025-11-11 질문과 답변
  • 안녕하세요?안드로이드 패키징 다운로드 링크를 못 찾겠어요개편전엔....부가서비스 링크를 클릭하면 다운로드 페이지를 찾을수 있었는데지금은.... 패키징 신청하는 페이지만 보이네요....소스 파일은 어디서 다운 받나요?+부가기능 에서 삭제 되고, 사진처럼 부가서비스 페이지서 저 사진 영역을 클릭하면, 전에는 다운로드 페이지로 넘어갔는데 말이죠
    bank365 2025-11-10 질문과 답변
  • 게시판 글쓰기 페이지에 처음 접속하면 필요한 필드가 자동으로 생성되므로, 데이터베이스에 직접 접근할 필요가 없습니다.누구나 편하게 수정하셔도 됩니다~ 더 나은 부동산 게시판을 누구나 사용하면 좋은거죠지금 여러가지로 충돌이 일어나는거같아서 충분히 테스트 하고 다시 올리겠습니다. 완료입니다.!ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ누락된 필드로 공인중개사 정보가 보이지 않았던 필드를 추가했습니다.그 외 수정 내용가격 자동 포맷팅 - 숫자 입력 시 천 단위 콤마 자동 표시 (예: 50000 → 50,000)이미지 미리보기 순서 변경 - 드래그앤드롭으로 대표 이미지 순서 조정임시저장 자동화 - 일정 시간마다 자동 임시저장매물 상태 표시 - 거래완료/예약중/광고중 상태 배지중개사 인증 배지 - 인증된 중개사 표시
    하루알바 2025-11-10 콘텐츠 허브
  • 안녕하세요여러모로 아쉬운소리를 많이 했지만.. 범용으로 이렇게 만드는 과정이 얼마나 어려운지 알고있습니다. 주말연휴 없이 작업하시느라 노고가 많으십니다.저희도 내년 계획을 수립하면서 보더보니 사용자대시보드가 바뀌어있더군요. 포인트나 작성수치, 뱃지 등. 이런 부분도 고도화되는걸까요?
    와이낫오너 2025-11-10 자유 게시판
  • 작성자 및 관리자 외 열람할 수 없습니다.
    비밀글 기능으로 보호된 글입니다.
    케세라티 2025-11-10 질문과 답변
  • 안녕하세요?오랜만에 개선 요청드립니다.파일 첨부후에디터 상에서 원하는 위치에 키보드를 포커스후첨부하고자 하는 첨부파일에 임시제목: 첨부 버튼을 두어에디터에 원하는 위치에 파일 첨부가 가능하면 좋을듯 싶습니다.이미지파일은 이미지 파일로 올라가고exe/zip 파일 같은건 파일 제목+확장자로 에디터에 삽입 가능하고기타 지원되는 포맷은 지원되는 포맷으로 에디터에 첨부가 가능한 시스템이면 좋겠습니다.라이믹스(구.XpressEngine 줄여서 XE)서 사용되는 방식 입니다.감사합니다.(첨부 파일 박스서 에디터에 첨부되는 모든 파일과 이미지는 상대경로로 삽입되면 좋을듯 싶습니다.)
    bank365 2025-11-10 개선/제안
  • 삼브 베타신청하려고 보니...이메일이 예전 지메일로 되어 있네요.정보 변경 및 확인 하려 하니...이메일은 최신걸로 되어 있는데...영문으로 된... 삼브 인터넷 베타 신청 페이지에서는 왜 이메일주소가 구 이메일로 나와있는건지-_-삼브 베타 인터넷 신청해 보신 분들중...자신이 사용중인 삼성 계정 이메일 주소(혹은 복구이메일 주소) 가 삼브 인터넷 베타에도 그대로 뜨시나요??아니면 예전 구이메일이 뜨나요?
    bank365 2025-11-10 자유 게시판
  • 작성자 및 관리자 외 열람할 수 없습니다.
    비밀글 기능으로 보호된 글입니다.
    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 팁과노하우