<?php
/**
 * The side view file of commission module of ZDOO.
 *
 * @copyright   Copyright 2009-2016 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     商业软件，非开源软件
 * @author      Gang Liu <liugang@cnezsoft.com>
 * @package     commission 
 * @version     $Id$
 * @link        http://www.zdoo.com
 */
?>
<div class='side-col col-2'>
  <div class='panel'>
    <div class='panel-body'>
      <nav class='menu leftmenu'>
        <ul class='nav nav-primary'>
          <?php foreach($lang->commission->modeList as $key => $value):?>
          <?php $class = $mode == $key ? "class='active'" : '';?>
          <?php echo "<li $class>" . html::a(inlink('setting', "mode={$key}"), $value) . '</li>';?>
          <?php endforeach;?>
        </ul>
      </nav>
    </div>
  </div>
</div>
