心理咨询网
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

message.html 4.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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, viewport-fit=cover, 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}/m/css/style_m.css" rel="stylesheet" media="screen" type="text/css" />
  12. <link href="/m/css/iconfont.css" rel="stylesheet" media="screen" type="text/css" />
  13. <script type="text/javascript" src="{pboot:sitedomain}/m/js/jquery1.42.min.js"></script>
  14. <script type="text/javascript" src="{pboot:sitedomain}/m/js/superslide.3.0.js"></script>
  15. </head>
  16. <body>
  17. {include file=head.html}
  18. <div class="main">
  19. <div class="page-title">
  20. <h2>{label:message_str_1}</h2>
  21. </div>
  22. <form action="{pboot:msgaction}" method="post">
  23. <div class="list-form">
  24. <ul>
  25. <li style="display: none;">
  26. <div class="tip-text">年龄:</div>
  27. <div class="xuanze">
  28. <div class="box">
  29. <input type='radio' id='attr_30_1' name='nianling' value='0-3岁'>
  30. <label for="attr_30_1">0-3岁</label>
  31. </div>
  32. <div class="box">
  33. <input type='radio' id='attr_30_2' name='nianling' value='3-6岁'>
  34. <label for="attr_30_2">3-6岁</label>
  35. </div>
  36. <div class="box">
  37. <input type='radio' id='attr_30_3' name='nianling' value='6-12岁'>
  38. <label for="attr_30_3">6-12岁</label>
  39. </div>
  40. <div class="box">
  41. <input type='radio' id='attr_30_4' name='nianling' value='12-18岁'>
  42. <label for="attr_30_4">12-18岁</label>
  43. </div>
  44. <div class="box">
  45. <input type='radio' id='attr_30_5' name='nianling' value='18岁以上'>
  46. <label for="attr_30_5">18岁以上</label>
  47. </div>
  48. </div>
  49. </li>
  50. <li>
  51. {pboot:sort scode=19}
  52. <div class="tip-text">[sort:subname]:</div>
  53. {/pboot:sort}
  54. <div class="xuanze">
  55. {pboot:sql sql="select * from ay_content_sort where pcode='19' and status=1 order by sorting asc"}
  56. <div class="box">
  57. <input type='radio' id='attr_31_[sql:sorting]' name='leixing' value='[sql:name]'>
  58. <label for="attr_31_[sql:sorting]">[sql:name]</label>
  59. </div>
  60. {/pboot:sql}
  61. </div>
  62. </li>
  63. <li>
  64. <div class="tip-text">您的称呼:</div>
  65. <div class="input">
  66. <input type='text' id='name' name='name' class='intxt' placeholder="请输入姓名...">
  67. </div>
  68. </li>
  69. <li>
  70. <div class="tip-text">联系方式:</div>
  71. <div class="input">
  72. <input type='text' id='tel' name='tel' class='intxt' placeholder="请输入电话...">
  73. </div>
  74. </li>
  75. <li>
  76. <div class="tip-text">问题说明:</div>
  77. <div class="textarea">
  78. <textarea id='attr_34' name='content' class="subscribe-msg" placeholder="简述咨询事宜,以便我们给您更准确的建议..."></textarea>
  79. </div>
  80. </li>
  81. <li class="center">
  82. <button class="tijiao" type="submit" id="tj">{label:message_str_2}</button>
  83. </li>
  84. </ul>
  85. </div>
  86. </form>
  87. <script>
  88. $(function(){
  89. $('#tj').click(function(){
  90. //alert(1)
  91. if($('#name').val()==''){alert('请输入您的姓名!'); $("#name").focus(); return false;}
  92. if ($("#tel").val() == "") { alert("请输入你的手机!"); $("#tel").focus(); return false; }
  93. 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;}
  94. })
  95. })
  96. </script>
  97. </div>
  98. <!--服务流程-->
  99. <div class="index-page">
  100. <div class="page-title">
  101. {pboot:sort scode=13}
  102. <h2>[sort:subname]</h2>
  103. {/pboot:sort}
  104. </div>
  105. <div class="liucheng">
  106. <ul>
  107. {pboot:sort scode=14,15,16,17,18}
  108. <li>
  109. <div class="box">
  110. <h2><span>[sort:name]</span>[sort:subname]</h2>
  111. <p>[sort:def1]</p>
  112. </div>
  113. </li>
  114. {/pboot:sort}
  115. </ul>
  116. </div>
  117. </div>
  118. <!--服务流程 结束-->
  119. {include file=hot.html}
  120. {include file=foot.html}
  121. </body>
  122. </html>