Example #1
0
    ?>
</span></a>
			</div>
			<div class="font-11 text-muted">
				<span class="red"><?php 
    echo $list[$i]['star'];
    ?>
</span> 
				/ 
				no.<?php 
    echo $list[$i]['num'];
    ?>
 
				/ 
				<?php 
    echo apms_datetime($list[$i]['date'], 'Y.m.d H:i');
    ?>
 
				/ 
				<?php 
    echo $list[$i]['ca_name'];
    ?>
			</div>
			<div class="media-content media-resize" id="more_is_<?php 
    echo $i;
    ?>
" style="display:none;">
				<?php 
    echo get_view_thumbnail($list[$i]['is_content'], $default['pt_img_width']);
    // 문의 내용
    ?>
Example #2
0
						<?php 
echo $it_qa_cnt;
//문의수
?>

						<span class="sp"></span>
						<i class="fa fa-eye"></i>
						<?php 
echo number_format($it['it_hit']);
//조회수
?>
					</span>
					<span class="hidden-xs pull-right">
						<i class="fa fa-clock-o"></i>
						<?php 
echo apms_datetime($it['datetime'], 'Y.m.d H:i');
//시간
?>
					</span>
				</div>
			</div>
		</div>
	   <?php 
if ($attach_list) {
    echo '<div class="list-group font-12">' . $attach_list . '</div>' . PHP_EOL;
}
?>
	</div>
</div>

<?php 
Example #3
0
			<div class="slist-photo pull-left">
				<?php 
        echo $list[$i]['photo'] ? '<img src="' . $list[$i]['photo'] . '" alt="">' : '<i class="fa fa-user bg-lightgray"></i>';
        ?>
			</div>
			<div class="media-body">
				<a href="#" onclick="win_memo('<?php 
        echo $list[$i]['href'];
        ?>
');">
					<b><?php 
        echo $list[$i]['mb_nick'] ? $list[$i]['mb_nick'] : '정보없음';
        ?>
</b>
					<span class="text-muted"><?php 
        echo apms_datetime($list[$i]['date']);
        ?>
</span>
					<div class="text-muted">
						<?php 
        echo apms_cut_text($list[$i]['me_memo'], 26, '… <span class="font-11">더보기</span>');
        ?>
					</div>
				</a>
			</div>
		</div>
	<?php 
    }
} else {
    ?>
	<p class="text-muted">
Example #4
0
            echo $list[$i]['wr'][$j]['subject'];
            ?>
							<?php 
            if ($list[$i]['wr'][$j]['comment']) {
                ?>
								 &nbsp;<span class="text-muted font-11 en"><i class="fa fa-comment"></i> <?php 
                echo $list[$i]['wr'][$j]['comment'];
                ?>
</span>
							<?php 
            }
            ?>
							<span class="text-muted font-11 en">
								 &nbsp;<i class='fa fa-clock-o'></i>
								<?php 
            echo apms_datetime($list[$i]['wr'][$j]['date']);
            ?>
							</span>
						</a>
					<?php 
        }
        ?>
				<?php 
    }
    ?>
			</div>
		</div>
	<?php 
}
?>
	<?php 
Example #5
0
            if ($list[$i]['comment']) {
                ?>
						<span class="count orangered">
							+<?php 
                echo $list[$i]['comment'];
                ?>
						</span>
					<?php 
            }
        }
        ?>
					<?php 
        if ($is_date) {
            ?>
						&nbsp;<?php 
            echo $is_dtxt ? apms_datetime($list[$i]['date'], $is_dtype) : date($is_dtype, $list[$i]['date']);
            ?>
					<?php 
        }
        ?>
				</span>
			<?php 
    }
    ?>
			<?php 
    echo $wr_icon;
    ?>
			<?php 
    echo $list[$i]['subject'];
    ?>
		</a> 
Example #6
0
	</div>
	<div class="list-group">
		<?php 
