Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
15034 manas 1
<div class="saholicLogs index">
2
	<h2><?php echo __('Saholic Logs'); ?></h2>
3
	<table cellpadding="0" cellspacing="0" border="1"> 
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('url'); ?></th>
8
			<th><?php echo $this->Paginator->sort('time'); ?></th>
9
			<th><?php echo $this->Paginator->sort('created'); ?></th>
10
			<th><?php echo $this->Paginator->sort('httpstatus'); ?></th>
11
			<!-- <th><?php echo $this->Paginator->sort('cookies'); ?></th> -->
12
			<!-- <th><?php echo $this->Paginator->sort('html'); ?></th> -->
13
			<th class="actions"><?php echo __('Actions'); ?></th>
14
	</tr>
15
	<?php foreach ($saholicLogs as $saholicLog): ?>
16
	<tr>
17
		<td align="center"><?php echo $this->Html->link(__(h($saholicLog['SaholicLog']['id'])),array('action' => 'show', $saholicLog['SaholicLog']['id'])); ?>&nbsp;</td>
18
		<td align="center"><?php echo h($saholicLog['SaholicLog']['user_id']); ?>&nbsp;</td>
19
		<td style="word-break:break-all;"><?php echo h($saholicLog['SaholicLog']['url']); ?>&nbsp;</td>
20
		<td align="center" width="10%"><?php echo h($saholicLog['SaholicLog']['time']); ?>&nbsp;</td>
21
		<td align="center"  width="10%"><?php echo h($saholicLog['SaholicLog']['created']); ?>&nbsp;</td>
22
		<td align="center"><?php echo h($saholicLog['SaholicLog']['httpstatus']); ?>&nbsp;</td>
23
		<!-- <td><?php echo h($saholicLog['SaholicLog']['cookies']); ?>&nbsp;</td> -->
24
<!-- 		<td><?php echo h($saholicLog['SaholicLog']['html']); ?>&nbsp;</td> -->
25
		<td class="actions">
26
			<?php echo $this->Html->link(__('View'), array('action' => 'view', $saholicLog['SaholicLog']['id'])); ?>
27
			<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $saholicLog['SaholicLog']['id'])); ?>
28
			<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $saholicLog['SaholicLog']['id']), null, __('Are you sure you want to delete # %s?', $saholicLog['SaholicLog']['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 class="actions">
48
	<h3><?php echo __('Actions'); ?></h3>
49
	<ul>
50
		<li><?php echo $this->Html->link(__('New Saholic Log'), array('action' => 'add')); ?></li>
51
	</ul>
52
</div>