您当前的位置:首页 > 网络教程 > 帝国CMS教程

9.5 应用举例 提交百度的urls.txt

多个模型都要写进去

[e:loop={"select * from [!db.pre!]enewsclass order by myorder",0,24,0}]
<?
if($bqr['classurl']=="")
{
$sccurl=$public_r['newsurl'].$bqr['classpath']."/";
}
else
{
$sccurl=$bqr['classurl']."/";
}
?>
<?=$sccurl?>

[/e:loop]
[e:loop={"select * from [!db.pre!]ecms_news order by id desc",0,24,0}]<?=$bqsr[titleurl]?>

[/e:loop]
[e:loop={"select * from [!db.pre!]ecms_photo order by id desc",0,24,0}]<?=$bqsr[titleurl]?>

[/e:loop]
[e:loop={"select * from [!db.pre!]ecms_article order by id desc",0,24,0}]<?=$bqsr[titleurl]?>

[/e:loop]

你觉得文章内容怎么样

阿里云代金券 100 云产品通用

有效期30天 首购用户

立即领取
阿里云代金券 100 云产品通用

有效期30天 复购+升级

立即领取