mirror of
https://github.com/avecms/AVE.cms.git
synced 2025-01-22 15:30:07 +00:00
92 lines
2.9 KiB
Smarty
92 lines
2.9 KiB
Smarty
<script language="javascript">
|
||
$(document).ready(function(){ldelim}
|
||
|
||
$(".ConfirmLogClear").click(function(e){ldelim}
|
||
e.preventDefault();
|
||
var href = $(this).attr('href');
|
||
var title = '{#LOGS_BUTTON_DELETE#}';
|
||
var confirm = '{#LOGS_DELETE_CONFIRM#}';
|
||
jConfirm(
|
||
confirm,
|
||
title,
|
||
function(b){ldelim}
|
||
if (b){ldelim}
|
||
window.location = href;
|
||
{rdelim}
|
||
{rdelim}
|
||
);
|
||
{rdelim});
|
||
|
||
$(".show_full").click(function(event) {ldelim}
|
||
event.preventDefault();
|
||
$(this).next('.full_error').slideToggle('fast');
|
||
{rdelim});
|
||
|
||
{rdelim});
|
||
|
||
</script>
|
||
|
||
|
||
<div class="title"><h5>{#LOGS_404_SUB_TITLE#}</h5></div>
|
||
|
||
<div class="widget" style="margin-top: 0px;">
|
||
<div class="body">
|
||
{#LOGS_404_TIP#}
|
||
</div>
|
||
</div>
|
||
|
||
<div class="breadCrumbHolder module">
|
||
<div class="breadCrumb module">
|
||
<ul>
|
||
<li class="firstB"><a href="index.php" title="{#MAIN_PAGE#}">{#MAIN_PAGE#}</a></li>
|
||
<li><a href="index.php?do=logs&cp={$sess}">{#LOGS_SUB_TITLE#}</a></li>
|
||
<li>{#LOGS_404_SUB_TITLE#}</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="widget first">
|
||
<ul class="inact_tabs">
|
||
<li><a href="index.php?do=logs&cp={$sess}">{#LOGS_TITLE#}</a></li>
|
||
<li class="activeTab"><a href="index.php?do=logs&action=log404&cp={$sess}">{#LOGS_404_SUB_TITLE#}</a></li>
|
||
<li><a href="index.php?do=logs&action=logsql&cp={$sess}">{#LOGS_SQL_SUB_TITLE#}</a></li>
|
||
</ul>
|
||
<table cellpadding="0" cellspacing="0" width="100%" class="display" id="dinamTable">
|
||
<col width="5%">
|
||
<col width="10%">
|
||
<col width="15%">
|
||
<col width="70%">
|
||
<thead>
|
||
<tr>
|
||
<th width="5%">{#LOGS_404_ID#}</th>
|
||
<th width="10%">{#LOGS_404_IP#}</th>
|
||
<th width="15%">{#LOGS_404_DATE#}</th>
|
||
<th width="70%">{#LOGS_404_ACTION#}</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
{foreach from=$logs key=k item=log}
|
||
<tr class="gradeA">
|
||
<td align="center">{$k}</td>
|
||
<td align="center">{$log.log_ip}</td>
|
||
<td align="center"><span class="date_text dgrey">{$log.log_time|date_format:$TIME_FORMAT|pretty_date}</span></td>
|
||
<td>
|
||
<strong class="code">REQUEST_URI</strong>: {$log.log_request_uri|urldecode}
|
||
<br/>
|
||
<a class="show_full" href="javascript:void(0);">Полная информация об ошибке</a>
|
||
|
||
<div class="full_error" style="display: none;">
|
||
<strong class="code">HTTP_USER_AGENT</strong>: {$log.log_user_agent}<br/>
|
||
<strong class="code">HTTP_REFERER</strong>: {$log.log_user_referer|urldecode|default:'None'}<br/>
|
||
<strong class="code">QUERY_STRING</strong>: {$log.log_query|urldecode}
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
{/foreach}
|
||
</tbody>
|
||
</table>
|
||
<div class="body aligncenter">
|
||
{if check_permission('logs_clear')}<input href="index.php?do=logs&action=delete404&cp={$sess}" type="button" class="basicBtn ConfirmLogClear" value="{#LOGS_404_BUTTON_DELETE#}" />{/if}
|
||
<input onclick="location.href='index.php?do=logs&action=export404&cp={$sess}'" class="redBtn" type="button" value="{#LOGS_BUTTON_EXPORT_404#}" />
|
||
</div>
|
||
</div> |