示例#1
0
        if ($this->view_it_cust_price && $row['it_cust_price']) {
            echo "<strike>" . display_price($row['it_cust_price']) . "</strike>\n";
        }
        if ($this->view_it_price) {
            echo display_price(get_price($row), $row['it_tel_inq']) . "\n";
        }
        echo "</div>\n";
    }
    if ($this->view_sns) {
        $sns_top = $this->img_height + 10;
        $sns_url = G5_SHOP_URL . '/item.php?it_id=' . $row['it_id'];
        $sns_title = get_text($row['it_name']) . ' | ' . get_text($config['cf_title']);
        echo "<div class=\"sct_sns\" style=\"top:{$sns_top}px\">";
        echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_SHOP_SKIN_URL . '/img/sns_fb_s.png');
        echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_SHOP_SKIN_URL . '/img/sns_twt_s.png');
        echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_SHOP_SKIN_URL . '/img/sns_goo_s.png');
        echo "</div>\n";
    }
    echo "</li>\n";
}
if ($i > 1) {
    echo "</ul>\n";
    echo "</div>\n";
}
if ($i == 1) {
    echo "<p class=\"sct_noitem\">등록된 상품이 없습니다.</p>\n";
}
?>

<script>
(function() {
示例#2
0
					</a>
					<?php 
    if ($is_sns) {
        ?>
						<div class="pull-right">
							<div class="sns-share-icon">
								<?php 
        $sns_url = G5_SHOP_URL . '/item.php?it_id=' . $list[$i]['it_id'];
        $sns_title = get_text($list[$i]['it_name']);
        $sns_img = $widget_url . '/img';
        echo get_sns_share_link('facebook', $sns_url, $sns_title, $sns_img . '/sns_fb.png', $img['org']) . ' ';
        echo get_sns_share_link('twitter', $sns_url, $sns_title, $sns_img . '/sns_twt.png', $img['org']) . ' ';
        echo get_sns_share_link('googleplus', $sns_url, $sns_title, $sns_img . '/sns_goo.png', $img['org']) . ' ';
        echo get_sns_share_link('kakaostory', $sns_url, $sns_title, $sns_img . '/sns_kakaostory.png', $img['org']) . ' ';
        echo get_sns_share_link('kakaotalk', $sns_url, $sns_title, $sns_img . '/sns_kakao.png', $img['org']) . ' ';
        echo get_sns_share_link('naverband', $sns_url, $sns_title, $sns_img . '/sns_naverband.png', $img['org']) . ' ';
        ?>
							</div>
						</div>
					<?php 
    }
    ?>
					<div class="clearfix"></div>
				</div>
			</div>
		
		</div>
	</div>
<?php 
}
if (!$is_ajax && !$list_cnt) {
示例#3
0
echo preg_replace("<br/>", "/\\'/", $it['it_name']);
?>
</strong>

            <div id="sit_sns">
                <?php 
echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_MSHOP_SKIN_URL . '/img/sns_fb.png');
?>
                <?php 
echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_MSHOP_SKIN_URL . '/img/sns_twt.png');
?>
                <?php 
echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_MSHOP_SKIN_URL . '/img/sns_goo.png');
?>
                <?php 
echo get_sns_share_link('kakaotalk', $sns_url, $sns_title, G5_MSHOP_SKIN_URL . '/img/sns_kakao.png', G5_DATA_URL . '/item/' . $it['it_img1']);
?>
                           <!-- <a href="javascript:popup_item_recommend('<?php 
echo $it['it_id'];
?>
');" id="sit_btn_rec">추천하기</a>-->
                <?php 
$href = G5_SHOP_URL . '/iteminfo.php?it_id=' . $it_id;
?>
            </div>

