Subversion Repositories SmartDukaan

Rev

Rev 14956 | Rev 14990 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14956 Rev 14967
Line 12... Line 12...
12
	<table cellpadding="0" cellspacing="0" border="1"  >
12
	<table cellpadding="0" cellspacing="0" border="1"  >
13
	<tr>
13
	<tr>
14
			<th style="text-align:center"><?php echo $this->Paginator->sort('id'); ?></th>
14
			<th style="text-align:center"><?php echo $this->Paginator->sort('id'); ?></th>
15
			<th style="text-align:center"><?php echo $this->Paginator->sort('name'); ?></th>
15
			<th style="text-align:center"><?php echo $this->Paginator->sort('name'); ?></th>
16
			<th style="text-align:center"><?php echo $this->Paginator->sort('title'); ?></th>
16
			<th style="text-align:center"><?php echo $this->Paginator->sort('title'); ?></th>
17
			<th style="text-align:center"><?php echo $this->Paginator->sort('message'); ?></th>
-
 
18
			<th style="text-align:center"><?php echo $this->Paginator->sort('created'); ?></th>
17
			<th style="text-align:center"><?php echo $this->Paginator->sort('created'); ?></th>
-
 
18
			<th style="text-align:center"><?php echo $this->Paginator->sort('expiresat'); ?></th>
19
			<th style="text-align:center">Total</th>
19
			<th style="text-align:center">Total</th>
20
			<th style="text-align:center">Failed</th>
20
			<th style="text-align:center">Failed</th>
21
			<th style="text-align:center">Recieved</th>
21
			<th style="text-align:center">Recieved</th>
22
			<th style="text-align:center">Opened</th>
22
			<th style="text-align:center">Opened</th>
23
			<th style="text-align:center">Referrer</th>
23
			<th style="text-align:center">Referrer</th>
Line 29... Line 29...
29
	<?php foreach ($notificationCampaigns as $notificationCampaign): ?>
29
	<?php foreach ($notificationCampaigns as $notificationCampaign): ?>
30
	<tr>
30
	<tr>
31
		<td align="center" width="4%"><?php echo h($notificationCampaign['NotificationCampaign']['id']); ?>&nbsp;</td>
31
		<td align="center" width="4%"><?php echo h($notificationCampaign['NotificationCampaign']['id']); ?>&nbsp;</td>
32
		<td align="center"><?php echo h($notificationCampaign['NotificationCampaign']['name']); ?>&nbsp;</td>
32
		<td align="center"><?php echo h($notificationCampaign['NotificationCampaign']['name']); ?>&nbsp;</td>
33
		<td align="center"><?php echo h($notificationCampaign['NotificationCampaign']['title']); ?>&nbsp;</td>
33
		<td align="center"><?php echo h($notificationCampaign['NotificationCampaign']['title']); ?>&nbsp;</td>
34
		<td align="center"><?php echo h($notificationCampaign['NotificationCampaign']['message']); ?>&nbsp;</td>
34
		<!-- <td align="center"><?php echo h($notificationCampaign['NotificationCampaign']['message']); ?>&nbsp;</td> -->
35
		<td align="center"><?php echo h($notificationCampaign['NotificationCampaign']['created']); ?>&nbsp;</td>
35
		<td align="center"><?php echo h($notificationCampaign['NotificationCampaign']['created']); ?>&nbsp;</td>
36
		
-
 
-
 
36
		<td align="center"><?php echo h($notificationCampaign['NotificationCampaign']['expiresat']); ?>&nbsp;</td>
37
		<td align="center"><?php if(isset($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['sent']) && !empty($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['sent'])){echo
37
		<td align="center"><?php if(isset($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['sent']) && !empty($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['sent'])){echo
38
		$this->Html->link(__(h($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['sent'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'sent',1)); } else {echo h('0');}?>&nbsp;</td>
38
		$this->Html->link(__(h($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['sent'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'sent',1)); } else {echo h('0');}?>&nbsp;</td>
39
 
39
 
40
		<td align="center"><?php if(isset($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['0']) && !empty($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['0'])){	echo $this->Html->link(__(h($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['0'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'sent',0));} else {echo h('0');}?>&nbsp;</td>
40
		<td align="center"><?php if(isset($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['0']) && !empty($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['0'])){	echo $this->Html->link(__(h($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['0'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'sent',0));} else {echo h('0');}?>&nbsp;</td>
41
 
41
 
Line 44... Line 44...
44
		
44
		
45
 
45
 
46
		<td align="center"><?php if(isset($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['opened']) && !empty($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['opened'])){echo $this->Html->link(__(h($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['opened'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'opened',1));  } else {echo h('0');}?>&nbsp;</td>
46
		<td align="center"><?php if(isset($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['opened']) && !empty($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['opened'])){echo $this->Html->link(__(h($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['opened'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'opened',1));  } else {echo h('0');}?>&nbsp;</td>
47
		<td align="center"><?php if(isset($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['referrer']) && !empty($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['referrer'])){echo $this->Html->link(__(h($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['referrer'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'referrer',1));  } else {echo h('0');}?>&nbsp;</td>
47
		<td align="center"><?php if(isset($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['referrer']) && !empty($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['referrer'])){echo $this->Html->link(__(h($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['referrer'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'referrer',1));  } else {echo h('0');}?>&nbsp;</td>
48
		<td align="center"><?php if(isset($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['login']) && !empty($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['login'])){echo $this->Html->link(__(h($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['login'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'login',1)); } else {echo h('0');}?>&nbsp;</td>
48
		<td align="center"><?php if(isset($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['login']) && !empty($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['login'])){echo $this->Html->link(__(h($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['login'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'login',1)); } else {echo h('0');}?>&nbsp;</td>
49
 		<td align="center" width="7%" class="actions">
49
 		<td align="center" width="15%" class="actions">
50
			<?php echo $this->Html->link(__('View'), array('action' => 'view', $notificationCampaign['NotificationCampaign']['id'])); ?>
50
			<?php echo $this->Html->link(__('View'), array('action' => 'view', $notificationCampaign['NotificationCampaign']['id'])); ?>
51
			&nbsp;
51
			&nbsp;
52
	 		<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $notificationCampaign['NotificationCampaign']['id'])); ?>
52
	 		<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $notificationCampaign['NotificationCampaign']['id'])); ?>
53
			<!--<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $notificationCampaign['NotificationCampaign']['id']), null, __('Are you sure you want to delete # %s?', $notificationCampaign['NotificationCampaign']['id'])); ?> -->
53
			<!--<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $notificationCampaign['NotificationCampaign']['id']), null, __('Are you sure you want to delete # %s?', $notificationCampaign['NotificationCampaign']['id'])); ?> -->
54
		</td>
54
		</td>