Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
15580 manas 1
<div class="useractives index">
2
	<h2><?php echo __('Useractives'); ?></h2>
3
	<table cellpadding="0" cellspacing="0">
4
	<tr>
5
			<th><?php echo $this->Paginator->sort('user_id'); ?></th>
6
			<th><?php echo $this->Paginator->sort('last_active'); ?></th>
7
			<th class="actions"><?php echo __('Actions'); ?></th>
8
	</tr>
9
	<?php foreach ($useractives as $useractive): ?>
10
	<tr>
11
		<td><?php echo h($useractive['Useractive']['user_id']); ?>&nbsp;</td>
12
		<td><?php echo h($useractive['Useractive']['last_active']); ?>&nbsp;</td>
13
		<td class="actions">
14
			<?php echo $this->Html->link(__('View'), array('action' => 'view', $useractive['Useractive']['last_active'])); ?>
15
			<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $useractive['Useractive']['last_active'])); ?>
16
			<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $useractive['Useractive']['last_active']), null, __('Are you sure you want to delete # %s?', $useractive['Useractive']['last_active'])); ?>
17
		</td>
18
	</tr>
19
<?php endforeach; ?>
20
	</table>
21
	<p>
22
	<?php
23
	echo $this->Paginator->counter(array(
24
	'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
25
	));
26
	?>	</p>
27
	<div class="paging">
28
	<?php
29
		echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
30
		echo $this->Paginator->numbers(array('separator' => ''));
31
		echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
32
	?>
33
	</div>
34
</div>
35
<div class="actions">
36
	<h3><?php echo __('Actions'); ?></h3>
37
	<ul>
38
		<li><?php echo $this->Html->link(__('New Useractive'), array('action' => 'add')); ?></li>
39
	</ul>
40
</div>