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}" >
|
2020-11-03 22:25:01 +08:00
|
|
|
<a href="/">{:lang('home page')}</a>
|
2020-01-01 13:17:19 +08:00
|
|
|
</li>
|
|
|
|
{volist name="cateList" id="cate"}
|
2020-03-13 22:59:38 +08:00
|
|
|
<li {if condition="$cate.ename eq $Request.param.ename"} class="layui-this" {/if}>
|
2022-08-02 18:46:05 +08:00
|
|
|
<a href="{:url('cate',['ename' => $cate.ename])}">{:cookie('think_lang') == 'en-us' ? $cate.ename : $cate.catename}{if condition="$cate.is_hot eq 1"}<span class="layui-badge-dot"></span>{/if}</a>
|
2020-01-01 13:17:19 +08:00
|
|
|
</li>
|
|
|
|
{/volist}
|
|
|
|
<li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><span class="fly-mid"></span></li>
|
|
|
|
{if session('?user_id')}
|
2021-05-20 11:52:40 +08:00
|
|
|
<li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><a href="{:url('user/post')}">{:lang('my post')}</a></li>
|
2020-11-06 15:55:05 +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>
|
2020-05-10 18:52:02 +08:00
|
|
|
{/if}
|
2020-01-01 13:17:19 +08:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<div class="fly-column-right layui-hide-xs">
|
|
|
|
<span class="fly-search"><i class="layui-icon"></i></span>
|
2020-11-27 16:25:08 +08:00
|
|
|
<a href="{:url('article/add')}" class="layui-btn" >{:lang('add post')}</a>
|
2020-01-01 13:17:19 +08:00
|
|
|
</div>
|
2021-05-14 17:57:15 +08:00
|
|
|
<!--div class="layui-hide-sm layui-show-xs-block" style="margin-top: -10px; padding-bottom: 10px; text-align: center;">
|
2020-11-27 16:25:08 +08:00
|
|
|
<a href="javascript:void(0)" class="layui-btn" id="add_post">{:lang('add post')}</a>
|
2021-05-14 17:57:15 +08:00
|
|
|
</div-->
|
2020-01-01 13:17:19 +08:00
|
|
|
</div>
|
|
|
|
</div>
|