{imp:"c_pub/alay_main"}<!--继承父模板-->

{block:extop}
<?php
$titletop = '站点导航';
$titlesub = '站点导航';
$mods = array(
  'start' => '快速开始',
  'tpltag' => '模板标签',
  'dev2nd' => '二次开发',
  'advset' => '系统参数',
  //'tester' => '测试代码',
);
?>
{/block:extop}

{block:eximp}{php}
eimp('initJs','jquery;comm');
eimp('initCss','bootstrap,stpub;comm;info');
{/php}{/block:eximp}

{block:exbar}
    <a href="#">子标题(类别)有没有</a>
{/block:exbar}    

{block:exmain}

    {loop $mods $mod $mv}
    {php $vcfg = glbConfig::vcfg($mod); unset($vcfg['c'],$vcfg['m'],$vcfg['d']); }
    <ul class="info-nav">
      <li class="type"><a href="{surl($mod,-);}">{=$mod}:{=$mv}</a></li>
      {loop $vcfg $key $val}
      {php $ktitle = tex('texBase')->getKeyTitle($mod,$key); }
      <li><a href="{surl("$mod-$key")}">{=$key} : {=$ktitle}</a></li>
      {/loop}
    </ul>
    {/loop}

    <ul class="info-nav">
    <li class="type">info:扩展信息</li>
    <li><a href="{surl(info)}">map:站点导航</a></li>
    <li><a href="{surl(info-help)}">help:捐赠贡献</a></li>
    <li><a href="{surl(info-gbook)}">gbook:留言问答</a></li>
    <li><a href="{surl(info-coder)}">coder:源代码器</a></li>
    <li><a href="{surl(demo)}">demo:演示文档</a></li>
    </ul>

    {code:"dev:tools/a-cfgs"}
    <ul class="info-nav">
      <li class="type"><a href="{surl(tools)}">贴心工具</a></li>
      <?php foreach($cfgs as $key=>$val){ ?>
      <li><a href="{surl("tools-$key")}">{=$key} : {=$val['mt']}</a></li>
      <?php } ?>
    </ul>

    {code:"dev:d_uplog/a_cfgs"}
    <ul class="info-nav">
      <li class="type"><a href="{surl(uplog)}">版本发布</a></li>
      <?php foreach($cfgs as $key=>$val){ ?>
      <li><a href="{surl("uplog-$key")}">{=$val[0]} : {=$val[1]}</a></li>
      <?php } ?>
    </ul>

{/block:exmain}

{block:exfoot}
<script>_cbase.jsrun.menuid='snav';</script>
{/block:exfoot}
