亚洲欧美日韩国产四季一区二区三区,亚洲国产精品第一区二区,亚洲av成人片无码网站,亚洲乱码一区av春药高潮,小罗莉极品一线天在线

常用標(biāo)簽
  • 首頁(yè)TDK title/keywords/description

    											<title>{dede:global.cfg_webname/}</title>
    <meta name="description" content="{dede:global.cfg_description/}" />
    <meta name="keywords" content="{dede:global.cfg_keywords/}" />
    										
  • 列表頁(yè)TDK title/keywords/description

    											<title>{dede:field.title/}-{dede:global.cfg_webname/}</title>
    <meta name="keywords" content="{dede:field name='keywords'/}" />
    <meta name="description" content="{dede:field name='description' function='html2text(@me)'/}" />
    										
  • 內(nèi)容頁(yè)TDK title/keywords/description

    											<title>{dede:field.title/}-{dede:global.cfg_webname/}</title>
    <meta name="keywords" content="{dede:field.keywords/}" />
    <meta name="description" content="{dede:field.description function='html2text(@me)'/}" />
    										
  • 搜索頁(yè)TDK title/keywords/description

    								<title>搜索({dede:global name='keyword' function='RemoveXSS(@me)'/})相關(guān)信息_{dede:global.cfg_webname/}</title>
    
    										
  • 首頁(yè)跳轉(zhuǎn)手機(jī)站JS mobile-agent

    											<meta http-equiv="mobile-agent" content="format=xhtml;url={dede:global.cfg_mobileurl/}">
    <script type="text/javascript">if(window.location.toString().indexOf('pref=padindex') != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.location.href.indexOf("?mobile")<0){try{if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){window.location.href="{dede:global.cfg_mobileurl/}";}else if(/iPad/i.test(navigator.userAgent)){}else{}}catch(e){}}}}</script>
    										
  • 列表頁(yè)跳轉(zhuǎn)手機(jī)站JS mobile-agent

    											<meta http-equiv="mobile-agent" content="format=xhtml;url={dede:global.cfg_mobileurl/}/list.php?tid={dede:field.id/}">
    <script type="text/javascript">if(window.location.toString().indexOf('pref=padindex') != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.location.href.indexOf("?mobile")<0){try{if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){window.location.href="{dede:global.cfg_mobileurl/}/list.php?tid={dede:field.id/}";}else if(/iPad/i.test(navigator.userAgent)){}else{}}catch(e){}}}}</script>
    										
  • 內(nèi)容頁(yè)跳轉(zhuǎn)手機(jī)站JS mobile-agent

    <meta http-equiv="mobile-agent" content="format=xhtml;url={dede:global.cfg_mobileurl/}/view.php?aid={dede:field.id/}">
    <script type="text/javascript">if(window.location.toString().indexOf('pref=padindex') != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.location.href.indexOf("?mobile")<0){try{if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){window.location.href="{dede:global.cfg_mobileurl/}/view.php?aid={dede:field.id/}";}else if(/iPad/i.test(navigator.userAgent)){}else{}}catch(e){}}}}</script>
    										
  • 當(dāng)前位置

    {dede:field name='position'/}
  • 樣式路徑

    {dede:global.cfg_templets_skin/}/
  • 頭部文件引用

    {dede:include filename='head.htm'/}
  • 底部文件引用

    {dede:include filename='footer.htm'/}
  • 織夢(mèng)手機(jī)站模板制作方法

    Tips
    織夢(mèng)最新版(DedeCMS V5.7 SP2正式版)自動(dòng)識(shí)別模板名為*_m.html為電腦站模板對(duì)應(yīng)的手機(jī)站模板
導(dǎo)航標(biāo)簽
  • 導(dǎo)航調(diào)用 {dede:channel}

    {dede:channel type='top' row='10'}
    
    <a href='[field:typeurl/]'>[field:typename/]</a> 
    
    {/dede:channel}
    										
    Tips
    type='top' //調(diào)用頂級(jí)欄目
    typeid='1' //調(diào)用欄目id為1的下級(jí)欄目
    row //調(diào)用欄目數(shù)量
  • 導(dǎo)航選中高亮 currentstyle

    {dede:channel type='top' row='10' currentstyle="<li class='on'><a href='~typelink~'>~typename~</a></li>"}
    
    <li><a href='[field:typeurl/]'>[field:typename/]</a></li> 
    
    {/dede:channel}
    										
    Tips
    currentstyle //后面的內(nèi)容為當(dāng)前欄目時(shí)所執(zhí)行的標(biāo)簽
    注意:currentstyle 里面要用單引號(hào) ,雙引號(hào)不起作用
  • 二級(jí)導(dǎo)航嵌套 {dede:channelartlist }

    {dede:channelartlist typeid="top"}
    <li>
    <a href="{dede:field name="typeurl"/}">{dede:field name="typename"/}</a>
        <ul>
           {dede:channel type="son"}
           <li><a href="[field:typeurl/]">[field:typename/]</a></li>{/dede:channel}
        </ul>
    </li>
    {/dede:channelartlist}
    										
    Tips
    為織夢(mèng)cms調(diào)用二級(jí)欄目嵌套、下拉菜單等效果的一般解決方案
    {dede:channel}里面還可進(jìn)行arclist三級(jí)文章嵌套
  • channelartlist標(biāo)簽調(diào)用

    {dede:channelartlist  typeid='1' row='1'}
    <li><a href='{dede:field name='typeurl'/}'> {dede:field name='typename'/}</a></li>
    {/dede:channelartlist}
    										
    Tips
    {dede:channelartlist}一般用于欄目嵌套
    注意與{dede:channel}的使用區(qū)別
