Subversion Repositories SmartDukaan

Rev

Rev 14955 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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