Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
15580 manas 1
<style>
2
table, th, td {
3
    border: 1px solid black;
4
}
5
</style>
6
<div class="useractives index">
7
	<h2><?php echo __('Useractives'); ?></h2>
8
	<table cellpadding="0" cellspacing="0" class="table table-striped">
9
	<tr>
10
			<th><?php echo $this->Paginator->sort('user_id'); ?></th>
11
			<th><?php echo $this->Paginator->sort('last_active'); ?></th>
12
 
13
	</tr>
14
	<?php foreach ($useractives as $useractive): ?>
15
	<tr>
16
		<td><?php echo $this->Html->link(__($useractive['Useractive']['user_id']),array('action'=>'show',$useractive['Useractive']['user_id'])); ?>&nbsp;</td>
17
		<td><?php echo h($useractive['Useractive']['last_active']); ?>&nbsp;</td>
18
 
19
	</tr>
20
<?php endforeach; ?>
21
	</table>
22
	<p>
23
	<?php
24
	echo $this->Paginator->counter(array(
25
	'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
26
	));
27
	?>	</p>
28
	<div class="paging">
29
	<?php
30
		echo $this->Paginator->prev('< ' . __('previous '), array(), null, array('class' => 'prev disabled'));
31
		echo $this->Paginator->numbers(array('separator' => ' '));
32
		echo $this->Paginator->next(__(' next') . ' >', array(), null, array('class' => 'next disabled'));
33
	?>
34
	</div>
35
</div>
36