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/dynamicobjects/table.php
<div class="text-large uppercase fore-mute-dark margin-bottom"><?php echo $title ?></div>
<table class="margin-bottom-2">
	<thead>
		<th class="no-phone fore-color-1 border-bottom-2 border-mute-light"><?php echo $page ? l10n("dynamicobj_page", "Page") : l10n("dynamicobj_template", "Header/Footer") ?></th>
		<th class="fore-color-1 border-bottom-2 border-mute-light"><?php echo l10n("dynamicobj_object", "Object") ?></th>
		<th class="no-phone fore-color-1 border-bottom-2 border-mute-light"><?php echo l10n("dynamicobj_content", "Content") ?></th>
		<th class="fore-color-1 border-bottom-2 border-mute-light"></th>
	</thead>
<?php if (count($dynamicobjects) == 0) : ?>
	<tr>
		<td colspan="4" class="text-center"><?php echo l10n('search_empty', 'Empty results') ?></td>
	</tr>
<?php else: ?>
<?php $i = 0; foreach ($dynamicobjects as $objId => $obj): $i++; ?>
	<tr class="<?php echo $i % 2 == 0 ? "background-blue-light" : "" ?>">
		<td class="no-phone border-left border-bottom border-mute-light"><?php echo $page ? $obj['PageTitle'] : ucwords(strtolower($obj['type'])) ?></td>
		<td class="border-bottom border-mute-light"><?php echo (strlen($obj['ObjectTitle']) ? $obj['ObjectTitle'] : $obj['ObjectId']) ?></td>
		<td class="no-phone border-bottom border-mute-light text-ellipsis"><?php echo Configuration::getDynamicObject($obj['FileId'])->getContent() ?></td>
		<td class="border-right border-bottom border-mute-light text-right">
			<a href="<?php echo $obj['Page'] . "#" . $obj['ObjectId'] ?>"<?php echo isset($redirectJs) ? $redirectJs : "" ?> target="_blank" class="fa icon-large fa-search fore-mute"></a>
		</td>
	</tr>
<?php endforeach; ?>
<?php endif; ?>
</table>