%PDF- %PDF-
Direktori : /var/www/pn/beta/64801_wp-content/plugins/mailpoet/lib/Config/PopulatorData/Templates/ |
Current File : //var/www/pn/beta/64801_wp-content/plugins/mailpoet/lib/Config/PopulatorData/Templates/Shoes.php |
<?php namespace MailPoet\Config\PopulatorData\Templates; class Shoes { private $template_image_url; private $social_icon_url; function __construct($assets_url) { $this->template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/shoes'; $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; } function get() { return array( 'name' => __("Shoes", 'mailpoet'), 'categories' => json_encode(array('standard', 'sample')), 'readonly' => 1, 'thumbnail' => $this->getThumbnail(), 'body' => json_encode($this->getBody()), ); } private function getBody() { return array( 'content' => array( 'type' => 'container', 'orientation' => 'vertical', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', ), ), 'blocks' => array( 0 => array( 'type' => 'container', 'orientation' => 'horizontal', 'styles' => array( 'block' => array( 'backgroundColor' => '#f6f6f6', ), ), 'blocks' => array( 0 => array( 'type' => 'container', 'orientation' => 'vertical', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', ), ), 'blocks' => array( 0 => array( 'type' => 'image', 'link' => '', 'src' => $this->template_image_url . '/Retail-Shoes-Logo.png', 'alt' => 'Retail-Shoes-Logo', 'fullWidth' => true, 'width' => '1280px', 'height' => '220px', 'styles' => array( 'block' => array( 'textAlign' => 'center', ), ), ), ), ), ), ), 1 => array( 'type' => 'container', 'orientation' => 'horizontal', 'styles' => array( 'block' => array( 'backgroundColor' => '#ffffff', ), ), 'blocks' => array( 0 => array( 'type' => 'container', 'orientation' => 'vertical', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', ), ), 'blocks' => array( 0 => array( 'type' => 'image', 'link' => '', 'src' => $this->template_image_url . '/Retail-Shoes-Header.jpg', 'alt' => 'Retail-Shoes-Header', 'fullWidth' => true, 'width' => '1280px', 'height' => '700px', 'styles' => array( 'block' => array( 'textAlign' => 'center', ), ), ), ), ), ), ), 2 => array( 'type' => 'container', 'orientation' => 'horizontal', 'styles' => array( 'block' => array( 'backgroundColor' => '#f1b512', ), ), 'blocks' => array( 0 => array( 'type' => 'container', 'orientation' => 'vertical', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', ), ), 'blocks' => array( 0 => array( 'type' => 'spacer', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', 'height' => '20px', ), ), ), 1 => array( 'type' => 'text', 'text' => '<h2 style="text-align: center;"><span style="color: #614a0d;">Our New Range</span></h2> <p style="text-align: center;"><span style="color: #614a0d;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque cursus aliquam urna, non ultricies diam sagittis sit amet. Etiam tempus a metus sed tincidunt.</span></p> <p style="text-align: center;"><span style="color: #614a0d;">Curabitur fermentum ligula eget lacus aliquam volutpat. Integer sapien neque, laoreet quis lobortis sed, semper eget magna. Suspendisse potentiu.</span></p>', ), 2 => array( 'type' => 'button', 'text' => 'Find Out More', 'url' => '', 'styles' => array( 'block' => array( 'backgroundColor' => '#41c7bf', 'borderColor' => '#28a9a2', 'borderWidth' => '2px', 'borderRadius' => '5px', 'borderStyle' => 'solid', 'width' => '160px', 'lineHeight' => '40px', 'fontColor' => '#ffffff', 'fontFamily' => 'Arial', 'fontSize' => '16px', 'fontWeight' => 'normal', 'textAlign' => 'center', ), ), ), 3 => array( 'type' => 'spacer', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', 'height' => '30px', ), ), ), ), ), ), ), 3 => array( 'type' => 'container', 'orientation' => 'horizontal', 'styles' => array( 'block' => array( 'backgroundColor' => '#36b0a9', ), ), 'blocks' => array( 0 => array( 'type' => 'container', 'orientation' => 'vertical', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', ), ), 'blocks' => array( 0 => array( 'type' => 'spacer', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', 'height' => '70px', ), ), ), 1 => array( 'type' => 'text', 'text' => '<h2><span style="color: #ffffff;">Handcrafted Shoes</span></h2> <p style="font-size: 14px;"><span><span style="color: #ffffff;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque cursus aliquam urna, non ultricies diam sagittis sit amet. Etiam tempus a metus sed tincidunt. Curabitur fermentum ligula eget lacus aliquam volutpat.</span></span></p>', ), 2 => array( 'type' => 'spacer', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', 'height' => '40px', ), ), ), ), ), 1 => array( 'type' => 'container', 'orientation' => 'vertical', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', ), ), 'blocks' => array( 0 => array( 'type' => 'image', 'link' => '', 'src' => $this->template_image_url . '/Retail-Shoes-Boxes-1.jpg', 'alt' => 'Retail-Shoes-Boxes-1', 'fullWidth' => true, 'width' => '700px', 'height' => '700px', 'styles' => array( 'block' => array( 'textAlign' => 'center', ), ), ), ), ), ), ), 4 => array( 'type' => 'container', 'orientation' => 'horizontal', 'styles' => array( 'block' => array( 'backgroundColor' => '#36b0a9', ), ), 'blocks' => array( 0 => array( 'type' => 'container', 'orientation' => 'vertical', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', ), ), 'blocks' => array( 0 => array( 'type' => 'image', 'link' => '', 'src' => $this->template_image_url . '/Retail-Shoes-Boxes-2.jpg', 'alt' => 'Retail-Shoes-Boxes-2', 'fullWidth' => true, 'width' => '700px', 'height' => '700px', 'styles' => array( 'block' => array( 'textAlign' => 'center', ), ), ), ), ), 1 => array( 'type' => 'container', 'orientation' => 'vertical', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', ), ), 'blocks' => array( 0 => array( 'type' => 'spacer', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', 'height' => '70px', ), ), ), 1 => array( 'type' => 'text', 'text' => '<h2><span style="color: #ffffff;">Perfect For Any Occasion</span></h2> <p style="font-size: 14px;"><span><span style="color: #ffffff;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque cursus aliquam urna, non ultricies diam sagittis sit amet. Etiam tempus a metus sed tincidunt. Curabitur fermentum ligula eget lacus aliquam volutpat.</span></span></p>', ), 2 => array( 'type' => 'spacer', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', 'height' => '40px', ), ), ), ), ), ), ), 5 => array( 'type' => 'container', 'orientation' => 'horizontal', 'styles' => array( 'block' => array( 'backgroundColor' => '#f6f6f6', ), ), 'blocks' => array( 0 => array( 'type' => 'container', 'orientation' => 'vertical', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', ), ), 'blocks' => array( 0 => array( 'type' => 'spacer', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', 'height' => '40px', ), ), ), 1 => array( 'type' => 'text', 'text' => '<h3 style="text-align: center;"><strong>We\'re open every day!</strong></h3> <p style="text-align: center;">Call in any time and we\'ll help you pick the best shoes for any occasion.</p> <p style="text-align: center;">If you\'re not happy, just bring them back to us and we\'ll give you a full refund.</p>', ), 2 => array( 'type' => 'button', 'text' => 'Check Out Our Website', 'url' => '', 'styles' => array( 'block' => array( 'backgroundColor' => '#41c7bf', 'borderColor' => '#28a9a2', 'borderWidth' => '2px', 'borderRadius' => '5px', 'borderStyle' => 'solid', 'width' => '220px', 'lineHeight' => '40px', 'fontColor' => '#ffffff', 'fontFamily' => 'Arial', 'fontSize' => '16px', 'fontWeight' => 'normal', 'textAlign' => 'center', ), ), ), 3 => array( 'type' => 'spacer', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', 'height' => '30px', ), ), ), 4 => array( 'type' => 'divider', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', 'padding' => '13px', 'borderStyle' => 'solid', 'borderWidth' => '2px', 'borderColor' => '#d3d3d3', ), ), ), 5 => array( 'type' => 'spacer', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', 'height' => '20px', ), ), ), ), ), ), ), 6 => array( 'type' => 'container', 'orientation' => 'horizontal', 'styles' => array( 'block' => array( 'backgroundColor' => '#f6f6f6', ), ), 'blocks' => array( 0 => array( 'type' => 'container', 'orientation' => 'vertical', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', ), ), 'blocks' => array( 0 => array( 'type' => 'image', 'link' => '', 'src' => $this->template_image_url . '/Retail-Shoes-Logo-Footer.png', 'alt' => 'Retail-Shoes-Logo-Footer', 'fullWidth' => true, 'width' => '1280px', 'height' => '60px', 'styles' => array( 'block' => array( 'textAlign' => 'center', ), ), ), 1 => array( 'type' => 'spacer', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', 'height' => '20px', ), ), ), 2 => array( 'type' => 'text', 'text' => '<p style="text-align: center; font-size: 12px;"><span style="color: #999999;">Address Line 1</span></p> <p style="text-align: center; font-size: 12px;"><span style="color: #999999;">Address Line 2</span></p> <p style="text-align: center; font-size: 12px;"><span style="color: #999999;">City</span></p> <p style="text-align: center; font-size: 12px;"><span style="color: #999999;">Country</span></p>', ), 3 => array( 'type' => 'social', 'iconSet' => 'grey', 'icons' => array( 0 => array( 'type' => 'socialIcon', 'iconType' => 'facebook', 'link' => 'http://www.facebook.com', 'image' => $this->social_icon_url . '/02-grey/Facebook.png', 'height' => '32px', 'width' => '32px', 'text' => 'Facebook', ), 1 => array( 'type' => 'socialIcon', 'iconType' => 'twitter', 'link' => 'http://www.twitter.com', 'image' => $this->social_icon_url . '/02-grey/Twitter.png', 'height' => '32px', 'width' => '32px', 'text' => 'Twitter', ), 2 => array( 'type' => 'socialIcon', 'iconType' => 'instagram', 'link' => 'http://instagram.com', 'image' => $this->social_icon_url . '/02-grey/Instagram.png', 'height' => '32px', 'width' => '32px', 'text' => 'Instagram', ), ), ), ), ), ), ), 7 => array( 'type' => 'container', 'orientation' => 'horizontal', 'styles' => array( 'block' => array( 'backgroundColor' => '#f6f6f6', ), ), 'blocks' => array( 0 => array( 'type' => 'container', 'orientation' => 'vertical', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', ), ), 'blocks' => array( 0 => array( 'type' => 'footer', 'text' => '<p><a href="[link:subscription_unsubscribe_url]">Unsubscribe</a> | <a href="[link:subscription_manage_url]">Manage your subscription</a></p>', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', ), 'text' => array( 'fontColor' => '#222222', 'fontFamily' => 'Arial', 'fontSize' => '12px', 'textAlign' => 'center', ), 'link' => array( 'fontColor' => '#41c7bf', 'textDecoration' => 'none', ), ), ), 1 => array( 'type' => 'spacer', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', 'height' => '40px', ), ), ), ), ), ), ), ), ), 'globalStyles' => array( 'text' => array( 'fontColor' => '#000000', 'fontFamily' => 'Arial', 'fontSize' => '15px', ), 'h1' => array( 'fontColor' => '#111111', 'fontFamily' => 'Arial', 'fontSize' => '30px', ), 'h2' => array( 'fontColor' => '#222222', 'fontFamily' => 'Arial', 'fontSize' => '24px', ), 'h3' => array( 'fontColor' => '#333333', 'fontFamily' => 'Arial', 'fontSize' => '22px', ), 'link' => array( 'fontColor' => '#21759B', 'textDecoration' => 'underline', ), 'wrapper' => array( 'backgroundColor' => '#ffffff', ), 'body' => array( 'backgroundColor' => '#f6f6f6', ), ), ); } private function getThumbnail() { return $this->template_image_url . '/shoes.jpg'; } }