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

{block:extop}<?php
$key = empty($this->key) ? 'down' : $this->key;
$kar = array(
    'down' => '下载安装',
    'files' => '文件结构',
    'udirs' => '目录规划',
    'class' => '类库函数',
    'dbtab' => '数据库结构',
    'names' => '重要术语',
    'hello' => 'Hello World!',
);
$subs = tex('texBase')->docer("d_start/doc_$key");
$sub = req('sub','');
$titletop = (empty($kar[$key]) ? $key : $kar[$key]).'-快速开始';
$titlesub = empty($kar[$key]) ? $key : $kar[$key]; 
?>{/block:extop}

{block:exbar}{/block:exbar}

{block:exmain}
    
    <?php foreach($subs as $k=>$v){ ?>
    <ul id="s_{=$k}" class="mod-section">
      <li class="type">{=$_cbase['sys_name']} {=$v[title]} <span class="right">--- <a href="#">[Top]</a></span></li>
      {=$v[detail]}
    </ul>
    <?php } ?>

{/block:exmain}
