/
var
/
www
/
vhosts
/
ihelp.ro
/
httpdocs
/
templates
/
cell
/
Admin
/
InfoCauseBlock
/
/var/www/vhosts/ihelp.ro/httpdocs/templates/cell/Admin/InfoCauseBlock
mkdir
upload
Name
Size
Mode
Actions
display.php
2284
0644
edit
dl
rm
Edit:
/var/www/vhosts/ihelp.ro/httpdocs/templates/cell/Admin/InfoCauseBlock/display.php
(2284B)
<div class="row"> <div class="col-xs-6 col-lg-12"> <strong scope="row"><?php echo __('ID'); ?></strong> <p><?php echo '#' . $this->Number->format($cause->id) ?></p> <strong scope="row"><?php echo __('UUID'); ?></strong> <p><?php echo $cause->uuid ?></p> <strong scope="row"><?php echo __('User'); ?></strong> <p> <a href="<?php echo $this->Url->build(['prefix' => 'Admin', 'controller' => 'Users', 'action' => 'view', $cause->user->id]); ?>"> <span class="label label-default" title="<?php echo '#' . $cause->user->id; ?>"><?php echo $cause->user->name; ?> </span> </a> </p> <strong scope="row"><?php echo __('Name'); ?></strong> <p><?php echo h($cause->name) ?></p> <strong scope="row"><?php echo __('Slug'); ?></strong> <p><?php echo h($cause->slug) ?></p> <strong scope="row"><?php echo __('Donation Amount') ?></strong> <p><?php echo $this->Number->format($cause->donation_amount, ['precision' => 0, 'after' => ' Lei']); ?></p> <strong scope="row"><?php echo __('Donation Sum'); ?></strong> <p><?php echo $this->Number->format($cause->donation_sum, ['precision' => 0, 'after' => ' Lei']); ?></p> </div> <div class="col-xs-6 col-lg-12"> <strong scope="row"><?php echo __('# of Orders'); ?></strong> <p><?php echo $this->Number->format($cause->order_count); ?></p> <strong scope="row"><?php echo __('# of Products'); ?></strong> <p><?php echo $this->Number->format($cause->product_count); ?></p> <strong scope="row"><?php echo __('Start Date'); ?></strong> <p><?php echo h($cause->date_start) ?></p> <strong scope="row"><?php echo __('End Date'); ?></strong> <p><?php echo h($cause->date_end) ?></p> <p> <label scope="row"><?php echo __('Is Active'); ?> <span> <i class="fa <?php echo ($cause->is_active) ? 'fa-check-circle text-success ' : 'fa-times-circle text-danger'; ?>"></i> </span> </label> </p> <strong scope="row"><?php echo __('Created'); ?></strong> <dd><?php echo h($cause->created) ?></dd> </div> </div>
Save
cmd:
run