Deprecated: Function get_magic_quotes_gpc() is deprecated in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 6

Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 16

Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 127

Warning: Use of undefined constant newstempid - assumed 'newstempid' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 130

Warning: Use of undefined constant temptext - assumed 'temptext' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 415

Warning: Use of undefined constant tempid - assumed 'tempid' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 415

Warning: Use of undefined constant temptext - assumed 'temptext' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 415

Warning: Use of undefined constant temptext - assumed 'temptext' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 141

Warning: Use of undefined constant showdate - assumed 'showdate' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 142

Warning: Use of undefined constant title - assumed 'title' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 144

Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 145

Warning: Use of undefined constant featherclass - assumed 'featherclass' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2175

Warning: Use of undefined constant featherclass - assumed 'featherclass' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2177

Warning: Use of undefined constant listdt - assumed 'listdt' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2187

Warning: Use of undefined constant classurl - assumed 'classurl' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2190

Warning: Use of undefined constant newsurl - assumed 'newsurl' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2191

Warning: Use of undefined constant classpath - assumed 'classpath' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2191

Warning: Use of undefined constant navfh - assumed 'navfh' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2200

Warning: Use of undefined constant classname - assumed 'classname' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2200

Warning: Use of undefined constant listdt - assumed 'listdt' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2187

Warning: Use of undefined constant classurl - assumed 'classurl' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2190

Warning: Use of undefined constant newsurl - assumed 'newsurl' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2191

Warning: Use of undefined constant classpath - assumed 'classpath' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2191

Warning: Use of undefined constant navfh - assumed 'navfh' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2200

Warning: Use of undefined constant classname - assumed 'classname' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2200

Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 146

Warning: Use of undefined constant keyboard - assumed 'keyboard' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 146

Warning: Use of undefined constant checkdorepstr - assumed 'checkdorepstr' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/functions.php on line 368

Warning: Use of undefined constant newstext - assumed 'newstext' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 232

Warning: Use of undefined constant id - assumed 'id' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 324

Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 325

Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 326

Warning: Use of undefined constant classname - assumed 'classname' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 326

Warning: Use of undefined constant ttid - assumed 'ttid' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 327

Warning: Use of undefined constant ttid - assumed 'ttid' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 328

Warning: Use of undefined constant tname - assumed 'tname' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 328

Warning: Use of undefined constant onclick - assumed 'onclick' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 330

Warning: Use of undefined constant userfen - assumed 'userfen' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 331

Warning: Use of undefined constant username - assumed 'username' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 332

Warning: Use of undefined constant ismember - assumed 'ismember' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 334

Warning: Use of undefined constant username - assumed 'username' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 340

Warning: Use of undefined constant userid - assumed 'userid' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 342

Warning: Use of undefined constant newsurl - assumed 'newsurl' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 344

Warning: Use of undefined constant plnum - assumed 'plnum' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 345

Warning: Use of undefined constant totaldown - assumed 'totaldown' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 346

Warning: Use of undefined constant keyboard - assumed 'keyboard' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/action/ShowInfo.php on line 347

Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2418

Warning: Use of undefined constant wburl - assumed 'wburl' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2418

Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2423

Warning: Use of undefined constant listdt - assumed 'listdt' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2423

Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2428

Warning: Use of undefined constant classurl - assumed 'classurl' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2428

Warning: Use of undefined constant newsurl - assumed 'newsurl' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2434

Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2434

Warning: Use of undefined constant classpath - assumed 'classpath' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2434

Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2436

Warning: Use of undefined constant bname - assumed 'bname' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2436

Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2439

