모바일 쇼핑몰 메인에 이벤트 출력 추가

This commit is contained in:
chicpro
2013-10-15 17:30:20 +09:00
parent 8959bda0af
commit e817960c5c
4 changed files with 163 additions and 6 deletions

View File

@ -1,6 +1,11 @@
<?php
include_once('./_common.php');
if (G5_IS_MOBILE) {
include_once(G5_MSHOP_PATH.'/event.php');
return;
}
$sql = " select * from {$g5['g5_shop_event_table']}
where ev_id = '$ev_id'
and ev_use = 1 ";
@ -16,7 +21,7 @@ if ($is_admin)
?>
<script>
var itemlist_ca_id = "<?php echo $ca_id; ?>";
var itemlist_ca_id = "<?php echo $ev_id; ?>";
</script>
<script src="<?php echo G5_JS_URL; ?>/shop.list.js"></script>