久久久精品国产免费看片_九九热日本在线视频_国产精品黄色网站_亚洲人妻在线播放视频

返回列表2015.08.14

[模板] 關(guān)于我們內(nèi)容頁(yè)

關(guān)于我們內(nèi)容頁(yè)模板范例

{include file=$_Y['template']['header']}
<div class="w1188 mt25 cl">
    <div class="list_menu left">
        <div>{$cat['title']}<span>{$cat['subtitle']}</span></div>
        <ul>
        	{catbymod return="aboutcat" mod=$_Y['basescript']}
        	<li {if $article['aid'] == 'aboutus'} class="a"{/if}><a href="about.html">企業(yè)簡(jiǎn)介</a></li>
            {articlebysql mod=$_Y['basescript'] limit=10 return="aboutnav" catids=$aboutcat['catid']}
            {foreach $aboutnav as $v}
                <li{if $article['aid'] == $v['aid']} class="a"{/if}><a href="{$_Y['basescript']}-article-{$v['aid']}.html">{$v['title']}</a></li> 
            {/foreach}
            {if $cat['sub']}
            {foreach $cat['sub'] as $v}
                <li{if $cat['catid'] == $v} class="a"{/if}><a href="{$_Y['basescript']}-list-{$v}-1.html">{$cats[$v]['title']}</a></li> 
            {/foreach}
            {elseif $cat['other']}
            {foreach $cat['other'] as $v}
                <li{if $cat['catid'] == $v} class="a"{/if}><a href="{$_Y['basescript']}-list-{$v}-1.html">{$cats[$v]['title']}</a></li> 
            {/foreach}
            {/if}
        </ul>
    </div>
    
    <div class="cbox right">
        	<div class="title">
                <h3>{$article['title']}<span>{$cat['subtitle']}</span></h3>
                <p>
                    當(dāng)前位置:<a href="/">網(wǎng)站首頁(yè)</a> &gt;
                    {foreach $cat['path'] as $v}
                    <a href="{$_Y['basescript']}-list-{$v}-1.html">{$cats[$v]['title']}</a> &gt;
                    {/foreach}
                    <a href="{$_Y['basescript']}-list-{$cat['catid']}-1.html">{$cat['title']}</a>
                </p>
            </div>
            {nocache}
            {if $_Y['self']}
            <div>
                <a href="{$_Y['basescript']}.php?mod=add&aid={$article['aid']}">編輯</a>
                <span class="pipe">|</span>
                <a href="{$_Y['basescript']}.php?mod=delete&aid={$article['aid']}&formhash={$_Y['formhash']}" onClick="showAsk('您確定要?jiǎng)h除這篇文章嗎,刪除后還可以在回收站里找回',this.href);return false">刪除</a>
            </div>
            {/if}
            {/nocache}
            <div class="article">
            	{$article['content']}
            </div>
    </div>
</div>
{include file=$_Y['template']['footer']}


說(shuō)明:

關(guān)于我們內(nèi)容頁(yè)和其他模塊內(nèi)容頁(yè)的區(qū)別在于邊欄導(dǎo)航的特殊性