Файловый менеджер - Редактировать - /var/www/iplanru/data/www/i-plan.ru/components/com_pay/views/discounts/tmpl/default.php
Назад
<?php // No direct access defined( '_JEXEC' ) or die; JHtml::_('bootstrap.tooltip'); JHtml::_( 'behavior.multiselect' ); JHtml::_( 'dropdown.init' ); JHtml::_('formbehavior.chosen', 'select'); $user = JFactory::getUser(); $userId = $user->get( 'id' ); /* <th class="nowrap center hidden-phone"><?php echo JHtml::_('grid.sort', 'Дата выдачи', 'date_issue', $listDirn, $listOrder); ?></th> <th class="nowrap center hidden-phone"><?php echo JHtml::_('grid.sort', 'Дата использ.', 'date_use', $listDirn, $listOrder); ?></th> <th class="nowrap center hidden-phone"><?php echo JHtml::_('grid.sort', 'Дата окончания', 'date_finish', $listDirn, $listOrder); ?></th> */ ?> <form action="<?php echo JRoute::_( 'index.php?option=com_pay&view=discounts' ); ?>" method="post" name="adminForm" id="adminForm"> <?php if ( !empty( $this->sidebar ) ): ?> <div id="j-sidebar-container" class="span2"> <?php echo $this->sidebar; ?> </div> <div id="j-main-container" class="span10"> <?php else : ?> <div id="j-main-container"> <?php endif; ?> <table class="table table-striped" id="articleList" width=100% > <thead> <tr> <th width="1%" class="nowrap"><?php echo JText::_('ID'); ?></th> <th class="nowrap center hidden-phone"><?php echo JText::_('Промо-код'); ?></th> <th class="nowrap center hidden-phone"><?php echo JText::_('Клиент 1'); ?></th> <th class="nowrap center hidden-phone"><?php echo JText::_('Клиент 2'); ?></th> <th class="nowrap center hidden-phone"><?php echo JText::_('Даты'); ?></th> <th class="nowrap center hidden-phone"><?php echo JText::_('Коэф'); ?></th> </tr> </thead> <tbody> <?php foreach ( $this->items as $i => $item ) : $item->max_ordering = 0; $ordering = ( $listOrder == 'a.ordering' ); $canEdit = $user->authorise( 'core.edit', '#__pay_discounts.' . $item->id ); $canCheckin = $user->authorise( 'core.manage', 'com_pay' ) || $item->checked_out == $userId || $item->checked_out == 0; $canEditOwn = $user->authorise( 'core.edit.own', '#__pay_discounts.' . $item->id ); $canChange = $user->authorise( 'core.edit.state', '#__pay_discounts.' . $item->id ) && $canCheckin; ?> <tr class="row<?php echo $i % 2; ?>"> <td class="center hidden-phone"><?php echo (int)$item->id; ?></td> <td><?php echo $item->code; ?></td> <td> <?php if ($item->id1) echo "<b>ID: </b>{$item->id1}<br>"; if ($item->fio1) echo "<b>ФИО: </b>{$item->fio1}<br>"; if ($item->mail1) echo "<b>Mail: </b>{$item->mail1}<br>"; if ($item->tel1) echo "<b>Тел.: </b>{$item->tel1}<br>"; ?> </td> <td> <?php if ($item->id2) echo "<b>ID: </b>{$item->id2}<br>"; if ($item->fio2) echo "<b>ФИО: </b>{$item->fio2}<br>"; if ($item->mail2) echo "<b>Mail: </b>{$item->mail2}<br>"; if ($item->tel2) echo "<b>Тел.: </b>{$item->tel2}<br>"; ?> </td> <td> <div title="В - Дата выдачи И - Дата использования О - Дата окончания"> <b>В</b> <?php echo $item->date_issue; ?><br> <b>И</b> <?php if($item->date_use<>"0000-00-00 00:00:00") echo $item->date_use; else echo "Не активирован"; ?><br> <b>О</b> <?php echo $item->date_finish; ?> </div> </td> <td><?php echo $item->discount; ?></td> </tr> <?php endforeach; ?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <div> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <?php echo JHtml::_( 'form.token' ); ?> </div> </div> </form>
| ver. 1.4 |
Github
|
.
| PHP 5.4.45-1~dotdeb+6.1 | Генерация страницы: 0.02 |
proxy
|
phpinfo
|
Настройка