2021-05-14 17:57:15 +08:00
|
|
|
<div class="fly-panel fly-column layui-hide-xs">
|
2020-01-01 13:17:19 +08:00
|
|
|
<div class="layui-container">
|
|
|
|
<ul class="layui-clear">
|
|
|
|
<li class="layui-hide-xs {if ($Request.param.ename =='' && $Request.param.id =='')} layui-this {/if}" >
|
2022-08-02 21:13:36 +08:00
|
|
|
<a href="{$Request.domain}">{:lang('home page')}</a>
|
|
|
|
</li>
|
2022-09-07 15:24:25 +08:00
|
|
|
{volist name="subcatelist" id="vo"}
|
2022-11-18 10:31:44 +08:00
|
|
|
<li class="{if($vo.ename eq $Request.param.ename)}layui-this{/if}">
|
2022-09-07 15:24:25 +08:00
|
|
|
<a href="{$Request.domain}{:url('cate',['ename' => $vo.ename])}">{:cookie('think_lang') == 'en-us' ? $vo.ename : $vo.catename}{if($vo.is_hot eq 1)}<span class="layui-badge-dot"></span>{/if}</a>
|
2022-08-02 21:13:36 +08:00
|
|
|
</li>
|
|
|
|
{/volist}
|
2022-09-07 15:24:25 +08:00
|
|
|
<li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><span class="fly-mid"></span></li>
|
2022-08-02 21:13:36 +08:00
|
|
|
{if session('?user_id')}
|
|
|
|
<li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><a href="{:url('user/post')}">{:lang('my post')}</a></li>
|
2022-09-07 15:24:25 +08:00
|
|
|
<li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><a href="{:url('user/post#collection')}">{:lang('my collection')}</a></li>
|
2022-08-02 21:13:36 +08:00
|
|
|
{/if}
|
2020-01-01 13:17:19 +08:00
|
|
|
</ul>
|
2022-09-07 15:24:25 +08:00
|
|
|
<div class="fly-column-right layui-hide-xs">
|
2022-08-02 21:13:36 +08:00
|
|
|
<a href="{:url('add_article',['cate'=>$Request.param.ename])}" class="layui-btn" id="add_post">{:lang('add post')}</a>
|
2020-01-01 13:17:19 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|