<ul class="nav nav-tabs">
<li <?php if (get ( 'm' ) == 'admin' && get ( 'a' ) == 'list'): ?> class="active"<?php endif; ?>><a href="<?php echo APPADMIN; ?>?m=admin&a=list">管理员</a></li>
<li  <?php if (get ( 'm' ) == 'admin' && get ( 'a' ) == 'add'): ?> class="active"<?php endif; ?>><a href="<?php echo APPADMIN; ?>?m=admin&a=add">添加管理员</a></li>
<li <?php if (get ( 'm' ) == 'admin_admingroup' && ( get ( 'a' ) == 'default' || get ( 'a' ) == '' )): ?> class="active"<?php endif; ?>><a href="<?php echo APPADMIN; ?>?m=admin_admingroup">管理组</a></li>
<li <?php if (get ( 'm' ) == 'admin_admingroup' && get ( 'a' ) == 'add'): ?> class="active"<?php endif; ?>><a href="<?php echo APPADMIN; ?>?m=admin_admingroup&a=add">添加管理组</a></li>
</ul>