| Line 10... |
Line 10... |
| 10 |
<th><?php echo $this->Paginator->sort('id'); ?></th>
|
10 |
<th><?php echo $this->Paginator->sort('id'); ?></th>
|
| 11 |
<th><?php echo $this->Paginator->sort('name'); ?></th>
|
11 |
<th><?php echo $this->Paginator->sort('name'); ?></th>
|
| 12 |
<th><?php echo $this->Paginator->sort('url'); ?></th>
|
12 |
<th><?php echo $this->Paginator->sort('url'); ?></th>
|
| 13 |
<th><?php echo $this->Paginator->sort('img_url'); ?></th>
|
13 |
<th><?php echo $this->Paginator->sort('img_url'); ?></th>
|
| 14 |
<th><?php echo $this->Paginator->sort('status'); ?></th>
|
14 |
<th><?php echo $this->Paginator->sort('status'); ?></th>
|
| 15 |
<th><?php echo $this->Paginator->sort('clicks'); ?></th>
|
15 |
<th><?php echo $this->Paginator->sort('store_id'); ?></th>
|
| 16 |
<th><?php //echo $this->Paginator->sort('created'); ?></th>
|
16 |
<th><?php echo $this->Paginator->sort('starttime'); ?></th>
|
| 17 |
<th><?php //echo $this->Paginator->sort('modified'); ?></th>
|
17 |
<th><?php echo $this->Paginator->sort('endtime'); ?></th>
|
| 18 |
<th class="actions"><?php echo __('Actions'); ?></th>
|
18 |
<th class="actions"><?php echo __('Actions'); ?></th>
|
| 19 |
</tr>
|
19 |
</tr>
|
| 20 |
<?php foreach ($campaigns as $campaign): ?>
|
20 |
<?php foreach ($campaigns as $campaign): ?>
|
| 21 |
<tr>
|
21 |
<tr>
|
| 22 |
<td><?php echo h($campaign['Campaign']['id']); ?> </td>
|
22 |
<td><?php echo h($campaign['Campaign']['id']); ?> </td>
|
| 23 |
<td><?php echo h($campaign['Campaign']['name']); ?> </td>
|
23 |
<td><?php echo h($campaign['Campaign']['name']); ?> </td>
|
| 24 |
<td><?php echo h($campaign['Campaign']['url']); ?> </td>
|
24 |
<td><?php echo h($campaign['Campaign']['url']); ?> </td>
|
| 25 |
<td><?php echo h($campaign['Campaign']['img_url']); ?> </td>
|
25 |
<td><img src="<?php echo h($campaign['Campaign']['img_url']); ?>"/></td>
|
| 26 |
<td><?php echo h($campaign['Campaign']['status']); ?> </td>
|
26 |
<td><?php echo h($campaign['Campaign']['status']); ?> </td>
|
| 27 |
<td><?php echo h($campaign['Campaign']['clicks']); ?> </td>
|
27 |
<td><?php echo $stores[$campaign['Campaign']['store_id']]; ?> </td>
|
| 28 |
<td><?php //echo h($campaign['Campaign']['created']); ?> </td>
|
28 |
<td><?php echo h($campaign['Campaign']['starttime']); ?> </td>
|
| 29 |
<td><?php //echo h($campaign['Campaign']['modified']); ?> </td>
|
29 |
<td><?php echo h($campaign['Campaign']['endtime']); ?> </td>
|
| 30 |
<td class="actions">
|
30 |
<td class="actions">
|
| 31 |
<?php echo $this->Html->link(__('View'), array('action' => 'view', $campaign['Campaign']['id'])); ?>
|
31 |
<?php echo $this->Html->link(__('View'), array('action' => 'view', $campaign['Campaign']['id'])); ?>
|
| 32 |
<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $campaign['Campaign']['id'])); ?>
|
32 |
<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $campaign['Campaign']['id'])); ?>
|
| 33 |
<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $campaign['Campaign']['id']), null, __('Are you sure you want to delete # %s?', $campaign['Campaign']['id'])); ?>
|
33 |
<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $campaign['Campaign']['id']), null, __('Are you sure you want to delete # %s?', $campaign['Campaign']['id'])); ?>
|
| 34 |
</td>
|
34 |
</td>
|