모바일 관련상품 설정 추가

This commit is contained in:
chicpro
2014-02-24 13:56:04 +09:00
parent 73b2917195
commit c90a3f69e6
9 changed files with 80 additions and 35 deletions

View File

@ -11,7 +11,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">',
<?php
$sql = " select b.* from {$g5['g5_shop_item_relation_table']} a left join {$g5['g5_shop_item_table']} b on (a.it_id2=b.it_id) where a.it_id = '{$it['it_id']}' and b.it_use='1' ";
$list = new item_list("relation.10.skin.php", $default['de_rel_list_mod'], 1, $default['de_rel_img_width'], $default['de_rel_img_height']);
$list = new item_list($default['de_mobile_rel_list_skin'], 1, 1, $default['de_mobile_rel_img_width'], $default['de_mobile_rel_img_height']);
$list->set_mobile(true);
$list->set_query($sql);
$list->set_view('sns', true);