首頁(yè)列表調(diào)用標(biāo)簽
  • 首頁(yè)文章列表 {/dede:arclist}

    {dede:arclist typeid='1'row='10' titlelen='255' orderby='pubdate'}
    <li>
    <a href="[field:arcurl/]">[field:title/]</a>
    </li>
    {/dede:arclist}
    										
    Tips
    typeid //文章所屬欄目id
    row //調(diào)用文章數(shù)量
    titlelen //標(biāo)題字?jǐn)?shù)長(zhǎng)度
    infolen:內(nèi)容簡(jiǎn)介長(zhǎng)度
    orderby //排序規(guī)則 ;pubdate(發(fā)布時(shí)間)、click(點(diǎn)擊數(shù))、id(文章id排序)、
    rand(隨機(jī))、weight(文章權(quán)重,需修改底層文件)
    orderway //排序方式; desc(降序)、asc(升序),默認(rèn)為降序
    flag://自定義屬性值:頭條[h]推薦[c]圖片[p]幻燈[f]滾動(dòng)[s]跳轉(zhuǎn)[j]圖文[a]加粗[b]
  • 首頁(yè)列表調(diào)用自定義標(biāo)簽 addfields

    {dede:arclist row='10' typeid=1 titlelen='255' addfields='jiage' channelid='1'}
    <a href='[field:arcurl/]'>[field:title/]</a>
    <a href='[field:arcurl/]'>[field:jiage/]</a>
    {/dede:arclist}
    										
    Tips
    {dede:arclist}列表調(diào)用自定義字段需要添加addfields和channelid
    addfields//自定義字段名
    channelid//頻道id;即(核心-頻道模型-內(nèi)容模型管理)所對(duì)應(yīng)的id號(hào)
列表頁(yè)標(biāo)簽
  • 列表循環(huán)標(biāo)簽 {/dede:list}

    {dede:list pagesize='10' titlelen='255'}
    <a href='[field:arcurl/]'>[field:title/]</a>
    {/dede:list}
    										
    Tips
    該標(biāo)簽只適用于列表頁(yè)
    pagesize //調(diào)取文章的數(shù)量
    titlelen //標(biāo)題字符長(zhǎng)度
  • 列表頁(yè)分頁(yè) {dede:pagelist}

    {dede:pagelist listitem='index,pre,next,pageno,end,info,option,' /}
    										
    Tips
    與{dede:list}相配合實(shí)現(xiàn)列表分頁(yè)效果 解釋:index//第一頁(yè)、end//末頁(yè)、pre//上一頁(yè)、next//下一頁(yè)、pageno//頁(yè)碼、info//條數(shù)信息、option//下拉框
  • 數(shù)字遞增標(biāo)簽 [field:global.autoindex/]

    [field:global.autoindex/]
    										
    Tips
    默認(rèn)從"1"開(kāi)始
    從"0"開(kāi)始//
    [field:autoindex runphp='yes']@me=$GLOBALS['autoindex']-1;[/field:autoindex]
    從"2"開(kāi)始//
    [field:autoindex runphp='yes']@me=$GLOBALS['autoindex']+1;[/field:autoindex]
  • 當(dāng)前欄目 {dede:field.typename/}

    {dede:field.typename/}
    										
  • 指定欄目及鏈接 {/dede:type}

    {dede:type  typeid='1'}<a href='[field:typeurl/]'>[field:typename/]</a>{/dede:type}
    										
  • 欄目?jī)?nèi)容 {dede:field.content/}

    {dede:field.content/}
    										
列表頁(yè)底層標(biāo)簽
  • 文章標(biāo)題

    [field:title/]
    										
  • 文章鏈接

    [field:arcurl/]
    										
  • 文章短標(biāo)題

    [field:shorttitle/]
    										
  • 發(fā)布日期1

    [field:pubdate function='GetDateTimeMK(@me)' /]
    										
  • 發(fā)布日期2

    [field:pubdate function="MyDate('Y-m-d H:i:s',@me)"/] 
    										
  • 縮略圖

    [field:picname/]
    										
  • 所屬欄目

    [field:typelink/]
    										
  • 文章描述

    [field:description function="cn_substr(@me,255)"/]
    										
  • 點(diǎn)擊次數(shù)

    [field:click/] 
    										
內(nèi)容頁(yè)標(biāo)簽
  • 文章標(biāo)題

    {dede:field.title/}
    										
  • 文章短標(biāo)題

    {dede:field.shorttitle/}
    										
  • 文章縮略圖

    {dede:field name='litpic'/}
    										
  • 發(fā)布日期

    {dede:field.pubdate function="MyDate('Y-m-d H:i',@me)"/}
    										
  • 正文內(nèi)容

    {dede:field.body/}
    										
  • 文章簡(jiǎn)介

    {dede:field.description/}
    										
  • 文章作者

    {dede:field.writer/}
    										
  • 文章來(lái)源

    {dede:field.source/}
    										
  • 點(diǎn)擊次數(shù)

    <script src='{dede:field name='phpurl'/}/count.php?view=yes&aid={dede:field name='id'/}&mid={dede:field name='mid'/}'type='text/javascript' language='javascrip' ></script>
  • 文章Tag標(biāo)簽

    {dede:tag row='10' sort='new' getall='0'}
    <a href="[field:link/]">[field:tag /]</a>
    {/dede:tag}
  • 文章URL

    {dede:field name='arcurl'/}
  • 上一篇

    {dede:prenext get='pre'/}
  • 下一篇

    {dede:prenext get='next'/}
  • 圖集標(biāo)簽

    {dede:productimagelist}
    <img src="[field:imgsrc/]" alt="[field:text/]"/>
    {/dede:productimagelist}
    Tips
    該標(biāo)簽為“圖集模型”中的圖集圖片調(diào)用
承接業(yè)務(wù)