Ejemplo n.º 1
0
 if ($i > 1 && $i % $this->list_mod == 1) {
     echo "</ul>\n";
     echo "<ul class=\"sct_ul\">\n";
 }
 echo "<li class=\"sct_li{$sct_last}\" style=\"width:{$this->img_width}px\">";
 if ($this->href) {
     echo "<div class=\"sct_img\"><a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n";
 }
 if ($this->view_it_img) {
     echo get_it_image($row['it_id'], $this->img_width, $this->img_height, '', '', stripslashes($row['it_name'])) . "\n";
 }
 if ($this->href) {
     echo "</a></div>\n";
 }
 if ($this->view_it_icon) {
     echo "<div class=\"sct_icon\">" . item_icon($row) . "</div>\n";
 }
 if ($this->view_it_id) {
     echo "<div class=\"sct_id\">&lt;" . stripslashes($row['it_id']) . "&gt;</div>\n";
 }
 if ($this->href) {
     echo "<div class=\"sct_txt\"><a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n";
 }
 if ($this->view_it_name) {
     echo stripslashes($row['it_name']) . "\n";
 }
 if ($this->href) {
     echo "</a></div>\n";
 }
 if ($this->view_it_basic && $row['it_basic']) {
     echo "<div class=\"sct_basic\">" . stripslashes($row['it_basic']) . "</div>\n";
Ejemplo n.º 2
0
        $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 {
            if ($list[$i]['pt_num'] >= G5_SERVER_TIME - $new_item * 3600) {
                $item_label = '<div class="label-cap bg-' . $wset['new'] . '">New</div>';
            }
        }
    }
    // 이미지
    $img = apms_it_thumbnail($list[$i], $thumb_w, $thumb_h, false, true);
    // 아이콘
    $item_icon = item_icon($list[$i]);
    $item_icon = $item_icon ? '<div class="label-tack">' . $item_icon . '</div>' : '';
    ?>
	<div class="item-row">
		<div class="media item-list">

			<div class="media-img pull-<?php 
    echo $is_media;
    ?>
">
				<?php 
    if ($thumb_h) {
        // 이미지 높이값이 있을 경우
        ?>
					<div class="imgframe">
						<div class="img-wrap" style="padding-bottom:<?php