public function everyid()
{
// 分页
$list = db('every')->alias('a')->field('a.*,p.name')->join('every p', 'a.id = p.id')->paginate(10);
// 页码
$page = $list->render();
$this->assign('page', $page);
// <!-- between notbetween in notin -->
// <!-- {between name="vo.id" value="1,5"}id在1-6之间{/between} -->
// <!-- 图片不为空或者图片为空 empty-->
// <!-- {notempty name="vo.thumb"}
// <img src="" alt="">
// {else /}
// 无此图片
// {/notempty} -->
// $list = db('every')->select();
$this->assign('list', $list);
return $this->fetch();
}