心理咨询网
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

message.html 5.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
  2. <html xmlns="">
  3. <head>
  4. <title>{pboot:if('{sort:title}'=='')}{pboot:pagetitle}{else}{sort:title}{/pboot:if}</title>
  5. <meta name="keywords" content="{pboot:if('{sort:keywords}'=='')}{pboot:pagekeywords}{else}{sort:keywords}{/pboot:if}">
  6. <meta name="description" content="{pboot:if('{sort:description}'=='')}{pboot:pagedescription}{else}{sort:description}{/pboot:if}">
  7. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
  9. <meta http-equiv="Cache-Control" content="no-transform" />
  10. <meta http-equiv="Cache-Control" content="no-siteapp" />
  11. <link href="{pboot:sitedomain}/skin/css/style.css" rel="stylesheet" media="screen" type="text/css" />
  12. <link href="/skin/css/iconfont.css" rel="stylesheet" media="screen" type="text/css" />
  13. <script type="text/javascript" src="{pboot:sitedomain}/skin/js/jquery1.42.min.js"></script>
  14. <script type="text/javascript" src="{pboot:sitedomain}/skin/js/superslide.3.0.js"></script>
  15. </head>
  16. <body>
  17. {include file=head.html}
  18. {pboot:sort scode={sort:tcode}}<div><img src="[sort:pic]" width="100%"></div>{/pboot:sort}
  19. <div class="page-bg">
  20. <div class="page-box">
  21. <div class="page-title">
  22. <h2>{label:message_str_1}</h2>
  23. </div>
  24. <form action="{pboot:msgaction}" method="post">
  25. <div class="list-form">
  26. <ul>
  27. <li style="display: none;">
  28. <div class="tip-text">年龄:</div>
  29. <div class="xuanze">
  30. <input type='radio' id='attr_30_1' name='nianling' value='0-3岁'>
  31. <label for="attr_30_1">0-3岁</label>
  32. <input type='radio' id='attr_30_2' name='nianling' value='3-6岁'>
  33. <label for="attr_30_2">3-6岁</label>
  34. <input type='radio' id='attr_30_3' name='nianling' value='6-12岁'>
  35. <label for="attr_30_3">6-12岁</label>
  36. <input type='radio' id='attr_30_4' name='nianling' value='12-18岁'>
  37. <label for="attr_30_4">12-18岁</label>
  38. <input type='radio' id='attr_30_5' name='nianling' value='18岁以上'>
  39. <label for="attr_30_5">18岁以上</label>
  40. </div>
  41. </li>
  42. <li>
  43. {pboot:sort scode=19}
  44. <div class="tip-text">[sort:subname]:</div>
  45. {/pboot:sort}
  46. <div class="xuanze">
  47. {pboot:sql sql="select * from ay_content_sort where pcode='19' and status=1 order by sorting asc"}
  48. <input type='radio' id='attr_31_[sql:sorting]' name='leixing' value='[sql:name]'>
  49. <label for="attr_31_[sql:sorting]">[sql:name]</label>
  50. {/pboot:sql}
  51. </div>
  52. </li>
  53. <li>
  54. <div class="tip-text">联系信息:</div>
  55. <div class="input">
  56. <input type='text' id='name' name='name' class='intxt' placeholder="请输入姓名...">
  57. <input type='text' id='tel' name='tel' class='intxt' placeholder="请输入电话...">
  58. </div>
  59. </li>
  60. <li>
  61. <div class="tip-text">问题说明:</div>
  62. <div class="textarea">
  63. <textarea id='' name='content' class="subscribe-msg" placeholder="简述咨询事宜,以便我们给您更准确的建议..."></textarea>
  64. </div>
  65. </li>
  66. <li class="center">
  67. <button class="tijiao" type="submit" id="tj">{label:message_str_2}</button>
  68. </li>
  69. </ul>
  70. </div>
  71. </form>
  72. <script>
  73. $(function(){
  74. $('#tj').click(function(){
  75. //alert(1)
  76. if($('#name').val()==''){alert('请输入您的姓名!'); $("#name").focus(); return false;}
  77. if ($("#tel").val() == "") { alert("请输入你的手机!"); $("#tel").focus(); return false; }
  78. if (!$("#tel").val().match(/^(((13[0-9]{1})|(14[0-9]{1})|(15[0-9]{1})|(16[0-9]{1})|(17[0-9]{1})|(18[0-9]{1})|(19[0-9]{1}))+\d{8})$/)) { alert("手机号码格式不正确!"); $("#tel").focus(); return false;}
  79. })
  80. })
  81. </script>
  82. <div class="page-title">
  83. {pboot:sort scode=13}
  84. <h2>[sort:name]</h2>
  85. <p>[sort:def1]</p>
  86. {/pboot:sort}
  87. </div>
  88. <div class="liucheng" style="margin-bottom:0">
  89. <ul>
  90. {pboot:sort scode=14}
  91. <li>
  92. <div class="box">
  93. <div class="liucheng-head">
  94. <h2>[sort:name]</h2>
  95. <p>[sort:subname]</p>
  96. </div>
  97. <div class="desc">
  98. <p>[sort:def1]</p>
  99. <a href="[sort:link]" target="_black" class="yuyue-btn">[sort:def2]</a>
  100. </div>
  101. </div>
  102. </li>
  103. {/pboot:sort}
  104. {pboot:sort scode=15,16,17,18}
  105. <li>
  106. <div class="box">
  107. <div class="liucheng-head">
  108. <h2>[sort:name]</h2>
  109. <p>[sort:subname]</p>
  110. </div>
  111. <div class="desc">
  112. <p>[sort:def1]</p>
  113. </div>
  114. </div>
  115. </li>
  116. {/pboot:sort}
  117. </ul>
  118. </div>
  119. </div>
  120. </div>
  121. {include file=hot.html}
  122. {include file=foot.html}
  123. </body>
  124. </html>