{dede:field name='position'/}
{dede:field.title/}
时间:{dede:field.pubdate function="MyDate('Y-m-d H:i',@me)"/} 来源:{dede:field.source/} 作者:{dede:field.writer/} 点击:次
{dede:field.body runphp=yes}
global $cfg_basehost;
$str = @me;
$search = '/(]+>)/is';
$search1 = '/(]+>)/is';
$search2 = '#()#i';
$search3 = '#()#i';
$content = preg_replace($search,'$1$3',$str);
$content = preg_replace($search1,'$1$3',$content);
$content = preg_replace($search2,'$1$2',$content);
$content = preg_replace($search3,'$1$2',$content);
@me = $content;
@me = str_replace('/uploads/allimg/', $cfg_basehost.'/uploads/allimg/', $content);
{/dede:field.body} {dede:field.vote/} (责任编辑:{dede:adminname/}) |
- {dede:prenext get=pre runphp=yes}
$preurl = @me;
preg_match('/aid=(\d*)/',$preurl,$match);
$result = GetOneArchive($match[1]);
@me = !empty($result) ? "上一篇:{$result['title']}" : "上一篇:没有了";
{/dede:prenext}
- {dede:prenext get=next runphp=yes}
$preurl = @me;
preg_match('/aid=(\d*)/',$preurl,$match);
$result = GetOneArchive($match[1]);
@me = !empty($result) ? "下一篇:{$result['title']}" : "下一篇:没有了";
{/dede:prenext}
{dede:include filename="footer_m.htm"/}