<!DOCTYPE html><html><head>
{block:extop}<?php
$subs = array(
    'sub1' =>'Section1',
    'sub2' =>'Section2',
    'sub3' =>'Section3',
);
$sub = req('sub','down');
$titletop = 'Main Title';
$titlesub = 'Sub Title';
?>{/block:extop}
{php $this->pmeta($titletop); }
{php}
eimp('initJs','jquery,bootstrap;comm');
eimp('initCss','bootstrap,stpub;comm');
{/php}
{block:eximp}{/block:eximp}
</head><body>
{inc:"c_pub/ahead"}
{inc:"c_pub/amenu"}

<div class="row">
  <div class="col-md-9">
    <div class="mod-tbar">
    <i class="title">{=$titlesub}</i>
    <i class="right">{block:exbar}
    <?php foreach($subs as $k=>$v){ $title = isset($v['title']) ? $v['title'] : $v; ?>
    <a href="#s_{=$k}" {if $sub==$k}class='act'{/if}>{= $title}</a>
    <?php } ?>
    {/block:exbar}</i>
    </div>
    <!--main_start-->
    {block:exmain}main_info{/block:exmain}
    <!--main_end-->
  </div>
  <div class="col-md-3">
    <!--main_start-->
    <div class="left-15">
        {inc:"c_pub/aside"}
    </div>
    <!--main_end-->  
  </div>
</div>

{inc:"c_pub/afoot"}
{block:exfoot}{/block:exfoot}
</body></html>
