HEX
Server: Apache/2.4.25 (Debian)
System: Linux server17 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
User: web37 (1062)
PHP: 7.4.30
Disabled: show_source, highlight_file, apache_child_terminate, apache_get_modules, apache_note, apache_setenv, virtual, dl, disk_total_space, posix_getpwnam, posix_getpwuid, posix_mkfifo, posix_mknod, posix_setpgid, posix_setsid, posix_setuid, posix_uname, proc_nice, openlog, syslog, pfsockopen
Upload Files
File: /var/www/web37/htdocs/lovetalk/admin/templates/privatearea/table.php
<table>
	<thead>
		<tr>
			<th class="border-bottom-2 border-mute-light fore-color-1"><?php echo l10n("private_area_username", "Username") ?></th>
			<th class="border-bottom-2 border-mute-light fore-color-1 no-phone"><?php echo l10n("private_area_realname", "Full name") ?></th>
			<th class="border-bottom-2 border-mute-light fore-color-1 no-phone"><?php echo l10n("private_area_email", "Email") ?></th>
			<th class="border-bottom-2 border-mute-light fore-color-1 no-phone no-tablet"><?php echo l10n("private_area_ip", "IP Address") ?></th>
			<th class="border-bottom-2 border-mute-light fore-color-1 no-small-phone"><?php echo l10n("private_area_ts", "Registration date") ?></th>
			<th class="border-bottom-2 border-mute-light fore-color-1 no-phone no-tablet"><?php echo l10n("private_area_status", "Status") ?></th>
			<th class="border-bottom-2 border-mute-light fore-color-1"></th>
		</tr>
	</thead>
	<tbody>
<?php if (count($users) <= 0): ?>
	<tr>
		<td colspan="6" class="text-center"><?php echo l10n('search_empty', 'Empty results') ?></td>
	</tr>
<?php else:?>
	<?php $i = 0; foreach ($users as $user): $i++ ?>
		<tr id="id_<?php echo $user['id']?>" class="<?php echo $i % 2 == 0 ? 'background-blue-light' : '' ?>">
			<td><?php echo $user['username'] ?></td>
			<td class="no-phone"><?php echo $user['realname'] ?></td>
			<td class="no-phone"><?php echo $user['email'] ?></td>
			<td class="no-phone no-tablet"><?php echo $user['ip'] ?></td>
			<td class="no-small-phone"><?php echo $user['ts'] ?></td>
			<?php if ($user['validated']): ?>
			<td class="green no-phone no-tablet"><?php echo l10n("private_area_status_validated", "Validated") ?></td>
			<?php else: ?>
			<td class="no-phone no-tablet"><?php echo l10n("private_area_status_not_validated", "Not validated") ?></td>
			<?php endif; ?>
			<td class="<?php echo $i % 2 ? 'even-dark' : 'odd-dark' ?>">
				<?php if (!$user['validated']): ?>
				<a class="fa margin-left icon-large fa-check fore-green" href="privatearea.php?validate=<?php echo $user['id'] ?>" onclick="return confirm('<?php echo str_replace("'", "\\'", l10n("private_area_confirm_validation", "Do you want to validate this user?")) ?>');" title="<?php echo l10n("private_area_validate_user", "Manually validate this user") ?>"></a>
				<a class="fa margin-left icon-large fa-send fore-green" href="privatearea.php?validationemail=<?php echo $user['id'] ?>" title="<?php echo l10n("private_area_send_validate", "Resend the validation email") ?>"></a>
				<?php endif; ?>
				<a class="fa margin-left icon-large fa-key fore-yellow" href="privatearea.php?passwordemail=<?php echo urlencode($user['username']) ?>" title="<?php echo l10n("private_area_send_password", "Email the password to this user") ?>"></a>
			</td>
		</tr>
	<?php endforeach; ?>
<?php endif; ?>
	</tbody>
</table>