EIOS/tpl/tpl_setting_logs.html

59 lines
1.8 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!-- BEGIN PAGE HEADER-->
<div class="row-fluid">
<div class="span12">
<h3 class="page-title">Просмотр логов сайта</h3>
<ul class="breadcrumb">
<li><a href="/">Главная</a><span class="divider">/</span></li>
<li class="active"><a href="/alneo/logs/">Логи сайта</a></li>
</ul>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<div class="row-fluid">
<div class="span12">
<div class="row-fluid">
<div class="widget green">
<div class="widget-title">
<h4><i class="icon-reorder"></i> Логи сайта </h4>
<span class="tools"><a href="javascript:;" class="icon-chevron-down"></a></span>
</div>
<div class="widget-body">
{if count($logs)>0}
<h3>Статистика использования ресурса</h3>
<form method="POST">
<input type="TEXT" name="search_fio" value="{$search_fio}">или/и
<input type="TEXT" name="search_data1" value="{if $data1==0}{date('H:i:s d.m.Y')}{else}{date('H:i:s d.m.Y',$data1)}{/if}" placeholder="Начальная дата">
<input type="TEXT" name="search_data2" value="{if $data2==0}{date('H:i:s d.m.Y')}{else}{date('H:i:s d.m.Y',$data2)}{/if}" placeholder="Конечная дата">
<input type="SUBMIT" name="search_go" value="Искать">
</form>
<table class="table table-striped table-bordered table-advance table-hover">
<thead>
<tr>
<th width="20%">Дата</th>
<th width="80%">Событие</th>
</tr>
</thead>
<tbody>
{foreach from=$logs item=log}
<tr>
<td>{$log.data_c}</td>
<td>{$log.message}</td>
</tr>
{/foreach}
</tbody>
</table>
{/if}
</div>
</div>
</div>
</div>
</div>
</div>
</div>