<div class='side-col'>
  <div class='panel'>
    <div class='panel-body'>
      <nav class='menu leftmenu'>
        <ul class='nav nav-primary'>
          <?php foreach($lang->score->rankList as $rankType => $label):?>
          <li <?php if($rankType == $type) echo "class='active'";?>><?php echo html::a(inlink('rank', "type={$rankType}"), $label);?></li>
          <?php endforeach;?>
        </ul>
      </nav>
    </div>
  </div>
</div>
