帝国cms内容标题和副标题的判断 发表评论 A+所属分类:网站优化 收 藏帝国cms内容标题和副标题的判断,当有副标题的时候先调用副标题,没有副标题的时候调用标题 1<title><?php echo $navinfor['ftitle']?$navinfor['ftitle']:$navinfor['title'] ?></title> 如果要在内容页正文中做此判断,用灵动标签来实现,代码如下: 1<?=$bqr[ftitle]?$bqr[ftitle]:$bqr[title]?>