<?php
/**
 * 自建页面模板
 */
if (!defined('EMLOG_ROOT')) {
    exit('error!');
}
?>
<div class="joe_container">
<div class="joe_main">
                <div class="joe_detail" data-cid="41">
<h1 class="joe_detail__title"><?php echo $log_title; ?></h1>
<div class="joe_detail__count">
    <div class="joe_detail__count-information">
        <img width="35" height="35" class="avatar ls-is-cached lazyloaded" src="<?php $user_cache = $CACHE->readCache('user'); echo empty($user_cache[$author]['avatar']) ? BLOG_URL.'admin/views/images/avatar.jpg' : BLOG_URL.$user_cache[$author]['avatar']; ?>" src="<?php $user_cache = $CACHE->readCache('user'); echo empty($user_cache[$author]['avatar']) ? BLOG_URL.'admin/views/images/avatar.jpg' : BLOG_URL.$user_cache[$author]['avatar']; ?>">
        <div class="meta">
            <div class="author">
                <?php blog_author($author); ?>
            </div>
            <div class="item">
                <span class="text"><?php echo gmdate('Y-n-j', $date); ?></span>
                <span class="line">/</span>
                <span class="text"><?php echo ($comnum); ?> 评论</span>
            </div>
        </div>
    </div>
     <time class="joe_detail__count-created" datetime="<?php echo gmdate('m/d', $date); ?>"><?php echo gmdate('m/d', $date); ?></time>
</div>
<article class="joe_detail__article"> 
<?php echo pay_view($log_content,$logid);?>
</article>
</div>
<?php blog_comments_post($logid,$ckname,$ckmail,$ckurl,$verifyCode,$allow_remark,$comnum); ?>
<ol class="comment-list">
<?php blog_comments($comments,$params); ?>
</ol>  
            </div>
<?php include View::getView('side'); ?>
<?php
include View::getView('footer');
?>