Subversion Repositories SmartDukaan

Rev

Rev 17227 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 17227 Rev 19895
Line 4... Line 4...
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('Pushed By'); ?></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>
-
 
10
	<th align="center"><?php echo h('Response Time'); ?></th>
-
 
11
	<th align="center"><?php echo h('Created'); ?></th>
9
	<th align="center"><?php echo h('Created'); ?></th>
-
 
10
	<th align="center"><?php echo h('Sent'); ?></th>
-
 
11
	<th align="center"><?php echo h('Received'); ?></th>
12
	</tr>
12
	</tr>
13
	
13
	
14
	<?php foreach ($userdata as $key => $temp): ?>
14
	<?php foreach ($userdata as $key => $temp): ?>
15
<!-- 		<?php debug($temp);?> -->
-
 
16
		<tr align="center">
15
		<tr align="center">
17
		<!-- <td width="15%"> -->
16
		<!-- <td width="15%"> -->
18
		<?php //echo h($temp['pushnotifications']['id'])?>
17
		<?php //echo h($temp['pushnotifications']['id'])?>
19
		<?php //echo h($temp['pushed_by'])?>
18
		<?php //echo h($temp['pushed_by'])?>
20
		<!-- </td> -->
19
		<!-- </td> -->
Line 25... Line 24...
25
		<td>
24
		<td>
26
		<?php //echo h($temp['pushnotifications']['type'])?>
25
		<?php //echo h($temp['pushnotifications']['type'])?>
27
		<?php echo h($temp['type'])?>
26
		<?php echo h($temp['type'])?>
28
		</td>
27
		</td>
29
		<td>
28
		<td>
30
		<?php //echo h($temp['pushnotifications']['status'])?>
29
		<?php //echo h($temp['pushnotifications']['status'])if(isset($temp['sent_timestamp'])){
31
		<?php echo h($temp['status'])?>
30
			if(isset($temp['created_timestamp'])){
-
 
31
				echo h(date('Y-m-d H:i:s', $temp['created_timestamp']/1000)); 
-
 
32
			}?>
32
		</td>
33
		</td>
33
		<td width="30%">
34
		<td width="30%">
34
		<?php //echo h($temp['pushnotifications']['response_time'])?>
35
		<?php //echo h($temp['pushnotifications']['response_time'])?>
35
		<?php 
36
		<?php 
36
			if(isset($temp['response_time'])){
37
			if(isset($temp['sent_timestamp'])){
37
				echo h(date('Y-m-d H:i:s', $temp['response_time']/1000)); 
38
				echo h(date('Y-m-d H:i:s', $temp['sent_timestamp']/1000)); 
38
			}?>
39
			}?>
39
		<?php //echo h($temp['response_time'])?>
40
		<?php //echo h($temp['response_time'])?>
40
		</td>
41
		</td>
41
		<td width="30%">
42
		<td width="30%">
42
		<?php //echo h($temp['pushnotifications']['created'])?>
43
		<?php //echo h($temp['pushnotifications']['created'])?>
43
		<?php 
44
		<?php 
44
			if(isset($temp['created'])){
45
			if(isset($temp['receive_timestamp'])){
45
				echo h(date('Y-m-d H:i:s', $temp['created']/1000)); 
46
				echo h(date('Y-m-d H:i:s', $temp['receive_timestamp']/1000)); 
46
		}?>
47
		}?>
47
		<?php //echo h($temp['created'])?>
48
		<?php //echo h($temp['created'])?>
48
		</td>
49
		</td>
49
 
50
 
50
		</tr>
51
		</tr>