/
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/view.php
(4644B)
<?php /** * @var \App\View\AppView $this * @var \App\Model\Entity\CauseImage $causeImage */ ?> <div class="row"> <aside class="column"> <div class="side-nav"> <h4 class="heading"><?= __('Actions') ?></h4> <?= $this->Html->link(__('Edit Cause Image'), ['action' => 'edit', $causeImage->id], ['class' => 'side-nav-item']) ?> <?= $this->Form->postLink(__('Delete Cause Image'), ['action' => 'delete', $causeImage->id], ['confirm' => __('Are you sure you want to delete # {0}?', $causeImage->id), 'class' => 'side-nav-item']) ?> <?= $this->Html->link(__('List Cause Images'), ['action' => 'index'], ['class' => 'side-nav-item']) ?> <?= $this->Html->link(__('New Cause Image'), ['action' => 'add'], ['class' => 'side-nav-item']) ?> </div> </aside> <div class="column-responsive column-80"> <div class="causeImages view content"> <h3><?= h($causeImage->id) ?></h3> <table> <tr> <th><?= __('Image') ?></th> <td><?= h($causeImage->image) ?></td> </tr> <tr> <th><?= __('Id') ?></th> <td><?= $this->Number->format($causeImage->id) ?></td> </tr> <tr> <th><?= __('Cause Id') ?></th> <td><?= $this->Number->format($causeImage->cause_id) ?></td> </tr> <tr> <th><?= __('Created') ?></th> <td><?= h($causeImage->created) ?></td> </tr> <tr> <th><?= __('Modidfied') ?></th> <td><?= h($causeImage->modidfied) ?></td> </tr> </table> <div class="related"> <h4><?= __('Related Causes') ?></h4> <?php if (!empty($causeImage->causes)) : ?> <div class="table-responsive"> <table> <tr> <th><?= __('Id') ?></th> <th><?= __('Uuid') ?></th> <th><?= __('User Id') ?></th> <th><?= __('Cause Image Id') ?></th> <th><?= __('Name') ?></th> <th><?= __('Slug') ?></th> <th><?= __('Description') ?></th> <th><?= __('Donation Amount') ?></th> <th><?= __('Date Start') ?></th> <th><?= __('Date End') ?></th> <th><?= __('Is Active') ?></th> <th><?= __('Created') ?></th> <th><?= __('Modified') ?></th> <th class="actions"><?= __('Actions') ?></th> </tr> <?php foreach ($causeImage->causes as $causes) : ?> <tr> <td><?= h($causes->id) ?></td> <td><?= h($causes->uuid) ?></td> <td><?= h($causes->user_id) ?></td> <td><?= h($causes->cause_image_id) ?></td> <td><?= h($causes->name) ?></td> <td><?= h($causes->slug) ?></td> <td><?= h($causes->description) ?></td> <td><?= h($causes->donation_amount) ?></td> <td><?= h($causes->date_start) ?></td> <td><?= h($causes->date_end) ?></td> <td><?= h($causes->is_active) ?></td> <td><?= h($causes->created) ?></td> <td><?= h($causes->modified) ?></td> <td class="actions"> <?= $this->Html->link(__('View'), ['controller' => 'Causes', 'action' => 'view', $causes->id]) ?> <?= $this->Html->link(__('Edit'), ['controller' => 'Causes', 'action' => 'edit', $causes->id]) ?> <?= $this->Form->postLink(__('Delete'), ['controller' => 'Causes', 'action' => 'delete', $causes->id], ['confirm' => __('Are you sure you want to delete # {0}?', $causes->id)]) ?> </td> </tr> <?php endforeach; ?> </table> </div> <?php endif; ?> </div> </div> </div> </div>
Save
cmd:
run