PluginProbe ʕ •ᴥ•ʔ
Brevo – Email, SMS, Web Push, Chat, and more. / 1.0
Brevo – Email, SMS, Web Push, Chat, and more. v1.0
2.9.13 2.9.14 2.9.15 2.9.16 2.9.17 2.9.18 2.9.4 2.9.5 2.9.6 2.9.7 2.9.8 2.9.9 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.9 3.1.0 3.1.1 3.1.10 3.1.11 3.1.12 3.1.13 3.1.14 3.1.15 3.1.16 3.1.2 3.1.20 3.1.21 3.1.22 3.1.23 3.1.24 3.1.25 3.1.26 3.1.27 3.1.28 3.1.29 3.1.3 3.1.30 3.1.31 3.1.32 3.1.33 3.1.34 3.1.35 3.1.36 3.1.37 3.1.38 3.1.39 3.1.4 3.1.40 3.1.41 3.1.42 3.1.43 3.1.44 3.1.45 3.1.46 3.1.47 3.1.48 3.1.49 3.1.5 3.1.50 3.1.51 3.1.52 3.1.53 3.1.54 3.1.55 3.1.56 3.1.57 3.1.58 3.1.59 3.1.6 3.1.60 3.1.61 3.1.62 3.1.63 3.1.64 3.1.65 3.1.66 3.1.67 3.1.68 3.1.69 3.1.7 3.1.70 3.1.71 3.1.72 3.1.73 3.1.74 3.1.75 3.1.76 3.1.77 3.1.78 3.1.79 3.1.8 3.1.80 3.1.81 3.1.82 3.1.83 3.1.84 3.1.85 3.1.86 3.1.87 3.1.88 3.1.89 3.1.9 3.1.90 3.1.91 3.1.92 3.1.93 3.1.94 3.1.95 3.1.96 3.1.97 3.1.98 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.2.9 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 trunk 1.0 1.5 2.0.8 2.9.10 2.9.11 2.9.12
mailin / listings.php
mailin Last commit date
css 13 years ago js 13 years ago lang 13 years ago api_form.php 13 years ago compatibility.php 13 years ago cron.php 13 years ago listings.php 13 years ago mailin.php 13 years ago mailin_widget.php 13 years ago mailinapi.class.php 13 years ago readme.txt 13 years ago
listings.php
263 lines
1 <div class="mailin_row">
2 <table class="mailin_admin_head">
3 <tbody>
4 <tr>
5 <td>
6 <h3 style="margin:0">
7 <?php echo esc_html_e('You are logged in', 'mailin_i18n'); ?>
8 </h3>
9 </td>
10 <td align="right">
11 <form action="options-general.php?page=mailin_options" method="post">
12 <input type="hidden" value="logout" name="mailin_form_action">
13 <input type="submit" class="button" value="<?php echo esc_html_e('Logout', 'mailin_i18n'); ?>"
14 name="Submit">
15 </form>
16 </td>
17 </tr>
18 </tbody>
19 </table>
20 </div>
21
22 <div class="mailin_row">
23 <h3>
24 <?php esc_html_e('Your Lists', 'mailin_i18n'); ?>
25 </h3>
26 </div>
27 <form action="options-general.php?page=mailin_options" method="post">
28 <div class="mailin_row">
29 <p>
30 <?php echo esc_html_e("Please check lists in which users will be added", 'mailin_i18n'). '&nbsp;'; ?>
31 </p>
32 </div>
33 <div class="mailin_row">
34 <table class="mailin_row">
35 <tbody>
36 <tr>
37 <td>
38 <input type="hidden" value="update_list" name="mailin_form_action">
39 <table class="widefat" width="600">
40 <thead style="float:left;width:100%">
41 <tr>
42 <th width="20">&nbsp;</th>
43 <th width="400">
44 <?php echo esc_html_e( 'List Name', 'mailin_i18n'); ?>
45 </th>
46 <th width="94">
47 <?php echo esc_html_e( 'Users', 'mailin_i18n'); ?>
48 </th>
49 <th width="90">
50 <?php echo esc_html_e( 'Blacklisted', 'mailin_i18n'); ?>
51 </th>
52 </tr>
53 </thead>
54 <tbody style="height:200px;overflow-y:scroll;float:left;width:100%">
55 <?php
56 $mailin_lists=get_option('mailin_lists');
57
58 if(!is_array($mailin_lists)){
59 $mailin_lists= unserialize($mailin_lists);
60 } if(!empty($mailin_lists)){
61 $selected_list= get_option( 'mailin_list_selected');
62 $selected_list= explode('|', $selected_list);
63
64 $i=1 ;
65
66 foreach($mailin_lists as $item){
67 $selected='' ;
68 if($selected_list !='' && in_array($item->id, $selected_list)){
69 $selected = 'checked="checked"';
70 } ?>
71
72 <tr id="mailin_list_row_<?php echo $item->id ?>">
73 <td width="20">
74 <input type="checkbox" <?php echo $selected ?>name="mailin_list[]" id="mailin_list" value="
75 <?php echo $item->id ?>" ></td>
76 <td width="400">
77 <?php echo $item->name?></td>
78 <td width="90">
79 <?php echo $item->count?></td>
80 <td width="90">
81 <?php echo $item->blacklisted?></td>
82 </tr>
83 <?php $i++;
84 } ?>
85 <?php
86 } ?>
87
88 </tbody>
89 </table>
90 </td>
91 </tr>
92 <tr>
93 <td></td>
94 </tr>
95 </tbody>
96 </table>
97 </div>
98 <div class="mailin_row" style="float:left;padding-top:5px">
99 <div style="float:left;">
100 (<?php echo esc_html_e("If you want to keep the users in selected list please click on the button Update List", 'mailin_i18n'); ?>)</div>
101 <div style="float:right;">
102 <input type="submit" class="button" value="<?php esc_html_e('Update List', 'mailin_i18n'); ?>"
103 name="Submit">
104 </div>
105 </div>
106 </form>
107
108 <div class="mailin_row">
109 <h3>
110 <?php esc_html_e( 'Your Campaigns', 'mailin_i18n'); ?>
111 </h3>
112 </div>
113 <form action="options-general.php?page=mailin_options" method="post">
114 <div class="mailin_row">
115 <div style="float:left;width:auto;">
116 <p>
117 <?php echo esc_html_e( "Following are your campaigns on Mailin",
118 'mailin_i18n'). '&nbsp;'; ?>
119 </p>
120 </div>
121 </div>
122 <?php
123 $mailin_campaigns=get_option( 'mailin_campaigns'); if(!is_array($mailin_campaigns)){
124 $mailin_campaigns=unserialize($mailin_campaigns); } if(!empty($mailin_campaigns)){
125 ?>
126 <div class="mailin_row">
127 <table class="mailin_row">
128 <tbody>
129 <tr>
130 <td>
131 <input type="hidden" value="update_campaigns" name="mailin_form_action">
132 <table class="widefat" width="600">
133 <thead style="float:left;width:100%">
134 <tr>
135 <th width="50">
136 <?php echo esc_html_e( 'No.', 'mailin_i18n'); ?>
137 </th>
138 <th width="350">
139 <?php echo esc_html_e( 'Campaign Name', 'mailin_i18n'); ?>
140 </th>
141 <th width="70">
142 <?php echo esc_html_e( 'Sent', 'mailin_i18n'); ?>
143 </th>
144 <th width="70">
145 <?php echo esc_html_e( 'Delivered', 'mailin_i18n'); ?>
146 </th>
147 <th width="70">
148 <?php echo esc_html_e( 'Remaining', 'mailin_i18n'); ?>
149 </th>
150 <th width="90">
151 <?php echo esc_html_e( 'No of lists', 'mailin_i18n'); ?>
152 </th>
153 </tr>
154 </thead>
155 <tbody style="height:200px;overflow-y:scroll;float:left;width:100%">
156 <?php $i=1 ; foreach($mailin_campaigns as $item){ ?>
157 <tr id="mailin_list_row_<?php echo $item->id ?>">
158 <td width="50">
159 <?php echo $i ?>
160 </td>
161 <td width="350">
162 <?php echo $item->name != '' ? $item->name : ''?></td>
163 <th width="70">
164 <?php echo $item->sent?></th>
165 <th width="70">
166 <?php echo $item->delivered?></th>
167 <th width="70">
168 <?php echo $item->remaining?></th>
169 <td width="95">
170 <?php echo count($item->listid)?></td>
171 </tr>
172 <?php $i++; } ?>
173 <?php ?>
174 </tbody>
175 </table>
176 </td>
177 </tr>
178 <tr>
179 <td></td>
180 </tr>
181 </tbody>
182 </table>
183 <div class="mailin_row">
184 <?php }else{ ?>
185 <div style="float: left; width: 655px; padding: 5px; background-color:#FFF0FF; border: 1px solid #FF6860;">
186 <?php esc_html_e(
187 'You have no campaigns on Mailin.fr, please update campaigns if you have added any campaign recently.', 'mailin_i18n'); ?>
188 </div>
189 <?php } ?>
190 </form>
191 <div class="mailin_row">
192 <h3>
193 <?php esc_html_e( 'Subscribers', 'mailin_i18n'); ?>
194 </h3>
195 </div>
196 <div class="mailin_row">
197 <p>
198 <?php echo esc_html_e("Following users have subscribed to Mailin newsletter", 'mailin_i18n'). '&nbsp;'; ?>
199 </p>
200 </div>
201 <?php $mObj=new mailin_API; $users=$mObj->getAllSubscribers(); if(!empty($users)) { ?>
202 <div class="mailin_row">
203 <table class="widefat">
204 <thead style="float:left;width:100%">
205 <tr>
206 <th width="40">
207 <?php echo esc_html_e( 'No.', 'mailin_i18n'); ?>
208 </th>
209 <th width="150">
210 <?php echo esc_html_e( 'Username', 'mailin_i18n'); ?>
211 </th>
212 <th width="300">
213 <?php echo esc_html_e( 'Email', 'mailin_i18n'); ?>
214 </th>
215 <th width="122">
216 <?php echo esc_html_e( 'Subscription date', 'mailin_i18n'); ?>
217 </th>
218 </tr>
219 </thead>
220 <tbody style="height:200px;overflow-y:scroll;float:left;width:100%">
221 <?php if(!empty($users)){ $i=1 ; foreach($users as $subs){ ?>
222 <tr>
223 <td width="40">
224 <?php echo $i?>
225 </td>
226 <td width="150">
227 <?php echo $subs->fname.' '.$subs->lname?></td>
228 <td width="300">
229 <?php echo $subs->email?></td>
230 <td width="122">
231 <?php echo date( 'd M Y H:i' , strtotime($subs->create_date))?></td>
232 </tr>
233 <?php $i++; } }?>
234 </tbody>
235 </table>
236 <?php }else{ ?>
237 <div style="float: left; width: 655px; padding: 5px; background-color:#FFF0FF; border: 1px solid #FF6860;">
238 <?php esc_html_e( 'No users have subscribed mailin newsletter yet.',
239 'mailin_i18n'); ?>
240 </div>
241 <?php } ?>
242 <div style="float:left;padding-top:5px" class="mailin_row">
243 <div style="float:left;">(<?php
244
245 $cron_link = MAILIN_URL.'cron.php';
246
247 $printable_link = "<a target='_blank' href ='".$cron_link."'>".$cron_link."</a>";
248
249 $text = translate('To synchronize the emails id of your subscribers from Mailin plateform to your e-commerce website, you should add this link {cron_link} as a cron job (using for example: cpanel or crontab) and this link should be executed each day. You can also synchronize the subscribers manually by clicking on the button Synchronize Users', 'mailin_i18n');
250
251 echo str_replace('{cron_link}', $printable_link , $text);
252
253 ?>)</div>
254 <div style="float:right;">
255 <form name="" action="" method="post">
256 <input type="submit" name="Submit" value="<?php echo esc_html_e('Synchronize Users', 'mailin_i18n');?>"
257 class="button">
258 <input type="hidden" name="mailin_form_action" value="sync_users">
259 </form>
260 </div>
261 </div>
262 </div>
263