Subversion Repositories SmartDukaan

Rev

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

Rev 14990 Rev 17226
Line 1... Line 1...
1
<div class="notificationCampaigns view">
1
<div class="notificationCampaigns view">
2
<h2><?php echo __('Notification Campaign'); ?></h2>
2
<h2><?php echo __('Notification Campaign'); ?></h2>
3
	<?php //debug($notificationCampaign); ?>
3
	<?php //debug($notificationCampaign); ?>
4
	<table cellpadding="0" cellspacing="10%" border="1" class="table table-striped">
4
	<table cellpadding="0" cellspacing="10%" border="1" class="table table-striped">
5
	<tr>
5
	<tr>
6
	<th align="center"><?php echo h('Id'); ?></th>
6
	<th align="center"><?php echo h('Pushed By'); ?></th>
7
	<th align="center"><?php echo h('Campaign Id'); ?></th>
7
	<th align="center"><?php echo h('Campaign Id'); ?></th>
8
	<th align="center"><?php echo h('Type'); ?></th>
8
	<th align="center"><?php echo h('Type'); ?></th>
9
	<th align="center"><?php echo h('Status'); ?></th>
9
	<th align="center"><?php echo h('Status'); ?></th>
10
	<th align="center"><?php echo h('Response Time'); ?></th>
10
	<th align="center"><?php echo h('Response Time'); ?></th>
11
	<th align="center"><?php echo h('Created'); ?></th>
11
	<th align="center"><?php echo h('Created'); ?></th>
Line 13... Line 13...
13
	
13
	
14
	<?php foreach ($userdata as $key => $temp): ?>
14
	<?php foreach ($userdata as $key => $temp): ?>
15
<!-- 		<?php debug($temp);?> -->
15
<!-- 		<?php debug($temp);?> -->
16
		<tr align="center">
16
		<tr align="center">
17
		<td width="15%">
17
		<td width="15%">
18
		<?php echo h($temp['pushnotifications']['id'])?>
18
		<?php //echo h($temp['pushnotifications']['id'])?>
-
 
19
		<?php echo h($temp['pushed_by'])?>
19
		</td>
20
		</td>
20
		<td>
21
		<td>
21
		<?php echo h($temp['pushnotifications']['notification_campaign_id'])?>
22
		<?php //echo h($temp['pushnotifications']['notification_campaign_id'])?>
-
 
23
		<?php echo h($temp['notification_campaign_id'])?>
22
		</td>
24
		</td>
23
		<td>
25
		<td>
24
		<?php echo h($temp['pushnotifications']['type'])?>
26
		<?php //echo h($temp['pushnotifications']['type'])?>
-
 
27
		<?php echo h($temp['type'])?>
25
		</td>
28
		</td>
26
		<td>
29
		<td>
27
		<?php echo h($temp['pushnotifications']['status'])?>
30
		<?php //echo h($temp['pushnotifications']['status'])?>
-
 
31
		<?php echo h($temp['status'])?>
28
		</td>
32
		</td>
29
		<td width="30%">
33
		<td width="30%">
30
		<?php echo h($temp['pushnotifications']['response_time'])?>
34
		<?php //echo h($temp['pushnotifications']['response_time'])?>
-
 
35
		<?php 
-
 
36
			if(isset($temp['response_time'])){
-
 
37
				echo h(date('Y-m-d H:i:s', $temp['response_time']/1000)); 
-
 
38
			}?>
-
 
39
		<?php //echo h($temp['response_time'])?>
31
		</td>
40
		</td>
32
		<td width="30%">
41
		<td width="30%">
33
		<?php echo h($temp['pushnotifications']['created'])?>
42
		<?php //echo h($temp['pushnotifications']['created'])?>
-
 
43
		<?php 
-
 
44
			if(isset($temp['created'])){
-
 
45
				echo h(date('Y-m-d H:i:s', $temp['created']/1000)); 
-
 
46
		}?>
-
 
47
		<?php //echo h($temp['created'])?>
34
		</td>
48
		</td>
35
 
49
 
36
		</tr>
50
		</tr>
37
	<?php endforeach; ?>
51
	<?php endforeach; ?>
38
	</table>
52
	</table>