| Line 31... |
Line 31... |
| 31 |
|
31 |
|
| 32 |
<th style="text-align:center"><?php echo h('Status'); ?></th>
|
32 |
<th style="text-align:center"><?php echo h('Status'); ?></th>
|
| 33 |
</tr>
|
33 |
</tr>
|
| 34 |
|
34 |
|
| 35 |
<?php foreach ($notificationCampaign as $key => $temp): ?>
|
35 |
<?php foreach ($notificationCampaign as $key => $temp): ?>
|
| 36 |
<?php //debug($temp);?>
|
- |
|
| - |
|
36 |
|
| 37 |
<?php if($key==0):?>
|
37 |
<?php if($key==0):?>
|
| 38 |
<?php continue; ?>
|
38 |
<?php continue; ?>
|
| 39 |
?>
|
39 |
?>
|
| 40 |
<?php endif;?>
|
40 |
<?php endif;?>
|
| 41 |
<tr>
|
41 |
<tr>
|
| Line 73... |
Line 73... |
| 73 |
<?php endif;?>
|
73 |
<?php endif;?>
|
| 74 |
</tr>
|
74 |
</tr>
|
| 75 |
<?php endforeach; ?>
|
75 |
<?php endforeach; ?>
|
| 76 |
</table>
|
76 |
</table>
|
| 77 |
<!-- <dl>
|
77 |
<!-- <dl>
|
| 78 |
<dt><?php echo __('Id'); ?></dt>
|
78 |
<dt><?php //echo __('Id'); ?></dt>
|
| 79 |
<dd>
|
79 |
<dd>
|
| 80 |
<?php echo h($notificationCampaign['NotificationCampaign']['id']); ?>
|
80 |
<?php //echo h($notificationCampaign['NotificationCampaign']['id']); ?>
|
| 81 |
|
81 |
|
| 82 |
</dd>
|
82 |
</dd>
|
| 83 |
<dt><?php echo __('Name'); ?></dt>
|
83 |
<dt><?php //echo __('Name'); ?></dt>
|
| 84 |
<dd>
|
84 |
<dd>
|
| 85 |
<?php echo h($notificationCampaign['NotificationCampaign']['name']); ?>
|
85 |
<?php// echo h($notificationCampaign['NotificationCampaign']['name']); ?>
|
| 86 |
|
86 |
|
| 87 |
</dd>
|
87 |
</dd>
|
| 88 |
<dt><?php echo __('Title'); ?></dt>
|
88 |
<dt><?php //echo __('Title'); ?></dt>
|
| 89 |
<dd>
|
89 |
<dd>
|
| 90 |
<?php echo h($notificationCampaign['NotificationCampaign']['title']); ?>
|
90 |
<?php //echo h($notificationCampaign['NotificationCampaign']['title']); ?>
|
| 91 |
|
91 |
|
| 92 |
</dd>
|
92 |
</dd>
|
| 93 |
<dt><?php echo __('Message'); ?></dt>
|
93 |
<dt><?php //echo __('Message'); ?></dt>
|
| 94 |
<dd>
|
94 |
<dd>
|
| 95 |
<?php echo h($notificationCampaign['NotificationCampaign']['message']); ?>
|
95 |
<?php //echo h($notificationCampaign['NotificationCampaign']['message']); ?>
|
| 96 |
|
96 |
|
| 97 |
</dd>
|
97 |
</dd>
|
| 98 |
<dt><?php echo __('Type'); ?></dt>
|
98 |
<dt><?php //echo __('Type'); ?></dt>
|
| 99 |
<dd>
|
99 |
<dd>
|
| 100 |
<?php echo h($notificationCampaign['NotificationCampaign']['type']); ?>
|
100 |
<?php //echo h($notificationCampaign['NotificationCampaign']['type']); ?>
|
| 101 |
|
101 |
|
| 102 |
</dd>
|
102 |
</dd>
|
| 103 |
<dt><?php echo __('Url'); ?></dt>
|
103 |
<dt><?php //echo __('Url'); ?></dt>
|
| 104 |
<dd>
|
104 |
<dd>
|
| 105 |
<?php echo h($notificationCampaign['NotificationCampaign']['url']); ?>
|
105 |
<?php //echo h($notificationCampaign['NotificationCampaign']['url']); ?>
|
| 106 |
|
106 |
|
| 107 |
</dd>
|
107 |
</dd>
|
| 108 |
<dt><?php echo __('Created'); ?></dt>
|
108 |
<dt><?php //echo __('Created'); ?></dt>
|
| 109 |
<dd>
|
109 |
<dd>
|
| 110 |
<?php echo h($notificationCampaign['NotificationCampaign']['created']); ?>
|
110 |
<?php //echo h($notificationCampaign['NotificationCampaign']['created']); ?>
|
| 111 |
|
111 |
|
| 112 |
</dd>
|
112 |
</dd>
|
| 113 |
</dl>
|
113 |
</dl>
|
| 114 |
--></div>
|
114 |
--></div>
|
| 115 |
<!-- <div class="actions">
|
115 |
<!-- <div class="actions">
|
| 116 |
<h3><?php echo __('Actions'); ?></h3>
|
116 |
<h3><?php //echo __('Actions'); ?></h3>
|
| 117 |
<ul>
|
117 |
<ul>
|
| 118 |
<li><?php echo $this->Html->link(__('Edit Notification Campaign'), array('action' => 'edit', $notificationCampaign['NotificationCampaign']['id'])); ?> </li>
|
118 |
<li><?php //echo $this->Html->link(__('Edit Notification Campaign'), array('action' => 'edit', $notificationCampaign['NotificationCampaign']['id'])); ?> </li>
|
| 119 |
<li><?php echo $this->Form->postLink(__('Delete Notification Campaign'), array('action' => 'delete', $notificationCampaign['NotificationCampaign']['id']), null, __('Are you sure you want to delete # %s?', $notificationCampaign['NotificationCampaign']['id'])); ?> </li>
|
119 |
<li><?php ///echo $this->Form->postLink(__('Delete Notification Campaign'), array('action' => 'delete', $notificationCampaign['NotificationCampaign']['id']), null, __('Are you sure you want to delete # %s?', $notificationCampaign['NotificationCampaign']['id'])); ?> </li>
|
| 120 |
<li><?php echo $this->Html->link(__('List Notification Campaigns'), array('action' => 'index')); ?> </li>
|
120 |
<li><?php //echo $this->Html->link(__('List Notification Campaigns'), array('action' => 'index')); ?> </li>
|
| 121 |
<li><?php echo $this->Html->link(__('New Notification Campaign'), array('action' => 'add')); ?> </li>
|
121 |
<li><?php //echo $this->Html->link(__('New Notification Campaign'), array('action' => 'add')); ?> </li>
|
| 122 |
<li><?php echo $this->Html->link(__('List Pushnotifications'), array('controller' => 'pushnotifications', 'action' => 'index')); ?> </li>
|
122 |
<li><?php //echo $this->Html->link(__('List Pushnotifications'), array('controller' => 'pushnotifications', 'action' => 'index')); ?> </li>
|
| 123 |
<li><?php echo $this->Html->link(__('New Pushnotification'), array('controller' => 'pushnotifications', 'action' => 'add')); ?> </li>
|
123 |
<li><?php //echo $this->Html->link(__('New Pushnotification'), array('controller' => 'pushnotifications', 'action' => 'add')); ?> </li>
|
| 124 |
</ul>
|
124 |
</ul>
|
| 125 |
</div> -->
|
125 |
</div> -->
|
| 126 |
<!-- <div class="related">
|
126 |
<!-- <div class="related">
|
| 127 |
<h3><?php echo __('Related Pushnotifications'); ?></h3>
|
127 |
<h3><?php //echo __('Related Pushnotifications'); ?></h3>
|
| 128 |
<?php if (!empty($notificationCampaign['Pushnotification'])): ?>
|
128 |
<?php //if (!empty($notificationCampaign['Pushnotification'])): ?>
|
| 129 |
<table cellpadding = "0" cellspacing = "0">
|
129 |
<table cellpadding = "0" cellspacing = "0">
|
| 130 |
<tr>
|
130 |
<tr>
|
| 131 |
<th><?php echo __('Id'); ?></th>
|
131 |
<th><?php //echo __('Id'); ?></th>
|
| 132 |
<th><?php echo __('User Id'); ?></th>
|
132 |
<th><?php //echo __('User Id'); ?></th>
|
| 133 |
<th><?php echo __('Campaign Id'); ?></th>
|
133 |
<th><?php //echo __('Campaign Id'); ?></th>
|
| 134 |
<th><?php echo __('Type'); ?></th>
|
134 |
<th><?php //echo __('Type'); ?></th>
|
| 135 |
<th><?php echo __('Status'); ?></th>
|
135 |
<th><?php //echo __('Status'); ?></th>
|
| 136 |
<th><?php echo __('Response Time'); ?></th>
|
136 |
<th><?php //echo __('Response Time'); ?></th>
|
| 137 |
<th><?php echo __('Created'); ?></th>
|
137 |
<th><?php //echo __('Created'); ?></th>
|
| 138 |
<th class="actions"><?php echo __('Actions'); ?></th>
|
138 |
<th class="actions"><?php //echo __('Actions'); ?></th>
|
| 139 |
</tr>
|
139 |
</tr>
|
| 140 |
<?php foreach ($notificationCampaign['Pushnotification'] as $pushnotification): ?>
|
140 |
<?php //foreach ($notificationCampaign['Pushnotification'] as $pushnotification): ?>
|
| 141 |
<tr>
|
141 |
<tr>
|
| 142 |
<td width="15%"><?php echo $pushnotification['id']; ?></td>
|
142 |
<td width="15%"><?php //echo $pushnotification['id']; ?></td>
|
| 143 |
<td width="5%" align="center"><?php echo $pushnotification['user_id']; ?></td>
|
143 |
<td width="5%" align="center"><?php //echo $pushnotification['user_id']; ?></td>
|
| 144 |
<td width="15%" align="center"><?php echo $pushnotification['notification_campaign_id']; ?></td>
|
144 |
<td width="15%" align="center"><?php //echo $pushnotification['notification_campaign_id']; ?></td>
|
| 145 |
<td width="15%"><?php echo $pushnotification['type']; ?></td>
|
145 |
<td width="15%"><?php// echo $pushnotification['type']; ?></td>
|
| 146 |
<td width="15%"><?php echo $pushnotification['status']; ?></td>
|
146 |
<td width="15%"><?php //echo $pushnotification['status']; ?></td>
|
| 147 |
<td width="15%"><?php echo $pushnotification['response_time']; ?></td>
|
147 |
<td width="15%"><?php //echo $pushnotification['response_time']; ?></td>
|
| 148 |
<td width="15%"><?php echo $pushnotification['created']; ?></td>
|
148 |
<td width="15%"><?php //echo $pushnotification['created']; ?></td>
|
| 149 |
<td class="actions">
|
149 |
<td class="actions">
|
| 150 |
<?php echo $this->Html->link(__('View'), array('controller' => 'pushnotifications', 'action' => 'view', $pushnotification['id'])); ?>
|
150 |
<?php //echo $this->Html->link(__('View'), array('controller' => 'pushnotifications', 'action' => 'view', $pushnotification['id'])); ?>
|
| 151 |
<?php echo $this->Html->link(__('Edit'), array('controller' => 'pushnotifications', 'action' => 'edit', $pushnotification['id'])); ?>
|
151 |
<?php //echo $this->Html->link(__('Edit'), array('controller' => 'pushnotifications', 'action' => 'edit', $pushnotification['id'])); ?>
|
| 152 |
<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'pushnotifications', 'action' => 'delete', $pushnotification['id']), null, __('Are you sure you want to delete # %s?', $pushnotification['id'])); ?>
|
152 |
<?php //echo $this->Form->postLink(__('Delete'), array('controller' => 'pushnotifications', 'action' => 'delete', $pushnotification['id']), null, __('Are you sure you want to delete # %s?', $pushnotification['id'])); ?>
|
| 153 |
</td>
|
153 |
</td>
|
| 154 |
</tr>
|
154 |
</tr>
|
| 155 |
<?php endforeach; ?>
|
155 |
<?php //endforeach; ?>
|
| 156 |
</table>
|
156 |
</table>
|
| 157 |
<?php endif; ?> -->
|
157 |
<?php //endif; ?> -->
|
| 158 |
|
158 |
|
| 159 |
<!-- <div class="actions">
|
159 |
<!-- <div class="actions">
|
| 160 |
<ul>
|
160 |
<ul>
|
| 161 |
<li><?php echo $this->Html->link(__('New Pushnotification'), array('controller' => 'pushnotifications', 'action' => 'add')); ?> </li>
|
161 |
<li><?php //echo $this->Html->link(__('New Pushnotification'), array('controller' => 'pushnotifications', 'action' => 'add')); ?> </li>
|
| 162 |
</ul>
|
162 |
</ul>
|
| 163 |
</div> -->
|
163 |
</div> -->
|
| 164 |
</div>
|
164 |
</div>
|