| 14956 |
manas |
1 |
<head>
|
|
|
2 |
<style>
|
|
|
3 |
table, th, td {
|
|
|
4 |
border: 1px solid black;
|
|
|
5 |
}
|
|
|
6 |
</style>
|
|
|
7 |
</head>
|
| 14955 |
manas |
8 |
<div class="notificationCampaigns view">
|
| 14990 |
manas |
9 |
<table cellpadding="0" cellspacing="10%" border="1" class="table table-striped" >
|
| 14956 |
manas |
10 |
<tr >
|
|
|
11 |
<th style="text-align:center"><?php echo $this->Html->link(__(h('User Id')),array('action'=>'sort', $notificationId, '?' => array('type' => 'user_id', 'order' => 'asc'))); ?></th>
|
| 14955 |
manas |
12 |
|
| 14956 |
manas |
13 |
<th style="text-align:center"><?php echo $this->Html->link(__(h('Sent Time')),array('action'=>'sort', $notificationId, '?' => array('type' => 'sent', 'order' => 'asc'))); ?></th>
|
| 14955 |
manas |
14 |
|
| 14956 |
manas |
15 |
<th style="text-align:center"><?php echo $this->Html->link(__(h('Recieved Time')),array('action'=>'sort', $notificationId, '?' => array('type' => 'recieved', 'order' => 'asc'))); ?></th>
|
| 14955 |
manas |
16 |
|
| 14956 |
manas |
17 |
<th style="text-align:center"><?php echo $this->Html->link(__(h('Opened Time')),array('action'=>'sort', $notificationId, '?' => array('type' => 'opened', 'order' => 'asc'))); ?></th>
|
| 14955 |
manas |
18 |
|
| 14956 |
manas |
19 |
<th style="text-align:center"><?php echo h('Status'); ?></th>
|
| 14955 |
manas |
20 |
</tr>
|
|
|
21 |
|
|
|
22 |
<?php foreach ($sortdata as $key => $temp): ?>
|
|
|
23 |
<?php// debug($temp);?>
|
|
|
24 |
<?php if($key==0):?>
|
|
|
25 |
<?php continue; ?>
|
|
|
26 |
?>
|
|
|
27 |
<?php endif;?>
|
|
|
28 |
<tr>
|
| 14956 |
manas |
29 |
<td align="center">
|
| 14955 |
manas |
30 |
<!-- echo $this->Html->link(__(h($key), array('action' => 'show', $key))); -->
|
|
|
31 |
<?php echo
|
|
|
32 |
$this->Html->link(__(h($key)), array('action' => 'user', $key)); ?>
|
|
|
33 |
|
|
|
34 |
</td>
|
|
|
35 |
<?php if(isset($temp['sent'])):?>
|
| 14956 |
manas |
36 |
<td align="center">
|
| 14955 |
manas |
37 |
<?php echo h($temp['sent']); ?>
|
|
|
38 |
</td>
|
|
|
39 |
<?php endif;?>
|
| 14956 |
manas |
40 |
<td align="center" width="15%">
|
| 14955 |
manas |
41 |
<?php if(isset($temp['recieved'])):?>
|
|
|
42 |
|
|
|
43 |
<?php echo h($temp['recieved']); ?>
|
|
|
44 |
</td>
|
|
|
45 |
<?php endif;?>
|
| 14956 |
manas |
46 |
<td align="center" width="25%">
|
| 14955 |
manas |
47 |
<?php if(isset($temp['opened'])):?>
|
|
|
48 |
|
|
|
49 |
<?php echo h($temp['opened']); ?>
|
|
|
50 |
</td>
|
|
|
51 |
<?php endif;?>
|
| 14956 |
manas |
52 |
<td align="center">
|
| 14955 |
manas |
53 |
<?php if(isset($temp['status'])):?>
|
|
|
54 |
<?php if($temp['status']==1):?>
|
|
|
55 |
<p>true</p>
|
|
|
56 |
<?php elseif($temp['status']==0):?>
|
|
|
57 |
<p>false</p>
|
|
|
58 |
</td>
|
|
|
59 |
<?php endif;?>
|
|
|
60 |
<?php endif;?>
|
|
|
61 |
</tr>
|
|
|
62 |
<?php endforeach; ?>
|
|
|
63 |
</table>
|
|
|
64 |
</div>
|