//获取上级栏目名称
if ( ! function_exists('GetParentTypename'))
{
function GetParentTypename($id){
global $dsql ;
$reid = $dsql->GetOne("SELECT reid FROM wz_arctype where id=@me");
$reid = $reid['reid'];
$row1 = $dsql->GetOne("SELECT typename FROM wz_arctype where id=$reid");
return $row1['typename'];
}
}
{dede:field.typeid function="GetParentTypename(@me)"/}
欢迎光临 源于生活 (http://bbs.vingoo.info/) | Powered by Discuz! X3.1 |