<?php 
if ($is_orderable) {
    ?>
                <p id="sit_opt_info">
                    상품 선택옵션 <?php 
示例#4
0
        if ($this->view_it_cust_price && $row['it_cust_price']) {
            echo "<strike>" . display_price($row['it_cust_price']) . "</strike>\n";
        }
        if ($this->view_it_price) {
            echo display_price(get_price($row), $row['it_tel_inq']) . "\n";
        }
        echo "</div>\n";
    }
    if ($this->view_sns) {
        $sns_url = G5_SHOP_URL . '/item.php?it_id=' . $row['it_id'];
        $sns_title = get_text($row['it_name']) . ' | ' . get_text($config['cf_title']);
        echo "<div class=\"sct_sns\">";
        echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_MSHOP_SKIN_URL . '/img/sns_fb.png');
        echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_MSHOP_SKIN_URL . '/img/sns_twt.png');
        echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_MSHOP_SKIN_URL . '/img/sns_goo.png');
        echo get_sns_share_link('kakaotalk', $sns_url, $sns_title, G5_MSHOP_SKIN_URL . '/img/sns_kakao.png');
        echo "</div>\n";
    }
    echo "</li>\n";
}
if ($i > 0) {
    echo "</ul>\n";
}
if ($i == 0) {
    echo "<p class=\"sct_noitem\">등록된 상품이 없습니다.</p>\n";
}
?>
<!-- } 상품진열 10 끝 -->

<script>
$(function() {
示例#5
0
		<?php 
echo get_view_thumbnail($view['is_content'], $default['pt_img_width']);
?>
	</div>

	<div class="view-sns text-right">
		<?php 
$sns_url = G5_SHOP_URL . '/itemuseview.php?is_id=' . $is_id;
$sns_title = get_text($view['is_subject'] . ' : ' . $view['it_name'] . ' | ' . $config['cf_title']);
$sns_img = $skin_url . '/img';
echo get_sns_share_link('facebook', $sns_url, $sns_title, $sns_img . '/sns_fb_s.png') . ' ';
echo get_sns_share_link('twitter', $sns_url, $sns_title, $sns_img . '/sns_twt_s.png') . ' ';
echo get_sns_share_link('googleplus', $sns_url, $sns_title, $sns_img . '/sns_goo_s.png') . ' ';
echo get_sns_share_link('kakaostory', $sns_url, $sns_title, $sns_img . '/sns_kakaostory_s.png') . ' ';
echo get_sns_share_link('kakaotalk', $sns_url, $sns_title, $sns_img . '/sns_kakao_s.png') . ' ';
echo get_sns_share_link('naverband', $sns_url, $sns_title, $sns_img . '/sns_naverband_s.png') . ' ';
?>
	</div>

	<div class="panel panel-default">
		<div class="panel-heading">
			<h3 class="panel-title">Review Item</h3>
		</div>
		<div class="panel-body">
			<div class="item-media">
				<div class="media">
					<div class="item-photo pull-left">
						<?php 
echo $img['src'] ? '<img src="' . $img['src'] . '" alt="' . $img['src'] . '">' : '<i class="fa fa-cube></i>';
?>
					</div>
示例#6
0
文件: thema.php 项目: peb317/gbamn
add_stylesheet($add_stylesheet, 0);
$add_stylesheet = '';
//Reset
// 서브메뉴 너비
$is_subw = isset($at_set['subw']) && $at_set['subw'] > 0 ? $at_set['subw'] : 180;
// Social Icon
$sns_share_url = IS_YC && IS_SHOP ? G5_SHOP_URL : G5_URL;
$sns_share_title = get_text($config['cf_title']);
$sns_share_img = THEMA_URL . '/assets/img';
$sns_share_icon = '<div class="sns-share-icon">' . PHP_EOL;
$sns_share_icon .= get_sns_share_link('facebook', $sns_share_url, $sns_share_title, $sns_share_img . '/sns_fb.png') . PHP_EOL;
$sns_share_icon .= get_sns_share_link('twitter', $sns_share_url, $sns_share_title, $sns_share_img . '/sns_twt.png') . PHP_EOL;
$sns_share_icon .= get_sns_share_link('googleplus', $sns_share_url, $sns_share_title, $sns_share_img . '/sns_goo.png') . PHP_EOL;
$sns_share_icon .= get_sns_share_link('kakaostory', $sns_share_url, $sns_share_title, $sns_share_img . '/sns_kakaostory.png') . PHP_EOL;
$sns_share_icon .= get_sns_share_link('kakaotalk', $sns_shareurl, $sns_share_title, $sns_share_img . '/sns_kakao.png') . PHP_EOL;
$sns_share_icon .= get_sns_share_link('naverband', $sns_share_url, $sns_share_title, $sns_share_img . '/sns_naverband.png') . PHP_EOL;
$sns_share_icon .= '</div>';
?>
<style> 
	body { 
		<?php 
if ($at_set['body_bgcolor']) {
    ?>
background-color: <?php 
    echo $at_set['body_bgcolor'];
    ?>
;<?php 
}
?>
		<?php 
if ($at_set['body_background']) {