内容页调用当前栏目SEO标题:
{dede:field name='typeid' runphp='yes'}
$id=@me;
global $dsql;
$sql="select seotitle from dede_arctype where id=$id";
$row=$dsql->getOne($sql);
@me=$row["seotitle"];
{/dede:field}
内容页调用当前栏目描述:
.
{dede:field name='typeid' runphp='yes'}
$id=@me;
global $dsql;
$sql="select description from dede_arctype where id=$id";
$row=$dsql->getOne($sql);
@me=$row["description"];
{/dede:field}
内容页调用当前栏目关键字:
{dede:field name='typeid' runphp='yes'}
$id=@me;
global $dsql;
$sql="select keywords from dede_arctype where id=$id";
$row=$dsql->getOne($sql);
@me=$row["keywords"];
{/dede:field}