Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
16614 anikendra 1
<div class="appmasters index">
2
	<h2><?php echo __('Appmasters'); ?></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('app_name'); ?></th>
7
			<th><?php echo $this->Paginator->sort('package_name'); ?></th>
8
			<th><?php echo $this->Paginator->sort('os_name'); ?></th>
9
			<th><?php echo $this->Paginator->sort('shortDescription'); ?></th>
10
			<th><?php echo $this->Paginator->sort('longDescription'); ?></th>
11
			<th><?php echo $this->Paginator->sort('customerOneLiner'); ?></th>
12
			<th><?php echo $this->Paginator->sort('retailerOneLiner'); ?></th>
13
			<th class="actions"><?php echo __('Actions'); ?></th>
14
	</tr>
15
	<?php foreach ($appmasters as $appmaster): ?>
16
	<tr>
17
		<td><?php echo h($appmaster['Appmaster']['id']); ?>&nbsp;</td>
18
		<td><?php echo h($appmaster['Appmaster']['app_name']); ?>&nbsp;</td>
19
		<td><?php echo h($appmaster['Appmaster']['package_name']); ?>&nbsp;</td>
20
		<td><?php echo h($appmaster['Appmaster']['os_name']); ?>&nbsp;</td>
21
		<td><?php echo h($appmaster['Appmaster']['shortDescription']); ?>&nbsp;</td>
22
		<td><?php echo h($appmaster['Appmaster']['longDescription']); ?>&nbsp;</td>
23
		<td><?php echo h($appmaster['Appmaster']['customerOneLiner']); ?>&nbsp;</td>
24
		<td><?php echo h($appmaster['Appmaster']['retailerOneLiner']); ?>&nbsp;</td>
25
		<td class="actions">
26
			<?php echo $this->Html->link(__('View'), array('action' => 'view', $appmaster['Appmaster']['id'])); ?>
27
			<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $appmaster['Appmaster']['id'])); ?>
28
			<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $appmaster['Appmaster']['id']), null, __('Are you sure you want to delete # %s?', $appmaster['Appmaster']['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 Appmaster'), array('action' => 'add')); ?></li>
51
		<li><?php echo $this->Html->link(__('List App Offers'), array('controller' => 'app_offers', 'action' => 'index')); ?> </li>
52
		<li><?php echo $this->Html->link(__('New App Offer'), array('controller' => 'app_offers', 'action' => 'add')); ?> </li>
53
	</ul>
54
</div>