Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Template name: privacy_policy
- */
- ?>
- <!DOCTYPE html>
- <!-- Last Published: Thu Apr 01 2021 07:52:32 GMT+0000 (Coordinated Universal Time) --><html data-wf-page="5dc5b2da22ee6f0eb8d3e4fe" data-wf-site="5ccdd9c79639c47c7a74419d">
- <?php get_template_part("header_block", ""); ?>
- <body>
- <script id="query_vars">
- var query_vars = '<?php global $wp_query; echo serialize($wp_query->query) ?>';
- </script>
- <div data-collapse="medium" data-animation="over-right" data-duration="400" data-easing="linear" role="banner" class="navigation-bar w-nav">
- <div class="container-5 w-container"><a href="/" class="brand-link w-nav-brand"><img src="<?php $field = get_field('logotip', 'options'); if(isset($field['url'])){ echo($field['url']); }elseif(is_numeric($field)){ echo(wp_get_attachment_image_url($field, 'full')); }else{ echo($field); } ?>" height="67" width="67" alt="<?php echo esc_attr($field['alt']); ?>" title="<?php echo pathinfo($field['filename'])['filename'] !== $field['title'] ? esc_attr($field['title']) : ''; ?>"></a>
- <nav role="navigation" class="navigation-menu w-nav-menu"><a href="/#01" class="navigation-link w-nav-link">Главная</a><a href="/about" class="navigation-link w-nav-link">О нас</a><a href="/reviews" class="navigation-link w-nav-link">Отзывы</a><a href="#" class="navigation-link w-nav-link">Контакты</a><a href="#" class="button menu link" data-ix="modal-contact-fade-in">заказать звонок</a><a href="tel:+7(982)-970-74-11" class="navigation-link w-nav-link">+7 (982)-970-74-11</a></nav>
- <div class="hamburger-button w-nav-button">
- <div class="icon-2 w-icon-nav-menu"></div>
- </div><a href="#" class="button menu mob" data-ix="modal-contact-fade-in">заказать звонок</a></div>
- </div>
- <div class="section-17">
- <div class="rich-text-block-4 w-richtext">
- <?php echo get_field('politika') ?>
- </div>
- <div class="rich-text-block-3 w-richtext">
- <p></p>
- <p></p>
- <p></p>
- </div>
- </div>
- <div class="footer">
- <div class="w-container">
- <div class="w-row">
- <div class="spc w-col w-col-4">
- <h5>О компании</h5>
- <p>Обращаем Ваше внимание: компания "Попутчики24.рф" не осуществляет перевозку пассажиров, а также междугородние грузоперевозки, а является лишь связующей платформой для пассажиров и водителей ООО "Альянс 100 дорог"</p>
- </div>
- <div class="spc w-col w-col-4">
- <h5>Документация</h5><a href="/privacy-policy" aria-current="page" class="footer-link w--current">Политика конфиденциальности</a><a href="/contact-information" class="footer-link"><strong class="bold-text-13">Контактные данные</strong> </a><a href="#" class="footer-link">Лицензия </a></div>
- <div class="w-col w-col-4">
- <h5>Социальные сети</h5>
- <div class="footer-link-wrapper w-clearfix"><img src="<?php echo get_template_directory_uri() ?>/images/5ccdc7d415eeac5e08efc0bf_vkontakte20(1).png" width="20" alt="" class="info-icon"><a href="https://vk.com/poputchikitxn" class="footer-link with-icon">ВКонтакте</a></div>
- <div class="footer-link-wrapper w-clearfix"><img src="<?php echo get_template_directory_uri() ?>/images/5ccdc7d433f0ea01680a07ac_instagram.png" width="20" alt="" class="info-icon"><a href="https://www.instagram.com/poputchiktixn/?hl=ru" class="footer-link with-icon">Instagram</a></div>
- <div class="footer-link-wrapper w-clearfix"><img src="<?php echo get_template_directory_uri() ?>/images/5cc353d7a34976339497e6b0_social-30.svg" width="20" alt="" class="info-icon"><a href="mailto:Russia.lika28@bk.ru?subject=Сообщение с сайта Попутчики24.рф" class="footer-link with-icon"><strong class="bold-text-2">devyatkoirina</strong>@yandex.ru</a></div>
- </div>
- </div>
- </div>
- </div>
- <div class="footer center">
- <div class="w-container">
- <div class="div-block-51"><a href="mailto:devyatkoirina@yandex.ru?subject=Служба поддержки. Запрос" class="footer-link">Служба поддержки</a><a href="#" class="footer-link" data-ix="modal-contact-fade-in">Связаться с нами</a><a href="/reviews" class="footer-link">Оставить отзыв</a></div>
- <div class="footer-text">Copyright. Poputchiki24.ru</div>
- </div>
- </div>
- <!--[if lte IE 9]><script src="//cdnjs.cloudflare.com/ajax/libs/placeholders/3.0.2/placeholders.min.js"></script><![endif]-->
- <?php get_template_part("footer_block", ""); ?>
- <?php
- // $order = wc_get_order( $order->id );
- $order = wc_get_order( 7266 );
- $line_items = $order->get_meta_data();
- $line_items2 = $line_items['0'];
- $trip_destinations = "";
- $trip_price = 0;
- $order_status = $order->status;
- $order_fio = $order->data["billing"]["first_name"] . ' ' . $order->data["billing"]["last_name"] . ' ' . $order->data["billing"]["company"];
- $order_birthday = $line_items2->value;
- $order_passport = $order->data["billing"]["postcode"];
- $order_date = $order->get_meta("billing_date");
- foreach ($order->items as $item) {
- $trip_destinations = str_replace("Поездка ", "", $item["name"]);
- $trip_price = $item["total"];
- }
- // echo '<pre>';
- // print_r ($order);
- // echo '</pre>';
- if($order_status === "processing") {
- echo <<<EOL
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml">
- <head>
- <!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]-->
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
- <meta content="width=device-width" name="viewport" />
- <!--[if !mso]><!-->
- <meta content="IE=edge" http-equiv="X-UA-Compatible" />
- <!--<![endif]-->
- <title></title>
- <!--[if !mso]><!-->
- <link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet" type="text/css" />
- <!--<![endif]-->
- <style type="text/css">
- body {
- margin: 0;
- padding: 0;
- }
- table,
- td,
- tr {
- vertical-align: top;
- border-collapse: collapse;
- }
- * {
- line-height: inherit;
- }
- a[x-apple-data-detectors=true] {
- color: inherit !important;
- text-decoration: none !important;
- }
- </style>
- <style id="media-query" type="text/css">
- @media (max-width: 580px) {
- .block-grid,
- .col {
- min-width: 320px !important;
- max-width: 100% !important;
- display: block !important;
- }
- .block-grid {
- width: 100% !important;
- }
- .col {
- width: 100% !important;
- }
- .col_cont {
- margin: 0 auto;
- }
- img.fullwidth,
- img.fullwidthOnMobile {
- max-width: 100% !important;
- }
- .no-stack .col {
- min-width: 0 !important;
- display: table-cell !important;
- }
- .no-stack.two-up .col {
- width: 50% !important;
- }
- .no-stack .col.num2 {
- width: 16.6% !important;
- }
- .no-stack .col.num3 {
- width: 25% !important;
- }
- .no-stack .col.num4 {
- width: 33% !important;
- }
- .no-stack .col.num5 {
- width: 41.6% !important;
- }
- .no-stack .col.num6 {
- width: 50% !important;
- }
- .no-stack .col.num7 {
- width: 58.3% !important;
- }
- .no-stack .col.num8 {
- width: 66.6% !important;
- }
- .no-stack .col.num9 {
- width: 75% !important;
- }
- .no-stack .col.num10 {
- width: 83.3% !important;
- }
- .video-block {
- max-width: none !important;
- }
- .mobile_hide {
- min-height: 0px;
- max-height: 0px;
- max-width: 0px;
- display: none;
- overflow: hidden;
- font-size: 0px;
- }
- .desktop_hide {
- display: block !important;
- max-height: none !important;
- }
- }
- </style>
- </head>
- <body class="clean-body" style="margin: 0; padding: 0; -webkit-text-size-adjust: 100%; background-color: #ffffff;">
- <!--[if IE]><div class="ie-browser"><![endif]-->
- <table bgcolor="#ffffff" cellpadding="0" cellspacing="0" class="nl-container" role="presentation" style="table-layout: fixed; vertical-align: top; min-width: 320px; border-spacing: 0; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #ffffff; width: 100%; border: 1px solid #000; margin-bottom: 20px;" valign="top" width="100%">
- <tbody>
- <tr style="vertical-align: top;" valign="top">
- <td style="word-break: break-word; vertical-align: top; padding-left: 5px;" valign="top">
- <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" style="background-color:#ffffff"><![endif]-->
- <div style="background-color:transparent;overflow:hidden">
- <div class="block-grid two-up" style="min-width: 320px; max-width: 560px; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; Margin: 0 auto; width: 100%; background-color: transparent;">
- <div style="border-collapse: collapse;display: table;width: 100%;background-color:transparent;">
- <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0" style="background-color:transparent;"><tr><td align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:560px"><tr class="layout-full-width" style="background-color:transparent"><![endif]-->
- <!--[if (mso)|(IE)]><td align="center" width="280" style="background-color:transparent;width:280px; border-top: 0px solid transparent; border-left: 0px solid transparent; border-bottom: 0px solid transparent; border-right: 0px solid transparent;" valign="top"><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 0px; padding-left: 0px; padding-top:5px; padding-bottom:5px;"><![endif]-->
- <div class="col num6" style="display: table-cell; vertical-align: top; max-width: 320px; min-width: 235px; width: 280px;">
- <div class="col_cont" style="width:100% !important;">
- <!--[if (!mso)&(!IE)]><!-->
- <div style="border-top:0px solid transparent; border-left:0px solid transparent; border-bottom:0px solid transparent; border-right:0px solid transparent; padding-top:5px; padding-bottom:5px; padding-right: 0px; padding-left: 0px;">
- <!--<![endif]-->
- <!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 0px; padding-left: 5px; padding-top: 10px; padding-bottom: 5px; font-family: Tahoma, sans-serif"><![endif]-->
- <div style="color:#33563c;font-family:Montserrat, Trebuchet MS, Lucida Grande, Lucida Sans Unicode, Lucida Sans, Tahoma, sans-serif;line-height:1.8;padding-top:10px;padding-right:0px;padding-bottom:5px;padding-left:5px;">
- <div style="line-height: 1.8; font-size: 12px; color: #33563c; font-family: Montserrat, Trebuchet MS, Lucida Grande, Lucida Sans Unicode, Lucida Sans, Tahoma, sans-serif; mso-line-height-alt: 22px;">
- <p style="line-height: 1.8; word-break: break-word; mso-line-height-alt: 22px; margin: 0;"><strong>Билет №:</strong> $order->id</p>
- <p style="line-height: 1.8; word-break: break-word; mso-line-height-alt: 22px; margin: 0;"><br /><strong>Покупатель / пассажир:</strong><br />$order_fio</p>
- <p style="line-height: 1.8; word-break: break-word; mso-line-height-alt: 22px; margin: 0;"><strong>Документ: </strong><br />$order_passport<br /><strong>Дата рождения:</strong> <br /> $order_birthday<br /><strong>Поездка откуда-куда:</strong><br />$trip_destinations<br /><strong>Цена: </strong><br />$trip_price<br /><strong>Дата поездки:</strong> <br />$order_date</p>
- </div>
- </div>
- <!--[if mso]></td></tr></table><![endif]-->
- <!--[if (!mso)&(!IE)]><!-->
- </div>
- <!--<![endif]-->
- </div>
- </div>
- <!--[if (mso)|(IE)]></td></tr></table><![endif]-->
- <!--[if (mso)|(IE)]></td><td align="center" width="280" style="background-color:transparent;width:280px; border-top: 0px solid transparent; border-left: 0px solid transparent; border-bottom: 0px solid transparent; border-right: 0px solid transparent;" valign="top"><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 0px; padding-left: 0px; padding-top:5px; padding-bottom:5px;"><![endif]-->
- <div class="col num6" style="display: table-cell; vertical-align: top; max-width: 320px; min-width: 276px; width: 280px;">
- <div class="col_cont" style="width:100% !important;">
- <!--[if (!mso)&(!IE)]><!-->
- <div style="border-top:0px solid transparent; border-left:0px solid transparent; border-bottom:0px solid transparent; border-right:0px solid transparent; padding-top:5px; padding-bottom:5px; padding-right: 0px; padding-left: 0px;">
- <!--<![endif]-->
- <!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 0px; padding-left: 30px; padding-top: 10px; padding-bottom: 5px; font-family: Tahoma, sans-serif"><![endif]-->
- <div style="color:#33563c;font-family:Montserrat, Trebuchet MS, Lucida Grande, Lucida Sans Unicode, Lucida Sans, Tahoma, sans-serif;line-height:1.8;padding-top:10px;padding-right:0px;padding-bottom:5px;padding-left:0;">
- <div style="line-height: 1.8; font-size: 12px; font-family: Montserrat, Trebuchet MS, Lucida Grande, Lucida Sans Unicode, Lucida Sans, Tahoma, sans-serif; color: #33563c; mso-line-height-alt: 22px;">
- <p style="font-size: 8px; line-height: 1.8; word-break: break-word; text-align: left; font-family: Montserrat, Trebuchet MS, Lucida Grande, Lucida Sans Unicode, Lucida Sans, Tahoma, sans-serif; mso-line-height-alt: 14px; margin: 0;"><span style="font-size: 8px; color: #000000;"><strong>ООО "Альянс 100 дорог"</strong></span></p>
- <p style="font-size: 8px; line-height: 1.8; word-break: break-word; text-align: left; font-family: Montserrat, Trebuchet MS, Lucida Grande, Lucida Sans Unicode, Lucida Sans, Tahoma, sans-serif; mso-line-height-alt: 14px; margin: 0;"><span style="font-size: 8px; color: #000000;"><strong>ИНН:</strong> 7203487738 <strong>ОГРН:</strong> 1197232022217</span></p>
- </div>
- </div>
- <!--[if mso]></td></tr></table><![endif]-->
- <div align="left" class="img-container center autowidth" style="padding-right: 0px;padding-left: 0px;">
- <!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr style="line-height:0px"><td style="padding-right: 0px;padding-left: 0px;" align="center"><![endif]--><img align="center" alt="Alternate text" border="0" class="center autowidth" src="http://poputchiki24.ru/wp-content/uploads/kuar-kod-1-1.png" style="text-decoration: none; -ms-interpolation-mode: bicubic; height: auto; border: 0; width: 100%; max-width: 250px; display: block;" title="Плати QR от Сбера" width="100" />
- <!--[if mso]></td></tr></table><![endif]-->
- </div>
- <!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 15px; padding-left: 30px; padding-top: 10px; padding-bottom: 10px; font-family: Tahoma, sans-serif"><![endif]-->
- <!--[if mso]></td></tr></table><![endif]-->
- <!--[if (!mso)&(!IE)]><!-->
- </div>
- <!--<![endif]-->
- </div>
- </div>
- <!--[if (mso)|(IE)]></td></tr></table><![endif]-->
- <!--[if (mso)|(IE)]></td></tr></table></td></tr></table><![endif]-->
- </div>
- <div style="color:#33563c;font-family:Montserrat, Trebuchet MS, Lucida Grande, Lucida Sans Unicode, Lucida Sans, Tahoma, sans-serif;line-height:1.8;padding-top:10px;padding-right:0;padding-bottom:10px;padding-left:0;">
- <div style="line-height: 1.8; font-size: 12px; color: #33563c; font-family: Montserrat, Trebuchet MS, Lucida Grande, Lucida Sans Unicode, Lucida Sans, Tahoma, sans-serif; mso-line-height-alt: 22px;">
- <p style="line-height: 1.8; word-break: break-word; font-size: 6px; mso-line-height-alt: 14px; margin: 0; text-align: center;"><span style="font-size: 7px; color: #000000;"><strong>ЮРИДИЧЕСКИЙ АДРЕС:</strong> 625041, ТЮМЕНСКАЯ ОБЛАСТЬ, ГОРОД ТЮМЕНЬ, УЛИЦА УРОЖАЙНАЯ (СНТ ОЛИМПИЕЦ ТЕР), ДОМ 85</span></p>
- </div>
- </div>
- </div>
- </div>
- <!--[if (mso)|(IE)]></td></tr></table><![endif]-->
- </td>
- </tr>
- </tbody>
- </table>
- <!--[if (IE)]></div><![endif]-->
- </body>
- </html>
- EOL;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement