$urls = str_replace(array('{$categorydir}','{$catdir}','{$year}','{$month}','{$day}','{$catid}','{$id}','{$page}'),array($categorydir,$catdir,$year,$month,$day,$catid,$id,$page),$urlrule);
$urls = str_replace(array('{$categorydir}','{$catdir}','{$year}','{$month}','{$day}','{$catid}','{$id}','{$prefix}','{$page}'),array($categorydir,$catdir,$year,$month,$day,$catid,$id,$prefix,$page),$urlrule);
$urls = $this->url->show($r['id'], '', $r['catid'],$r['inputtime']);
$urls = $this->url->show($r['id'], '', $r['catid'],$r['inputtime'],$r['prefix']);
$urls = $this->url->show($id, 0, $r['catid'], $r['inputtime']);
$urls = $this->url->show($id, 0, $r['catid'], $r['inputtime'], $r['prefix']);
上一篇:调用当前栏目推荐文章的办法
下一篇:PHPCMS多条件判断的使用办法