Subversion Repositories SmartDukaan

Rev

Rev 14956 | Go to most recent revision | Details | Last modification | View Log | RSS feed

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