/var/www/vhosts/ihelp.ro/httpdocs/templates/Admin/Banners
NameSizeModeActions
add.php12830644editdlrm
edit.php19960644editdlrm
index.php66970644editdlrm
view.php16350644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/templates/Admin/Banners/index.php (6697B)

Html->link(__('New'), ['action' => 'add'], ['class' => 'btn btn-success btn-xs']); ?>

form->create(null, ['class' => 'row', 'type' => 'get']); echo '
' . $this->Form->control('uuid', ['label' => __('Banner #'), 'value' => $_GET['uuid'] ?? '']) . '
'; ?>
Form->control('name', ['label' => __('Name'), 'value' => $_GET['name'] ?? '']) ?>
Form->control('title_link', ['label' => __('Title link'), 'value' => $_GET['title_link'] ?? '']) ?>
Form->control('url_link', ['label' => __('Url link'), 'value' => $_GET['url_link'] ?? '']) ?>
Form->control('position', [ 'class' => 'form-control select-with-search', 'type' => 'select', 'options' => $positionList, 'value' => $_GET['position'] ?? null ]) ?>
' . $this->Form->control('is_active', ['class' => 'form-control select-with-search', 'type' => 'select', 'options' => ['1' => __('Yes'), '0' => __('No')], 'empty' => __('All'), 'value' => $_GET['is_active'] ?? '']) . '
'; echo '
'; echo $this->Form->button('Search'); echo $this->Html->link('Reset', ['prefix' => 'Admin', 'controller' => 'Banners', 'action' => 'index'], ['class' => 'btn btn-danger float-right']); echo $this->Form->end() . '
'; ?>
Paginator->sort('Banners.id', ['label' => _('Banner #')]); ?> Paginator->sort('Banners.image_path', ['label' => _('Image')]); ?> Paginator->sort('Banners.name', ['label' => _('Name')]); ?> Paginator->sort('Banners.url_link', ['label' => _('Url link')]); ?> Paginator->sort('Banners.position', ['label' => _('Position')]); ?> Paginator->sort('Banners.is_active', ['label' => _('Activ')]); ?>
uuid); ?> Html->image($banner->image_path, ['alt' => 'Banner Image', 'width' => '80', 'height' => '40']); ?> name; ?> url_link) ?> Number->format($banner->position) ?> Html->link(__('View'), ['prefix' => 'Admin', 'controller' => 'Banners', 'action' => 'view', $banner->id], ['class' => 'btn btn-info btn-xs']); ?> Html->link(__('Edit'), ['prefix' => 'Admin', 'controller' => 'Banners', 'action' => 'edit', $banner->id], ['class' => 'btn btn-warning btn-xs']); ?>
element('paginator'); ?>