帝国cms 通过文章的id获取信息

获取栏目id为13下id为46的数据

    [e:loop={"select * from phome_ecms_news where classid = 13 and id = 46",0,24,0}] 

    <a href='<?=$bqsr["titleurl"]?>'>
        <div class='wit_border ind_product1' style='background:url(/static/images/1496314201.png)' onmousemove="shiqunanl()">
            <div class='jusebg'>
                <div class='ind_pjuedui'>
                    <div class='zhen_borde'>
                        <div class='ptborder_le'></div>
                        <div class='ptborder_re'></div>
                        <div class='fonts_all'>
                            <p class='fon_title1'>RLDB</p>
                            <p class='fon_title2'><?=$bqr[title]?></p>
                            <p class='fon_title3'><?=$bqr[ftitle]?></p>
                            <div class='fon_hg'></div>
                            <p class='fon_title4'>网站设计</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </a>

    [/e:loop]

 

posted @ 2019-10-17 15:15  Forset--森林  阅读(1155)  评论(0编辑  收藏  举报