| Server IP : 180.180.241.3 / Your IP : 216.73.216.35 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /AppServ/www/app/webroot/new_news/wp-content/plugins/foogallery/freemius/templates/debug/ |
Upload File : |
<?php
/**
* @package Freemius
* @copyright Copyright (c) 2015, Freemius, Inc.
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
* @since 1.1.7.3
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
$log_book = FS_Logger::get_log();
?>
<h1><?php fs_echo( 'Log' ) ?></h1>
<table class="widefat" style="font-size: 11px;">
<thead>
<tr>
<th>#</th>
<th><?php fs_echo( 'id' ) ?></th>
<th><?php fs_echo( 'type' ) ?></th>
<th><?php fs_echo( 'function' ) ?></th>
<th><?php fs_echo( 'message' ) ?></th>
<th><?php fs_echo( 'file' ) ?></th>
<th><?php fs_echo( 'timestamp' ) ?></th>
</tr>
</thead>
<tbody>
<?php $i = 0;
foreach ( $log_book as $log ) : ?>
<?php
/**
* @var FS_Logger $logger
*/
$logger = $log['logger'];
?>
<tr<?php if ( $i % 2 ) {
echo ' class="alternate"';
} ?>>
<td><?php echo $log['cnt'] ?>.</td>
<td><?php echo $logger->get_id() ?></td>
<td><?php echo $log['log_type'] ?></td>
<td><b><code style="color: blue;"><?php echo ( ! empty( $log['class'] ) ? $log['class'] . $log['type'] : '' ) . $log['function'] ?></code></b></td>
<td>
<?php
printf(
'<a href="#" style="color: darkorange !important;" onclick="jQuery(this).parent().find(\'div\').toggle(); return false;"><nobr>%s</nobr></a>',
esc_html( substr( $log['msg'], 0, 32 ) ) . ( 32 < strlen( $log['msg'] ) ? '...' : '' )
);
?>
<div style="display: none;">
<b style="color: darkorange;"><?php echo esc_html( $log['msg'] ) ?></b>
</div>
</td>
<td><?php
if ( isset( $log['file'] ) ) {
echo substr( $log['file'], $logger->get_file() ) . ':' . $log['line'];
}
?></td>
<td><?php echo number_format( 100 * ( $log['timestamp'] - WP_FS__SCRIPT_START_TIME ), 2 ) . ' ' . fs_text( 'ms' ) ?></td>
</tr>
<?php $i ++; endforeach ?>
</tbody>
</table>