/
var
/
www
/
vhosts
/
ihelp.ro
/
_OLD
/
templates
/
Causes
/
/var/www/vhosts/ihelp.ro/_OLD/templates/Causes
mkdir
upload
Name
Size
Mode
Actions
add.php
1222
0644
edit
dl
rm
edit.php
1636
0644
edit
dl
rm
index.php
3460
0644
edit
dl
rm
update.php
0
0644
edit
dl
rm
view.php
4968
0644
edit
dl
rm
Edit:
/var/www/vhosts/ihelp.ro/_OLD/templates/Causes/view.php
(4968B)
<?php /** * @var \App\View\AppView $this * @var \App\Model\Entity\Cause $cause */ ?> <div class="row"> <aside class="column"> <div class="side-nav"> <h4 class="heading"><?= __('Actions') ?></h4> <?= $this->Html->link(__('Edit Cause'), ['action' => 'edit', $cause->id], ['class' => 'side-nav-item']) ?> <?= $this->Form->postLink(__('Delete Cause'), ['action' => 'delete', $cause->id], ['confirm' => __('Are you sure you want to delete # {0}?', $cause->id), 'class' => 'side-nav-item']) ?> <?= $this->Html->link(__('List Causes'), ['action' => 'index'], ['class' => 'side-nav-item']) ?> <?= $this->Html->link(__('New Cause'), ['action' => 'add'], ['class' => 'side-nav-item']) ?> </div> </aside> <div class="column-responsive column-80"> <div class="causes view content"> <h3><?= h($cause->id) ?></h3> <table> <tr> <th><?= __('Uuid') ?></th> <td><?= h($cause->uuid) ?></td> </tr> <tr> <th><?= __('User') ?></th> <td><?= $cause->has('user') ? $this->Html->link($cause->user->id, ['controller' => 'Users', 'action' => 'view', $cause->user->id]) : '' ?></td> </tr> <tr> <th><?= __('Name') ?></th> <td><?= h($cause->name) ?></td> </tr> <tr> <th><?= __('Slug') ?></th> <td><?= h($cause->slug) ?></td> </tr> <tr> <th><?= __('Description') ?></th> <td><?= h($cause->description) ?></td> </tr> <tr> <th><?= __('Donation Amount') ?></th> <td><?= h($cause->donation_amount) ?></td> </tr> <tr> <th><?= __('Id') ?></th> <td><?= $this->Number->format($cause->id) ?></td> </tr> <tr> <th><?= __('Cause Image Id') ?></th> <td><?= $this->Number->format($cause->cause_image_id) ?></td> </tr> <tr> <th><?= __('Date Start') ?></th> <td><?= h($cause->date_start) ?></td> </tr> <tr> <th><?= __('Date End') ?></th> <td><?= h($cause->date_end) ?></td> </tr> <tr> <th><?= __('Created') ?></th> <td><?= h($cause->created) ?></td> </tr> <tr> <th><?= __('Modified') ?></th> <td><?= h($cause->modified) ?></td> </tr> <tr> <th><?= __('Is Active') ?></th> <td><?= $cause->is_active ? __('Yes') : __('No'); ?></td> </tr> </table> <div class="related"> <h4><?= __('Related Cause Images') ?></h4> <?php if (!empty($cause->cause_images)) : ?> <div class="table-responsive"> <table> <tr> <th><?= __('Id') ?></th> <th><?= __('Cause Id') ?></th> <th><?= __('Image') ?></th> <th><?= __('Created') ?></th> <th><?= __('Modidfied') ?></th> <th class="actions"><?= __('Actions') ?></th> </tr> <?php foreach ($cause->cause_images as $causeImages) : ?> <tr> <td><?= h($causeImages->id) ?></td> <td><?= h($causeImages->cause_id) ?></td> <td><?= h($causeImages->image) ?></td> <td><?= h($causeImages->created) ?></td> <td><?= h($causeImages->modidfied) ?></td> <td class="actions"> <?= $this->Html->link(__('View'), ['controller' => 'CauseImages', 'action' => 'view', $causeImages->id]) ?> <?= $this->Html->link(__('Edit'), ['controller' => 'CauseImages', 'action' => 'edit', $causeImages->id]) ?> <?= $this->Form->postLink(__('Delete'), ['controller' => 'CauseImages', 'action' => 'delete', $causeImages->id], ['confirm' => __('Are you sure you want to delete # {0}?', $causeImages->id)]) ?> </td> </tr> <?php endforeach; ?> </table> </div> <?php endif; ?> </div> </div> </div> </div>
Save
cmd:
run