Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

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