class item_list 모바일 적용

This commit is contained in:
gnuboard
2013-07-26 16:48:09 +09:00
parent b543227e23
commit 1d2c04146f
14 changed files with 328 additions and 395 deletions

View File

@ -620,17 +620,25 @@ else
<div class="sct_wrap">
<?php
/*
$list_mod = 3;
$img_width = 230;
$img_height = 230;
*/
$sql = " select b.* from {$g4['shop_item_relation_table']} a left join {$g4['shop_item_table']} b on (a.it_id2=b.it_id) where a.it_id = '{$it['it_id']}' and b.it_use='1' ";
$result = sql_query($sql);
$num = @mysql_num_rows($result);
$list = new item_list("list.10.skin.php", 3, 1, 150, 0);
$list->set_mobile(true);
$list->set_query($sql);
echo $list->run();
/*
if ($num)
include G4_SHOP_PATH.'/maintype10.inc.php';
else
echo '<p class="sit_empty">이 상품과 관련된 상품이 없습니다.</p>';
*/
?>
</div>
</section>