123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- {extend name="default/base/base_home" /}
- {block name="mall_main"}
- <div class="w1200">
- <div class="dsh-container wrapper">
- <div class="left">
- <div class="dsh-module dsh-module-style01">
- <div class="title">
- <h3>{$Think.lang.article_article_article_class}</h3>
- </div>
- <div class="content">
- <ul id="files" class="tree">
- {foreach name="sub_class_list" item="value"}
- <li><i class="tree-parent tree-parent-collapsed"></i><a href="{:url('Article/index',['ac_id'=>$value.id])}" {if condition="$value.id eq $Request.param.ac_id"}class="selected"{/if}>{$value.value}</a>
- {notempty name="$value.children"}
- <ul>
- {foreach name="$value.children" item="val"}
- <li><i class="tree-parent tree-parent-collapsed"></i><a href="{:url('Article/index',['ac_id'=>$val.id])}" {if condition="$val.id eq $Request.param.ac_id"}class="selected"{/if}>{$val.value}</a>
- </li>
- {/foreach}
- </ul>
- {/notempty}
- </li>
- {/foreach}
- </ul>
- </div>
- </div>
- <div class="dsh-module dsh-module-style03">
- <div class="title">
- <h3>{$Think.lang.article_article_new_article}</h3>
- </div>
- <div class="content">
- <ul class="dsh-sidebar-article-list">
- {notempty name="new_article_list"}
- {foreach name="new_article_list" item="v"}
- <li><i class="iconfont"></i>
- <a {if $v.article_url !=""}target="_blank"{/if} href="{if $v.article_url != ''} {$v.article_url}{else /} {:url('Article/show',['article_id'=>$v.article_id])}{/if}">
- {$v.article_title}
- </a>
- </li>
- {/foreach}
- {else /}
- <li>{$Think.lang.article_article_no_new_article}</li>
- {/notempty}
- </ul>
- </div>
- </div>
- </div>
- <div class="right">
- <div class="dsh-article-con">
- <h1>{$article.article_title}</h1>
- <h2>{:date('Y-m-d H:i',$article.article_time)}</h2>
- <div class="default">
- <p>{:htmlspecialchars_decode($article.article_content)}</p>
- </div>
- <div class="more_article">
- <span class="fl">{$Think.lang.article_show_previous}:
- {notempty name="pre_article"}
- <a {if $pre_article.article_url !=""}target="_blank"{/if} href="{if $pre_article.article_url !=''}{$pre_article.article_url}{else /}{:url('Article/show',['article_id'=>$pre_article.article_id])}{/if}">
- {$pre_article.article_title}
- </a>
- <time>{:date('Y-m-d H:i',$pre_article.article_time)}</time>
- {else /}
- {$Think.lang.article_article_not_found}
- {/notempty}
- </span> <span class="fr">{$Think.lang.article_show_next}:
- {notempty name="next_article"}
- <a {notempty name="next_article.article_url"}target="_blank"{/notempty} href="{notempty name="next_article.article_url"}{$next_article.article_url}{else /}{:url('Article/show',['article_id'=>$next_article.article_id])}{/notempty} ">{$next_article.article_title}</a>
- <time>{:date('Y-m-d H:i',$next_article.article_time)}</time>
- {else /}
- {$Think.lang.article_article_not_found}
- {/notempty}
- </span>
- </div>
- </div>
- </div>
- </div>
- </div>
- <script src="{$Think.HOME_SITE_ROOT}/js/search_category_menu.js"></script>
- <script>
- $(function(){
- $('#files').tree({
- expanded: 'li:lt(2)'
- });
- })
- </script>
- {/block}
|