Пример #1
0
    </td>
</tr>
</table>
<?php 
$link_buttons = ob_get_contents();
ob_end_clean();
?>

<!-- 제목, 글쓴이, 날짜, 조회, 추천, 비추천 -->
<div class="mw_basic_view_subject">
<h1>
<?php 
if ($is_category) {
    echo $category_name ? "[{$view['ca_name']}] " : "";
}
echo cut_hangul_last(get_text($view['wr_subject'])) . $view['icon_secret'];
if ($mw_basic['cf_reward']) {
    echo "&nbsp;<img src='{$board_skin_path}/img/btn_reward_{$reward['re_status']}.gif' align='absmiddle'>";
}
if ($mw_basic['cf_attribute'] == 'qna' && !$view['is_notice']) {
    echo "&nbsp;&nbsp;<img src=\"{$board_skin_path}/img/icon_qna_{$view['wr_qna_status']}.png\" align=\"absmiddle\"></span>";
}
?>
</h1>
</div>

<div class="mw_basic_view_title">
    <?php 
echo $mw_admin_button;
?>
    <?php 
Пример #2
0
$(document).ready(function () {
    window.print();
});
</script>


<div id="mw_print">

    <div class="mw_subject">
	<?php 
if ($is_category) {
    echo $category_name ? "[{$view['ca_name']}] " : "";
}
?>
	<?php 
echo cut_hangul_last(get_text($view[wr_subject]));
?>
 <?php 
echo $view[icon_secret];
?>
    </div>

    <div class="mw_name"><span class="mw_label">글쓴이</span> : <?php 
if ($mw_basic[cf_attribute] != "anonymous") {
    echo $view[wr_name];
    ?>
 <?php 
}
?>
</div>
    <div class="mw_date"><span class="mw_label">작성일</span> : <?php 
Пример #3
0
        </div>
        <div class='fr'>
            <a href="<?php echo $list_href?>"><img src="<?php echo "$board_skin_path/img/btn_list.gif"?>" alt="목록" /></a>
            <?php if ($search_href) { ?><a href="<?php echo $search_href?>"><img src="<?php echo "$board_skin_path/img/btn_search_list.gif"?>" alt="검색목록" /></a><?php } ?>
        </div>
    </div>

    <?php
    $link_buttons = ob_get_contents();
    ob_end_flush();
    ?>

    <div class='title_area'>
        <h2 class='title'>
            <?php if ($is_category) { echo ($category_name ? "<span class='category'>[$view[ca_name]]</span> " : ""); } ?>
            <a href='<?php echo "./board.php?bo_table={$bo_table}&amp;wr_id={$wr_id}"?>'><?php echo cut_hangul_last(get_text($view[wr_subject]))?></a>
        </h2>
        <div class='sum'>
            <span class="hit tit">조회</span><span class='num'><?php echo number_format($view[wr_hit])?></span>
            <?php if ($is_good) { ?><span class='good tit'>추천</span><span class='num'><?php echo number_format($view[wr_good])?></span><?php } ?>
            <?php if ($is_nogood) { ?><span class='nogood tit'>비추천</span><span class='num'><?php echo number_format($view[wr_nogood])?></span><?php } ?>
            <span class='date'><?php echo date("Y.m.d H:i", strtotime($view[wr_datetime]))?></span>
        </div>
    </div>

    <div class='author_area'>
        <span class='author'><?php echo $view[name]?></span>
        <span class='ipaddress'><?php echo $is_ip_view?"($ip)":"";?></span>
    </div>

    <?php