<delect id="sj01t"></delect>
  1. <em id="sj01t"><label id="sj01t"></label></em>
  2. <div id="sj01t"></div>
    1. <em id="sj01t"></em>

            <div id="sj01t"></div>
            php語言

            phpcms頻道首頁調用所有一級二級欄目

            時間:2025-03-13 14:00:29 php語言 我要投稿
            • 相關推薦

            phpcms頻道首頁調用所有一級二級欄目

              學習是要持之以恒的一件事,堅持就是勝利!以下百分網小編整理的關于phpcms頻道首頁調用所有一級二級欄目的方法,希望對大家有所幫助,更多信息請關注應屆畢業生網!
              打開phpcms頻道首頁模板index.html
              你會看到:
              CODE: [Copy to clipboard] <!--自定義欄目開始-->
              <table width="100%" cellspacing="0" cellpadding="0">
              {loop $childcats $i $cat}
              {if $i%2==0}<tr>{/if}
              <td valign="top" style="padding:0 5px;">
              <table width="100%" cellspacing="0" cellpadding="0">
              <tr>
              <td class="titlebar" width="100">{$cat[catname]}</td>
              <td width="10" height="25"><img src="{$skindir}/images/tit3_r.jpg"></td>
              <td width="225" align="right" class="bg_titlebar"><a href="{$cat[caturl]}" class="more">更多</a>&nbsp;</td>
              <td width="36"><img src="{$skindir}/images/tit2_r.jpg"></td>
              </tr>
              </table>
              {$articlelist(0,$channelid,$cat[catid],1,0,0,10,30,0,0,0,$cat[ordertype],2,1,0,0,$cat[target],1)}
              </td>
              {if $i%2==1}</tr>{/if}
              {/loop}
              </table>
              <!--自定義欄目結束--> 把他換成
              CODE: [Copy to clipboard] <!--自定義欄目開始-->
              <table width="100%" cellspacing="0" cellpadding="0">
              {loop $childcats $i $cat}
              {if $i%2==0}<tr>{/if}
              <td valign="top" style="padding:0 5px;">
              <table width="100%" cellspacing="0" cellpadding="0">
              <tr>
              <td class="titlebar" width="100">{$cat[catname]}</td>
              <td width="10" height="25"><img src="{$skindir}/images/tit3_r.jpg"></td>
              <td width="225" align="right" class="bg_titlebar"><a href="{$cat[caturl]}" class="more">更多</a>&nbsp;</td>
              <td width="36"><img src="{$skindir}/images/tit2_r.jpg"></td>
              </tr>
              </table>
              {loop get_childcat($channelid,$cat[catid]) $childid}
              &nbsp;&nbsp;<a href="{$childid[caturl]}">{$childid[catname]}</a>
              {$articlelist(0,$channelid,$childid[catid],1,0,0,10,36,0,0,0,$childcat[itemordertype],2,0,0,0,1,1)}
              {/loop}
              </td>
              {if $i%2==1}</tr>{/if}
              {/loop}
              </table>
              <!--自定義欄目結束--> 具體怎么做的美觀點大家自由發揮了~~

            【phpcms頻道首頁調用所有一級二級欄目】相關文章:

            phpcms圖片頻道模板制作08-04

            phpcms下載頻道的模板制作08-03

            PHPCMS系統安全設置步驟07-03

            java調用的方法09-04

            PHPCms內容頁支持JavaScript的修改方法09-09

            PHP學習:修改phpcms中的評論樣式11-03

            PHP學習:修改phpcms中的評論樣式08-19

            PHP調用的C代碼08-05

            java調用的幾個方法07-27

            <delect id="sj01t"></delect>
            1. <em id="sj01t"><label id="sj01t"></label></em>
            2. <div id="sj01t"></div>
              1. <em id="sj01t"></em>

                      <div id="sj01t"></div>
                      黄色视频在线观看