Subversion Repositories SmartDukaan

Rev

Rev 14955 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
14955 manas 1
<div class="notificationCampaigns index">
2
	<h2><?php echo __('Notification Campaigns'); ?></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('name'); ?></th>
7
			<th><?php echo $this->Paginator->sort('title'); ?></th>
8
			<th><?php echo $this->Paginator->sort('message'); ?></th>
9
			<th><?php echo $this->Paginator->sort('type'); ?></th>
10
			<th><?php echo $this->Paginator->sort('url'); ?></th>
17432 manish.sha 11
			<th><?php echo $this->Paginator->sort('sql'); ?></th>
12
			<th><?php echo $this->Paginator->sort('expiresat'); ?></th>
13
			<th><?php echo $this->Paginator->sort('status'); ?></th>
14955 manas 14
			<th><?php echo $this->Paginator->sort('created'); ?></th>
17432 manish.sha 15
			<th><?php echo $this->Paginator->sort('sendsms'); ?></th>
16
			<th><?php echo $this->Paginator->sort('messagetext'); ?></th>
17
			<th><?php echo $this->Paginator->sort('smsprocessed'); ?></th>
14955 manas 18
			<th class="actions"><?php echo __('Actions'); ?></th>
19
	</tr>
20
	<?php foreach ($notificationCampaigns as $notificationCampaign): ?>
21
	<tr>
22
		<td><?php echo h($notificationCampaign['NotificationCampaign']['id']); ?>&nbsp;</td>
23
		<td><?php echo h($notificationCampaign['NotificationCampaign']['name']); ?>&nbsp;</td>
24
		<td><?php echo h($notificationCampaign['NotificationCampaign']['title']); ?>&nbsp;</td>
25
		<td><?php echo h($notificationCampaign['NotificationCampaign']['message']); ?>&nbsp;</td>
26
		<td><?php echo h($notificationCampaign['NotificationCampaign']['type']); ?>&nbsp;</td>
27
		<td><?php echo h($notificationCampaign['NotificationCampaign']['url']); ?>&nbsp;</td>
17432 manish.sha 28
		<td><?php echo h($notificationCampaign['NotificationCampaign']['sql']); ?>&nbsp;</td>
29
		<td><?php echo h($notificationCampaign['NotificationCampaign']['expiresat']); ?>&nbsp;</td>
30
		<td><?php echo h($notificationCampaign['NotificationCampaign']['status']); ?>&nbsp;</td>
14955 manas 31
		<td><?php echo h($notificationCampaign['NotificationCampaign']['created']); ?>&nbsp;</td>
17432 manish.sha 32
		<td><?php echo h($notificationCampaign['NotificationCampaign']['sendsms']); ?>&nbsp;</td>
33
		<td><?php echo h($notificationCampaign['NotificationCampaign']['messagetext']); ?>&nbsp;</td>
34
		<td><?php echo h($notificationCampaign['NotificationCampaign']['smsprocessed']); ?>&nbsp;</td>
14955 manas 35
		<td class="actions">
36
			<?php echo $this->Html->link(__('View'), array('action' => 'view', $notificationCampaign['NotificationCampaign']['id'])); ?>
37
			<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $notificationCampaign['NotificationCampaign']['id'])); ?>
38
			<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $notificationCampaign['NotificationCampaign']['id']), null, __('Are you sure you want to delete # %s?', $notificationCampaign['NotificationCampaign']['id'])); ?>
39
		</td>
40
	</tr>
41
<?php endforeach; ?>
42
	</table>
43
	<p>
44
	<?php
45
	echo $this->Paginator->counter(array(
46
	'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
47
	));
48
	?>	</p>
49
	<div class="paging">
50
	<?php
51
		echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
52
		echo $this->Paginator->numbers(array('separator' => ''));
53
		echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
54
	?>
55
	</div>
56
</div>
57
<div class="actions">
58
	<h3><?php echo __('Actions'); ?></h3>
59
	<ul>
60
		<li><?php echo $this->Html->link(__('New Notification Campaign'), array('action' => 'add')); ?></li>
61
		<li><?php echo $this->Html->link(__('List Pushnotifications'), array('controller' => 'pushnotifications', 'action' => 'index')); ?> </li>
62
		<li><?php echo $this->Html->link(__('New Pushnotification'), array('controller' => 'pushnotifications', 'action' => 'add')); ?> </li>
63
	</ul>
64
</div>