Subversion Repositories SmartDukaan

Rev

Rev 13532 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
13532 anikendra 1
<div class="gcmUsers index">
2
	<h2><?php echo __('Gcm Users'); ?></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('gcm_regid'); ?></th>
8
			<th><?php echo $this->Paginator->sort('created_at'); ?></th>
9
			<th class="actions"><?php echo __('Actions'); ?></th>
10
	</tr>
11
	<?php foreach ($gcmUsers as $gcmUser): ?>
12
	<tr>
13
		<td><?php echo h($gcmUser['GcmUser']['id']); ?>&nbsp;</td>
13698 anikendra 14
		<td><?php echo h($gcmUser['GcmUser']['user_id']); ?>&nbsp;</td>
13532 anikendra 15
		<td><?php echo h($gcmUser['GcmUser']['gcm_regid']); ?>&nbsp;</td>
16
		<td><?php echo h($gcmUser['GcmUser']['created_at']); ?>&nbsp;</td>
17
		<td class="actions">
18
			<?php echo $this->Html->link(__('View'), array('action' => 'view', $gcmUser['GcmUser']['id'])); ?>
19
			<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $gcmUser['GcmUser']['id'])); ?>
20
			<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $gcmUser['GcmUser']['id']), null, __('Are you sure you want to delete # %s?', $gcmUser['GcmUser']['id'])); ?>
21
		</td>
22
	</tr>
23
<?php endforeach; ?>
24
	</table>
25
	<p>
26
	<?php
27
	echo $this->Paginator->counter(array(
28
	'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
29
	));
30
	?>	</p>
31
	<div class="paging">
32
	<?php
33
		echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
34
		echo $this->Paginator->numbers(array('separator' => ''));
35
		echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
36
	?>
37
	</div>
38
</div>
39
<div class="actions">
40
	<h3><?php echo __('Actions'); ?></h3>
41
	<ul>
42
		<li><?php echo $this->Html->link(__('New Gcm User'), array('action' => 'add')); ?></li>
43
	</ul>
44
</div>