Subversion Repositories SmartDukaan

Rev

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

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