/
var
/
www
/
vhosts
/
ihelp.ro
/
_OLD
/
templates
/
Users
/
/var/www/vhosts/ihelp.ro/_OLD/templates/Users
mkdir
upload
Name
Size
Mode
Actions
add.php
950
0644
edit
dl
rm
edit.php
769
0644
edit
dl
rm
list_users.php
3264
0644
edit
dl
rm
login.php
345
0644
edit
dl
rm
view.php
20941
0644
edit
dl
rm
Edit:
/var/www/vhosts/ihelp.ro/_OLD/templates/Users/view.php
(20941B)
<?php /** * @var \App\View\AppView $this * @var \App\Model\Entity\User $user */ ?> <div class="row"> <aside class="column"> <?php echo $this->element('sidebar_dashboard'); ?> </aside> <div class="column-responsive column-80"> <div class="users view content"> <h3><?= h($user->id) ?></h3> <table> <tr> <th><?= __('Uuid') ?></th> <td><?= h($user->uuid) ?></td> </tr> <tr> <th><?= __('Role') ?></th> <td><?= $user->has('role') ? $this->Html->link($user->role->name, ['controller' => 'Roles', 'action' => 'view', $user->role->id]) : '' ?></td> </tr> <tr> <th><?= __('Email') ?></th> <td><?= h($user->email) ?></td> </tr> <tr> <th><?= __('Id') ?></th> <td><?= $this->Number->format($user->id) ?></td> </tr> <tr> <th><?= __('Created') ?></th> <td><?= h($user->created) ?></td> </tr> <tr> <th><?= __('Modified') ?></th> <td><?= h($user->modified) ?></td> </tr> <tr> <th><?= __('Is Active') ?></th> <td><?= $user->is_active ? __('Yes') : __('No'); ?></td> </tr> </table> <div class="related"> <h4><?= __('Related Causes') ?></h4> <?php if (!empty($user->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><?= __('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 ($user->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->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 class="related"> <h4><?= __('Related Messages') ?></h4> <?php if (!empty($user->messages)) : ?> <div class="table-responsive"> <table> <tr> <th><?= __('Id') ?></th> <th><?= __('User Id') ?></th> <th><?= __('Subject') ?></th> <th><?= __('Description') ?></th> <th><?= __('To') ?></th> <th><?= __('From') ?></th> <th><?= __('Is Active') ?></th> <th><?= __('Created') ?></th> <th class="actions"><?= __('Actions') ?></th> </tr> <?php foreach ($user->messages as $messages) : ?> <tr> <td><?= h($messages->id) ?></td> <td><?= h($messages->user_id) ?></td> <td><?= h($messages->subject) ?></td> <td><?= h($messages->description) ?></td> <td><?= h($messages->to) ?></td> <td><?= h($messages->from) ?></td> <td><?= h($messages->is_active) ?></td> <td><?= h($messages->created) ?></td> <td class="actions"> <?= $this->Html->link(__('View'), ['controller' => 'Messages', 'action' => 'view', $messages->id]) ?> <?= $this->Html->link(__('Edit'), ['controller' => 'Messages', 'action' => 'edit', $messages->id]) ?> <?= $this->Form->postLink(__('Delete'), ['controller' => 'Messages', 'action' => 'delete', $messages->id], ['confirm' => __('Are you sure you want to delete # {0}?', $messages->id)]) ?> </td> </tr> <?php endforeach; ?> </table> </div> <?php endif; ?> </div> <div class="related"> <h4><?= __('Related Orders') ?></h4> <?php if (!empty($user->orders)) : ?> <div class="table-responsive"> <table> <tr> <th><?= __('Id') ?></th> <th><?= __('Uuid') ?></th> <th><?= __('User Id') ?></th> <th><?= __('Order Status Id') ?></th> <th><?= __('Order Status Date') ?></th> <th><?= __('Order Status Comment') ?></th> <th><?= __('Email') ?></th> <th><?= __('Value') ?></th> <th><?= __('Supplier Total') ?></th> <th><?= __('Ip') ?></th> <th><?= __('GatewayId') ?></th> <th><?= __('PrcId') ?></th> <th><?= __('Email Sent') ?></th> <th><?= __('Email Reminder') ?></th> <th><?= __('Env Key') ?></th> <th><?= __('Data') ?></th> <th><?= __('Created') ?></th> <th><?= __('Modified') ?></th> <th class="actions"><?= __('Actions') ?></th> </tr> <?php foreach ($user->orders as $orders) : ?> <tr> <td><?= h($orders->id) ?></td> <td><?= h($orders->uuid) ?></td> <td><?= h($orders->user_id) ?></td> <td><?= h($orders->order_status_id) ?></td> <td><?= h($orders->order_status_date) ?></td> <td><?= h($orders->order_status_comment) ?></td> <td><?= h($orders->email) ?></td> <td><?= h($orders->value) ?></td> <td><?= h($orders->supplier_total) ?></td> <td><?= h($orders->ip) ?></td> <td><?= h($orders->gatewayId) ?></td> <td><?= h($orders->prcId) ?></td> <td><?= h($orders->email_sent) ?></td> <td><?= h($orders->email_reminder) ?></td> <td><?= h($orders->env_key) ?></td> <td><?= h($orders->data) ?></td> <td><?= h($orders->created) ?></td> <td><?= h($orders->modified) ?></td> <td class="actions"> <?= $this->Html->link(__('View'), ['controller' => 'Orders', 'action' => 'view', $orders->id]) ?> <?= $this->Html->link(__('Edit'), ['controller' => 'Orders', 'action' => 'edit', $orders->id]) ?> <?= $this->Form->postLink(__('Delete'), ['controller' => 'Orders', 'action' => 'delete', $orders->id], ['confirm' => __('Are you sure you want to delete # {0}?', $orders->id)]) ?> </td> </tr> <?php endforeach; ?> </table> </div> <?php endif; ?> </div> <div class="related"> <h4><?= __('Related Payment Logs') ?></h4> <?php if (!empty($user->payment_logs)) : ?> <div class="table-responsive"> <table> <tr> <th><?= __('Id') ?></th> <th><?= __('User Id') ?></th> <th><?= __('Data') ?></th> <th><?= __('Env Key') ?></th> <th><?= __('Created') ?></th> <th><?= __('Modified') ?></th> <th class="actions"><?= __('Actions') ?></th> </tr> <?php foreach ($user->payment_logs as $paymentLogs) : ?> <tr> <td><?= h($paymentLogs->id) ?></td> <td><?= h($paymentLogs->user_id) ?></td> <td><?= h($paymentLogs->data) ?></td> <td><?= h($paymentLogs->env_key) ?></td> <td><?= h($paymentLogs->created) ?></td> <td><?= h($paymentLogs->modified) ?></td> <td class="actions"> <?= $this->Html->link(__('View'), ['controller' => 'PaymentLogs', 'action' => 'view', $paymentLogs->id]) ?> <?= $this->Html->link(__('Edit'), ['controller' => 'PaymentLogs', 'action' => 'edit', $paymentLogs->id]) ?> <?= $this->Form->postLink(__('Delete'), ['controller' => 'PaymentLogs', 'action' => 'delete', $paymentLogs->id], ['confirm' => __('Are you sure you want to delete # {0}?', $paymentLogs->id)]) ?> </td> </tr> <?php endforeach; ?> </table> </div> <?php endif; ?> </div> <div class="related"> <h4><?= __('Related Product Favorites') ?></h4> <?php if (!empty($user->product_favorites)) : ?> <div class="table-responsive"> <table> <tr> <th><?= __('Id') ?></th> <th><?= __('User Id') ?></th> <th><?= __('Product Id') ?></th> <th><?= __('Created') ?></th> <th><?= __('Modified') ?></th> <th class="actions"><?= __('Actions') ?></th> </tr> <?php foreach ($user->product_favorites as $productFavorites) : ?> <tr> <td><?= h($productFavorites->id) ?></td> <td><?= h($productFavorites->user_id) ?></td> <td><?= h($productFavorites->product_id) ?></td> <td><?= h($productFavorites->created) ?></td> <td><?= h($productFavorites->modified) ?></td> <td class="actions"> <?= $this->Html->link(__('View'), ['controller' => 'ProductFavorites', 'action' => 'view', $productFavorites->id]) ?> <?= $this->Html->link(__('Edit'), ['controller' => 'ProductFavorites', 'action' => 'edit', $productFavorites->id]) ?> <?= $this->Form->postLink(__('Delete'), ['controller' => 'ProductFavorites', 'action' => 'delete', $productFavorites->id], ['confirm' => __('Are you sure you want to delete # {0}?', $productFavorites->id)]) ?> </td> </tr> <?php endforeach; ?> </table> </div> <?php endif; ?> </div> <div class="related"> <h4><?= __('Related Products') ?></h4> <?php if (!empty($user->products)) : ?> <div class="table-responsive"> <table> <tr> <th><?= __('Id') ?></th> <th><?= __('Uuid') ?></th> <th><?= __('User Id') ?></th> <th><?= __('Category Id') ?></th> <th><?= __('Product Tag Id') ?></th> <th><?= __('Product Image Id') ?></th> <th><?= __('Name') ?></th> <th><?= __('Description') ?></th> <th><?= __('Price Min') ?></th> <th><?= __('Price Fixed') ?></th> <th><?= __('Is Price Fixed') ?></th> <th><?= __('Is Active') ?></th> <th><?= __('Created') ?></th> <th><?= __('Modified') ?></th> <th class="actions"><?= __('Actions') ?></th> </tr> <?php foreach ($user->products as $products) : ?> <tr> <td><?= h($products->id) ?></td> <td><?= h($products->uuid) ?></td> <td><?= h($products->user_id) ?></td> <td><?= h($products->category_id) ?></td> <td><?= h($products->product_tag_id) ?></td> <td><?= h($products->product_image_id) ?></td> <td><?= h($products->name) ?></td> <td><?= h($products->description) ?></td> <td><?= h($products->price_min) ?></td> <td><?= h($products->price_fixed) ?></td> <td><?= h($products->is_price_fixed) ?></td> <td><?= h($products->is_active) ?></td> <td><?= h($products->created) ?></td> <td><?= h($products->modified) ?></td> <td class="actions"> <?= $this->Html->link(__('View'), ['controller' => 'Products', 'action' => 'view', $products->id]) ?> <?= $this->Html->link(__('Edit'), ['controller' => 'Products', 'action' => 'edit', $products->id]) ?> <?= $this->Form->postLink(__('Delete'), ['controller' => 'Products', 'action' => 'delete', $products->id], ['confirm' => __('Are you sure you want to delete # {0}?', $products->id)]) ?> </td> </tr> <?php endforeach; ?> </table> </div> <?php endif; ?> </div> <div class="related"> <h4><?= __('Related Profiles') ?></h4> <?php if (!empty($user->profiles)) : ?> <div class="table-responsive"> <table> <tr> <th><?= __('Id') ?></th> <th><?= __('User Id') ?></th> <th><?= __('User Accept Contact Method Id') ?></th> <th><?= __('First Name') ?></th> <th><?= __('Last Name') ?></th> <th><?= __('Image') ?></th> <th><?= __('Address') ?></th> <th><?= __('Phone') ?></th> <th><?= __('Accept Terms') ?></th> <th><?= __('Created') ?></th> <th><?= __('Modified') ?></th> <th class="actions"><?= __('Actions') ?></th> </tr> <?php foreach ($user->profiles as $profiles) : ?> <tr> <td><?= h($profiles->id) ?></td> <td><?= h($profiles->user_id) ?></td> <td><?= h($profiles->user_accept_contact_method_id) ?></td> <td><?= h($profiles->first_name) ?></td> <td><?= h($profiles->last_name) ?></td> <td><?= h($profiles->image) ?></td> <td><?= h($profiles->address) ?></td> <td><?= h($profiles->phone) ?></td> <td><?= h($profiles->accept_terms) ?></td> <td><?= h($profiles->created) ?></td> <td><?= h($profiles->modified) ?></td> <td class="actions"> <?= $this->Html->link(__('View'), ['controller' => 'Profiles', 'action' => 'view', $profiles->id]) ?> <?= $this->Html->link(__('Edit'), ['controller' => 'Profiles', 'action' => 'edit', $profiles->id]) ?> <?= $this->Form->postLink(__('Delete'), ['controller' => 'Profiles', 'action' => 'delete', $profiles->id], ['confirm' => __('Are you sure you want to delete # {0}?', $profiles->id)]) ?> </td> </tr> <?php endforeach; ?> </table> </div> <?php endif; ?> </div> </div> </div> </div>
Save
cmd:
run