스킨 경로 수정

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

View File

@ -13,13 +13,13 @@ else
// 한페이지에 출력하는 이미지수 = $list_mod * $list_row
$list_mod = 4; // 한줄에 이미지 몇개씩 출력?
$list_row = 5; // 한 페이지에 몇라인씩 출력?
$list_row = 5; // 한 페이지에 몇라인씩 출력?
$img_width = 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>
<tr>
@ -41,18 +41,18 @@ if ($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";
$td_width = (int)($mod / 100);
// 리스트 유형별로 출력
$list_file = "$g4[shop_path]/$skin";
$list_file = G4_SHOP_PATH."/$skin";
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";
$sql = $sql_list1 . $sql_common . $sql_list2 . " limit $from_record, $items ";
@ -60,8 +60,8 @@ if (file_exists($list_file)) {
include $list_file;
}
else
}
else
{
$i = 0;
$error = "<p>$skin 파일을 찾을 수 없습니다.<p>관리자에게 알려주시면 감사하겠습니다.";
@ -94,7 +94,7 @@ $bar = "";
$sql = " select ca_id from $g4[yc4_item_table]
where it_type{$type} = '1'
and it_use = '1'
group by ca_id
group by ca_id
order by ca_id ";
$result = sql_query($sql);
for($i=0;$row=sql_fetch_array($result);$i++) {