예제 #1
0
파일: item.skin.php 프로젝트: peb317/gbamn
if ($is_thumbview) {
    // 썸네일보기
    ?>
	<div class="item-image">
		<a href="<?php 
    echo $item_image_href;
    ?>
" id="item_image_href" class="popup_item_image" target="_blank" title="크게보기">
			<img id="item_image" src="<?php 
    echo $item_image;
    ?>
" alt="">
		</a>
		<?php 
    if ($wset['shadow']) {
        echo apms_shadow($wset['shadow']);
    }
    //그림자
    ?>
	</div>
	<div class="item-thumb text-center">
	<?php 
    for ($i = 0; $i < count($thumbnails); $i++) {
        echo $thumbnails[$i];
    }
    ?>
	</div>
	<script>
		$(function(){
			$(".thumb_item_image").hover(function() {
				var img = $(this).attr("data-ref");
예제 #2
0
    $wset['label_color'] = isset($wset['label_color']) && $wset['label_color'] ? $wset['label_color'] : 'gray';
}
// 링크
$is_link = isset($wset['link']) && $wset['link'] ? true : false;
// 볼드
$is_bold = isset($wset['bold']) && $wset['bold'] ? ' class="subj-bold"' : '';
// 그림자
$shadow_inner = $shadow_outer = '';
if ($wset['shadow']) {
    $wset['in'] = isset($wset['in']) && $wset['in'] ? 'inner' : 'outer';
    switch ($wset['in']) {
        case 'inner':
            $shadow_inner = '<div class="in-shadow">' . apms_shadow($wset['shadow']) . '</div>';
            break;
        case 'outer':
            $shadow_outer = apms_shadow($wset['shadow']);
            break;
    }
}
// 리스트
for ($i = 0; $i < $list_cnt; $i++) {
    //글내용
    $cut = $wset['cut'];
    // 링크#1
    $target = '';
    if ($is_link && $list[$i]['wr_link1']) {
        $list[$i]['href'] = $list[$i]['link_href'][1];
        $target = ' target="_blank"';
    }
    // 라벨
    $label_icon = '';
예제 #3
0
$thumb_w = $wset['thumb_w'];
$thumb_h = $wset['thumb_h'];
// 추출하기
$list = apms_item_rows($wset);
$list_cnt = count($list);
$img_h = apms_img_height($wset['thumb_w'], $wset['thumb_h']);
$rank = apms_rank_offset($wset['rows'], $wset['page']);
$new_item = isset($wset['newtime']) && $wset['newtime'] ? $wset['newtime'] : 24;
$is_buy = isset($wset['buy']) && $wset['buy'] ? true : false;
$is_cmt = isset($wset['cmt']) && $wset['cmt'] ? true : false;
$is_good = isset($wset['good']) && $wset['good'] ? true : false;
$is_hit = isset($wset['hit']) && $wset['hit'] ? true : false;
$is_star = isset($wset['star']) && $wset['star'] ? true : false;
$is_sns = isset($wset['sns']) && $wset['sns'] ? true : false;
$is_info = $is_buy || $is_cmt || $is_good || $is_hit || $is_sns ? true : false;
$is_shadow = isset($wset['shadow']) && $wset['shadow'] ? apms_shadow($wset['shadow']) : '';
$is_media = isset($wset['img_r']) && $wset['img_r'] ? 'right' : 'left';
for ($i = 0; $i < $list_cnt; $i++) {
    $item_label = $cur_price = $dc = '';
    if ($list[$i]['it_cust_price'] > 0 && $list[$i]['it_price'] > 0) {
        $dc = round(($list[$i]['it_cust_price'] - $list[$i]['it_price']) / $list[$i]['it_cust_price'] * 100);
        //$cur_price = '<div class="cur-price"><strike>&nbsp;'.number_format($list[$i]['it_cust_price']).'</strike></div>';
    }
    if ($wset['rank']) {
        $rank_txt = $rank < 4 ? 'Top' . $rank : $rank . 'th';
        $item_label = '<div class="label-cap bg-' . $wset['rank'] . '">' . $rank_txt . '</div>';
        $rank++;
    } else {
        if ($dc || $list[$i]['it_type5']) {
            $item_label = '<div class="label-cap bg-red">DC</div>';
        } else {
예제 #4
0
파일: list.skin.php 프로젝트: peb317/gbamn
$item = isset($wset['item']) && $wset['item'] > 0 ? (int) $wset['item'] : 4;
// 반응형
if (_RESPONSIVE_) {
    $lg = isset($wset['lg']) && $wset['lg'] > 0 ? $wset['lg'] : 3;
    $md = isset($wset['md']) && $wset['md'] > 0 ? $wset['md'] : 3;
    $sm = isset($wset['sm']) && $wset['sm'] > 0 ? $wset['sm'] : 2;
    $xs = isset($wset['xs']) && $wset['xs'] > 0 ? $wset['xs'] : 2;
}
// 새상품
$is_new = isset($wset['new']) && $wset['new'] ? $wset['new'] : 'red';
$new_item = $wset['newtime'] ? $wset['newtime'] : 24;
// DC
$is_dc = isset($wset['dc']) && $wset['dc'] ? $wset['dc'] : 'orangered';
// 그림자
$shadow_in = '';
$shadow_out = isset($wset['shadow']) && $wset['shadow'] ? apms_shadow($wset['shadow']) : '';
if ($shadow_out && isset($wset['inshadow']) && $wset['inshadow']) {
    $shadow_in = '<div class="in-shadow">' . $shadow_out . '</div>';
    $shadow_out = '';
}
$list_cnt = count($list);
include_once $list_skin_path . '/category.skin.php';
?>

<style>
	.list-wrap { margin-right:<?php 
echo $minus_right;
?>
px; margin-bottom:<?php 
echo $minus_bottom;
?>
예제 #5
0
파일: list.skin.php 프로젝트: peb317/gbamn
">
									<img src="<?php 
        echo $img['src'];
        ?>
" alt="<?php 
        echo $img['alt'];
        ?>
">
								</a>
							</div>
						<?php 
    }
    ?>
						<?php 
    if ($boset['shadow']) {
        echo apms_shadow($boset['shadow']);
    }
    //그림자
    ?>

						<strong>
							<a href="<?php 
    echo $list[$i]['href'];
    ?>
"<?php 
    echo $ellipsis;
    ?>
>
								<?php 
    if ($wr_id && $list[$i]['wr_id'] == $wr_id) {
        ?>
예제 #6
0
// 사이드 위치 설정 - left, right
$side = $at_set['side'] ? 'left' : 'right';
?>
<style>
	.widget-index .at-main,
	.widget-index .at-side { padding-top:10px; padding-bottom:0px; }
	.widget-index .div-title-underbar { margin-bottom:15px; }
	.widget-index .div-title-underbar span { padding-bottom:4px; }
	.widget-box { margin-bottom:25px; }
</style>

<?php 
echo apms_widget('basic-title', $wid . $wn, 'caption=4 nav=1');
$wn++;
//타이틀
echo apms_shadow('2');
//그림자
?>

<div class="container widget-index">

	<div class="row at-row">
		<!-- 메인 영역 -->
		<div class="col-md-9<?php 
echo $side == "left" ? ' pull-right' : '';
?>
 at-col at-main">

			<div class="row">
				<div class="col-sm-6">