浙北英语网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

湖州日报:3名学子入围“希望之星”只有狂人才干的事情!带字幕美国之音慢速英语VOA Special English学英语视频近1000个,自诩为国内最全!适合增加词汇和锻炼听力!点击查看...
查看: 413|回复: 0

dede个人记录备忘

[复制链接]
发表于 2013-12-28 21:52:06 | 显示全部楼层 |阅读模式
频道列表
{dede:channelartlist typeid='3,0'}
<dl class="tbox">
<dt>
<strong><a href="{dede:field name='typeurl'/}">{dede:field name='typename'/}</a></strong>
<span class="more"><a href="{dede:field name='typeurl'/}">更多...</a></span>
</dt>
<dd>
<ul class="d1 ico3">
{dede:arclist titlelen='60' row='8'}
<li><span>[field:pubdate function="MyDate('m-d',@me)"/]</span><a href="[field:arcurl /]">[field:title /]</a></li>
{/dede:arclist}
</ul>
</dd>
</dl>
{/dede:channelartlist}
######################

{dede:arclist flag='h' limit='0,1' infolen='230'}
<h2><a href="[field:arcurl/]">[field:title/]</a></h2>
<p>  [field:info/]...<a href="[field:arcurl/]">[查看全文]</a></p>
{/dede:arclist}

<a href="{dede:global.cfg_basehost/}">{dede:global.cfg_webname/}</a>
<a href='{dede:global.cfg_cmsurl/}/'>主页</a>
模板目录 {dede:global.cfg_templeturl/}

优化:
主标题: {dede:field name='seotitle'/}
关键字: {dede:field name='keywords'/}
描述字: {dede:field name='description'/}

{dede:field.title/}

标题 [field:title/]
内容 [field:info/]
网址 [field:arcurl/]
点击 [field:click/]
评价 [field:scores/]
图址 [field:image/]

标签 [field:link/]
标签 [field:tag /]

频道地址[field:typeurl/]
[field:rel/]
[field:typename/]


######
头条.h
推荐.c
幻灯.f
特荐.a
滚动.s
加粗.b
######

头条
{dede:arclist flag='h' limit='0,1' infolen='230'}
{/dede:arclist}

最新文档
{dede:arclist row=14 titlelen=32 noflag='h'}
{/dede:arclist}

推荐内容
{dede:arclist flag='c' titlelen=42 row=12}

本月热点
{dede:arclist sort='hot' subday='30' titlelen=42 row=12}

特别推荐
{dede:arclist flag='a' row='6' orderby='pubdate'}
<li>
<span>[field:pubdate function="MyDate('m-d',@me)"/]</span>
<a href="[field:arcurl/]">[field:title/]</a>
</li>
{/dede:arclist}

最近登陆的会员
{dede:memberlist row=6 signlen=30}

图文资讯
{dede:arclist row=5 orderby=pubdate type='image.' imgwidth='124' imgheight='94'}

友情链接
{dede:flink row='24'/}


{dede:channel type='top' row='10' currentstyle="<li class='hover'><a href='~typelink~' ~rel~>~typename~</a></li>"}
<li><a href='[field:typeurl/]' [field:rel/]>[field:typename/]</a></li>
{/dede:channel}

热门标签
{dede:tag row='8' getall='1' sort='month'}<li><a href='[field:link/]'>[field:tag /]</a></li>
{/dede:tag}

搜索
<form action="{dede:field name='phpurl'/}/search.php" name="formsearch">

#会员
<form name="userlogin" action="{dede:global.cfg_memberurl/}/index_do.php" method="POST">
<input type="hidden" name="fmdo" value="login" />
<input type="hidden" name="dopost" value="login" />
<input type="hidden" name="keeptime" value="604800" />
<div class="fb">
<span>用户名:</span>
<input type="text" name="userid" size="20" class="ipt-txt" />
</div>
<div class="fb">
<span>密码:</span>
<input type="password" name="pwd" size="20" class="ipt-txt" />
</div>
<div class="fb">
<span>验证码:</span>
<input type="text" name="vdcode" size="8" class="ipt-txt" />
<img src="{dede:global.cfg_cmsurl/}/include/vdimgck.php" />
</div>
<div class="submit">
<button type="submit" class="btn-1">登录</button>
<a href="{dede:global.cfg_memberurl/}/index_do.php?fmdo=user& dopost=regnew">注册帐号</a> <a href="{dede:global.cfg_memberurl/}/resetpassword.php">忘记密码?</a>
</div>
</form>

用户 userid

密码 pwd

验证码 <img src="{dede:global.cfg_cmsurl/}/include/vdimgck.php" />

<a href="{dede:global.cfg_memberurl/}">会员中心</a>
<a href="{dede:global.cfg_cmsurl/}/tags.php">TAG标签</a>
<a href="{dede:global.cfg_dataurl/}/sitemap.html">网站地图</a>
<a href="{dede:global.cfg_dataurl/}/rssmap.html">RSS订阅</a>

文章命名规则:
/dir/200903317707/ index.html

官方 {typedir}/{Y}{M}{D}/{aid}.html    => /dir/20091130/92.html

优化 {typedir}/{Y}{M}{D}{aid}/index.html => /dir/2009113092/index.html

列表命名规则:
index1.html / index8.html

官方 {typedir}/list_{tid}_{page}.html => /dir/list_3_2.html list_3_3.html

优化 {typedir}/index{tid}{page}.html => /dir/index32.html

优化 {typedir}/index{page}.html => /dir/index2.html


{typedir}/{Y}{M}{D}{aid}/index.html
{typedir}/index{page}.html


采集替换 自定义处理接口:
$rpstr = "你要替换的东东";
$mystr = "想替换成的东东";
@me = str_replace($rpstr,$mystr,@me);

{dede:field name='pubdate' function='strftime("%Y年%m月%d日 %H:%M:%S","@me")' /}


封面模板 {style}/index_article.htm
列表模板 {style}/list_article.htm
文章模板 {style}/article_article.htm
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|典范英语|Oxford在线词典|在线查词典|每日签到|浙北英语网 ( 蜀ICP备10032068号 )

GMT+8, 2024-3-29 01:41 , Processed in 0.070402 second(s), 29 queries .

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表