Server : LiteSpeed System : Linux server 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 User : alsaif ( 1057) PHP Version : 7.4.33 Disable Function : show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/alsaif/public_html/components/com_convertforms/views/submissions/tmpl/ |
<?php
/**
* @package Convert Forms
* @version 4.3.3 Pro
*
* @author Tassos Marinos <info@tassos.gr>
* @link https://www.tassos.gr
* @copyright Copyright © 2023 Tassos All Rights Reserved
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later
*/
defined('_JEXEC') or die;
?>
<table>
<thead>
<tr>
<th><?php echo JText::_('COM_CONVERTFORMS_ID') ?></th>
<th><?php echo JText::_('COM_CONVERTFORMS_CREATED') ?></th>
<th><?php echo JText::_('JSTATUS') ?></th>
<th width="70px"></th>
</tr>
</thead>
<?php foreach ($this->submissions as $submission) { ?>
<tr>
<td><a href="<?php echo $submission->link ?>"><?php echo $submission->id ?></a></td>
<td><?php echo $submission->created ?></td>
<td>
<?php
$badge = 'bg-' . ($submission->state == '1' ? 'success' : 'danger');
if (!defined('nrJ4'))
{
$badge = 'badge-' . ($submission->state == '1' ? 'success' : 'important');
}
?>
<span class="badge <?php echo $badge ?>">
<?php echo JText::_(($submission->state == '1' ? 'COM_CONVERTFORMS_SUBMISSION_CONFIRMED' : 'COM_CONVERTFORMS_SUBMISSION_UNCONFIRMED')) ?>
</span>
</td>
<td><a class="btn btn-secondary btn-small" href="<?php echo $submission->link ?>">View</a></td>
</tr>
<?php } ?>
</table>
<?php if ($this->pagination && $pagination = $this->pagination->getPagesLinks()) { ?>
<div class="pagination">
<?php echo $pagination; ?>
<div class="pagecounter">
<?php echo $this->pagination->getPagesCounter(); ?>
</div>
</div>
<?php } ?>