| 13532 |
anikendra |
1 |
<div class="storeProducts index">
|
|
|
2 |
<h2><?php echo __('Store Products'); ?></h2>
|
|
|
3 |
<table cellpadding="0" cellspacing="0">
|
|
|
4 |
<tr>
|
|
|
5 |
<th><?php echo $this->Paginator->sort('id'); ?></th>
|
|
|
6 |
<th><?php echo $this->Paginator->sort('store_id'); ?></th>
|
|
|
7 |
<th><?php echo $this->Paginator->sort('product_id'); ?></th>
|
|
|
8 |
<th><?php echo $this->Paginator->sort('product_url'); ?></th>
|
|
|
9 |
<th><?php echo $this->Paginator->sort('img_url'); ?></th>
|
|
|
10 |
<th><?php echo $this->Paginator->sort('short_descrption'); ?></th>
|
|
|
11 |
<th><?php echo $this->Paginator->sort('price'); ?></th>
|
|
|
12 |
<th><?php echo $this->Paginator->sort('status'); ?></th>
|
|
|
13 |
<th><?php echo $this->Paginator->sort('last_crawled'); ?></th>
|
|
|
14 |
<th><?php echo $this->Paginator->sort('created'); ?></th>
|
|
|
15 |
<th><?php echo $this->Paginator->sort('modified'); ?></th>
|
|
|
16 |
<th class="actions"><?php echo __('Actions'); ?></th>
|
|
|
17 |
</tr>
|
|
|
18 |
<?php foreach ($storeProducts as $storeProduct): ?>
|
|
|
19 |
<tr>
|
|
|
20 |
<td><?php echo h($storeProduct['StoreProduct']['id']); ?> </td>
|
|
|
21 |
<td>
|
|
|
22 |
<?php echo $this->Html->link($storeProduct['Store']['name'], array('controller' => 'stores', 'action' => 'view', $storeProduct['Store']['id'])); ?>
|
|
|
23 |
</td>
|
|
|
24 |
<td>
|
|
|
25 |
<?php echo $this->Html->link($storeProduct['Product']['name'], array('controller' => 'products', 'action' => 'view', $storeProduct['Product']['id'])); ?>
|
|
|
26 |
</td>
|
|
|
27 |
<td><?php echo h($storeProduct['StoreProduct']['product_url']); ?> </td>
|
|
|
28 |
<td><?php echo h($storeProduct['StoreProduct']['img_url']); ?> </td>
|
|
|
29 |
<td><?php echo h($storeProduct['StoreProduct']['short_descrption']); ?> </td>
|
|
|
30 |
<td><?php echo h($storeProduct['StoreProduct']['price']); ?> </td>
|
|
|
31 |
<td><?php echo h($storeProduct['StoreProduct']['status']); ?> </td>
|
|
|
32 |
<td><?php echo h($storeProduct['StoreProduct']['last_crawled']); ?> </td>
|
|
|
33 |
<td><?php echo h($storeProduct['StoreProduct']['created']); ?> </td>
|
|
|
34 |
<td><?php echo h($storeProduct['StoreProduct']['modified']); ?> </td>
|
|
|
35 |
<td class="actions">
|
|
|
36 |
<?php echo $this->Html->link(__('View'), array('action' => 'view', $storeProduct['StoreProduct']['id'])); ?>
|
|
|
37 |
<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $storeProduct['StoreProduct']['id'])); ?>
|
|
|
38 |
<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $storeProduct['StoreProduct']['id']), null, __('Are you sure you want to delete # %s?', $storeProduct['StoreProduct']['id'])); ?>
|
|
|
39 |
</td>
|
|
|
40 |
</tr>
|
|
|
41 |
<?php endforeach; ?>
|
|
|
42 |
</table>
|
|
|
43 |
<p>
|
|
|
44 |
<?php
|
|
|
45 |
echo $this->Paginator->counter(array(
|
|
|
46 |
'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
|
|
|
47 |
));
|
|
|
48 |
?> </p>
|
|
|
49 |
<div class="paging">
|
|
|
50 |
<?php
|
|
|
51 |
echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
|
|
|
52 |
echo $this->Paginator->numbers(array('separator' => ''));
|
|
|
53 |
echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
|
|
|
54 |
?>
|
|
|
55 |
</div>
|
|
|
56 |
</div>
|
|
|
57 |
<div class="actions">
|
|
|
58 |
<h3><?php echo __('Actions'); ?></h3>
|
|
|
59 |
<ul>
|
|
|
60 |
<li><?php echo $this->Html->link(__('New Store Product'), array('action' => 'add')); ?></li>
|
|
|
61 |
<li><?php echo $this->Html->link(__('List Stores'), array('controller' => 'stores', 'action' => 'index')); ?> </li>
|
|
|
62 |
<li><?php echo $this->Html->link(__('New Store'), array('controller' => 'stores', 'action' => 'add')); ?> </li>
|
|
|
63 |
<li><?php echo $this->Html->link(__('List Products'), array('controller' => 'products', 'action' => 'index')); ?> </li>
|
|
|
64 |
<li><?php echo $this->Html->link(__('New Product'), array('controller' => 'products', 'action' => 'add')); ?> </li>
|
|
|
65 |
<li><?php echo $this->Html->link(__('List Clicks'), array('controller' => 'clicks', 'action' => 'index')); ?> </li>
|
|
|
66 |
<li><?php echo $this->Html->link(__('New Click'), array('controller' => 'clicks', 'action' => 'add')); ?> </li>
|
|
|
67 |
<li><?php echo $this->Html->link(__('List User Actions'), array('controller' => 'user_actions', 'action' => 'index')); ?> </li>
|
|
|
68 |
<li><?php echo $this->Html->link(__('New User Action'), array('controller' => 'user_actions', 'action' => 'add')); ?> </li>
|
|
|
69 |
</ul>
|
|
|
70 |
</div>
|