<?php echo $this->render('admin/header.phtml'); ?>


<div class="container">		

<?php echo $this->render('admin/menu.phtml'); ?>

<?php echo $this->render('admin/usersmenu.phtml'); ?>

<div class="row">
		<div class="col-xs-6 col-sm-6 col-md-6">
			<h3><?php echo @Lib_Lang::translate(admin_users_historylog); ?></h3>
			<h4><?php echo$this->userData['admin_firstname'].' '.$this->userData['admin_secondname']; ?></h4>
		</div>
		<div class="col-xs-6 col-sm-6 col-md-6 text-right">
			<?php echo @Lib_Lang::translate(admin_users_stat_option); ?> <a href="<?php echo @$this->url(array('controller' => 'admin', 'action' => 'usersedit', 'id' => $this->userData['admin_id']), 'default', true); ?>" class="btn btn-primary btn-sm"><i class='fa fa-edit'></i> <?php echo @Lib_Lang::translate(admin_users_edit); ?></a>
		</div>
</div>
		
<div class="col-xs-12 col-sm-12 col-md-12">
<?php echo $this->render('admin/module_page.phtml'); ?>
<table class="table table-striped table-bordered table-hover">
	<thead>
		<tr>
			<th><?php echo @Lib_Lang::translate(admin_history_lp); ?></th>
			<th><?php echo @Lib_Lang::translate(admin_history_date); ?></th>
			<th><?php echo @Lib_Lang::translate(admin_history_ip); ?></th>
			<th><?php echo @Lib_Lang::translate(admin_history_host); ?></th>
		</tr>
	</thead>
	<tbody>
	<?php $i=$this->escape($this->page); foreach ($this->dataTable as $key => $val): $i=$i+1;?>
		<tr>
			<td><?php echo $i.'.'; ?></td>
			<td><?php echo $this->escape($val['history_log_date']); ?></td>
			<td><?php echo $this->escape($val['history_log_ip']) ?></td>
			<td><?php echo $this->escape($val['history_log_host']) ?></td>
		</tr>
	<?php endforeach; ?>
	</tbody>
</table>	
<?php echo $this->render('admin/module_page.phtml'); ?>
</div>
		
</div>

<?php echo $this->render('admin/footer.phtml'); ?>