PluginProbe ʕ •ᴥ•ʔ
MailPoet – Newsletters, Email Marketing, and Automation / 5.34.2
MailPoet – Newsletters, Email Marketing, and Automation v5.34.2
5.34.2 5.34.1 5.34.0 5.33.1 5.33.0 5.32.0 5.31.0 5.30.0 5.29.0 5.28.1 5.28.0 5.27.0 5.26.0 5.26.1 5.25.0 5.24.0 4.43.0 4.43.1 4.44.0 4.44.1 4.45.0 4.46.0 4.47.0 4.48.0 4.48.1 4.48.2 4.49.0 4.49.1 4.5.0 4.5.1 4.5.2 4.50.0 4.50.1 4.51.0 4.51.1 4.51.2 4.52.0 4.53.0 4.54.0 4.55.0 4.56.0 4.57.0 4.58.0 4.58.1 4.58.2 4.6.0 4.6.1 4.6.2 4.7.0 4.7.1 4.8.0 4.8.1 4.9.0 5.0.0 5.0.1 5.0.2 5.1.0 5.1.1 5.10.0 5.10.1 5.11.0 5.12.0 5.12.1 5.12.10 5.12.11 5.12.12 5.12.13 5.12.2 5.12.3 5.12.4 5.12.5 5.12.6 5.12.7 5.12.8 5.12.9 5.13.0 5.13.1 5.13.2 5.14.0 5.14.1 5.14.2 5.14.3 5.15.0 5.15.1 5.16.0 5.16.1 5.16.2 5.16.3 5.16.4 5.17.0 5.17.1 5.17.2 5.17.3 5.17.4 5.17.5 5.17.6 5.18.0 5.19.0 5.2.0 5.2.1 5.2.2 5.2.3 5.20.0 5.21.0 5.21.1 5.21.2 5.21.3 5.22.0 5.22.1 5.22.2 5.22.3 5.22.4 5.23.0 5.23.1 5.23.2 5.3.0 5.3.1 5.3.2 5.3.3 5.3.4 5.3.5 5.3.6 5.3.7 5.4.0 5.4.1 5.4.2 5.5.0 5.5.1 5.5.2 5.6.0 5.6.1 5.6.2 5.6.3 5.6.4 5.7.0 5.7.1 5.8.0 5.8.1 5.9.0 3.0.0-beta.15 3.7.1 3.0.0-beta.16 3.7.2 3.0.0-beta.17 3.7.3 3.0.0-beta.18 3.7.4 3.0.0-beta.19 3.7.5 3.0.0-beta.2 3.7.6 3.0.0-beta.20 3.7.8 3.0.0-beta.21 3.70.0 3.0.0-beta.22 3.71.0 3.0.0-beta.23 3.71.1 3.0.0-beta.23.1 3.71.2 3.0.0-beta.23.2 3.71.3 3.0.0-beta.24 3.72.0 3.0.0-beta.25 3.73.0 3.0.0-beta.26 3.73.1 3.0.0-beta.27 3.73.2 3.0.0-beta.28 3.74.0 3.0.0-beta.29 3.74.1 3.0.0-beta.3 3.74.2 3.0.0-beta.30 3.74.3 3.0.0-beta.31 3.75.0 3.0.0-beta.32 3.75.1 3.0.0-beta.33 3.76.0 3.0.0-beta.33.1 3.77.0 3.0.0-beta.34.0.0 3.77.1 3.0.0-beta.36.0.0 3.78.0 3.0.0-beta.36.0.1 3.79.0 3.0.0-beta.36.2.0 3.8 3.0.0-beta.36.3.0 3.8.1 3.0.0-beta.36.3.1 3.8.2 3.0.0-beta.37.0.0 3.8.3 3.0.0-beta.4 3.8.4 3.0.0-beta.5 3.8.5 3.0.0-beta.6 3.8.6 3.0.0-beta.7 3.80.0 3.0.0-beta.7.1 3.81.0 3.0.0-beta.8 3.82.0 3.0.0-beta.9 3.83.0 3.0.0-rc.1.0.0 3.84.0 3.0.0-rc.1.0.1 3.84.1 3.0.0-rc.1.0.2 3.85.0 3.0.0-rc.1.0.3 3.85.1 3.0.0-rc.1.0.4 3.86.0 3.0.0-rc.2.0.0 3.87.0 3.0.0-rc.2.0.1 3.87.1 3.0.0-rc.2.0.2 3.87.2 3.0.0-rc.2.0.3 3.88.0 3.0.1 3.88.1 3.0.2 3.88.2 3.0.3 3.89.0 3.0.4 3.89.1 3.0.5 3.89.2 3.0.6 3.89.3 3.0.7 3.89.4 3.0.8 3.9.0 3.0.9 3.9.1 3.1.0 3.90.0 3.10 3.90.1 3.10.1 3.90.2 3.100.0 3.91.0 3.100.1 3.91.1 3.100.2 3.92.0 3.101.0 3.92.1 3.101.1 3.93.0 3.102.0 3.93.1 3.102.1 3.94.0 3.103.0 3.95.0 3.103.1 3.95.1 3.11.0 3.96.0 3.11.1 3.96.1 3.11.2 3.97.0 3.11.3 3.98.0 3.11.4 3.98.1 3.11.5 3.99.0 3.12.0 3.99.1 3.12.1 4.0.0 3.13.0 4.0.1 3.14.0 4.1.0 3.14.1 4.1.1 3.15.0 4.10.0 3.16.0 4.11.0 3.16.1 4.11.1 3.16.2 4.12.0 3.16.3 4.12.1 3.17.0 4.12.2 3.17.1 4.13.0 3.17.2 4.14.0 3.18.0 4.15.0 3.18.1 4.16.0 3.18.2 4.17.0 3.19.0 4.17.1 3.19.1 4.18.0 3.19.2 4.18.1 3.19.3 4.19.0 3.2.0 4.2.0 3.2.1 4.20.0 3.2.2 4.20.1 3.2.3 4.20.2 3.2.4 4.21.0 3.2.5 4.22.0 3.20.0 4.22.1 3.21.0 4.22.2 3.21.1 4.23.0 3.22.0 4.24.0 3.23.0 4.25.0 3.23.1 4.26.0 3.23.2 4.26.1 3.24.0 4.27.0 3.25.0 4.28.0 3.25.1 4.29.0 3.26.0 4.3.0 3.26.1 4.3.1 3.27.0 4.30.0 3.28.0 4.31.0 3.29.0 4.31.1 3.3.0 4.32.0 3.3.1 4.33.0 3.3.2 4.34.0 3.3.3 4.35.0 3.3.4 4.35.1 3.3.5 4.36.0 3.3.6 4.37.0 3.30.0 4.38.0 3.31.0 4.39.0 3.31.1 4.4.0 3.32.0 4.40.0 3.32.1 4.41.0 3.32.2 4.41.1 3.33.0 4.41.2 3.34.0 4.41.3 3.34.1 4.42.0 3.34.2 4.42.1 3.34.3 3.34.4 3.35.0 3.35.1 3.35.3 3.35.4 3.36.0 3.37.0 3.37.1 3.37.2 3.37.3 3.38.0 3.38.1 3.39.0 3.39.1 3.39.2 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.40.0 3.40.1 3.41.0 3.41.1 3.41.2 3.42.0 3.42.1 3.42.2 3.42.3 3.43.0 3.43.1 3.44.0 3.45.0 3.45.1 3.46.0 3.46.1 3.46.10 3.46.11 3.46.12 3.46.13 3.46.14 3.46.2 3.46.3 3.46.4 3.46.5 3.46.6 3.46.7 3.46.8 3.46.9 3.47.0 3.47.1 3.47.10 3.47.11 3.47.2 3.47.3 3.47.5 3.47.6 3.47.7 3.47.9 3.48.0 3.48.1 3.49.0 3.49.1 3.5.0 3.5.1 3.50.0 3.51.0 3.51.1 3.51.2 3.52.0 3.53.0 3.54.0 3.54.1 3.54.2 3.54.3 3.55.0 3.55.1 3.56.0 3.56.1 3.56.2 3.57.0 3.57.1 3.58.0 3.59.0 3.59.1 3.59.2 3.6.0 3.6.1 3.6.2 3.6.3 3.6.4 3.6.5 3.6.6 3.6.7 3.60.0 3.60.1 3.60.10 3.60.11 3.60.12 3.60.2 3.60.3 3.60.4 3.60.6 3.60.7 3.60.8 3.60.9 3.61.0 3.62.0 3.62.1 3.63.0 3.64.0 3.64.1 3.64.2 3.64.3 3.65.0 trunk 3.65.1 3.0.0 3.66.0 3.0.0-beta.1 3.67.0 3.0.0-beta.10 3.67.1 3.0.0-beta.11 3.68.0 3.0.0-beta.12 3.69.0 3.0.0-beta.13 3.69.1 3.0.0-beta.14 3.7.0
mailpoet / lib / Config / PopulatorData / Templates / Hotels.php
mailpoet / lib / Config / PopulatorData / Templates Last commit date
AppWelcome.php 1 year ago Avocado.php 1 year ago Birds.php 1 year ago BirthdayCelebration.php 2 months ago BookStoreWithCoupon.php 1 year ago BrandingAgencyNews.php 1 year ago BuddhistTemple.php 1 year ago Charity.php 1 year ago CityLocalNews.php 1 year ago ClearNews.php 1 year ago Coffee.php 1 year ago College.php 1 year ago ComputerRepair.php 1 year ago ConfirmInterestBeforeDeactivation.php 2 years ago ConfirmInterestOrUnsubscribe.php 2 years ago DogFood.php 1 year ago Drone.php 1 year ago Engineering.php 1 year ago Faith.php 1 year ago FarmersMarket.php 1 year ago FashionBlog.php 1 year ago FashionBlogA.php 1 year ago FashionShop.php 1 year ago FashionStore.php 1 year ago FestivalEvent.php 1 year ago Fitness.php 1 year ago FlowersWithCoupon.php 1 year ago FoodBox.php 1 year ago GiftWelcome.php 1 year ago Guitarist.php 1 year ago HealthyFoodBlog.php 1 year ago Hotels.php 1 year ago IndustryConference.php 1 year ago JazzClub.php 1 year ago KidsClothing.php 1 year ago LifestyleBlogA.php 1 year ago LifestyleBlogB.php 1 year ago Minimal.php 1 year ago ModularStyleStories.php 1 year ago Mosque.php 1 year ago Motor.php 1 year ago Music.php 1 year ago NewsDay.php 1 year ago NewsletterBlank121Column.php 1 year ago NewsletterBlank12Column.php 1 year ago NewsletterBlank13Column.php 1 year ago NewsletterBlank1Column.php 1 year ago NewspaperTraditional.php 1 year ago NotSoMedium.php 1 year ago Painter.php 1 year ago Phone.php 1 year ago Photography.php 1 year ago PieceOfCake.php 1 year ago Poet.php 1 year ago PostNotificationsBlank1Column.php 1 year ago PrimarySchool.php 1 year ago RealEstate.php 1 year ago RenewableEnergy.php 1 year ago Retro.php 1 year ago RetroComputingMagazine.php 1 year ago RockBand.php 1 year ago RssSimpleNews.php 1 year ago ScienceWeekly.php 1 year ago Shoes.php 1 year ago SimpleText.php 2 years ago Software.php 1 year ago Sunglasses.php 1 year ago Synagogue.php 1 year ago TakeAHike.php 1 year ago Vlogger.php 1 year ago WelcomeBlank12Column.php 1 year ago WelcomeBlank1Column.php 1 year ago WideStoryLayout.php 1 year ago WineCity.php 1 year ago WordPressTheme.php 1 year ago WorldCup.php 1 year ago YogaStudio.php 1 year ago index.php 3 years ago
Hotels.php
1419 lines
1 <?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing
2
3 namespace MailPoet\Config\PopulatorData\Templates;
4
5 if (!defined('ABSPATH')) exit;
6
7
8 class Hotels {
9
10 private $template_image_url;
11 private $social_icon_url;
12
13 public function __construct(
14 $assets_url
15 ) {
16 $this->template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/hotels';
17 $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
18 }
19
20 public function get() {
21 return [
22 'name' => __("Hotels", 'mailpoet'),
23 'categories' => json_encode(['standard', 'all']),
24 'readonly' => 1,
25 'thumbnail' => $this->getThumbnail(),
26 'body' => json_encode($this->getBody()),
27 ];
28 }
29
30 private function getThumbnail() {
31 return $this->template_image_url . '/thumbnail.20190411-1500.jpg';
32 }
33
34 private function getBody() {
35 return [
36 'content' =>
37 [
38 'type' => 'container',
39 'orientation' => 'vertical',
40 'image' =>
41 [
42 'src' => null,
43 'display' => 'scale',
44 ],
45 'styles' =>
46 [
47 'block' =>
48 [
49 'backgroundColor' => 'transparent',
50 ],
51 ],
52 'blocks' =>
53 [
54 0 =>
55 [
56 'type' => 'container',
57 'orientation' => 'horizontal',
58 'image' =>
59 [
60 'src' => null,
61 'display' => 'scale',
62 ],
63 'styles' =>
64 [
65 'block' =>
66 [
67 'backgroundColor' => '#2d2a31',
68 ],
69 ],
70 'blocks' =>
71 [
72 0 =>
73 [
74 'type' => 'container',
75 'orientation' => 'vertical',
76 'image' =>
77 [
78 'src' => null,
79 'display' => 'scale',
80 ],
81 'styles' =>
82 [
83 'block' =>
84 [
85 'backgroundColor' => 'transparent',
86 ],
87 ],
88 'blocks' =>
89 [
90 0 =>
91 [
92 'type' => 'image',
93 'link' => '',
94 'src' => $this->template_image_url . '/Hotel-Logo-1.png',
95 'alt' => 'Hotel-Logo',
96 'fullWidth' => false,
97 'width' => '554px',
98 'height' => '200px',
99 'styles' =>
100 [
101 'block' =>
102 [
103 'textAlign' => 'center',
104 ],
105 ],
106 ],
107 ],
108 ],
109 1 =>
110 [
111 'type' => 'container',
112 'orientation' => 'vertical',
113 'image' =>
114 [
115 'src' => null,
116 'display' => 'scale',
117 ],
118 'styles' =>
119 [
120 'block' =>
121 [
122 'backgroundColor' => 'transparent',
123 ],
124 ],
125 'blocks' =>
126 [
127 0 =>
128 [
129 'type' => 'spacer',
130 'styles' =>
131 [
132 'block' =>
133 [
134 'backgroundColor' => 'transparent',
135 'height' => '20px',
136 ],
137 ],
138 ],
139 1 =>
140 [
141 'type' => 'text',
142 'text' => '<h3 style="text-align: center;"><span style="color: #ffffff;"><strong>My Favourites</strong></span></h3>',
143 ],
144 ],
145 ],
146 2 =>
147 [
148 'type' => 'container',
149 'orientation' => 'vertical',
150 'image' =>
151 [
152 'src' => null,
153 'display' => 'scale',
154 ],
155 'styles' =>
156 [
157 'block' =>
158 [
159 'backgroundColor' => 'transparent',
160 ],
161 ],
162 'blocks' =>
163 [
164 0 =>
165 [
166 'type' => 'spacer',
167 'styles' =>
168 [
169 'block' =>
170 [
171 'backgroundColor' => 'transparent',
172 'height' => '20px',
173 ],
174 ],
175 ],
176 1 =>
177 [
178 'type' => 'text',
179 'text' => '<h3 style="text-align: center;"><span style="color: #ffffff;"><strong>Recent Bookings</strong></span></h3>',
180 ],
181 ],
182 ],
183 ],
184 ],
185 1 =>
186 [
187 'type' => 'container',
188 'orientation' => 'horizontal',
189 'image' =>
190 [
191 'src' => $this->template_image_url . '/Hotel-Header.jpg',
192 'display' => 'scale',
193 ],
194 'styles' =>
195 [
196 'block' =>
197 [
198 'backgroundColor' => 'transparent',
199 ],
200 ],
201 'blocks' =>
202 [
203 0 =>
204 [
205 'type' => 'container',
206 'orientation' => 'vertical',
207 'image' =>
208 [
209 'src' => null,
210 'display' => 'scale',
211 ],
212 'styles' =>
213 [
214 'block' =>
215 [
216 'backgroundColor' => 'transparent',
217 ],
218 ],
219 'blocks' =>
220 [
221 0 =>
222 [
223 'type' => 'spacer',
224 'styles' =>
225 [
226 'block' =>
227 [
228 'backgroundColor' => 'transparent',
229 'height' => '30px',
230 ],
231 ],
232 ],
233 1 =>
234 [
235 'type' => 'text',
236 'text' => '<h1><span style="color: #ffffff;"><strong>Pets go free</strong></span></h1>',
237 ],
238 2 =>
239 [
240 'type' => 'text',
241 'text' => '<h2 style="text-align: left;"><span style="color: #ffffff;">Stay in any Exquisite hotel this summer and bring your pet for free!</span></h2>',
242 ],
243 3 =>
244 [
245 'type' => 'spacer',
246 'styles' =>
247 [
248 'block' =>
249 [
250 'backgroundColor' => 'transparent',
251 'height' => '20px',
252 ],
253 ],
254 ],
255 4 =>
256 [
257 'type' => 'button',
258 'text' => 'Find Out More',
259 'url' => '',
260 'styles' =>
261 [
262 'block' =>
263 [
264 'backgroundColor' => '#ffc600',
265 'borderColor' => '#0074a2',
266 'borderWidth' => '0px',
267 'borderRadius' => '5px',
268 'borderStyle' => 'solid',
269 'width' => '180px',
270 'lineHeight' => '46px',
271 'fontColor' => '#3f3f3f',
272 'fontFamily' => 'Verdana',
273 'fontSize' => '18px',
274 'fontWeight' => 'bold',
275 'textAlign' => 'left',
276 ],
277 ],
278 ],
279 5 =>
280 [
281 'type' => 'spacer',
282 'styles' =>
283 [
284 'block' =>
285 [
286 'backgroundColor' => 'transparent',
287 'height' => '30px',
288 ],
289 ],
290 ],
291 ],
292 ],
293 1 =>
294 [
295 'type' => 'container',
296 'orientation' => 'vertical',
297 'image' =>
298 [
299 'src' => null,
300 'display' => 'scale',
301 ],
302 'styles' =>
303 [
304 'block' =>
305 [
306 'backgroundColor' => 'transparent',
307 ],
308 ],
309 'blocks' =>
310 [
311 [
312 "type" => "spacer",
313 "styles" => [
314 "block" => [
315 "backgroundColor" => "transparent",
316 "height" => "20px",
317 ],
318 ],
319 ],
320 ],
321 ],
322 ],
323 ],
324 2 =>
325 [
326 'type' => 'container',
327 'orientation' => 'horizontal',
328 'image' =>
329 [
330 'src' => null,
331 'display' => 'scale',
332 ],
333 'styles' =>
334 [
335 'block' =>
336 [
337 'backgroundColor' => '#ffffff',
338 ],
339 ],
340 'blocks' =>
341 [
342 0 =>
343 [
344 'type' => 'container',
345 'orientation' => 'vertical',
346 'image' =>
347 [
348 'src' => null,
349 'display' => 'scale',
350 ],
351 'styles' =>
352 [
353 'block' =>
354 [
355 'backgroundColor' => 'transparent',
356 ],
357 ],
358 'blocks' =>
359 [
360 0 =>
361 [
362 'type' => 'spacer',
363 'styles' =>
364 [
365 'block' =>
366 [
367 'backgroundColor' => 'transparent',
368 'height' => '40px',
369 ],
370 ],
371 ],
372 1 =>
373 [
374 'type' => 'text',
375 'text' => '<h2 style="text-align: left;"><strong>Get ready to travel in Exquiste style...</strong></h2>
376 <p><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In elementum nunc vel est congue, a venenatis nunc aliquet. Curabitur luctus, nulla et dignissim elementum, ipsum eros fermentum nulla, non cursus eros mi eu velit. Nunc ex nibh, porta vulputate pharetra ac, placerat sed orci. Etiam enim enim, aliquet nec ligula in, ultrices iaculis dolor. Suspendisse potenti. Praesent fringilla augue ut lorem mattis, vitae fringilla nunc faucibus.</span></p>',
377 ],
378 2 =>
379 [
380 'type' => 'spacer',
381 'styles' =>
382 [
383 'block' =>
384 [
385 'backgroundColor' => 'transparent',
386 'height' => '20px',
387 ],
388 ],
389 ],
390 ],
391 ],
392 ],
393 ],
394 3 =>
395 [
396 'type' => 'container',
397 'orientation' => 'horizontal',
398 'image' =>
399 [
400 'src' => $this->template_image_url . '/dubai-paris.jpg',
401 'display' => 'scale',
402 ],
403 'styles' =>
404 [
405 'block' =>
406 [
407 'backgroundColor' => 'transparent',
408 ],
409 ],
410 'blocks' =>
411 [
412 0 =>
413 [
414 'type' => 'container',
415 'orientation' => 'vertical',
416 'image' =>
417 [
418 'src' => null,
419 'display' => 'scale',
420 ],
421 'styles' =>
422 [
423 'block' =>
424 [
425 'backgroundColor' => 'transparent',
426 ],
427 ],
428 'blocks' =>
429 [
430 0 =>
431 [
432 'type' => 'spacer',
433 'styles' =>
434 [
435 'block' =>
436 [
437 'backgroundColor' => 'transparent',
438 'height' => '181px',
439 ],
440 ],
441 ],
442 1 =>
443 [
444 'type' => 'text',
445 'text' => '<h1><span style="color: #ffffff;"><strong>Dubai</strong></span></h1>
446 <h2><span style="color: #ffffff;">From $199<strong><br /></strong></span></h2>',
447 ],
448 ],
449 ],
450 1 =>
451 [
452 'type' => 'container',
453 'orientation' => 'vertical',
454 'image' =>
455 [
456 'src' => null,
457 'display' => 'scale',
458 ],
459 'styles' =>
460 [
461 'block' =>
462 [
463 'backgroundColor' => 'transparent',
464 ],
465 ],
466 'blocks' =>
467 [
468 0 =>
469 [
470 'type' => 'spacer',
471 'styles' =>
472 [
473 'block' =>
474 [
475 'backgroundColor' => 'transparent',
476 'height' => '181px',
477 ],
478 ],
479 ],
480 1 =>
481 [
482 'type' => 'text',
483 'text' => '<h1><strong><span style="color: #ffffff;">Paris</span></strong></h1>
484 <h2><span style="color: #ffffff;">From $149</span></h2>',
485 ],
486 ],
487 ],
488 ],
489 ],
490 4 =>
491 [
492 'type' => 'container',
493 'orientation' => 'horizontal',
494 'image' =>
495 [
496 'src' => $this->template_image_url . '/toronto-delhi.jpg',
497 'display' => 'scale',
498 ],
499 'styles' =>
500 [
501 'block' =>
502 [
503 'backgroundColor' => 'transparent',
504 ],
505 ],
506 'blocks' =>
507 [
508 0 =>
509 [
510 'type' => 'container',
511 'orientation' => 'vertical',
512 'image' =>
513 [
514 'src' => null,
515 'display' => 'scale',
516 ],
517 'styles' =>
518 [
519 'block' =>
520 [
521 'backgroundColor' => 'transparent',
522 ],
523 ],
524 'blocks' =>
525 [
526 0 =>
527 [
528 'type' => 'spacer',
529 'styles' =>
530 [
531 'block' =>
532 [
533 'backgroundColor' => 'transparent',
534 'height' => '181px',
535 ],
536 ],
537 ],
538 1 =>
539 [
540 'type' => 'text',
541 'text' => '<h1><span style="color: #ffffff;"><strong>Toronto</strong></span></h1>
542 <h2><span style="color: #ffffff;">From $229</span></h2>',
543 ],
544 ],
545 ],
546 1 =>
547 [
548 'type' => 'container',
549 'orientation' => 'vertical',
550 'image' =>
551 [
552 'src' => null,
553 'display' => 'scale',
554 ],
555 'styles' =>
556 [
557 'block' =>
558 [
559 'backgroundColor' => 'transparent',
560 ],
561 ],
562 'blocks' =>
563 [
564 0 =>
565 [
566 'type' => 'spacer',
567 'styles' =>
568 [
569 'block' =>
570 [
571 'backgroundColor' => 'transparent',
572 'height' => '181px',
573 ],
574 ],
575 ],
576 1 =>
577 [
578 'type' => 'text',
579 'text' => '<h1><span style="color: #ffffff;"><strong>New Delhi</strong></span></h1>
580 <h2><span style="color: #ffffff;">From $149</span></h2>',
581 ],
582 ],
583 ],
584 ],
585 ],
586 5 =>
587 [
588 'type' => 'container',
589 'orientation' => 'horizontal',
590 'image' =>
591 [
592 'src' => $this->template_image_url . '/rio-london.jpg',
593 'display' => 'scale',
594 ],
595 'styles' =>
596 [
597 'block' =>
598 [
599 'backgroundColor' => 'transparent',
600 ],
601 ],
602 'blocks' =>
603 [
604 0 =>
605 [
606 'type' => 'container',
607 'orientation' => 'vertical',
608 'image' =>
609 [
610 'src' => null,
611 'display' => 'scale',
612 ],
613 'styles' =>
614 [
615 'block' =>
616 [
617 'backgroundColor' => 'transparent',
618 ],
619 ],
620 'blocks' =>
621 [
622 0 =>
623 [
624 'type' => 'spacer',
625 'styles' =>
626 [
627 'block' =>
628 [
629 'backgroundColor' => 'transparent',
630 'height' => '181px',
631 ],
632 ],
633 ],
634 1 =>
635 [
636 'type' => 'text',
637 'text' => '<h1><span style="color: #ffffff;"><strong>Rio de Janeiro</strong></span></h1>
638 <h2><span style="color: #ffffff;">From $329</span></h2>',
639 ],
640 ],
641 ],
642 1 =>
643 [
644 'type' => 'container',
645 'orientation' => 'vertical',
646 'image' =>
647 [
648 'src' => null,
649 'display' => 'scale',
650 ],
651 'styles' =>
652 [
653 'block' =>
654 [
655 'backgroundColor' => 'transparent',
656 ],
657 ],
658 'blocks' =>
659 [
660 0 =>
661 [
662 'type' => 'spacer',
663 'styles' =>
664 [
665 'block' =>
666 [
667 'backgroundColor' => 'transparent',
668 'height' => '181px',
669 ],
670 ],
671 ],
672 1 =>
673 [
674 'type' => 'text',
675 'text' => '<h1><span style="color: #ffffff;"><strong>London</strong></span></h1>
676 <h2><span style="color: #ffffff;">From $99</span></h2>',
677 ],
678 ],
679 ],
680 ],
681 ],
682 6 =>
683 [
684 'type' => 'container',
685 'orientation' => 'horizontal',
686 'image' =>
687 [
688 'src' => null,
689 'display' => 'scale',
690 ],
691 'styles' =>
692 [
693 'block' =>
694 [
695 'backgroundColor' => '#ffc600',
696 ],
697 ],
698 'blocks' =>
699 [
700 0 =>
701 [
702 'type' => 'container',
703 'orientation' => 'vertical',
704 'image' =>
705 [
706 'src' => null,
707 'display' => 'scale',
708 ],
709 'styles' =>
710 [
711 'block' =>
712 [
713 'backgroundColor' => 'transparent',
714 ],
715 ],
716 'blocks' =>
717 [
718 0 =>
719 [
720 'type' => 'spacer',
721 'styles' =>
722 [
723 'block' =>
724 [
725 'backgroundColor' => 'transparent',
726 'height' => '35px',
727 ],
728 ],
729 ],
730 1 =>
731 [
732 'type' => 'text',
733 'text' => '<h2 style="text-align: center;"><strong>Just for you...</strong></h2>
734 <p style="text-align: center;">Here\'s 10% off your next booking with us.</p>
735 <p style="text-align: center;">Just grab the code below and paste it when required on the booking form!</p>',
736 ],
737 2 =>
738 [
739 'type' => 'button',
740 'text' => 'VALU3DCUST',
741 'url' => '',
742 'styles' =>
743 [
744 'block' =>
745 [
746 'backgroundColor' => '#ffc600',
747 'borderColor' => '#000000',
748 'borderWidth' => '2px',
749 'borderRadius' => '6px',
750 'borderStyle' => 'solid',
751 'width' => '219px',
752 'lineHeight' => '40px',
753 'fontColor' => '#000000',
754 'fontFamily' => 'Courier New',
755 'fontSize' => '30px',
756 'fontWeight' => 'bold',
757 'textAlign' => 'center',
758 ],
759 ],
760 ],
761 3 =>
762 [
763 'type' => 'spacer',
764 'styles' =>
765 [
766 'block' =>
767 [
768 'backgroundColor' => 'transparent',
769 'height' => '25px',
770 ],
771 ],
772 ],
773 ],
774 ],
775 ],
776 ],
777 7 =>
778 [
779 'type' => 'container',
780 'orientation' => 'horizontal',
781 'image' =>
782 [
783 'src' => null,
784 'display' => 'scale',
785 ],
786 'styles' =>
787 [
788 'block' =>
789 [
790 'backgroundColor' => '#2d2a31',
791 ],
792 ],
793 'blocks' =>
794 [
795 0 =>
796 [
797 'type' => 'container',
798 'orientation' => 'vertical',
799 'image' =>
800 [
801 'src' => null,
802 'display' => 'scale',
803 ],
804 'styles' =>
805 [
806 'block' =>
807 [
808 'backgroundColor' => 'transparent',
809 ],
810 ],
811 'blocks' =>
812 [
813 0 =>
814 [
815 'type' => 'spacer',
816 'styles' =>
817 [
818 'block' =>
819 [
820 'backgroundColor' => 'transparent',
821 'height' => '20px',
822 ],
823 ],
824 ],
825 ],
826 ],
827 ],
828 ],
829 8 =>
830 [
831 'type' => 'container',
832 'orientation' => 'horizontal',
833 'image' =>
834 [
835 'src' => null,
836 'display' => 'scale',
837 ],
838 'styles' =>
839 [
840 'block' =>
841 [
842 'backgroundColor' => '#2d2a31',
843 ],
844 ],
845 'blocks' =>
846 [
847 0 =>
848 [
849 'type' => 'container',
850 'orientation' => 'vertical',
851 'image' =>
852 [
853 'src' => null,
854 'display' => 'scale',
855 ],
856 'styles' =>
857 [
858 'block' =>
859 [
860 'backgroundColor' => 'transparent',
861 ],
862 ],
863 'blocks' =>
864 [
865 0 =>
866 [
867 'type' => 'spacer',
868 'styles' =>
869 [
870 'block' =>
871 [
872 'backgroundColor' => 'transparent',
873 'height' => '20px',
874 ],
875 ],
876 ],
877 ],
878 ],
879 1 =>
880 [
881 'type' => 'container',
882 'orientation' => 'vertical',
883 'image' =>
884 [
885 'src' => null,
886 'display' => 'scale',
887 ],
888 'styles' =>
889 [
890 'block' =>
891 [
892 'backgroundColor' => 'transparent',
893 ],
894 ],
895 'blocks' =>
896 [
897 0 =>
898 [
899 'type' => 'image',
900 'link' => '',
901 'src' => $this->template_image_url . '/Hotel-Logo-Small.png',
902 'alt' => 'Hotel-Logo-Small',
903 'fullWidth' => true,
904 'width' => '554px',
905 'height' => '200px',
906 'styles' =>
907 [
908 'block' =>
909 [
910 'textAlign' => 'center',
911 ],
912 ],
913 ],
914 ],
915 ],
916 2 =>
917 [
918 'type' => 'container',
919 'orientation' => 'vertical',
920 'image' =>
921 [
922 'src' => null,
923 'display' => 'scale',
924 ],
925 'styles' =>
926 [
927 'block' =>
928 [
929 'backgroundColor' => 'transparent',
930 ],
931 ],
932 'blocks' =>
933 [
934 0 =>
935 [
936 'type' => 'spacer',
937 'styles' =>
938 [
939 'block' =>
940 [
941 'backgroundColor' => 'transparent',
942 'height' => '20px',
943 ],
944 ],
945 ],
946 ],
947 ],
948 ],
949 ],
950 9 =>
951 [
952 'type' => 'container',
953 'orientation' => 'horizontal',
954 'image' =>
955 [
956 'src' => null,
957 'display' => 'scale',
958 ],
959 'styles' =>
960 [
961 'block' =>
962 [
963 'backgroundColor' => '#2d2a31',
964 ],
965 ],
966 'blocks' =>
967 [
968 0 =>
969 [
970 'type' => 'container',
971 'orientation' => 'vertical',
972 'image' =>
973 [
974 'src' => null,
975 'display' => 'scale',
976 ],
977 'styles' =>
978 [
979 'block' =>
980 [
981 'backgroundColor' => 'transparent',
982 ],
983 ],
984 'blocks' =>
985 [
986 0 =>
987 [
988 'type' => 'text',
989 'text' => '<p style="text-align: center;"><span style="color: #ffffff;"><strong>Address Line 1 </strong></span></p>
990 <p style="text-align: center;"><span style="color: #ffffff;"><strong>Address Line 2 </strong></span></p>
991 <p style="text-align: center;"><span style="color: #ffffff;"><strong>City </strong></span></p>
992 <p style="text-align: center;"><span style="color: #ffffff;"><strong>Country</strong></span></p>',
993 ],
994 1 =>
995 [
996 'type' => 'social',
997 'iconSet' => 'official-white',
998 'icons' =>
999 [
1000 0 =>
1001 [
1002 'type' => 'socialIcon',
1003 'iconType' => 'facebook',
1004 'link' => 'http://www.facebook.com',
1005 'image' => $this->social_icon_url . '/12-official-white/Facebook.png',
1006 'height' => '32px',
1007 'width' => '32px',
1008 'text' => 'Facebook',
1009 ],
1010 1 =>
1011 [
1012 'type' => 'socialIcon',
1013 'iconType' => 'twitter',
1014 'link' => 'http://www.twitter.com',
1015 'image' => $this->social_icon_url . '/12-official-white/X.png',
1016 'height' => '32px',
1017 'width' => '32px',
1018 'text' => 'Twitter',
1019 ],
1020 2 =>
1021 [
1022 'type' => 'socialIcon',
1023 'iconType' => 'instagram',
1024 'link' => 'http://instagram.com',
1025 'image' => $this->social_icon_url . '/12-official-white/Instagram.png',
1026 'height' => '32px',
1027 'width' => '32px',
1028 'text' => 'Instagram',
1029 ],
1030 ],
1031 ],
1032 2 =>
1033 [
1034 'type' => 'footer',
1035 'text' => '<p><span style="color: #ffc600;"><a href="[link:subscription_unsubscribe_url]" style="color: #ffc600;">' . __("Unsubscribe", 'mailpoet') . '</a> | <a href="[link:subscription_manage_url]" style="color: #ffc600;">' . __("Manage your subscription", 'mailpoet') . '</a></span><br /><span style="color: #ffffff;">' . __("Add your postal address here!", 'mailpoet') . '</span></p>',
1036 'styles' =>
1037 [
1038 'block' =>
1039 [
1040 'backgroundColor' => 'transparent',
1041 ],
1042 'text' =>
1043 [
1044 'fontColor' => '#222222',
1045 'fontFamily' => 'Arial',
1046 'fontSize' => '12px',
1047 'textAlign' => 'center',
1048 ],
1049 'link' =>
1050 [
1051 'fontColor' => '#6cb7d4',
1052 'textDecoration' => 'none',
1053 ],
1054 ],
1055 ],
1056 ],
1057 ],
1058 ],
1059 ],
1060 ],
1061 ],
1062 'globalStyles' =>
1063 [
1064 'text' =>
1065 [
1066 'fontColor' => '#000000',
1067 'fontFamily' => 'Arial',
1068 'fontSize' => '14px',
1069 ],
1070 'h1' =>
1071 [
1072 'fontColor' => '#333333',
1073 'fontFamily' => 'Tahoma',
1074 'fontSize' => '40px',
1075 ],
1076 'h2' =>
1077 [
1078 'fontColor' => '#333333',
1079 'fontFamily' => 'Verdana',
1080 'fontSize' => '18px',
1081 ],
1082 'h3' =>
1083 [
1084 'fontColor' => '#2d2a31',
1085 'fontFamily' => 'Arial',
1086 'fontSize' => '18px',
1087 ],
1088 'link' =>
1089 [
1090 'fontColor' => '#008282',
1091 'textDecoration' => 'underline',
1092 ],
1093 'wrapper' =>
1094 [
1095 'backgroundColor' => '#ffffff',
1096 ],
1097 'body' =>
1098 [
1099 'backgroundColor' => '#2d2a31',
1100 ],
1101 ],
1102 'blockDefaults' =>
1103 [
1104 'automatedLatestContent' =>
1105 [
1106 'amount' => '5',
1107 'withLayout' => false,
1108 'contentType' => 'post',
1109 'inclusionType' => 'include',
1110 'displayType' => 'excerpt',
1111 'titleFormat' => 'h1',
1112 'titleAlignment' => 'left',
1113 'titleIsLink' => false,
1114 'imageFullWidth' => false,
1115 'featuredImagePosition' => 'belowTitle',
1116 'showAuthor' => 'no',
1117 'authorPrecededBy' => 'Author:',
1118 'showCategories' => 'no',
1119 'categoriesPrecededBy' => 'Categories:',
1120 'readMoreType' => 'button',
1121 'readMoreText' => 'Read more',
1122 'readMoreButton' =>
1123 [
1124 'text' => 'Read more',
1125 'url' => '[postLink]',
1126 'context' => 'automatedLatestContent.readMoreButton',
1127 'styles' =>
1128 [
1129 'block' =>
1130 [
1131 'backgroundColor' => '#2ea1cd',
1132 'borderColor' => '#0074a2',
1133 'borderWidth' => '1px',
1134 'borderRadius' => '5px',
1135 'borderStyle' => 'solid',
1136 'width' => '180px',
1137 'lineHeight' => '40px',
1138 'fontColor' => '#ffffff',
1139 'fontFamily' => 'Verdana',
1140 'fontSize' => '18px',
1141 'fontWeight' => 'normal',
1142 'textAlign' => 'center',
1143 ],
1144 ],
1145 ],
1146 'sortBy' => 'newest',
1147 'showDivider' => true,
1148 'divider' =>
1149 [
1150 'context' => 'automatedLatestContent.divider',
1151 'styles' =>
1152 [
1153 'block' =>
1154 [
1155 'backgroundColor' => 'transparent',
1156 'padding' => '13px',
1157 'borderStyle' => 'solid',
1158 'borderWidth' => '3px',
1159 'borderColor' => '#aaaaaa',
1160 ],
1161 ],
1162 ],
1163 'backgroundColor' => '#ffffff',
1164 'backgroundColorAlternate' => '#eeeeee',
1165 ],
1166 'automatedLatestContentLayout' =>
1167 [
1168 'amount' => '5',
1169 'withLayout' => true,
1170 'contentType' => 'post',
1171 'inclusionType' => 'include',
1172 'displayType' => 'excerpt',
1173 'titleFormat' => 'h1',
1174 'titleAlignment' => 'left',
1175 'titleIsLink' => false,
1176 'imageFullWidth' => false,
1177 'featuredImagePosition' => 'alternate',
1178 'showAuthor' => 'no',
1179 'authorPrecededBy' => 'Author:',
1180 'showCategories' => 'no',
1181 'categoriesPrecededBy' => 'Categories:',
1182 'readMoreType' => 'button',
1183 'readMoreText' => 'Read more',
1184 'readMoreButton' =>
1185 [
1186 'text' => 'Read more',
1187 'url' => '[postLink]',
1188 'context' => 'automatedLatestContentLayout.readMoreButton',
1189 'styles' =>
1190 [
1191 'block' =>
1192 [
1193 'backgroundColor' => '#2ea1cd',
1194 'borderColor' => '#0074a2',
1195 'borderWidth' => '1px',
1196 'borderRadius' => '5px',
1197 'borderStyle' => 'solid',
1198 'width' => '180px',
1199 'lineHeight' => '40px',
1200 'fontColor' => '#ffffff',
1201 'fontFamily' => 'Verdana',
1202 'fontSize' => '18px',
1203 'fontWeight' => 'normal',
1204 'textAlign' => 'center',
1205 ],
1206 ],
1207 ],
1208 'sortBy' => 'newest',
1209 'showDivider' => true,
1210 'divider' =>
1211 [
1212 'context' => 'automatedLatestContentLayout.divider',
1213 'styles' =>
1214 [
1215 'block' =>
1216 [
1217 'backgroundColor' => 'transparent',
1218 'padding' => '13px',
1219 'borderStyle' => 'solid',
1220 'borderWidth' => '3px',
1221 'borderColor' => '#aaaaaa',
1222 ],
1223 ],
1224 ],
1225 'backgroundColor' => '#ffffff',
1226 'backgroundColorAlternate' => '#eeeeee',
1227 ],
1228 'button' =>
1229 [
1230 'text' => 'Find Out More',
1231 'url' => '',
1232 'styles' =>
1233 [
1234 'block' =>
1235 [
1236 'backgroundColor' => '#ffc600',
1237 'borderColor' => '#0074a2',
1238 'borderWidth' => '0px',
1239 'borderRadius' => '5px',
1240 'borderStyle' => 'solid',
1241 'width' => '180px',
1242 'lineHeight' => '46px',
1243 'fontColor' => '#3f3f3f',
1244 'fontFamily' => 'Verdana',
1245 'fontSize' => '18px',
1246 'fontWeight' => 'bold',
1247 'textAlign' => 'left',
1248 ],
1249 ],
1250 'type' => 'button',
1251 ],
1252 'divider' =>
1253 [
1254 'styles' =>
1255 [
1256 'block' =>
1257 [
1258 'backgroundColor' => 'transparent',
1259 'padding' => '13px',
1260 'borderStyle' => 'solid',
1261 'borderWidth' => '3px',
1262 'borderColor' => '#aaaaaa',
1263 ],
1264 ],
1265 ],
1266 'footer' =>
1267 [
1268 'text' => '<p><a href="[link:subscription_unsubscribe_url]">' . __("Unsubscribe", 'mailpoet') . '</a> | <a href="[link:subscription_manage_url]">' . __("Manage your subscription", 'mailpoet') . '</a><br />' . __("Add your postal address here!", 'mailpoet') . '</p>',
1269 'styles' =>
1270 [
1271 'block' =>
1272 [
1273 'backgroundColor' => 'transparent',
1274 ],
1275 'text' =>
1276 [
1277 'fontColor' => '#222222',
1278 'fontFamily' => 'Arial',
1279 'fontSize' => '12px',
1280 'textAlign' => 'center',
1281 ],
1282 'link' =>
1283 [
1284 'fontColor' => '#6cb7d4',
1285 'textDecoration' => 'none',
1286 ],
1287 ],
1288 ],
1289 'posts' =>
1290 [
1291 'amount' => '10',
1292 'withLayout' => true,
1293 'contentType' => 'post',
1294 'postStatus' => 'publish',
1295 'inclusionType' => 'include',
1296 'displayType' => 'excerpt',
1297 'titleFormat' => 'h1',
1298 'titleAlignment' => 'left',
1299 'titleIsLink' => false,
1300 'imageFullWidth' => false,
1301 'featuredImagePosition' => 'alternate',
1302 'showAuthor' => 'no',
1303 'authorPrecededBy' => 'Author:',
1304 'showCategories' => 'no',
1305 'categoriesPrecededBy' => 'Categories:',
1306 'readMoreType' => 'link',
1307 'readMoreText' => 'Read more',
1308 'readMoreButton' =>
1309 [
1310 'text' => 'Read more',
1311 'url' => '[postLink]',
1312 'context' => 'posts.readMoreButton',
1313 'styles' =>
1314 [
1315 'block' =>
1316 [
1317 'backgroundColor' => '#2ea1cd',
1318 'borderColor' => '#0074a2',
1319 'borderWidth' => '1px',
1320 'borderRadius' => '5px',
1321 'borderStyle' => 'solid',
1322 'width' => '180px',
1323 'lineHeight' => '40px',
1324 'fontColor' => '#ffffff',
1325 'fontFamily' => 'Verdana',
1326 'fontSize' => '18px',
1327 'fontWeight' => 'normal',
1328 'textAlign' => 'center',
1329 ],
1330 ],
1331 ],
1332 'sortBy' => 'newest',
1333 'showDivider' => true,
1334 'divider' =>
1335 [
1336 'context' => 'posts.divider',
1337 'styles' =>
1338 [
1339 'block' =>
1340 [
1341 'backgroundColor' => 'transparent',
1342 'padding' => '13px',
1343 'borderStyle' => 'solid',
1344 'borderWidth' => '3px',
1345 'borderColor' => '#aaaaaa',
1346 ],
1347 ],
1348 ],
1349 'backgroundColor' => '#ffffff',
1350 'backgroundColorAlternate' => '#eeeeee',
1351 ],
1352 'social' =>
1353 [
1354 'iconSet' => 'official',
1355 'icons' =>
1356 [
1357 0 =>
1358 [
1359 'type' => 'socialIcon',
1360 'iconType' => 'facebook',
1361 'link' => 'http://www.facebook.com',
1362 'image' => $this->social_icon_url . '/11-official/Facebook.png',
1363 'height' => '32px',
1364 'width' => '32px',
1365 'text' => 'Facebook',
1366 ],
1367 1 =>
1368 [
1369 'type' => 'socialIcon',
1370 'iconType' => 'twitter',
1371 'link' => 'http://www.twitter.com',
1372 'image' => $this->social_icon_url . '/11-official/X.png',
1373 'height' => '32px',
1374 'width' => '32px',
1375 'text' => 'Twitter',
1376 ],
1377 ],
1378 ],
1379 'spacer' =>
1380 [
1381 'styles' =>
1382 [
1383 'block' =>
1384 [
1385 'backgroundColor' => 'transparent',
1386 'height' => '181px',
1387 ],
1388 ],
1389 'type' => 'spacer',
1390 ],
1391 'header' =>
1392 [
1393 'text' => '<a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a>',
1394 'styles' =>
1395 [
1396 'block' =>
1397 [
1398 'backgroundColor' => 'transparent',
1399 ],
1400 'text' =>
1401 [
1402 'fontColor' => '#222222',
1403 'fontFamily' => 'Arial',
1404 'fontSize' => '12px',
1405 'textAlign' => 'center',
1406 ],
1407 'link' =>
1408 [
1409 'fontColor' => '#6cb7d4',
1410 'textDecoration' => 'underline',
1411 ],
1412 ],
1413 'type' => 'header',
1414 ],
1415 ],
1416 ];
1417 }
1418 }
1419