QCMS

全站底部导航标签

全站导航标签 :

$this->Web['Footer'] (数组对象)



导航下的字段说明:

'Pic' => '', //图片地址
'Title' => 'Sunglasses', //导航名称
'Url' => '#', //导航网址
'Sub' => array(), //子导航


演示DEMO

<ul>
<?
foreach ($Footer as $k => $v) {
    echo '<a href="'.$v['Url'].'"'>'.$v['Title'].'</a>';
    if(!empty($v['Sub'])){
         echo '<ul>';
             foreach($v['Sub'] as $val){
                   echo '<a href="'.$val['Url'].'"'>'.$val['Title'].'</a>';
             }
         echo '</ul>';
    }
}
?>
</ul>


结构演示:


0 => 
  array (
    'FooterId' => '1',
    'ParentFooterId' => '0',
    'ShopId' => '1',
    'IsPic' => '',
    'Pic' => '',
    'Title' => 'Sunglasses',
    'Url' => '#',
    'IsBlank' => '2',
    'Sort' => '99',
    'Sub' => 
    array (
      0 => 
      array (
        'FooterId' => '7',
        'ParentFooterId' => '1',
        'ShopId' => '1',
        'IsPic' => '2',
        'Pic' => '',
        'Title' => '随着故事营销理念的逐渐兴起,品牌故事与品牌形象之间的关系已经愈发得到重视。选择能彰显你个人品牌的故事,并且表现出你的激情和个性。',
        'Url' => '#',
        'IsBlank' => '2',
        'Sort' => '99',
      ),
    ),
  ),
  1 => 
  array (
    'FooterId' => '3',
    'ParentFooterId' => '0',
    'ShopId' => '1',
    'IsPic' => '',
    'Pic' => '',
    'Title' => '网站首页',
    'Url' => '#',
    'IsBlank' => '2',
    'Sort' => '99',
    'Sub' => 
    array (
      0 => 
      array (
        'FooterId' => '8',
        'ParentFooterId' => '3',
        'ShopId' => '1',
        'IsPic' => '2',
        'Pic' => '',
        'Title' => '关于我们',
        'Url' => '#',
        'IsBlank' => '2',
        'Sort' => '99',
      ),
      1 => 
      array (
        'FooterId' => '9',
        'ParentFooterId' => '3',
        'ShopId' => '1',
        'IsPic' => '2',
        'Pic' => '',
        'Title' => '特色项目',
        'Url' => '#',
        'IsBlank' => '2',
        'Sort' => '99',
      ),
      2 => 
      array (
        'FooterId' => '10',
        'ParentFooterId' => '3',
        'ShopId' => '1',
        'IsPic' => '2',
        'Pic' => '',
        'Title' => '车体内饰',
        'Url' => '#',
        'IsBlank' => '2',
        'Sort' => '99',
      ),
    ),
  ),
  2 => 
  array (
    'FooterId' => '4',
    'ParentFooterId' => '0',
    'ShopId' => '1',
    'IsPic' => '',
    'Pic' => '',
    'Title' => '新闻资讯',
    'Url' => '#',
    'IsBlank' => '2',
    'Sort' => '99',
    'Sub' => 
    array (
      0 => 
      array (
        'FooterId' => '11',
        'ParentFooterId' => '4',
        'ShopId' => '1',
        'IsPic' => '2',
        'Pic' => '',
        'Title' => '媒体报道',
        'Url' => '#',
        'IsBlank' => '2',
        'Sort' => '99',
      ),
      1 => 
      array (
        'FooterId' => '12',
        'ParentFooterId' => '4',
        'ShopId' => '1',
        'IsPic' => '2',
        'Pic' => '',
        'Title' => '关于装修',
        'Url' => '#',
        'IsBlank' => '2',
        'Sort' => '99',
      ),
      2 => 
      array (
        'FooterId' => '13',
        'ParentFooterId' => '4',
        'ShopId' => '1',
        'IsPic' => '2',
        'Pic' => '',
        'Title' => '最新资讯',
        'Url' => '#',
        'IsBlank' => '2',
        'Sort' => '99',
      ),
    ),
  ),
  3 => 
  array (
    'FooterId' => '5',
    'ParentFooterId' => '0',
    'ShopId' => '1',
    'IsPic' => '',
    'Pic' => '',
    'Title' => '联系我们',
    'Url' => '#',
    'IsBlank' => '2',
    'Sort' => '99',
    'Sub' => 
    array (
      0 => 
      array (
        'FooterId' => '15',
        'ParentFooterId' => '5',
        'ShopId' => '1',
        'IsPic' => '2',
        'Pic' => '',
        'Title' => '021-53555335',
        'Url' => '#',
        'IsBlank' => '2',
        'Sort' => '99',
      ),
      1 => 
      array (
        'FooterId' => '16',
        'ParentFooterId' => '5',
        'ShopId' => '1',
        'IsPic' => '2',
        'Pic' => '',
        'Title' => '762264@qq.com',
        'Url' => '#',
        'IsBlank' => '2',
        'Sort' => '99',
      ),
      2 => 
      array (
        'FooterId' => '17',
        'ParentFooterId' => '5',
        'ShopId' => '1',
        'IsPic' => '2',
        'Pic' => '',
        'Title' => '上海市松江区中山中路 79号 平高世贸中心15层1505室',
        'Url' => '#',
        'IsBlank' => '2',
        'Sort' => '99',
      ),
    ),
  ),
)



域名授权查询

输入您的网址查询是否授权