<? if ( is_array( $this -> _pages ) ):?>
  <ol>
    <? foreach ( $this -> _pages as $page ):?>
    <li id="list_<?= $page['id'];?>" idk="<?= $page['id'];?>" class="list_<?= $page['id'];?>" menu="<?= $page['id_menu'];?>">
      <div class="content content_page" <? if ( !$page['enabled'] ) echo 'style="color: #cc0000;"';?>>
        <span class="disclose"><span></span></span>
        <?= $page['title'];?>
      </div>
      <?
      if ( is_array( $page['subpages'] ) )
        echo \admin\view\Pages::drawSubpages( $page['subpages'], $page['id'] );
      ?>
    </li>
    <? endforeach;?>
  </ol>
<? endif;?>