Warning: Use of undefined constant bname - assumed 'bname' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/class/connect.php on line 2439
帝国cms栏目导航,循环列出所有子栏目名,和当前子栏目下的文章列表和所有一级栏目信息数子栏目信息数量 - <br /> <b>Warning</b>: Use of undefined constant sitename - assumed 'sitename' (this will throw an Error in a future version of PHP) in <b>/www/wwwroot/www.tianhao.cc/e/data/tmp/dt_temptext1.php</b> on line <b>13</b><br /> 天浩工作室
最新公告
  • 欢迎您光临天浩工作室,本站秉承服务宗旨 履行“站长”责任,销售只是起点 服务永无止境!立即加入钻石VIP

  • Warning: Use of undefined constant money - assumed 'money' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/data/tmp/dt_temptext1.php on line 209

    Warning: Use of undefined constant vipzk - assumed 'vipzk' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/data/tmp/dt_temptext1.php on line 210

    Warning: Use of undefined constant vipzk - assumed 'vipzk' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/data/tmp/dt_temptext1.php on line 214

    Warning: Use of undefined constant vipzk - assumed 'vipzk' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/data/tmp/dt_temptext1.php on line 215

    Warning: Use of undefined constant vipzk - assumed 'vipzk' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/data/tmp/dt_temptext1.php on line 216

    Warning: Use of undefined constant money - assumed 'money' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/data/tmp/dt_temptext1.php on line 216

    Warning: Use of undefined constant yongjiuzk - assumed 'yongjiuzk' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/data/tmp/dt_temptext1.php on line 218

    Warning: Use of undefined constant yongjiu - assumed 'yongjiu' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/data/tmp/dt_temptext1.php on line 221

    Warning: Use of undefined constant spsf - assumed 'spsf' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/data/tmp/dt_temptext1.php on line 227

    Warning: Use of undefined constant viptext - assumed 'viptext' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/data/tmp/dt_temptext1.php on line 227

    Warning: Use of undefined constant id - assumed 'id' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/data/tmp/dt_temptext1.php on line 270

    Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/data/tmp/dt_temptext1.php on line 270

    Warning: Use of undefined constant video - assumed 'video' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/data/tmp/dt_temptext1.php on line 271

    帝国cms栏目导航,循环列出所有子栏目名,和当前子栏目下的文章列表和所有一级栏目信息数子栏目信息数量

    正文概述
    Warning: Use of undefined constant writer - assumed 'writer' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/data/tmp/dt_temptext1.php on line 322
    天浩工作室  
    Warning: Use of undefined constant newstime - assumed 'newstime' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/data/tmp/dt_temptext1.php on line 322
    2024-02-20
       417
    <?php
    $mesql=$empire->query("select bclassid,classname,classid,sonclass,classpath from {$dbtbpre}enewsclass where bclassid in (0) order by myorder,classid");
    while($proMenu=$empire->fetch($mesql)){
                    $classurl=sys_ReturnBqClassname($proMenu,9);         //栏目链接
                    $num=$empire->gettotal("select count(*) as total from {$dbtbpre}ecms_news where ".($class_r[$proMenu[classid]] [islast]?"classid='$proMenu[classid]'":ReturnClass($class_r[$proMenu[classid]][sonclass]))." "); //信息数
            echo "<div class='a_box'><h2 class='a_title'><a href='".$classurl."'>".$proMenu[classname]."</a><span class='num'>(".$num.")</span></h2>";
            if($proMenu[sonclass]){   //有子栏目是非终极栏目 列出子栏目
                            $mesql_sub=$empire->query("select classname,classid,sonclass,classpath from {$dbtbpre}enewsclass where bclassid=".$proMenu[classid]);
                    while($proMenu_sub=$empire->fetch($mesql_sub)){ //循环列出子栏目
                                          echo "<div class='b_box'>";
                                          $classurl=sys_ReturnBqClassname($proMenu_sub,9);         //栏目链接
                                              $num=$empire->gettotal("select count(*) as total from {$dbtbpre}ecms_news where ".($class_r[$proMenu_sub[classid]] [islast]?"classid='$proMenu_sub[classid]'":ReturnClass($class_r[$proMenu_sub[classid]][sonclass]))." "); //信息数
                          echo "<h2 class='b_title'><a href='".$classurl."'>".$proMenu_sub[classname]."</a><span class='num'>(".$num.")</span></h2>";
                          $mesql_arti=$empire->query("select * from {$dbtbpre}ecms_news where classid=".$proMenu_sub[classid]);
                                              if($proMenu_sub[classid]==$GLOBALS[navclassid]){ //如果是当前栏目SQL文章列表
                                                         echo "<ul class='b_arti'>";
                                                         $no=0;
                                 while($proMenu_arti=$empire->fetch($mesql_arti)){
                                                            $titleurl=sys_ReturnBqTitleLink($proMenu_arti); //标题链接
                                                                    $no++;
                                    echo "<li><span class='no'>".$no."</span><a href='".$titleurl."'>".$proMenu_arti[title]."</a></li>";
                                  }
                                  echo "</ul>";
                                                    }
                                                    echo "</div>";
                    }
                   
            
            }else{ //终极栏目文章列表
                            if($proMenu[classid]==$GLOBALS[navclassid]){ //如果是当前栏目SQL文章列表
                         echo "<ul class='a_arti'>";
                         $mesql_arti=$empire->query("select * from {$dbtbpre}ecms_news where classid=".$proMenu[classid]);
                                         $no=0;
                         while($proMenu_arti=$empire->fetch($mesql_arti)){
                                            $titleurl=sys_ReturnBqTitleLink($proMenu_arti); //标题链接
                                                    $no++;
                            echo "<li><span class='no'>".$no."</span><a href='".$titleurl."'>".$proMenu_arti[title]."</a></li>";
                                             echo "</ul>";
                                                                                              }
                    }
                   
            }
                    echo "</div>";
    }
    ?>
    

    要修改最上面的  bclassid in (0) 0表示全部  显示的就是全部的一级栏目以及子栏目
    如果是想显示某个栏目 就直接添写栏目ID即可

    最多支持下面3级栏目关系

    新闻中心 —-财经新闻——国内财经新闻—–文章列表

     


    Warning: Use of undefined constant viptext - assumed 'viptext' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/data/tmp/dt_temptext1.php on line 333


    Warning: Use of undefined constant sitename - assumed 'sitename' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/data/tmp/dt_temptext1.php on line 352
    天浩工作室
    » 帝国cms栏目导航,循环列出所有子栏目名,和当前子栏目下的文章列表和所有一级栏目信息数子栏目信息数量

    常见问题FAQ

    免费下载或者VIP会员专享资源能否直接商用?
    本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。
    提示下载完但解压或打开不了?
    最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。若排除这种情况,可在对应资源底部留言,或 联络我们.。
    找不到素材资源介绍文章里的示例图片?
    对于PPT,KEY,Mockups,APP,网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。
    模板不会安装或需要功能定制以及二次开发?
    请QQ联系我们

    发表评论

    还没有评论,快来抢沙发吧!

    如需帝国cms功能定制以及二次开发请联系我们

    联系作者

    Warning: Use of undefined constant id - assumed 'id' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/data/tmp/dt_temptext1.php on line 917

    Warning: Use of undefined constant classid - assumed 'classid' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/data/tmp/dt_temptext1.php on line 917

    Warning: Use of undefined constant id - assumed 'id' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/data/tmp/dt_temptext1.php on line 917

    请选择支付方式

    ×

    Warning: Use of undefined constant payname - assumed 'payname' (this will throw an Error in a future version of PHP) in /www/wwwroot/www.tianhao.cc/e/data/tmp/dt_temptext1.php on line 931
    微信支付
    余额支付
    ×
    微信扫码支付 0 元