PHP 找到
PHP">$tpsql = " reid='$typeid' AND ispart<>2 AND ishidden<>1 ";
TypeLink->TypeInfos['id']) ? GetTopid($refObj->TypeLink->TypeInfos['id']) : 0 ); $tpsql = " reid='$typeid' AND ishidden<>1 "; } else { $tpsql = " reid='$typeid' AND ispart<>2 AND ishidden<>1 "; }
PHP 找到
PHP">if($type=='son' && $reid!=0 && $totalRow==0
PHP">if($type=='son' && $reid!=0 && $totalRow==0 && $noself=='')
调用代码如下:
PHP">
-
{dede:PHP}
$GLOBALS['thisid'] = intval($refObj->Fields['typeid']);
$GLOBALS['reid'] = intval($refObj->Fields['reid']);
$GLOBALS['topid'] = intval($refObj->Fields['topid']);
{/dede:PHP}
{dede:channelartlist type=son}
- {dede:field.typename/}
- [field:typename/] {/dede:channel}
-
{dede:channel type=son noself=yes}
原文链接:https://www.f2er.com/dedecms/403854.html