HEX
Server: LiteSpeed
System: Linux melbournecleaninggroup 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: www-data (33)
PHP: 7.3.33-1+focal
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: /var/www/html/wp-content/plugins/dologin/tpl/log.tpl.php
<?php
namespace dologin;
defined( 'WPINC' ) || exit;

$list = $this->cls( 'Auth' )->history_list( 20 );
$count = $this->cls( 'Auth' )->count_list();
$pagination = Util::pagination( $count, 20 );
?>
<div class="dologin-relative">
	<h3 class="dologin-title-short">
		<?php echo __( 'Login Attempts Log', 'dologin' ); ?>
	</h3>

	<div class="dologin-float-submit">
		<a href="<?php echo Util::build_url( Router::ACTION_AUTH, Auth::TYPE_CLEAR_LOG ); ?>" class="button dologin-btn-warning"><?php echo __( 'Clear records older than one month', 'dologin' ); ?></a>
	</div>
</div>

<?php echo __( 'Total', 'dologin' ) . ': ' . $count; ?>

<?php echo $pagination; ?>

<table class="wp-list-table widefat striped">
	<thead>
	<tr>
		<th>#</th>
		<th><?php echo __( 'Date', 'dologin' ); ?></th>
		<th><?php echo __( 'IP', 'dologin' ); ?></th>
		<th><?php echo __( 'GeoLocation', 'dologin' ); ?></th>
		<th><?php echo __( 'Login As', 'dologin' ); ?></th>
		<th><?php echo __( 'Gateway', 'dologin' ); ?></th>
	</tr>
	</thead>
	<tbody>
	<?php foreach ( $list as $v ) : ?>
		<tr>
			<td><?php echo $v->id; ?></td>
			<td><?php echo Util::readable_time( $v->dateline ); ?></td>
			<td><?php echo $v->ip; ?></td>
			<td><?php echo $v->ip_geo; ?></td>
			<td><?php echo $v->username; ?></td>
			<td><?php echo $v->gateway; ?></td>
		</tr>
	<?php endforeach; ?>
	</tbody>
</table>

<?php echo $pagination; ?>