개별 스킨 기능 추가로 인한 css 경로 변경

This commit is contained in:
chicpro
2014-03-21 18:29:28 +09:00
parent acca661df5
commit 77dd2292a3
29 changed files with 41 additions and 23 deletions

View File

@ -43,6 +43,8 @@ else
if ($skin)
$ev['ev_skin'] = $skin;
define('G5_SHOP_CSS_URL', G5_SHOP_SKIN_URL);
// 리스트 유형별로 출력
$list_file = G5_SHOP_SKIN_PATH."/{$ev['ev_skin']}";
if (file_exists($list_file))

View File

@ -87,6 +87,8 @@ if($ca_dir_check) {
}
}
define('G5_SHOP_CSS_URL', str_replace(G5_PATH, G5_URL, $skin_dir));
$g5['title'] = $it['it_name'].' > '.$it['ca_name'];
// 분류 상단 코드가 있으면 출력하고 없으면 기본 상단 코드 출력

View File

@ -41,6 +41,8 @@ if($ca['ca_skin_dir']) {
}
}
define('G5_SHOP_CSS_URL', str_replace(G5_PATH, G5_URL, $skin_dir));
if ($is_admin)
echo '<div class="sct_admin"><a href="'.G5_ADMIN_URL.'/shop_admin/categoryform.php?w=u&amp;ca_id='.$ca_id.'" class="btn_admin">분류 관리</a></div>';
?>

View File

@ -36,6 +36,8 @@ else
if (!$skin)
$skin = 'list.10.skin.php';
define('G5_SHOP_CSS_URL', G5_SHOP_SKIN_URL);
// 리스트 유형별로 출력
$list_file = G5_SHOP_SKIN_PATH.'/'.$skin;
if (file_exists($list_file)) {

View File

@ -163,7 +163,7 @@ if ($is_admin) {
// 리스트 유형별로 출력
$list_file = G5_SHOP_SKIN_PATH.'/'.$default['de_search_list_skin'];
if (file_exists($list_file)) {
define('G5_SHOP_CSS_URL', G5_SHOP_SKIN_URL);
$list = new item_list($list_file, $default['de_search_list_mod'], $default['de_search_list_row'], $default['de_search_img_width'], $default['de_search_img_height']);
$list->set_query(" select * $sql_common $sql_where {$order_by} limit $from_record, $items ");
$list->set_is_page(true);