代码拉取完成,页面将自动刷新
<?php
/**
* 微语部分
*/
if(!defined('EMLOG_ROOT')) {exit('error!');}
?>
<div class="container">
<div class="article-list" id="article-list">
<section class="comments">
<h1>神奇的微语</h1>
<div class="content">
<div id="comments">
<ol class="commentlist">
<?php
foreach($tws as $val):
$author = $user_cache[$val['author']]['name'];
$avatar = empty($user_cache[$val['author']]['avatar']) ?
BLOG_URL . 'admin/views/images/avatar.jpg' :
BLOG_URL . $user_cache[$val['author']]['avatar'];
$tid = (int)$val['id'];
$img = empty($val['img']) ? "" : '<a title="查看图片" href="'.BLOG_URL.str_replace('thum-', '', $val['img']).'" target="_blank">
<img style="border: 1px solid #EFEFEF;" src="'.BLOG_URL.$val['img'].'"/></a>';
?>
<li id="li-comment-11" class="comment even thread-even depth-11 ">
<div id="comment-11 " class="comment-body">
<div class="comment-author">
<img alt="" src="<?php echo $avatar; ?>" class="avatar avatar-32 photo" width="32" height="32">
</div>
<div class="comment-head">
<span class="name">
<?php echo $author; ?>
</span>
<p>
<?php echo $val['t'].'<br/>
'.$img;?>
</p>
<div class="post-reply">
</div>
<div class="date">
<?php echo $val['date'];?>
</div>
</div>
<a>
<time datetime="<?php echo $val['date'];?>">
</time>
</a>
</div>
</li>
<?php endforeach;?>
</ol>
</div>
</div>
</section>
<div class="pagenavi">
<?php echo $page_url;?>
</div>
</div>
<?php include View::getView('side');?>
<?php include View::getView('footer');?>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。