user.html 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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="https://shadowsocks5.b0.upaiyun.com/static/manage/css/css.css" rel="stylesheet" type="text/css" />
  47. <link href="https://shadowsocks5.b0.upaiyun.com/static/manage/css/style.css" rel="stylesheet" type="text/css" />
  48. <link media="screen" rel="stylesheet" href="https://shadowsocks5.b0.upaiyun.com/static/manage/colorbox/colorbox.css" />
  49. <script type="text/javascript" src="https://shadowsocks5.b0.upaiyun.com/static/manage/js/jquery-1.8.2.min.js?1"></script>
  50. <script type="text/javascript" src="https://shadowsocks5.b0.upaiyun.com/static/manage/colorbox/jquery.colorbox-min.js"></script>
  51. <script type="text/javascript" src="https://shadowsocks5.b0.upaiyun.com/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="https://shadowsocks5.b0.upaiyun.com/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="https://shadowsocks5.b0.upaiyun.com/static/manage/images/ico07.gif" width="20" height="18" />
  73. </td>
  74. <td width="538">
  75. 总共耗费流量:<!--{$allTran}-->G
  76. </td>
  77. </tr>
  78. </table>
  79. </td>
  80. </tr>
  81. </table>
  82. </td>
  83. </tr>
  84. <tr>
  85. <td>
  86. <div id="chart" style="width: 95%"></div>
  87. </td>
  88. </tr>
  89. <tr>
  90. <td>
  91. <table id="subtree1" style="DISPLAY:" width="100%" border="0" cellspacing="0" cellpadding="0">
  92. <tr>
  93. <td>
  94. <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
  95. <tr>
  96. <td height="40" class="font42">
  97. <table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#464646" class="newfont03">
  98. <tr bgcolor="#EEEEEE">
  99. <td width="10%" style="text-align: center;">编号</td>
  100. <td width="10%" style="text-align: center;">用户名</td>
  101. <td width="10%" style="text-align: center;">邮箱</td>
  102. <td width="5%" style="text-align: center;">端口</td>
  103. <td width="10%" style="text-align: center;">已使用流量</td>
  104. <td width="10%" style="text-align: center;">可用流量</td>
  105. <td width="5%" style="text-align: center;">套餐</td>
  106. <td width="10%" style="text-align: center;">最后签到时间</td>
  107. <td width="10%" style="text-align: center;">最后登陆时间</td>
  108. <td width="10%" style="text-align: center;">注册时间</td>
  109. <td width="10%" style="text-align: center;">操作</td>
  110. </tr>
  111. <!--{foreach($user as $index=>$data)}-->
  112. <tr bgcolor="#FFFFFF">
  113. <td height="20" style="text-align: center;">
  114. <!--{$data['uid']}-->
  115. </td>
  116. <td height="20" style="text-align: center;">
  117. <!--{if($data['enable']==0){echo '<font color="red">'.$data['user_name'].'</font>';}else{echo $data['user_name'];}}-->
  118. </td>
  119. <td style="text-align: center;" id="con<!--{$data['id']}-->">
  120. <!--{$data['email']}-->
  121. </td>
  122. <td style="text-align: center;">
  123. <!--{$data['port']}-->
  124. </td>
  125. <td style="text-align: center;">
  126. <!--{echo round(($data['u']+$data['d'])/(1024*1024),2)}-->M
  127. </td>
  128. <td style="text-align: center;">
  129. <!--{echo round($data['transfer_enable']/(1024*1024),2)}-->M
  130. </td>
  131. <td style="text-align: center;">
  132. <!--{$data['plan']}-->
  133. </td>
  134. <td style="text-align: center;">
  135. <!--{echo date("Y-m-d H:i:s",$data['last_check_in_time'])}-->
  136. </td>
  137. <td style="text-align: center;">
  138. <!--{echo date("Y-m-d H:i:s",$data['last_login_time'])}-->
  139. </td>
  140. <td style="text-align: center;">
  141. <!--{$data['reg_date']}-->
  142. </td>
  143. <td style="text-align: center;">
  144. <a href="">编辑</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="/manage/del?id=<!--{$data['uid']}-->">删除</a>
  145. </td>
  146. </tr>
  147. <!--{/foreach}-->
  148. </table>
  149. </td>
  150. </tr>
  151. </table>
  152. </td>
  153. </tr>
  154. <tr>
  155. <td height="20"></td>
  156. </tr>
  157. </table>
  158. </td>
  159. </tr>
  160. </table>
  161. <!--{$pager}-->
  162. <script src="https://shadowsocks5.b0.upaiyun.com/js/jquery.colorbox-min.js"></script>
  163. <script>
  164. function editNode($id){
  165. $.colorbox({
  166. href:"/manage/user_edit?id="+$id,
  167. close :"关闭" ,
  168. width:"600px",
  169. });
  170. }
  171. </script>
  172. </body>
  173. </html>