Rev 14956 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<div class="notificationCampaigns view"><table cellpadding="0" cellspacing="10%" border="1" ><tr><th align="center"><?php echo $this->Html->link(__(h('User Id')),array('action'=>'sort', $notificationId, '?' => array('type' => 'user_id', 'order' => 'asc'))); ?></th><th align="center"><?php echo $this->Html->link(__(h('Sent Time')),array('action'=>'sort', $notificationId, '?' => array('type' => 'sent', 'order' => 'asc'))); ?></th><th align="center"><?php echo $this->Html->link(__(h('Recieved Time')),array('action'=>'sort', $notificationId, '?' => array('type' => 'recieved', 'order' => 'asc'))); ?></th><th align="center"><?php echo $this->Html->link(__(h('Opened Time')),array('action'=>'sort', $notificationId, '?' => array('type' => 'opened', 'order' => 'asc'))); ?></th><th align="center"><?php echo h('Status'); ?></th></tr><?php foreach ($sortdata as $key => $temp): ?><?php// debug($temp);?><?php if($key==0):?><?php continue; ?>?><?php endif;?><tr><td><!-- echo $this->Html->link(__(h($key), array('action' => 'show', $key))); --><?php echo$this->Html->link(__(h($key)), array('action' => 'user', $key)); ?></td><?php if(isset($temp['sent'])):?><td><?php echo h($temp['sent']); ?></td><?php endif;?><td><?php if(isset($temp['recieved'])):?><?php echo h($temp['recieved']); ?></td><?php endif;?><td><?php if(isset($temp['opened'])):?><?php echo h($temp['opened']); ?></td><?php endif;?><td><?php if(isset($temp['status'])):?><?php if($temp['status']==1):?><p>true</p><?php elseif($temp['status']==0):?><p>false</p></td><?php endif;?><?php endif;?></tr><?php endforeach; ?></table></div>