diff --git a/head.php b/head.php index cb23f8712..d269f8148 100644 --- a/head.php +++ b/head.php @@ -23,7 +23,7 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
  • 현재접속자
  • 최근게시물
  • -
  • 관리자
  • +
  • 관리자
  • 정보수정
  • 로그아웃
  • diff --git a/head.sub.php b/head.sub.php index 975ed12bc..bf523464a 100644 --- a/head.sub.php +++ b/head.sub.php @@ -42,7 +42,7 @@ else $g4_css = "default"; "> diff --git a/js/common.js b/js/common.js index 2585b29ab..06728a068 100644 --- a/js/common.js +++ b/js/common.js @@ -311,9 +311,9 @@ function win_comment(url) function win_formmail(mb_id, name, email) { if (g4_charset.toLowerCase() == 'euc-kr') - win_open(g4_path+"/" + g4_bbs + "/formmail.php?mb_id="+mb_id+"&name="+name+"&email="+email, "winFormmail", "left=50, top=50, width=600, height=500, scrollbars=0"); + win_open(g4_bbs_url+"/formmail.php?mb_id="+mb_id+"&name="+name+"&email="+email, "winFormmail", "left=50, top=50, width=600, height=500, scrollbars=0"); else - win_open(g4_path+"/" + g4_bbs + "/formmail.php?mb_id="+mb_id+"&name="+encodeURIComponent(name)+"&email="+email, "winFormmail", "left=50, top=50, width=600, height=480, scrollbars=0"); + win_open(g4_bbs_url+"/formmail.php?mb_id="+mb_id+"&name="+encodeURIComponent(name)+"&email="+email, "winFormmail", "left=50, top=50, width=600, height=480, scrollbars=0"); } // 자기소개 창 diff --git a/js/shop.js b/js/shop.js index 64801f872..8ce6333d5 100644 --- a/js/shop.js +++ b/js/shop.js @@ -2,11 +2,10 @@ if (typeof(SHOP_JS) == 'undefined') { // 한번만 실행 var SHOP_JS = true; // 큰이미지 창 - function popup_large_image(it_id, img, width, height, cart_dir) + function popup_large_image(url, width, height) { var top = 10; var left = 10; - url = cart_dir+"/largeimage.php?it_id=" + it_id + "&img=" + img; width = width + 50; height = height + 100; opt = 'scrollbars=yes,width='+width+',height='+height+',top='+top+',left='+left; diff --git a/lib/shop.lib.php b/lib/shop.lib.php index e0dad79a5..68dd1ba72 100644 --- a/lib/shop.lib.php +++ b/lib/shop.lib.php @@ -211,12 +211,12 @@ function get_large_image($img, $it_id, $btn_image=true) { global $g4; - if (file_exists("$g4[path]/data/item/$img") && $img != "") + if (file_exists(G4_DATA_PATH."/item/$img") && $img != "") { - $size = getimagesize("$g4[path]/data/item/$img"); + $size = getimagesize(G4_DATA_PATH."/item/$img"); $width = $size[0]; $height = $size[1]; - $str = ""; + $str = ""; if ($btn_image) $str .= ""; } diff --git a/shop/boxtodayview.inc.php b/shop/boxtodayview.inc.php index 9f0bd6f81..bd5729696 100644 --- a/shop/boxtodayview.inc.php +++ b/shop/boxtodayview.inc.php @@ -1,4 +1,6 @@ ".cut_str($it_name,10,"")."\";\n"; } diff --git a/shop/item.php b/shop/item.php index 4828f7771..570881985 100644 --- a/shop/item.php +++ b/shop/item.php @@ -1,5 +1,6 @@
    '; - // 상단 HTML echo stripslashes($it['it_head_html']); @@ -179,26 +176,33 @@ else +
    -
    "; echo "  "; } @@ -1113,10 +1117,6 @@ $(function() { // 하단 HTML echo stripslashes($it['it_tail_html']); -$timg = G4_DATA_PATH."/item/{$it_id}_t"; -if (file_exists($timg)) - echo "
    "; - if ($ca['ca_include_tail']) @include_once($ca['ca_include_tail']); else diff --git a/shop/largeimage.php b/shop/largeimage.php index 3d40da0ae..3ffefeb78 100644 --- a/shop/largeimage.php +++ b/shop/largeimage.php @@ -1,29 +1,33 @@
    - <?=$row[it_name]?> + <?=$row[' border=0 style='border:1 solid #E4E4E4;'>

    - +
    창닫기창닫기  "; } ?> @@ -31,5 +35,5 @@ include_once("$g4[path]/head.sub.php");
    \ No newline at end of file diff --git a/skin/board/neo/view.skin.php b/skin/board/neo/view.skin.php index 493641215..8d5f73413 100644 --- a/skin/board/neo/view.skin.php +++ b/skin/board/neo/view.skin.php @@ -7,7 +7,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

    - +