스킨 경로 수정

This commit is contained in:
chicpro
2013-01-29 18:20:39 +09:00
parent 42be565f1d
commit abfa9aa118

View File

@ -19,7 +19,7 @@ $img_width = 100; // 출력이미지 폭
$img_height = 100; // 출력이미지 높이 $img_height = 100; // 출력이미지 높이
?> ?>
<img src="<?="$g4[shop_img_path]/top_type{$type}.jpg"?>" border="0"><p> <img src="<?=G4_SHOP_IMG_URL."/top_type{$type}.jpg"?>" border="0"><p>
<table width=100% cellpadding=0 cellspacing=0> <table width=100% cellpadding=0 cellspacing=0>
<tr> <tr>
@ -41,7 +41,7 @@ if ($ca_id) {
$sql_common .= " and ca_id = '$ca_id' "; $sql_common .= " and ca_id = '$ca_id' ";
} }
$error = "<img src='$g4[shop_img_path]/no_item.gif' border=0>"; $error = "<img src='".G4_SHOP_IMG_URL."/no_item.gif' border=0>";
if (!$skin) if (!$skin)
$skin = "list.skin.10.php"; $skin = "list.skin.10.php";
@ -49,10 +49,10 @@ if (!$skin)
$td_width = (int)($mod / 100); $td_width = (int)($mod / 100);
// 리스트 유형별로 출력 // 리스트 유형별로 출력
$list_file = "$g4[shop_path]/$skin"; $list_file = G4_SHOP_PATH."/$skin";
if (file_exists($list_file)) { if (file_exists($list_file)) {
include "$g4[shop_path]/list.sub.php"; include G4_SHOP_PATH."/list.sub.php";
//include "$cart_dir/list.sort.php"; //include "$cart_dir/list.sort.php";
$sql = $sql_list1 . $sql_common . $sql_list2 . " limit $from_record, $items "; $sql = $sql_list1 . $sql_common . $sql_list2 . " limit $from_record, $items ";