예제 #1
0
파일: log_list.php 프로젝트: jjonline/J4
        echo timeago($value['date'], true);
        ?>
</time>
					<span class="article_exp_pv"><i class="fa fa-eye"></i> 阅读(<?php 
        echo $value['views'];
        ?>
)</span>
					<a href="<?php 
        echo $value['log_url'];
        ?>
#comments" class="article_exp_cmt"><i class="fa fa-comments-o"></i> 评论(<?php 
        echo $value['comnum'];
        ?>
)</a>
					<?php 
        editflg($value['logid'], $value['author']);
        ?>
				</p>
				<div class="article_exp_des"><?php 
        echo mbsubstr(preg_replace("/阅读全文&gt;&gt;/", '', strip_tags($value['log_description'])), 0, 140);
        ?>
...</div>
			</article>
		<?php 
    }
} else {
    ?>
			<div class="content_none">
				<h2>暂无数据</h2>
				<?php 
    if (isWebIndex() && empty($keyword)) {
예제 #2
0
파일: echo_log.php 프로젝트: jjonline/J4
?>
</span>
					<span><i class="fa fa-clock-o"></i> <?php 
echo timeago($date, true);
?>
</span>
					<span><i class="fa fa-eye"></i> <?php 
echo $views;
?>
次浏览</span>
					<span><i class="fa fa fa-folder-open"></i> <?php 
blog_sort($logid);
?>
</span>
					<?php 
echo editflg($logid, $author);
?>
				</div>
			</header>
			<article class="article_content">
				<?php 
echo handleContent($log_content);
#日志正文
echo blog_att($logid);
#附件格式化
?>
				<div class="article_copy">转载请注明本文标题和链接:《<a href="<?php 
echo Url::log($logid);
?>
"><?php 
echo $log_title;
예제 #3
0
	<h2 class="content_one_title"><?php 
echo $log_title;
?>
</h2>

	<div class="content_one_content">
		<?php 
echo $log_content;
?>
	</div>
	
	<p class="content_one_count"><?php 
echo gmdate('Y-n-j', $date);
?>
&nbsp;&nbsp;/&nbsp;&nbsp;<?php 
editflg($value['logid'], $author);
?>
</p>
	
	<div class="content_comment">
	<?php 
blog_comments($comments);
?>
	<?php 
blog_comments_post($logid, $ckname, $ckmail, $ckurl, $verifyCode, $allow_remark);
?>
	</div>
	<div style="clear:both;"></div>
	<div class="m_nav"></div>
</div>
</div>