| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- <?php if (!defined("IS_INITPHP")) exit("Access Denied!"); /* INITPHP Version 1.0 ,Create on 2017-04-06 18:17:46, compiled from /data/wwwroot/www.shadowsocks5.com/app/template/ss/manage/user.html */ ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title></title>
- <style type="text/css">
- <!--
- body {
- margin-left: 0px;
- margin-top: 0px;
- margin-right: 0px;
- margin-bottom: 0px;
- }
- .tabfont01 {
- font-family: "宋体";
- font-size: 9px;
- color: #555555;
- text-decoration: none;
- text-align: center;
- }
- .font051 {
- font-family: "宋体";
- font-size: 12px;
- color: #333333;
- text-decoration: none;
- line-height: 20px;
- }
- .font201 {
- font-family: "宋体";
- font-size: 12px;
- color: #FF0000;
- text-decoration: none;
- }
- .button {
- font-family: "宋体";
- font-size: 14px;
- height: 37px;
- }
- html {
- overflow-x: auto;
- overflow-y: auto;
- border: 0;
- }
- -->
- </style>
- <link href="https://shadowsocks5.b0.upaiyun.com/static/manage/css/css.css" rel="stylesheet" type="text/css" />
- <link href="https://shadowsocks5.b0.upaiyun.com/static/manage/css/style.css" rel="stylesheet" type="text/css" />
- <link media="screen" rel="stylesheet" href="https://shadowsocks5.b0.upaiyun.com/static/manage/colorbox/colorbox.css" />
- <script type="text/javascript" src="https://shadowsocks5.b0.upaiyun.com/static/manage/js/jquery-1.8.2.min.js?1"></script>
- <script type="text/javascript" src="https://shadowsocks5.b0.upaiyun.com/static/manage/colorbox/jquery.colorbox-min.js"></script>
- <script type="text/javascript" src="https://shadowsocks5.b0.upaiyun.com/static/manage/js/WdatePicker.js"></script>
- <script>
- $(document).ready(function() {
- $(".setdate").click(function() {
- WdatePicker({
- dateFmt : 'yyyy-MM-dd'
- });
- });
- });
- </script>
- </head>
- <body>
-
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td height="30">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td height="62" background="https://shadowsocks5.b0.upaiyun.com/static/manage/images/nav04.gif">
- <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td width="21">
- <img src="https://shadowsocks5.b0.upaiyun.com/static/manage/images/ico07.gif" width="20" height="18" />
- </td>
- <td width="538">
- 总共耗费流量:<?php echo $allTran;?>G
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td>
- <div id="chart" style="width: 95%"></div>
- </td>
- </tr>
- <tr>
- <td>
- <table id="subtree1" style="DISPLAY:" width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td height="40" class="font42">
- <table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#464646" class="newfont03">
- <tr bgcolor="#EEEEEE">
- <td width="10%" style="text-align: center;">编号</td>
- <td width="10%" style="text-align: center;">用户名</td>
- <td width="10%" style="text-align: center;">邮箱</td>
- <td width="5%" style="text-align: center;">端口</td>
- <td width="10%" style="text-align: center;">已使用流量</td>
- <td width="10%" style="text-align: center;">可用流量</td>
- <td width="5%" style="text-align: center;">套餐</td>
- <td width="10%" style="text-align: center;">最后签到时间</td>
- <td width="10%" style="text-align: center;">最后登陆时间</td>
- <td width="10%" style="text-align: center;">注册时间</td>
- <td width="10%" style="text-align: center;">操作</td>
- </tr>
- <?php foreach ($user as $index=>$data) { ?>
- <tr bgcolor="#FFFFFF">
- <td height="20" style="text-align: center;">
- <?php echo $data['uid'];?>
- </td>
- <td height="20" style="text-align: center;">
- <?php if($data['enable']==0){echo '<font color="red">'.$data['user_name'].'</font>';}else{echo $data['user_name'];} ?>
- </td>
- <td style="text-align: center;" id="con<?php echo $data['id'];?>">
- <?php echo $data['email'];?>
- </td>
- <td style="text-align: center;">
- <?php echo $data['port'];?>
- </td>
- <td style="text-align: center;">
- <?php echo round(($data['u']+$data['d'])/(1024*1024),2) ?>M
- </td>
- <td style="text-align: center;">
- <?php echo round($data['transfer_enable']/(1024*1024),2) ?>M
- </td>
- <td style="text-align: center;">
- <?php echo $data['plan'];?>
- </td>
- <td style="text-align: center;">
- <?php echo date("Y-m-d H:i:s",$data['last_check_in_time']) ?>
- </td>
- <td style="text-align: center;">
- <?php echo date("Y-m-d H:i:s",$data['last_login_time']) ?>
- </td>
- <td style="text-align: center;">
- <?php echo $data['reg_date'];?>
- </td>
- <td style="text-align: center;">
- <a href="">编辑</a> | <a href="/manage/del?id=<?php echo $data['uid'];?>">删除</a>
- </td>
- </tr>
- <?php } ?>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td height="20"></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
-
- <?php echo $pager;?>
- <script src="https://shadowsocks5.b0.upaiyun.com/js/jquery.colorbox-min.js"></script>
- <script>
- function editNode($id){
- $.colorbox({
- href:"/manage/user_edit?id="+$id,
- close :"关闭" ,
- width:"600px",
- });
- }
- </script>
- </body>
- </html>
|