예제 #1
0
*/
if (!defined('EMLOG_ROOT')) {
    exit('error!');
}
?>
<div id="content" role="main">
	<article class="post-<?php 
echo $logid;
?>
" id="post-<?php 
echo $logid;
?>
">
			<header class="entry-header">
				<h1 class="entry-title"><?php 
topflg($top);
echo $log_title;
?>
</h1>
				<div class="entry-meta">
					<time pubdate="" datetime="<?php 
echo gmdate('Y-n-j G:i l', $date);
?>
" class="entry-date"><?php 
echo gmdate('Y-n-j', $date);
?>
</time> / 
					<?php 
blog_sort($logid);
?>
 / 
예제 #2
0
if (!defined('EMLOG_ROOT')) {
    exit('error!');
}
?>
<div id="content">
<div id="contentleft">
<?php 
doAction('index_loglist_top');
?>

<?php 
if (!empty($logs)) {
    foreach ($logs as $value) {
        ?>
	<h2><?php 
        topflg($value['top'], $value['sortop'], isset($sortid) ? $sortid : '');
        ?>
<a href="<?php 
        echo $value['log_url'];
        ?>
"><?php 
        echo $value['log_title'];
        ?>
</a></h2>
	<p class="date">作者:<?php 
        blog_author($value['author']);
        ?>
 发布于:<?php 
        echo gmdate('Y-n-j G:i', $value['date']);
        ?>