Last active
November 20, 2019 05:29
-
-
Save ammaridris/9d0ccba787df14cb259408fe594ca40d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php defined('_JEXEC') or die; ?> | |
<form action="<?php echo htmlspecialchars(JUri::getInstance()->toString()); ?>" method="post" name="adminForm" id="adminForm"> | |
<?php if ($this->params->get('filter_field') || $this->params->get('show_pagination_limit')) : ?> | |
<input | |
type="text" | |
name="filter-search" | |
id="filter-search" | |
value="<?php echo $this->escape($this->state->get('list.filter')); ?>" | |
class="inputbox" | |
onchange="document.adminForm.submit();" | |
title="<?php echo JText::_('COM_CONTACT_FILTER_SEARCH_DESC'); ?>" | |
placeholder="<?php echo JText::_('COM_CONTACT_FILTER_SEARCH_DESC'); ?>" | |
/> | |
<?php endif; ?> | |
<?php if(empty($this->items)) : ?> | |
<div class="uk-alert uk-alert-danger" data-uk-alert=""> | |
<a class="uk-alert-close uk-close"></a> | |
<?php echo JText::_('COM_CONTACT_NO_CONTACTS'); ?></div> | |
<?php else : ?> | |
<table class="uk-table uk-table-hover uk-table-striped"> | |
<thead> | |
<th class="uk-text-left">Nama</th> | |
<th class="uk-text-left">Jawatan</th> | |
<th width="110">Telefon</th> | |
<th width="110">No. Faks</th> | |
<th class="uk-text-left">E-Mel</th> | |
</thead> | |
<tbody> | |
<?php foreach($this->items as $i => $item) : ?> | |
<tr> | |
<td class="uk-text-left"> | |
<?php echo $item->name; ?> | |
</td> | |
<td class="uk-text-left"> | |
<?php echo $item->con_position; ?> | |
</td> | |
<td> | |
<?php echo $item->telephone; ?> | |
</td> | |
<td> | |
<?php echo $item->fax; ?> | |
</td> | |
<td class="uk-text-left"> | |
<a href="mailto:<?php echo $item->email_to; ?>"> | |
<?php echo $item->email_to; ?> | |
</a> | |
</td> | |
</tr> | |
<?php endforeach; ?> | |
</tbody> | |
</table> | |
<?php endif; ?> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment