<div class="plate">
    <div class="plate_ttl __secondary ic_user"><h1><?=$this->PAGE['name']?></h1></div>
    <div class="bttns-wrap"><a href="#create_user" data-width="800" data-height="600" class="open-dialog btn __primary ic_add" data-title="Добавить нового пользователя">Добавить нового пользователя</a></div>
    <?if($this->getList){?>
		<table class="tbl-base  __stripe">
	    <?foreach ($this->getList['result'] as $val) {?>
	        <tr>
	            <td><a href="#edit_user" data-id="<?=$val['id']?>"><?=$val['fio']?></a></td>
	            <td><?=$val['email']?></td>
	            <td><span class="__<?=$val['type']?>"><?=$this->type_user($val['type'])?></span></td>
	            <td class="remove-td"><a href="#delete_user" data-id="<?=$val['id']?>" class="remove_btn"></a></td>
	        </tr>
	    <?}?>
    </table>
    <?$this->display("block/pages",false);?>
    <?}?>
</div>
<div id="create_user" class="popup">
	<?$this->display("form/user",false);?>
</div>