Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
15051 manas 1
<div class="retailers index">
2
	<h2><?php echo __('Retailers'); ?></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('name'); ?></th>
7
			<th><?php echo $this->Paginator->sort('address'); ?></th>
8
			<th><?php echo $this->Paginator->sort('mobilenumber'); ?></th>
9
			<th><?php echo $this->Paginator->sort('status'); ?></th>
10
			<th><?php echo $this->Paginator->sort('created'); ?></th>
11
			<th><?php echo $this->Paginator->sort('modified'); ?></th>
12
			<th class="actions"><?php echo __('Actions'); ?></th>
13
	</tr>
14
	<?php foreach ($retailers as $retailer): ?>
15
	<tr>
16
		<td><?php echo h($retailer['Retailer']['id']); ?>&nbsp;</td>
17
		<td><?php echo h($retailer['Retailer']['name']); ?>&nbsp;</td>
18
		<td><?php echo h($retailer['Retailer']['address']); ?>&nbsp;</td>
19
		<td><?php echo h($retailer['Retailer']['mobilenumber']); ?>&nbsp;</td>
20
		<td><?php echo h($retailer['Retailer']['status']); ?>&nbsp;</td>
21
		<td><?php echo h($retailer['Retailer']['created']); ?>&nbsp;</td>
22
		<td><?php echo h($retailer['Retailer']['modified']); ?>&nbsp;</td>
23
		<td class="actions">
24
			<?php echo $this->Html->link(__('View'), array('action' => 'view', $retailer['Retailer']['id'])); ?>
25
			<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $retailer['Retailer']['id'])); ?>
26
			<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $retailer['Retailer']['id']), null, __('Are you sure you want to delete # %s?', $retailer['Retailer']['id'])); ?>
27
		</td>
28
	</tr>
29
<?php endforeach; ?>
30
	</table>
31
	<p>
32
	<?php
33
	echo $this->Paginator->counter(array(
34
	'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
35
	));
36
	?>	</p>
37
	<div class="paging">
38
	<?php
39
		echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
40
		echo $this->Paginator->numbers(array('separator' => ''));
41
		echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
42
	?>
43
	</div>
44
</div>
45
<div class="actions">
46
	<h3><?php echo __('Actions'); ?></h3>
47
	<ul>
48
		<li><?php echo $this->Html->link(__('New Retailer'), array('action' => 'add')); ?></li>
49
		<li><?php echo $this->Html->link(__('List Calls'), array('controller' => 'calls', 'action' => 'index')); ?> </li>
50
		<li><?php echo $this->Html->link(__('New Call'), array('controller' => 'calls', 'action' => 'add')); ?> </li>
51
		<li><?php echo $this->Html->link(__('List Play Store Links'), array('controller' => 'play_store_links', 'action' => 'index')); ?> </li>
52
		<li><?php echo $this->Html->link(__('New Play Store Link'), array('controller' => 'play_store_links', 'action' => 'add')); ?> </li>
53
	</ul>
54
</div>