Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

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