Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
13532 anikendra 1
<div class="container">
2
	<div class="row">
3
		<div class="col-lg-3">
4
			<?php echo $this->Element('storeactions');?>
5
		</div>
6
		<div class="col-lg-9">	<h2><?php echo __('Stores'); ?></h2>
7
			<table cellpadding="0" cellspacing="0" class="table table-striped">
8
			<tr>
9
					<th><?php echo $this->Paginator->sort('id'); ?></th>
10
					<th><?php echo $this->Paginator->sort('name'); ?></th>
11
					<th><?php echo $this->Paginator->sort('status'); ?></th>
12
					<th><?php echo $this->Paginator->sort('affiliate_id'); ?></th>
13
					<th><?php echo $this->Paginator->sort('created'); ?></th>
14
					<th><?php echo $this->Paginator->sort('modified'); ?></th>
15
					<th class="actions"><?php echo __('Actions'); ?></th>
16
			</tr>
17
			<?php foreach ($stores as $store): ?>
18
			<tr>
19
				<td><?php echo h($store['Store']['id']); ?>&nbsp;</td>
20
				<td><?php echo h($store['Store']['name']); ?>&nbsp;</td>
21
				<td><?php echo h($store['Store']['status']); ?>&nbsp;</td>
22
				<td><?php echo h($store['Store']['affiliate_id']); ?>&nbsp;</td>
23
				<td><?php echo h($store['Store']['created']); ?>&nbsp;</td>
24
				<td><?php echo h($store['Store']['modified']); ?>&nbsp;</td>
25
				<td class="actions">
26
					<?php echo $this->Html->link(__('View'), array('action' => 'view', $store['Store']['id'])); ?>
27
					<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $store['Store']['id'])); ?>
28
					<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $store['Store']['id']), null, __('Are you sure you want to delete # %s?', $store['Store']['id'])); ?>
29
				</td>
30
			</tr>
31
		<?php endforeach; ?>
32
			</table>
33
			<p>
34
			<?php
35
			echo $this->Paginator->counter(array(
36
			'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
37
			));
38
			?>	</p>
39
			<div class="paging">
40
			<?php
41
				echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
42
				echo $this->Paginator->numbers(array('separator' => ''));
43
				echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
44
			?>
45
			</div>
46
		</div>
47
	</div>
48
</div>