db->dbprefix.\"cate优艾设计网_Photoshop论坛gory where iscourse=0 and isuseask=1 and grade=1 and pid=0 order by d" />
优艾设计网

这是调用一级分类栏目如果我还在一级分类栏目添加子分类栏目调用不同的ID栏目是要怎么实现求调用代码?

优艾设计网 https://www.uibq.com 2023-03-23 11:24 出处:网络 作者:PS教程自学
{eval  $catlist=$this->getlistbysql(\"select id,name,displayorder,grade from \".$this->db->dbprefix.\"cate优艾设计网_Photoshop论坛gory where iscourse=0 and isuseask=1 and grade=1 and pid=0 order by d

{eval  $catlist=$this->getlistbysql("select id,name,displayorder,grade from ".$this->db->dbprefix."cate优艾设计网_Photoshop论坛gory where iscourse=0 and isuseask=1 and grade=1 and pid=0 order by displayorder desc  limit 0,4");}

                  {loop $catlist $index $cat}

                       

  • {$topic['title']}{$topic['viewtime']}
  •                              {/loop}



    qvoclop 2022-01-30 13:12

    优艾设计网_设计百科

    恩,好的非常感谢


    0

    精彩评论

    暂无评论...
    验证码 换一张
    取 消