让跳转网址直接链接而非跳转的最简单方法
2009-10-16 15:31:00 来源:WEB开发网核心提示:1、列表页的实现:/include/inc_arclist.php查找$row['arcurl'] = $this->GetArcUrl(在前面加上:if($row['redirecturl']) $row['arcurl'] = $row['redirec
1、列表页的实现:
/include/inc_arclist.php
查找
$row['arcurl'] = $this->GetArcUrl(
在前面加上:
if($row['redirecturl']) $row['arcurl'] = $row['redirecturl']; else
同时在 arc.click,arc.litpic, 后面加上 arc.redirecturl,
2、主页直接跳转的实现。
/include/inc/inc_fun_SpGetArcList.php
查找
$row['arcurl'] = $this->GetArcUrl(
在前面加上:
if($row['redirecturl']) $row['arcurl'] = $row['redirecturl']; else
同时在 arc.shorttitle,arc.memberid, 后面加上 arc.redirecturl,
官方原帖:php?url=bbs.dedecms.com/read.php?tid=50588&fpage=2">http://bbs.dedecms.com/read.php?tid=50588&fpage=2
赞助商链接