时间:2021-07-21人气:-
1$tpsql = " reid=0 AND ispart<>2 AND ishidden<>1 AND channeltype>0 ";
1$tpsql = " reid=0 AND ishidden<>1 AND channeltype>0 ";
1$pv->Fields['typeurl'] = GetOneTypeUrlA($typeids[$i]);在代码的下一行增加:
1if($typeids[$i]['ispart'] == 2){23$pv->Fields['typeurl'] = $pv->Fields['typeurl'].'" target="_blank';4}这样,在输出的链接后就自动增加了新窗口打开的代码了。