order.php 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1">
  7. <meta name="apple-mobile-web-app-capable" content="yes\">
  8. <meta content="telephone=no" name="format-detection">
  9. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  10. <meta name="MobileOptimized" content="width">
  11. <meta name="HandheldFriendly" content="true">
  12. <meta name="robots" content="noindex">
  13. <meta name="spiders" content="noindex">
  14. <title>票券</title>
  15. <style type="text/css">
  16. /*<![CDATA[*/
  17. body {
  18. margin: 0px;
  19. font-size: 14px;
  20. margin: 0px;
  21. background: #000
  22. url(/images/active/background.jpg)
  23. repeat-x top;
  24. color: #5b5b5b;
  25. }
  26. /*]]>*/
  27. </style>
  28. </head>
  29. <body>
  30. <div style="width: 100%;">
  31. <div style="width: 90%; margin: 5% auto 0 auto; max-width: 330px;">
  32. <img src="/images/active/round_top.png"
  33. style="width: 100%; border: none;">
  34. <div style="background-color: #f1f2f2; padding: 0 8% 10px;">
  35. <div style="text-align: center">
  36. <a href="javascript:void(0)" target="_blank" style="border: none;text-decoration:none;font-size:18px;color:#0088d2;">
  37. <?= $this->context->merchant['merchantName'] ?>
  38. </a>
  39. </div>
  40. <div style="text-align: center; height: 105px; position: relative;">
  41. <img src="/images/active/A4B3C8F66A8F09965384F2173C70CE9C.gif"
  42. alt=""
  43. style="clip: rect(10px, 145px, 145px, 10px); position: absolute; left: 50%; top: -27%; margin-left: -78px; -webkit-transform: scale(.7); transform: scale(.7);">
  44. </div>
  45. <div
  46. style="text-align: center; padding-bottom: 8px; border-bottom: 8px solid #969696; margin-bottom: 7px; font-size: 12px;">
  47. 票号:<?= $order['id'] ?></div>
  48. <h2
  49. style="padding-bottom: 8px; font-size: 18px; font-weight: normal; border-bottom: 1px solid #868686; margin-bottom: 8px;">
  50. <a href="javascript:void(0)"
  51. target="_blank" style="color: #0088d2; text-decoration: none;"><?= $active['title'] ?></a>
  52. </h2>
  53. <div
  54. style="border-bottom: 8px solid #969696; padding: 0px 0px 10px; margin-bottom: 10px;">
  55. <div style="margin-bottom: 5px;">
  56. <img src="/images/active/user.png" alt="姓名"
  57. style="width: 16px; border: none; vertical-align: middle; margin-right: 5px;">
  58. <?= $order['bookName'] ?>
  59. </div>
  60. <div style="margin-bottom: 5px;">
  61. <img src="/images/active/time.png" alt="时间"
  62. style="width: 16px; border: none; vertical-align: middle; margin-right: 5px;">
  63. <span><?php
  64. if(date("m月d日",$active['startTime']) == date("m月d日",$active['endTime'])){
  65. echo date("m月d日 H:i",$active['startTime']).' ~ '.date("H:s",$active['endTime']);
  66. }else{
  67. echo date("m月d日 H:i",$active['startTime']).' ~ '.date("m月d日 H:s",$active['endTime']);
  68. }
  69. ?></span>
  70. </div>
  71. <div>
  72. <img src="/images/active/place.png" alt="地点" style="width: 16px; border: none; vertical-align: middle; margin-right: 5px;">
  73. <?= $active['address'] ?>&nbsp;&nbsp;<a href="http://api.map.baidu.com/geocoder?address=<?= $active['address'] ?>&output=html" style="color: #0088d2; text-decoration: none;">查看地图</a>
  74. </div>
  75. <ul style="list-style: none; margin: 10px 0 10px 0; padding: 0; line-height: 20px;">
  76. <li><span>电话:</span><span><?= $order['bookMobile'] ?></span></li>
  77. <!-- <li><span>票价:</span><span><span style="color: green;">免费</span></span></li> -->
  78. </ul>
  79. </div>
  80. </div>
  81. <img class="footer" src="/images/active/footer.png" style="width: 100%; border: none;">
  82. </div>
  83. </div>
  84. </body>
  85. </html>