示例#1
0
文件: ga_tk.php 项目: peb317/gbamn
if (APMS_PIM) {
    include_once G5_PATH . '/head.sub.php';
    @(include_once THEMA_PATH . '/head.sub.php');
    return;
}
//Change Mode
$as_href['pc_mobile'] = G5_DEVICE_BUTTON_DISPLAY ? get_device_change_url() : '';
// Head Sub
include_once G5_PATH . '/head.sub.php';
include_once G5_LIB_PATH . '/latest.lib.php';
$page_title = apms_fa($page_title);
$page_desc = apms_fa($page_desc);
$menu = apms_auto_menu();
$menu = apms_multi_menu($menu, $at['id'], $at['multi']);
if ($is_member) {
    thema_member();
}
//Statistics
$stats = apms_stats();
if ($is_main && !$hid && !$gid) {
    $newwin_path = G5_IS_MOBILE ? G5_MOBILE_PATH : G5_BBS_PATH;
    @(include_once $newwin_path . '/newwin.inc.php');
    // 팝업레이어
}
if (IS_YC) {
    if (IS_SHOP) {
        if (file_exists(THEMA_PATH . '/shop.head.php')) {
            include_once THEMA_PATH . '/shop.head.php';
        } else {
            include_once THEMA_PATH . '/head.php';
        }
示例#2
0
<?php

include_once './_common.php';
thema_member('cart');
?>

<div class="div-title-underline-thin en">
	<b>장바구니</b>
	<?php 
if ($member['cart']) {
    ?>
		<span class="count red"><?php 
    echo $member['cart'];
    ?>
</span>
	<?php 
}
?>
</div>
<?php 
if ($member['cart']) {
    $list = apms_cart_rows();
    $list_cnt = count($list);
    for ($i = 0; $i < $list_cnt; $i++) {
        ?>
		<div class="media">
			<div class="slist-photo pull-left">
				<?php 
        echo $list[$i]['img'] ? '<img src="' . $list[$i]['img'] . '" alt="">' : '<i class="fa fa-cube bg-lightgray"></i>';
        ?>
			</div>