main.html 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  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. <title></title>
  6. <style type="text/css">
  7. <!--
  8. body {
  9. margin-left: 0px;
  10. margin-top: 0px;
  11. margin-right: 0px;
  12. margin-bottom: 0px;
  13. }
  14. .tabfont01 {
  15. font-family: "宋体";
  16. font-size: 9px;
  17. color: #555555;
  18. text-decoration: none;
  19. text-align: center;
  20. }
  21. .font051 {
  22. font-family: "宋体";
  23. font-size: 12px;
  24. color: #333333;
  25. text-decoration: none;
  26. line-height: 20px;
  27. }
  28. .font201 {
  29. font-family: "宋体";
  30. font-size: 12px;
  31. color: #FF0000;
  32. text-decoration: none;
  33. }
  34. .button {
  35. font-family: "宋体";
  36. font-size: 14px;
  37. height: 37px;
  38. }
  39. html {
  40. overflow-x: auto;
  41. overflow-y: auto;
  42. border: 0;
  43. }
  44. -->
  45. </style>
  46. <link href="/static/manage/css/css.css" rel="stylesheet" type="text/css" />
  47. <link href="/static/manage/css/style.css" rel="stylesheet" type="text/css" />
  48. <link media="screen" rel="stylesheet" href="/static/manage/colorbox/colorbox.css" />
  49. <script type="text/javascript" src="/static/manage/js/jquery-1.8.2.min.js?1"></script>
  50. <script type="text/javascript" src="/static/manage/colorbox/jquery.colorbox-min.js"></script>
  51. <script type="text/javascript" src="/static/manage/js/WdatePicker.js"></script>
  52. <script>
  53. $(document).ready(function() {
  54. $(".setdate").click(function() {
  55. WdatePicker({
  56. dateFmt : 'yyyy-MM-dd'
  57. });
  58. });
  59. });
  60. </script>
  61. </head>
  62. <body>
  63. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  64. <tr>
  65. <td height="30">
  66. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  67. <tr>
  68. <td height="62" background="/static/manage/images/nav04.gif">
  69. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  70. <tr>
  71. <td width="21">
  72. <img src="/static/manage/images/ico07.gif" width="20" height="18" />
  73. </td>
  74. <td width="538">
  75. <form name="fom" id="fom" method="post" action="/manage/wishlist" style="display:inline">
  76. 按时间查询:
  77. <input type="text" class="setdate" name="time" value="<!--{echo $time?$time:date('Y-m-d')}-->">
  78. <input type="submit" value="查询">
  79. </form>
  80. <form name="fom2" id="fom2" method="post" action="/manage/wishlist" style="display:inline">
  81. 按用户名或手机号查询:
  82. <input type="text" name="field" value="">
  83. <input type="submit" value="查询">
  84. </form>
  85. </td>
  86. </tr>
  87. </table>
  88. </td>
  89. </tr>
  90. </table>
  91. </td>
  92. </tr>
  93. <tr>
  94. <td>
  95. <div id="chart" style="width: 95%"></div>
  96. </td>
  97. </tr>
  98. <tr>
  99. <td>
  100. <table id="subtree1" style="DISPLAY:" width="100%" border="0" cellspacing="0" cellpadding="0">
  101. <tr>
  102. <td>
  103. <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
  104. <tr>
  105. <td height="40" class="font42">
  106. <table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#464646" class="newfont03">
  107. <tr bgcolor="#EEEEEE">
  108. <td width="10%" style="text-align: center;">编号</td>
  109. <td width="10%" style="text-align: center;">姓名</td>
  110. <td width="30%" style="text-align: center;">许愿内容</td>
  111. <td width="20%" style="text-align: center;">许愿时间</td>
  112. <td width="10%" style="text-align: center;">联系方式</td>
  113. <td width="15%" style="text-align: center;">操作</td>
  114. </tr>
  115. <!--{foreach($data as $index=>$wishdata)}-->
  116. <tr bgcolor="#FFFFFF">
  117. <td height="20" style="text-align: center;">
  118. <!--{$wishdata['id']}-->
  119. </td>
  120. <td height="20" style="text-align: center;">
  121. <!--{$wishdata['nick']}-->
  122. </td>
  123. <td style="text-align: center;" id="con<!--{$wishdata['id']}-->">
  124. <!--{$wishdata['wish_content']}-->
  125. </td>
  126. <td style="text-align: center;">
  127. <!--{echo date('Y-m-d',$wishdata['time']);}-->
  128. </td>
  129. <td style="text-align: center;">
  130. <!--{$wishdata['pnumber']}-->
  131. </td>
  132. <td style="text-align: center;">
  133. <!--{if($wishdata['nick']=="")}-->
  134. 未填写联系方式
  135. <!--{elseif($wishdata['is_realize']!=1)}-->
  136. <a href="javascript:;" onclick="openinfo('<!--{$wishdata['id']}-->','<!--{$wishdata['userid']}-->')">帮他实现</a>
  137. <!--{else}-->已帮他实现<!--{/if}-->
  138. <!-- &nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;
  139. <a href="">删除</a> -->
  140. </td>
  141. </tr>
  142. <!--{/foreach}-->
  143. </table>
  144. </td>
  145. </tr>
  146. </table>
  147. </td>
  148. </tr>
  149. <tr>
  150. <td height="20"></td>
  151. </tr>
  152. </table>
  153. </td>
  154. </tr>
  155. </table>
  156. <div style="display:none">
  157. <div id="show_pw">
  158. <form action="/manage/realizeWish" method="post">
  159. <input type="hidden" id="wishid" name="id" value="" />
  160. <input type="hidden" id="uid" name="uid" value="" />
  161. <input type="hidden" id="url" name="url" value="<!--{$url}-->" />
  162. <input type="hidden" id="wish_content" name="wish_content" value="" />
  163. 请输入美老师回复内容:
  164. <input type="text" size="40" name="content" value="" />
  165. <input type="submit" value="提交" />
  166. </form>
  167. </div>
  168. </div>
  169. <!--{$pager}-->
  170. <script>
  171. function openinfo(id,uid) {
  172. $("#wishid").val(id);
  173. $("#uid").val(uid);
  174. $("#wish_content").val($.trim($("#con"+id).text()));
  175. $.colorbox({
  176. href : '#show_pw',
  177. inline : true,
  178. opacity : 0.5,
  179. width : '600px'
  180. });
  181. }
  182. </script>
  183. </body>
  184. </html>