Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

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