Blame | Last modification | View Log | RSS feed
<div class="container"><div class="row"><div class="col-lg-2"><?php echo $this->Element('offeractions');?></div><div class="col-lg-10"><h2><?php echo __('Offers'); ?></h2><table cellpadding="0" cellspacing="0" class="table table-striped"><tr><th><?php echo $this->Paginator->sort('id'); ?></th><th><?php echo $this->Paginator->sort('starttime'); ?></th><th><?php echo $this->Paginator->sort('endtime'); ?></th><th><?php echo $this->Paginator->sort('url'); ?></th><th><?php echo $this->Paginator->sort('title'); ?></th><th><?php echo $this->Paginator->sort('description'); ?></th><th><?php echo $this->Paginator->sort('category'); ?></th><th><?php echo $this->Paginator->sort('img730x150'); ?></th><th><?php echo $this->Paginator->sort('img482x234'); ?></th><th><?php echo $this->Paginator->sort('img720x280'); ?></th><th><?php echo $this->Paginator->sort('img540x210'); ?></th><th><?php echo $this->Paginator->sort('img360x140'); ?></th><th><?php echo $this->Paginator->sort('img270x105'); ?></th><th><?php echo $this->Paginator->sort('created'); ?></th><th><?php echo $this->Paginator->sort('modified'); ?></th><th class="actions"><?php echo __('Actions'); ?></th></tr><?php foreach ($offers as $offer): ?><tr><td><?php echo h($offer['Offer']['id']); ?> </td><td><?php echo h($offer['Offer']['starttime']); ?> </td><td><?php echo h($offer['Offer']['endtime']); ?> </td><td><?php echo h($offer['Offer']['url']); ?> </td><td><?php echo h($offer['Offer']['title']); ?> </td><td><?php echo h($offer['Offer']['description']); ?> </td><td><?php echo h($offer['Offer']['category']); ?> </td><td><?php echo h($offer['Offer']['img730x150']); ?> </td><td><?php echo h($offer['Offer']['img482x234']); ?> </td><td><?php echo h($offer['Offer']['img720x280']); ?> </td><td><?php echo h($offer['Offer']['img540x210']); ?> </td><td><?php echo h($offer['Offer']['img360x140']); ?> </td><td><?php echo h($offer['Offer']['img270x105']); ?> </td><td><?php echo h($offer['Offer']['created']); ?> </td><td><?php echo h($offer['Offer']['modified']); ?> </td><td class="actions"><?php echo $this->Html->link(__('View'), array('action' => 'view', $offer['Offer']['id'])); ?><?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $offer['Offer']['id'])); ?><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $offer['Offer']['id']), null, __('Are you sure you want to delete # %s?', $offer['Offer']['id'])); ?></td></tr><?php endforeach; ?></table><p><?phpecho $this->Paginator->counter(array('format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')));?> </p><div class="paging"><?phpecho $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));echo $this->Paginator->numbers(array('separator' => ''));echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));?></div></div></div>