oms-Marketing/Theme/Backend/event-list.tpl.php
2017-11-05 13:09:39 +01:00

51 lines
1.7 KiB
PHP

<?php
/**
* Orange Management
*
* PHP Version 7.1
*
* @category TBD
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://website.orange-management.de
*/
$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response);
$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig');
$footerView->setPages(20);
$footerView->setPage(1);
echo $this->getData('nav')->render(); ?>
<div class="row">
<div class="col-xs-12">
<div class="box wf-100">
<table class="table red">
<caption><?= $this->getHtml('Events'); ?></caption>
<thead>
<tr>
<td><?= $this->getHtml('Status') ?>
<td><?= $this->getHtml('Type') ?>
<td class="wf-100"><?= $this->getHtml('Title') ?>
<td><?= $this->getHtml('Start') ?>
<td><?= $this->getHtml('End') ?>
<td><?= $this->getHtml('Location') ?>
<td><?= $this->getHtml('Expenses') ?>
<td><?= $this->getHtml('Sales') ?>
<td><?= $this->getHtml('Budget') ?>
<tfoot>
<tr>
<td colspan="9"><?= $footerView->render(); ?>
<tbody>
<?php $count = 0; foreach ([] as $key => $value) : $count++; ?>
<?php endforeach; ?>
<?php if ($count === 0) : ?>
<tr><td colspan="9" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
<?php endif; ?>
</table>
</div>
</div>
</div>