for ($i = 0; $i < $list_cnt; $i++) {
    if (!$list[$i]['is_notice']) {
        break;
    }
    //공지가 아니면 끝냄
    ?>
			 <a href="<?php 
    echo $list[$i]['href'];
    ?>
" class="list-group-item ellipsis">
				<span class="hidden-xs pull-right font-12 black">
					<i class="fa fa-clock-o"></i> <?php 
    echo apms_datetime($list[$i]['date'], "Y.m.d");
    ?>
				</span>
				<span class="wr-notice"></span>
				<strong class="black"><?php 
    echo $list[$i]['subject'];
    ?>
</strong>
				<?php 
    if ($list[$i]['wr_comment']) {
        ?>
					<span class="count red"><?php 
        echo $list[$i]['wr_comment'];
        ?>
</span>
				<?php 
Example #7
0
?>
</b></div>
	<div class="div-sep-wrap">
		<div class="div-sep sep-bold"></div>
	</div>
</div>

<div class="ans-content">
	<?php 
echo conv_content($answer['qa_content'], $answer['qa_html']);
?>
</div>

<p class="text-right text-muted">
	<i class="fa fa-clock-o"></i> <?php 
echo apms_datetime(strtotime($answer['qa_datetime']), 'Y.m.d H:i');
//시간
?>
</p>

<div class="ans-btn">
	<a href="<?php 
echo $rewrite_href;
?>
" class="btn btn-color btn-sm pull-left"><i class="fa fa-comments"></i> 추가질문</a>
	<?php 
if ($answer_update_href || $answer_delete_href) {
    ?>
		<div class="btn-group pull-right">
			<?php 
    if ($answer_update_href) {
Example #8
0
			<div class="font-12 text-muted">
				<?php 
echo apms_get_star($view['is_score'], 'red font-14');
//별점
?>
				<span class="sp"></span>
				<i class="fa fa-user"></i>
				<?php 
echo $view['is_name'];
//등록자
?>
				<span class="hidden-xs">
					<span class="sp"></span>
					<i class="fa fa-clock-o"></i>
					<?php 
echo apms_datetime($view['is_time'], 'Y.m.d H:i');
//시간
?>
				</span>
			</div>
		</div>
	</div>

	<div class="view-content">
		<?php 
echo get_view_thumbnail($view['is_content'], $default['pt_img_width']);
?>
	</div>

	<div class="view-sns text-right">
		<?php 
Example #9
0
					<?php 
    }
    ?>
				</a>
			</td>
			<td class="text-center font-11">
				<a href="<?php 
    echo $list[$i]['od_href'];
    ?>
" target="_blank">
					<?php 
    echo $list[$i]['od_id'];
    ?>
					<br>
					(<?php 
    echo $list[$i]['delivery'] ? $list[$i]['delivery'] : apms_datetime($list[$i]['od_date'], 'Y.m.d');
    ?>
)
				</a>
			</td>
			<?php 
    if ($mode == "2") {
        ?>
				<td class="text-center font-11">
					<?php 
        if ($list[$i]['de_href']) {
            ?>
						<a href="<?php 
            echo $list[$i]['de_href'];
            ?>
" class="de-href">완료</a>
Example #10
0
?>
				<?php 
if ($view['email']) {
    ?>
					<span class="sp"></span>
					<i class="fa fa-envelope-o"></i> <?php 
    echo $view['email'];
    //이메일
    ?>
				<?php 
}
?>
				<span class="hidden-xs pull-right">
					<i class="fa fa-clock-o"></i>
					<?php 
echo apms_datetime(strtotime($view['qa_datetime']), 'Y.m.d H:i');
//시간
?>
				</span>
			</div>
		</div>
	   <?php 
if ($attach_list) {
    echo '<div class="list-group font-12">' . $attach_list . '</div>' . PHP_EOL;
}
?>
	</div>

	<?php 
// 이미지 출력
if ($view['img_count']) {
Example #11
0
}
?>
			<span class="thumb">구분</span>
			<span class="subj">제목</span>
			<span class="name hidden-xs">이름</span>
			<span class="date hidden-xs">날짜</span>
		</div>
		<ul id="list-container" class="board-list">
		<?php 
for ($i = 0; $i < count($list); $i++) {
    $num = $total_count - ($page - 1) * $config['cf_page_rows'] - $i;
    $gr_subject = cut_str($list[$i]['gr_subject'], 20);
    $bo_subject = cut_str($list[$i]['bo_subject'], 20);
    $wr_subject = get_text(cut_str($list[$i]['wr_subject'], 30));
    $date = strtotime($list[$i]['wr_datetime']);
    $wr_date = apms_datetime($date, 'Y.m.d');
    $is_new = $date + 86400 - G5_SERVER_TIME;
    // 24시간
    ?>
			<li class="list-item">
				<?php 
    if ($is_admin) {
        ?>
					<div class="chk">
						<label for="chk_bn_id_<?php 
        echo $i;
        ?>
" class="sound_only"><?php 
        echo $num;
        ?>
번</label>
Example #12
0
		<?php 
if ($is_checkbox) {
    ?>
			<span class="chk">
				<label for="chkall" class="sound_only">현재 페이지 게시물 전체</label>
				<input type="checkbox" id="chkall" onclick="if (this.checked) all_checked(true); else all_checked(false);">
			</span>
		<?php 
}
?>
	</div>
	<ul id="list-container" class="board-list">
	<?php 
$n = $list_cnt;
for ($i = 0; $i < $list_cnt; $i++) {
    $qa_date = apms_datetime(strtotime($list[$i]['qa_datetime']), 'Y.m.d');
    ?>
		<li class="list-item">
			<div class="num hidden-xs"><?php 
    echo $list[$i]['num'] ? $list[$i]['num'] : $n;
    ?>
</div>
			<div class="reply">
				<?php 
    if ($list[$i]['qa_status']) {
        ?>
					<span class="orangered">완료</span>
				<?php 
    } else {
        ?>
					<span class="text-muted">대기</span>
Example #13
0
}
// 가변 파일
$j = 0;
for ($i = 0; $i < count($view['file']); $i++) {
    if (isset($view['file'][$i]['source']) && $view['file'][$i]['source'] && !$view['file'][$i]['view']) {
        if ($board['bo_download_point'] < 0 && $j == 0) {
            $attach_list .= '<a class="list-group-item"><i class="fa fa-bell red"></i> 다운로드시 <b>' . number_format(abs($board['bo_download_point'])) . '</b>' . AS_MP . ' 차감 (최초 1회 / 재다운로드시 차감없음)</a>' . PHP_EOL;
        }
        $file_tooltip = '';
        if ($view['file'][$i]['content']) {
            $file_tooltip = ' data-original-title="' . strip_tags($view['file'][$i]['content']) . '" data-toggle="tooltip"';
        }
        $attach_list .= '<a class="list-group-item break-word view_file_download at-tip" href="' . $view['file'][$i]['href'] . '"' . $file_tooltip . '>';
        $attach_list .= '<span class="label label-primary pull-right view-cnt">' . number_format($view['file'][$i]['download']) . '</span>';
        $attach_list .= '<i class="fa fa-download"></i> ' . $view['file'][$i]['source'] . ' (' . $view['file'][$i]['size'] . ') &nbsp;';
        $attach_list .= '<span class="en font-11 text-muted"><i class="fa fa-clock-o"></i> ' . apms_datetime(strtotime($view['file'][$i]['datetime']), "Y.m.d") . '</span></a>' . PHP_EOL;
        $j++;
    }
}
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $board_skin_url . '/style.css" media="screen">', 0);
if ($boset['video']) {
    ?>
	<style>.view-wrap .apms-autowrap { max-width:<?php 
    echo G5_IS_MOBILE ? '100%' : $boset['video'];
    ?>
 !important;}</style>
<?php 
}
?>
<script src="<?php