Advertisement
bongzilla

policy

Jan 19th, 2022
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.20 KB | None | 0 0
  1. <?php
  2. /*
  3. Template name: privacy_policy
  4. */
  5. ?>
  6. <!DOCTYPE html>
  7. <!-- Last Published: Thu Apr 01 2021 07:52:32 GMT+0000 (Coordinated Universal Time) --><html data-wf-page="5dc5b2da22ee6f0eb8d3e4fe" data-wf-site="5ccdd9c79639c47c7a74419d">
  8. <?php get_template_part("header_block", ""); ?>
  9. <body>
  10. <script id="query_vars">
  11. var query_vars = '<?php global $wp_query; echo serialize($wp_query->query) ?>';
  12. </script>
  13. <div data-collapse="medium" data-animation="over-right" data-duration="400" data-easing="linear" role="banner" class="navigation-bar w-nav">
  14. <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>
  15. <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>
  16. <div class="hamburger-button w-nav-button">
  17. <div class="icon-2 w-icon-nav-menu"></div>
  18. </div><a href="#" class="button menu mob" data-ix="modal-contact-fade-in">заказать звонок</a></div>
  19. </div>
  20. <div class="section-17">
  21. <div class="rich-text-block-4 w-richtext">
  22. <?php echo get_field('politika') ?>
  23. </div>
  24. <div class="rich-text-block-3 w-richtext">
  25. <p>‍</p>
  26. <p>‍</p>
  27. <p>‍</p>
  28. </div>
  29. </div>
  30. <div class="footer">
  31. <div class="w-container">
  32. <div class="w-row">
  33. <div class="spc w-col w-col-4">
  34. <h5>О компании</h5>
  35. <p>Обращаем Ваше внимание: компания "Попутчики24.рф" не осуществляет перевозку пассажиров, а также междугородние грузоперевозки, а является лишь связующей платформой для пассажиров и водителей ООО "Альянс 100 дорог"</p>
  36. </div>
  37. <div class="spc w-col w-col-4">
  38. <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>
  39. <div class="w-col w-col-4">
  40. <h5>Социальные сети</h5>
  41. <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>
  42. <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>
  43. <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>
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. <div class="footer center">
  49. <div class="w-container">
  50. <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>
  51. <div class="footer-text">Copyright. Poputchiki24.ru</div>
  52. </div>
  53. </div>
  54. <!--[if lte IE 9]><script src="//cdnjs.cloudflare.com/ajax/libs/placeholders/3.0.2/placeholders.min.js"></script><![endif]-->
  55. <?php get_template_part("footer_block", ""); ?>
  56.  
  57. <?php
  58.  
  59. // $order = wc_get_order( $order->id );
  60. $order = wc_get_order( 7266 );
  61.  
  62. $line_items = $order->get_meta_data();
  63. $line_items2 = $line_items['0'];
  64.  
  65. $trip_destinations = "";
  66. $trip_price = 0;
  67. $order_status = $order->status;
  68. $order_fio = $order->data["billing"]["first_name"] . ' ' . $order->data["billing"]["last_name"] . ' ' . $order->data["billing"]["company"];
  69. $order_birthday = $line_items2->value;
  70. $order_passport = $order->data["billing"]["postcode"];
  71. $order_date = $order->get_meta("billing_date");
  72.  
  73. foreach ($order->items as $item) {
  74. $trip_destinations = str_replace("Поездка ", "", $item["name"]);
  75. $trip_price = $item["total"];
  76. }
  77.  
  78. // echo '<pre>';
  79. // print_r ($order);
  80. // echo '</pre>';
  81.  
  82. if($order_status === "processing") {
  83. echo <<<EOL
  84. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  85. <html xmlns="http://www.w3.org/1999/xhtml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml">
  86.  
  87. <head>
  88. <!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]-->
  89. <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
  90. <meta content="width=device-width" name="viewport" />
  91. <!--[if !mso]><!-->
  92. <meta content="IE=edge" http-equiv="X-UA-Compatible" />
  93. <!--<![endif]-->
  94. <title></title>
  95. <!--[if !mso]><!-->
  96. <link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet" type="text/css" />
  97. <!--<![endif]-->
  98. <style type="text/css">
  99. body {
  100. margin: 0;
  101. padding: 0;
  102. }
  103.  
  104. table,
  105. td,
  106. tr {
  107. vertical-align: top;
  108. border-collapse: collapse;
  109. }
  110.  
  111. * {
  112. line-height: inherit;
  113. }
  114.  
  115. a[x-apple-data-detectors=true] {
  116. color: inherit !important;
  117. text-decoration: none !important;
  118. }
  119. </style>
  120. <style id="media-query" type="text/css">
  121. @media (max-width: 580px) {
  122.  
  123. .block-grid,
  124. .col {
  125. min-width: 320px !important;
  126. max-width: 100% !important;
  127. display: block !important;
  128. }
  129.  
  130. .block-grid {
  131. width: 100% !important;
  132. }
  133.  
  134. .col {
  135. width: 100% !important;
  136. }
  137.  
  138. .col_cont {
  139. margin: 0 auto;
  140. }
  141.  
  142. img.fullwidth,
  143. img.fullwidthOnMobile {
  144. max-width: 100% !important;
  145. }
  146.  
  147. .no-stack .col {
  148. min-width: 0 !important;
  149. display: table-cell !important;
  150. }
  151.  
  152. .no-stack.two-up .col {
  153. width: 50% !important;
  154. }
  155.  
  156. .no-stack .col.num2 {
  157. width: 16.6% !important;
  158. }
  159.  
  160. .no-stack .col.num3 {
  161. width: 25% !important;
  162. }
  163.  
  164. .no-stack .col.num4 {
  165. width: 33% !important;
  166. }
  167.  
  168. .no-stack .col.num5 {
  169. width: 41.6% !important;
  170. }
  171.  
  172. .no-stack .col.num6 {
  173. width: 50% !important;
  174. }
  175.  
  176. .no-stack .col.num7 {
  177. width: 58.3% !important;
  178. }
  179.  
  180. .no-stack .col.num8 {
  181. width: 66.6% !important;
  182. }
  183.  
  184. .no-stack .col.num9 {
  185. width: 75% !important;
  186. }
  187.  
  188. .no-stack .col.num10 {
  189. width: 83.3% !important;
  190. }
  191.  
  192. .video-block {
  193. max-width: none !important;
  194. }
  195.  
  196. .mobile_hide {
  197. min-height: 0px;
  198. max-height: 0px;
  199. max-width: 0px;
  200. display: none;
  201. overflow: hidden;
  202. font-size: 0px;
  203. }
  204.  
  205. .desktop_hide {
  206. display: block !important;
  207. max-height: none !important;
  208. }
  209. }
  210. </style>
  211. </head>
  212.  
  213. <body class="clean-body" style="margin: 0; padding: 0; -webkit-text-size-adjust: 100%; background-color: #ffffff;">
  214. <!--[if IE]><div class="ie-browser"><![endif]-->
  215. <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%">
  216. <tbody>
  217. <tr style="vertical-align: top;" valign="top">
  218. <td style="word-break: break-word; vertical-align: top; padding-left: 5px;" valign="top">
  219. <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" style="background-color:#ffffff"><![endif]-->
  220. <div style="background-color:transparent;overflow:hidden">
  221. <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;">
  222. <div style="border-collapse: collapse;display: table;width: 100%;background-color:transparent;">
  223. <!--[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]-->
  224. <!--[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]-->
  225. <div class="col num6" style="display: table-cell; vertical-align: top; max-width: 320px; min-width: 235px; width: 280px;">
  226. <div class="col_cont" style="width:100% !important;">
  227. <!--[if (!mso)&(!IE)]><!-->
  228. <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;">
  229. <!--<![endif]-->
  230. <!--[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]-->
  231. <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;">
  232. <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;">
  233. <p style="line-height: 1.8; word-break: break-word; mso-line-height-alt: 22px; margin: 0;"><strong>Билет №:</strong> $order->id</p>
  234. <p style="line-height: 1.8; word-break: break-word; mso-line-height-alt: 22px; margin: 0;"><br /><strong>Покупатель / пассажир:</strong><br />$order_fio</p>
  235. <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>
  236. </div>
  237. </div>
  238. <!--[if mso]></td></tr></table><![endif]-->
  239. <!--[if (!mso)&(!IE)]><!-->
  240. </div>
  241. <!--<![endif]-->
  242. </div>
  243. </div>
  244. <!--[if (mso)|(IE)]></td></tr></table><![endif]-->
  245. <!--[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]-->
  246. <div class="col num6" style="display: table-cell; vertical-align: top; max-width: 320px; min-width: 276px; width: 280px;">
  247. <div class="col_cont" style="width:100% !important;">
  248. <!--[if (!mso)&(!IE)]><!-->
  249. <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;">
  250. <!--<![endif]-->
  251. <!--[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]-->
  252. <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;">
  253. <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;">
  254. <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>
  255. <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>
  256. </div>
  257. </div>
  258. <!--[if mso]></td></tr></table><![endif]-->
  259. <div align="left" class="img-container center autowidth" style="padding-right: 0px;padding-left: 0px;">
  260. <!--[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" />
  261. <!--[if mso]></td></tr></table><![endif]-->
  262. </div>
  263. <!--[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]-->
  264. <!--[if mso]></td></tr></table><![endif]-->
  265. <!--[if (!mso)&(!IE)]><!-->
  266. </div>
  267. <!--<![endif]-->
  268. </div>
  269. </div>
  270. <!--[if (mso)|(IE)]></td></tr></table><![endif]-->
  271. <!--[if (mso)|(IE)]></td></tr></table></td></tr></table><![endif]-->
  272. </div>
  273. <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;">
  274. <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;">
  275. <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>
  276. </div>
  277. </div>
  278. </div>
  279. </div>
  280. <!--[if (mso)|(IE)]></td></tr></table><![endif]-->
  281. </td>
  282. </tr>
  283. </tbody>
  284. </table>
  285. <!--[if (IE)]></div><![endif]-->
  286. </body>
  287.  
  288. </html>
  289. EOL;
  290.  
  291. }
  292. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement