| 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 index">
|
|
|
9 |
|
|
|
10 |
<h2><?php echo __('Notification Campaigns'); ?></h2>
|
|
|
11 |
|
| 14990 |
manas |
12 |
<table cellpadding="0" cellspacing="0" border="1" class="table table-striped" >
|
| 14955 |
manas |
13 |
<tr>
|
| 14956 |
manas |
14 |
<th style="text-align:center"><?php echo $this->Paginator->sort('id'); ?></th>
|
|
|
15 |
<th style="text-align:center"><?php echo $this->Paginator->sort('name'); ?></th>
|
|
|
16 |
<th style="text-align:center"><?php echo $this->Paginator->sort('title'); ?></th>
|
|
|
17 |
<th style="text-align:center"><?php echo $this->Paginator->sort('created'); ?></th>
|
| 14967 |
manas |
18 |
<th style="text-align:center"><?php echo $this->Paginator->sort('expiresat'); ?></th>
|
| 14956 |
manas |
19 |
<th style="text-align:center">Total</th>
|
| 15575 |
manas |
20 |
<th style="text-align:center">Failed</th>
|
| 15004 |
manas |
21 |
<th style="text-align:center">Success</th>
|
| 14956 |
manas |
22 |
<th style="text-align:center">Recieved</th>
|
| 15575 |
manas |
23 |
<th style="text-align:center">Expired</th>
|
|
|
24 |
<th style="text-align:center">Gap</th>
|
| 14956 |
manas |
25 |
<th style="text-align:center">Opened</th>
|
|
|
26 |
<th style="text-align:center">Referrer</th>
|
| 15575 |
manas |
27 |
<th style="text-align:center">Login</th>
|
| 17349 |
manish.sha |
28 |
<th style="text-align:center">Total Sms</th>
|
|
|
29 |
<th style="text-align:center">Failed Sms</th>
|
|
|
30 |
<th style="text-align:center">Success Sms</th>
|
|
|
31 |
<th style="text-align:center">Received Sms</th>
|
|
|
32 |
<th style="text-align:center">Expired Sms</th>
|
|
|
33 |
<th style="text-align:center">Sent To Operator</th>
|
|
|
34 |
<th style="text-align:center">Gap Sms</th>
|
| 14956 |
manas |
35 |
<th style="text-align:center" class="actions"><?php echo __('Actions'); ?></th>
|
| 14955 |
manas |
36 |
|
|
|
37 |
</tr>
|
|
|
38 |
|
| 15581 |
manas |
39 |
<?php foreach ($notificationCampaigns as $key=> $notificationCampaign): ?>
|
| 15004 |
manas |
40 |
<?php
|
|
|
41 |
if(isset($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['sent']) && !empty($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['sent'])){
|
| 15581 |
manas |
42 |
|
|
|
43 |
$successSent=$notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['sent'];}
|
|
|
44 |
else{
|
| 15004 |
manas |
45 |
$successSent=0;
|
|
|
46 |
}
|
|
|
47 |
if(isset($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['0']) && !empty($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['0'])){
|
|
|
48 |
$successFailed=$notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['0'];
|
|
|
49 |
}else{
|
|
|
50 |
$successFailed=0;
|
|
|
51 |
}
|
|
|
52 |
?>
|
| 14955 |
manas |
53 |
<tr>
|
| 15004 |
manas |
54 |
|
| 14955 |
manas |
55 |
<td align="center" width="4%"><?php echo h($notificationCampaign['NotificationCampaign']['id']); ?> </td>
|
|
|
56 |
<td align="center"><?php echo h($notificationCampaign['NotificationCampaign']['name']); ?> </td>
|
|
|
57 |
<td align="center"><?php echo h($notificationCampaign['NotificationCampaign']['title']); ?> </td>
|
| 17215 |
naman |
58 |
<!-- <td align="center"><?php //echo h($notificationCampaign['NotificationCampaign']['message']); ?> </td> -->
|
| 14955 |
manas |
59 |
<td align="center"><?php echo h($notificationCampaign['NotificationCampaign']['created']); ?> </td>
|
| 14967 |
manas |
60 |
<td align="center"><?php echo h($notificationCampaign['NotificationCampaign']['expiresat']); ?> </td>
|
| 17215 |
naman |
61 |
<td> <?php //echo h($successSent+ $successFailed) ?>
|
|
|
62 |
<?php //echo $result[$notificationCampaign['NotificationCampaign']['id']]['sent'];?>
|
|
|
63 |
<?php
|
| 19082 |
naman |
64 |
if(isset($result[$notificationCampaign['NotificationCampaign']['id']]['total'])){
|
|
|
65 |
//echo $result[$notificationCampaign['NotificationCampaign']['id']]['sent'];
|
|
|
66 |
echo $result[$notificationCampaign['NotificationCampaign']['id']]['total'];
|
|
|
67 |
$total = $result[$notificationCampaign['NotificationCampaign']['id']]['total'];
|
| 17236 |
naman |
68 |
}else {echo '0';
|
|
|
69 |
$total = 0;
|
|
|
70 |
}
|
| 17215 |
naman |
71 |
?>
|
|
|
72 |
|
|
|
73 |
|
|
|
74 |
</td>
|
| 15575 |
manas |
75 |
|
| 17215 |
naman |
76 |
<td align="center">
|
|
|
77 |
<?php //if(isset($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['0']) && !empty($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['0'])){ echo $this->Html->link(__(h($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['0'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'sent',0));} else {echo h('0');}?>
|
|
|
78 |
<?php
|
| 19082 |
naman |
79 |
if(isset($result[$notificationCampaign['NotificationCampaign']['id']]['failed'])){
|
|
|
80 |
//echo $this->Html->link(__(h($result[$notificationCampaign['NotificationCampaign']['id']]['failed'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'sent',0));
|
|
|
81 |
echo h($result[$notificationCampaign['NotificationCampaign']['id']]['failed']);
|
| 17215 |
naman |
82 |
}else {echo h('0');}
|
|
|
83 |
?>
|
|
|
84 |
|
|
|
85 |
</td>
|
| 15575 |
manas |
86 |
|
| 17215 |
naman |
87 |
<td align="center" width="15%">
|
|
|
88 |
<?php //if(isset($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['sent']) && !empty($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['sent'])){echo $this->Html->link(__(h($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['sent'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'sent',1)); } else {echo h('0');}?>
|
|
|
89 |
<?php
|
| 19082 |
naman |
90 |
if(isset($result[$notificationCampaign['NotificationCampaign']['id']]['success'])){
|
|
|
91 |
// echo $this->Html->link(__(h($result[$notificationCampaign['NotificationCampaign']['id']]['success'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'sent',1));
|
|
|
92 |
echo h($result[$notificationCampaign['NotificationCampaign']['id']]['success']);
|
|
|
93 |
$success = $result[$notificationCampaign['NotificationCampaign']['id']]['success'];
|
| 17236 |
naman |
94 |
}else {echo h('0');
|
|
|
95 |
$success = 0;
|
|
|
96 |
}
|
| 17215 |
naman |
97 |
?>
|
| 15581 |
manas |
98 |
<br>
|
| 17215 |
naman |
99 |
<?php //echo h('Trackable= '.$notificationWithVersionCode[$key]);?>
|
| 15581 |
manas |
100 |
<br>
|
| 17215 |
naman |
101 |
<?php //echo h('%= '.round((($notificationWithVersionCode[$key])/($successSent+$successFailed))*100));?>
|
| 17236 |
naman |
102 |
<?php echo h('Success %= '.round((($success)/($total))*100));?>
|
| 15581 |
manas |
103 |
</td>
|
| 14955 |
manas |
104 |
|
| 17215 |
naman |
105 |
<td align="center">
|
|
|
106 |
<?php //if(isset($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['recieved']) && !empty($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['recieved'])){echo $this->Html->link(__(h($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['recieved'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'recieved',1)); } else {echo h('0');}?>
|
|
|
107 |
<?php
|
|
|
108 |
if(isset($result[$notificationCampaign['NotificationCampaign']['id']]['recieved'])){
|
| 19082 |
naman |
109 |
// echo $this->Html->link(__(h($result[$notificationCampaign['NotificationCampaign']['id']]['recieved'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'recieved',1));
|
|
|
110 |
echo h($result[$notificationCampaign['NotificationCampaign']['id']]['recieved']);
|
| 17215 |
naman |
111 |
}else {echo h('0');}
|
|
|
112 |
?>
|
|
|
113 |
|
|
|
114 |
</td>
|
| 14955 |
manas |
115 |
|
| 17215 |
naman |
116 |
<td align="center">
|
|
|
117 |
<?php //if(isset($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['expired']) && !empty($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['expired'])){echo $this->Html->link(__(h($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['expired'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'expired',1)); } else {echo h('0');}?>
|
|
|
118 |
<?php
|
|
|
119 |
if(isset($result[$notificationCampaign['NotificationCampaign']['id']]['expired'])){
|
| 19082 |
naman |
120 |
// echo $this->Html->link(__(h($result[$notificationCampaign['NotificationCampaign']['id']]['recieved'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'recieved',1));
|
|
|
121 |
echo h($result[$notificationCampaign['NotificationCampaign']['id']]['expired']);
|
| 17215 |
naman |
122 |
}else {echo h('0');}
|
|
|
123 |
?>
|
|
|
124 |
</td>
|
| 15575 |
manas |
125 |
|
| 17215 |
naman |
126 |
<?php //if(isset($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['recieved']) && !empty($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['recieved'])){$recieved = $notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['recieved']; } else {$recieved =0;}?>
|
|
|
127 |
<?php //if(isset($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['expired']) && !empty($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['expired'])){$expired = $notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['expired']; } else {$expired=0;}?>
|
|
|
128 |
<?php
|
|
|
129 |
if(isset($result[$notificationCampaign['NotificationCampaign']['id']]['recieved'])){
|
|
|
130 |
$recieved = $result[$notificationCampaign['NotificationCampaign']['id']]['recieved'];
|
|
|
131 |
}else {$recieved =0;}
|
|
|
132 |
if(isset($result[$notificationCampaign['NotificationCampaign']['id']]['expired'])){
|
|
|
133 |
$expired = $result[$notificationCampaign['NotificationCampaign']['id']]['expired'];
|
|
|
134 |
}else {$expired =0;}
|
| 17236 |
naman |
135 |
if(isset($result[$notificationCampaign['NotificationCampaign']['id']]['1'])){
|
|
|
136 |
$sent = $result[$notificationCampaign['NotificationCampaign']['id']]['1'];
|
| 17215 |
naman |
137 |
}else {$sent =0;}
|
|
|
138 |
?>
|
|
|
139 |
<td align="center" width="10%">
|
|
|
140 |
<?php //echo($notificationWithVersionCode[$key] - ($recieved+$expired));?>
|
| 19082 |
naman |
141 |
<?php //echo($sent - ($recieved+$expired));?>
|
|
|
142 |
<?php echo($success - ($recieved+$expired));?>
|
| 17215 |
naman |
143 |
|
| 15581 |
manas |
144 |
<br>
|
| 17215 |
naman |
145 |
<?php //if($notificationWithVersionCode[$key]!=0){ echo('%= '.round((($notificationWithVersionCode[$key] - ($recieved+$expired))/$notificationWithVersionCode[$key])*100));}else {echo('%= 0');}?>
|
| 19082 |
naman |
146 |
<?php if($success!=0){ echo('%= '.round((($success - ($recieved+$expired))/$success)*100));}else {echo('%= 0');}?>
|
| 15581 |
manas |
147 |
</td>
|
| 17215 |
naman |
148 |
<td align="center">
|
|
|
149 |
<?php //if(isset($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['opened']) && !empty($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['opened'])){echo $this->Html->link(__(h($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['opened'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'opened',1)); } else {echo h('0');}?>
|
|
|
150 |
<?php
|
|
|
151 |
if(isset($result[$notificationCampaign['NotificationCampaign']['id']]['opened'])){
|
| 19082 |
naman |
152 |
// echo $this->Html->link(__(h($result[$notificationCampaign['NotificationCampaign']['id']]['opened'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'opened',1));
|
|
|
153 |
echo h($result[$notificationCampaign['NotificationCampaign']['id']]['opened']);
|
| 17215 |
naman |
154 |
}else {echo h('0');}
|
|
|
155 |
?>
|
|
|
156 |
|
|
|
157 |
</td>
|
|
|
158 |
<td align="center">
|
|
|
159 |
<?php //if(isset($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['referrer']) && !empty($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['referrer'])){echo $this->Html->link(__(h($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['referrer'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'referrer',1)); } else {echo h('0');}?>
|
|
|
160 |
<?php
|
|
|
161 |
if(isset($result[$notificationCampaign['NotificationCampaign']['id']]['referrer'])){
|
| 19082 |
naman |
162 |
// echo $this->Html->link(__(h($result[$notificationCampaign['NotificationCampaign']['id']]['referrer'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'referrer',1));
|
|
|
163 |
echo h($result[$notificationCampaign['NotificationCampaign']['id']]['referrer']);
|
| 17215 |
naman |
164 |
}else {echo h('0');}
|
|
|
165 |
?>
|
|
|
166 |
</td>
|
|
|
167 |
<td align="center">
|
|
|
168 |
<?php //if(isset($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['login']) && !empty($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['login'])){echo $this->Html->link(__(h($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['login'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'login',1)); } else {echo h('0');}?>
|
|
|
169 |
<?php
|
|
|
170 |
if(isset($result[$notificationCampaign['NotificationCampaign']['id']]['login'])){
|
| 19082 |
naman |
171 |
// echo $this->Html->link(__(h($result[$notificationCampaign['NotificationCampaign']['id']]['login'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'login',1));
|
|
|
172 |
echo h($result[$notificationCampaign['NotificationCampaign']['id']]['login']);
|
| 17215 |
naman |
173 |
}else {echo h('0');}
|
|
|
174 |
?>
|
|
|
175 |
</td>
|
| 17349 |
manish.sha |
176 |
|
|
|
177 |
<td align="center">
|
|
|
178 |
<?php //if(isset($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['login']) && !empty($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['login'])){echo $this->Html->link(__(h($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['login'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'login',1)); } else {echo h('0');}?>
|
|
|
179 |
<?php
|
|
|
180 |
if(isset($result[$notificationCampaign['NotificationCampaign']['id']]['smssent'])){
|
|
|
181 |
echo $result[$notificationCampaign['NotificationCampaign']['id']]['smssent'];
|
|
|
182 |
$smstotal = $result[$notificationCampaign['NotificationCampaign']['id']]['smssent'];
|
|
|
183 |
}else {echo h('0');
|
|
|
184 |
$smstotal=0;
|
|
|
185 |
}
|
|
|
186 |
?>
|
|
|
187 |
</td>
|
|
|
188 |
|
|
|
189 |
<td align="center">
|
|
|
190 |
<?php //if(isset($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['smsrejected']) && !empty($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['smsrejected'])){echo $this->Html->link(__(h($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['smsrejected'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'smsrejected',1)); } else {echo h('0');}?>
|
|
|
191 |
<?php
|
|
|
192 |
if(isset($result[$notificationCampaign['NotificationCampaign']['id']]['smsrejected'])){
|
| 19082 |
naman |
193 |
// echo $this->Html->link(__(h($result[$notificationCampaign['NotificationCampaign']['id']]['smsrejected'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'smsrejected',1));
|
|
|
194 |
echo h($result[$notificationCampaign['NotificationCampaign']['id']]['smsrejected']);
|
| 17349 |
manish.sha |
195 |
}else {echo h('0');}
|
|
|
196 |
?>
|
|
|
197 |
</td>
|
|
|
198 |
<td align="center">
|
|
|
199 |
<?php //if(isset($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['smsrejected']) && !empty($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['smsrejected'])){echo $this->Html->link(__(h($notificationCampaignsCount[$notificationCampaign['NotificationCampaign']['id']]['smsrejected'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'smsrejected',1)); } else {echo h('0');}?>
|
|
|
200 |
<?php
|
|
|
201 |
if(isset($result[$notificationCampaign['NotificationCampaign']['id']]['smsprocessed'])){
|
| 19082 |
naman |
202 |
// echo $this->Html->link(__(h($result[$notificationCampaign['NotificationCampaign']['id']]['smsprocessed'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'smsprocessed',1));
|
|
|
203 |
echo h($result[$notificationCampaign['NotificationCampaign']['id']]['smsprocessed']);
|
| 17349 |
manish.sha |
204 |
$smssuccess=$result[$notificationCampaign['NotificationCampaign']['id']]['smsprocessed'];
|
|
|
205 |
}else {echo h('0');
|
|
|
206 |
$smssuccess=0;
|
|
|
207 |
}
|
|
|
208 |
if($smstotal==0){
|
|
|
209 |
$successpert = 0;
|
|
|
210 |
}else{
|
|
|
211 |
$successpert = round(($smssuccess)/($smstotal)*100);
|
|
|
212 |
}
|
|
|
213 |
?>
|
|
|
214 |
<br>
|
|
|
215 |
<br>
|
|
|
216 |
<?php echo h('Success %= '.$successpert);?>
|
|
|
217 |
</td>
|
|
|
218 |
<td align="center">
|
|
|
219 |
<?php
|
|
|
220 |
if(isset($result[$notificationCampaign['NotificationCampaign']['id']]['SMS_DELIVRD'])){
|
| 19082 |
naman |
221 |
// echo $this->Html->link(__(h($result[$notificationCampaign['NotificationCampaign']['id']]['SMS_DELIVRD'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'SMS_DELIVRD',1));
|
|
|
222 |
echo h($result[$notificationCampaign['NotificationCampaign']['id']]['SMS_DELIVRD']);
|
| 17349 |
manish.sha |
223 |
$receivedsms=$result[$notificationCampaign['NotificationCampaign']['id']]['SMS_DELIVRD'];
|
|
|
224 |
}else {echo h('0');
|
|
|
225 |
$receivedsms = 0;
|
|
|
226 |
}
|
|
|
227 |
?>
|
|
|
228 |
</td>
|
|
|
229 |
<td align="center">
|
|
|
230 |
<?php
|
|
|
231 |
if(isset($result[$notificationCampaign['NotificationCampaign']['id']]['SMS_EXPIRED'])){
|
| 19082 |
naman |
232 |
// echo $this->Html->link(__(h($result[$notificationCampaign['NotificationCampaign']['id']]['SMS_EXPIRED'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'SMS_EXPIRED',1));
|
|
|
233 |
echo h($result[$notificationCampaign['NotificationCampaign']['id']]['SMS_EXPIRED']);
|
| 17349 |
manish.sha |
234 |
$expiredsms = $result[$notificationCampaign['NotificationCampaign']['id']]['SMS_EXPIRED'];
|
|
|
235 |
}else {echo h('0');
|
|
|
236 |
$expiredsms = 0;
|
|
|
237 |
}
|
|
|
238 |
?>
|
|
|
239 |
</td>
|
|
|
240 |
<td align="center">
|
|
|
241 |
<?php
|
|
|
242 |
if(isset($result[$notificationCampaign['NotificationCampaign']['id']]['SMS_SENT_OPERATOR'])){
|
| 19082 |
naman |
243 |
// echo $this->Html->link(__(h($result[$notificationCampaign['NotificationCampaign']['id']]['SMS_SENT_OPERATOR'])), array('action' => 'show', $notificationCampaign['NotificationCampaign']['id'], 'SMS_SENT_OPERATOR',1));
|
|
|
244 |
echo h($result[$notificationCampaign['NotificationCampaign']['id']]['SMS_SENT_OPERATOR']);
|
| 17349 |
manish.sha |
245 |
$sentoperator = $result[$notificationCampaign['NotificationCampaign']['id']]['SMS_SENT_OPERATOR'];
|
|
|
246 |
}else {echo h('0');
|
|
|
247 |
$sentoperator = 0;
|
|
|
248 |
}
|
|
|
249 |
?>
|
|
|
250 |
</td>
|
|
|
251 |
|
|
|
252 |
<td align="center">
|
|
|
253 |
<?php //echo($notificationWithVersionCode[$key] - ($recieved+$expired));?>
|
| 18250 |
manish.sha |
254 |
<?php echo($smssuccess - ($receivedsms+$expiredsms+$sentoperator));?>
|
| 17349 |
manish.sha |
255 |
|
|
|
256 |
<br>
|
|
|
257 |
|
|
|
258 |
<?php if($smssuccess!=0){ echo('%= '.round((($smssuccess - ($receivedsms+$expiredsms+$sentoperator))/$smssuccess)*100));}else {echo('%= 0');}?>
|
|
|
259 |
<br>
|
|
|
260 |
</td>
|
| 15004 |
manas |
261 |
|
| 14967 |
manas |
262 |
<td align="center" width="15%" class="actions">
|
| 15004 |
manas |
263 |
|
| 14955 |
manas |
264 |
<?php echo $this->Html->link(__('View'), array('action' => 'view', $notificationCampaign['NotificationCampaign']['id'])); ?>
|
|
|
265 |
|
|
|
266 |
<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $notificationCampaign['NotificationCampaign']['id'])); ?>
|
| 17215 |
naman |
267 |
<!--<?php //echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $notificationCampaign['NotificationCampaign']['id']), null, __('Are you sure you want to delete # %s?', $notificationCampaign['NotificationCampaign']['id'])); ?> -->
|
| 14955 |
manas |
268 |
</td>
|
|
|
269 |
</tr>
|
|
|
270 |
<?php endforeach; ?>
|
|
|
271 |
</table>
|
| 19082 |
naman |
272 |
<!-- <p> -->
|
| 14955 |
manas |
273 |
<?php
|
| 19082 |
naman |
274 |
// echo $this->Paginator->counter(array(
|
|
|
275 |
// 'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
|
|
|
276 |
// ));
|
| 14955 |
manas |
277 |
?> </p>
|
| 19082 |
naman |
278 |
<!-- <div class="paging"> -->
|
| 14955 |
manas |
279 |
<?php
|
| 19082 |
naman |
280 |
// echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
|
|
|
281 |
// echo $this->Paginator->numbers(array('separator' => ' '));
|
|
|
282 |
// echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
|
|
|
283 |
// ?>
|
|
|
284 |
<ul class="pager">
|
|
|
285 |
<?php if($page>1):?>
|
|
|
286 |
<li><a href="?page=<?php echo $page-1;?>">Previous</a></li>
|
|
|
287 |
<?php endif;?>
|
|
|
288 |
|
|
|
289 |
<li><a href="?page=<?php echo $page+1;?>">Next</a></li>
|
|
|
290 |
|
|
|
291 |
</ul>
|
| 14955 |
manas |
292 |
</div>
|
| 15575 |
manas |
293 |
</div>
|