no message

master
mmmwhy 9 years ago
parent 1fec35fc87
commit 32dfca4076

@ -22,12 +22,12 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>您试图访问的页面不存在。如果您认为这个错误不该发生,<a href="https://github.com/glzjin/ss-panel-v3-mod/issues">请到 Github 提交 issue</a>。</p>
<p>The page you requested doesn't exist. If you believe this error should not have happened, <a href="https://github.com/glzjin/ss-panel-v3-mod/issues"> please go to Github to submit an issue.</a></p>
</div>
<div class="card-action">
<div class="card-action-btn pull-left">
<a class="btn btn-flat waves-attach" href="javascript:history.back()"><span class="icon">backspace</span>&nbsp;返回</a>
<a class="btn btn-flat waves-attach" href="javascript:history.back()"><span class="icon">backspace</span>&nbsp;Go back</a>
</div>
</div>
@ -56,4 +56,4 @@
</main>
{include file='footer.tpl'}
{include file='footer.tpl'}

@ -23,12 +23,12 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>您的访问方式不正确。如果您认为这个错误不该发生,<a href="https://github.com/glzjin/ss-panel-v3-mod/issues">请到 Github 提交 issue</a>。</p>
<p>Invalid request. If you believe this error should not have happened, <a href="https://github.com/glzjin/ss-panel-v3-mod/issues">please go to Github to submit an issue.</a></p>
</div>
<div class="card-action">
<div class="card-action-btn pull-left">
<a class="btn btn-flat waves-attach" href="javascript:history.back()"><span class="icon">backspace</span>&nbsp;返回</a>
<a class="btn btn-flat waves-attach" href="javascript:history.back()"><span class="icon">backspace</span>&nbsp;Go back</a>
</div>
</div>
@ -59,4 +59,4 @@
</main>
{include file='footer.tpl'}
{include file='footer.tpl'}

@ -23,12 +23,12 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>您试图访问的页面地址出错了。如果您认为这个错误不该发生,<a href="https://github.com/glzjin/ss-panel-v3-mod/issues">请到 Github 提交 issue</a>。</p>
<p>An error occured while loading this page. If you believe this error should not have happened, <a href="https://github.com/glzjin/ss-panel-v3-mod/issues">please go to Github to submit an issue.</a></p>
</div>
<div class="card-action">
<div class="card-action-btn pull-left">
<a class="btn btn-flat waves-attach" href="javascript:history.back()"><span class="icon">backspace</span>&nbsp;返回</a>
<a class="btn btn-flat waves-attach" href="javascript:history.back()"><span class="icon">backspace</span>&nbsp;Go back</a>
</div>
</div>
@ -59,4 +59,4 @@
</main>
{include file='footer.tpl'}
{include file='footer.tpl'}

@ -12,7 +12,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">添加公告</h1>
<h1 class="content-heading">Create A New Announcement</h1>
</div>
</div>
<div class="container">
@ -23,7 +23,7 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="content">内容</label>
<label class="floating-label" for="content">Content</label>
<link rel="stylesheet" href="/theme/material/editor/css/editormd.min.css" />
<div id="editormd">
<textarea style="display:none;" id="content"></textarea>
@ -46,7 +46,7 @@
<div class="form-group">
<div class="row">
<div class="col-md-10 col-md-push-1">
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">添加</button>
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">Create</button>
</div>
</div>
</div>
@ -99,7 +99,7 @@
error: function (jqXHR) {
$("#msg-error").hide(10);
$("#msg-error").show(100);
$("#msg-error-p").html("发生错误:" + jqXHR.status);
$("#msg-error-p").html("error:" + jqXHR.status);
}
});
}
@ -124,4 +124,4 @@
});
*/
});
</script>
</script>

@ -13,7 +13,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">编辑公告 #{$ann->id}</h1>
<h1 class="content-heading">Edit Announcement #{$ann->id}</h1>
</div>
</div>
<div class="container">
@ -24,7 +24,7 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="content">内容</label>
<label class="floating-label" for="content">Content</label>
<link rel="stylesheet" href="/theme/material/editor/css/editormd.min.css" />
<div id="editormd">
<textarea style="display:none;" id="content">{$ann->markdown}</textarea>
@ -47,7 +47,7 @@
<div class="form-group">
<div class="row">
<div class="col-md-10 col-md-push-1">
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">修改</button>
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">Edit</button>
</div>
</div>
</div>
@ -101,7 +101,7 @@
error: function (jqXHR) {
$("#msg-error").hide(10);
$("#msg-error").show(100);
$("#msg-error-p").html("发生错误:" + jqXHR.status);
$("#msg-error-p").html("error:" + jqXHR.status);
}
});
}
@ -127,4 +127,4 @@
});
*/
});
</script>
</script>

@ -9,7 +9,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">公告管理</h1>
<h1 class="content-heading">Announcements</h1>
</div>
</div>
<div class="container">
@ -19,8 +19,8 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>系统中所有公告。</p>
<p>显示表项:
<p>All announcements</p>
<p>Show:
{include file='table/checkbox.tpl'}
</p>
</div>
@ -43,13 +43,13 @@
<div class="modal-content">
<div class="modal-heading">
<a class="modal-close" data-dismiss="modal">×</a>
<h2 class="modal-title">确认要删除?</h2>
<h2 class="modal-title">Are you sure that you want to delete this announcement?</h2>
</div>
<div class="modal-inner">
<p>请您确认。</p>
<p>Please confirm</p>
</div>
<div class="modal-footer">
<p class="text-right"><button class="btn btn-flat btn-brand-accent waves-attach waves-effect" data-dismiss="modal" type="button">取消</button><button class="btn btn-flat btn-brand-accent waves-attach" data-dismiss="modal" id="delete_input" type="button">确定</button></p>
<p class="text-right"><button class="btn btn-flat btn-brand-accent waves-attach waves-effect" data-dismiss="modal" type="button">Cancel</button><button class="btn btn-flat btn-brand-accent waves-attach" data-dismiss="modal" id="delete_input" type="button">Delete</button></p>
</div>
</div>
</div>
@ -105,7 +105,7 @@ $(document).ready(function(){
},
error:function(jqXHR){
$("#result").modal();
$("#msg").html(data.msg+" 发生错误了。");
$("#msg").html(data.msg+" error");
}
});
}

@ -12,7 +12,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">添加下发命令</h1>
<h1 class="content-heading">Add an automatic command</h1>
</div>
</div>
<div class="container">
@ -23,7 +23,7 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="content">命令</label>
<label class="floating-label" for="content">Command</label>
<textarea class="form-control" id="content" rows="15"></textarea>
</div>
@ -39,7 +39,7 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="sign">GPG签名</label>
<label class="floating-label" for="sign">GPG Signature</label>
<textarea class="form-control" id="sign" rows="15"></textarea>
</div>
@ -58,7 +58,7 @@
<div class="form-group">
<div class="row">
<div class="col-md-10 col-md-push-1">
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">添加</button>
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">Add</button>
</div>
</div>
</div>
@ -110,7 +110,7 @@
error: function (jqXHR) {
$("#msg-error").hide(10);
$("#msg-error").show(100);
$("#msg-error-p").html("发生错误:" + jqXHR.status);
$("#msg-error-p").html("error:" + jqXHR.status);
}
});
}
@ -119,4 +119,4 @@
submit();
});
});
</script>
</script>

@ -9,7 +9,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">自动化命令执行</h1>
<h1 class="content-heading">Send An Automatic Server Command</h1>
</div>
</div>
<div class="container">
@ -19,8 +19,8 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>系统中所有自动化命令执行记录。</p>
<p>显示表项:
<p>Logs</p>
<p>Show:
{include file='table/checkbox.tpl'}
</p>
</div>
@ -43,13 +43,13 @@
<div class="modal-content">
<div class="modal-heading">
<a class="modal-close" data-dismiss="modal">×</a>
<h2 class="modal-title">确认要删除?</h2>
<h2 class="modal-title">Are you sure that you want to delete?</h2>
</div>
<div class="modal-inner">
<p>请您确认。</p>
<p>Please confirm.</p>
</div>
<div class="modal-footer">
<p class="text-right"><button class="btn btn-flat btn-brand-accent waves-attach waves-effect" data-dismiss="modal" type="button">取消</button><button class="btn btn-flat btn-brand-accent waves-attach" data-dismiss="modal" id="delete_input" type="button">确定</button></p>
<p class="text-right"><button class="btn btn-flat btn-brand-accent waves-attach waves-effect" data-dismiss="modal" type="button">Cancel</button><button class="btn btn-flat btn-brand-accent waves-attach" data-dismiss="modal" id="delete_input" type="button">Delete</button></p>
</div>
</div>
</div>
@ -102,7 +102,7 @@ $(document).ready(function(){
},
error:function(jqXHR){
$("#result").modal();
$("#msg").html(data.msg+" 发生错误了。");
$("#msg").html(data.msg+" error");
}
});
}

@ -12,7 +12,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">添加充值码</h1>
<h1 class="content-heading">Add Recharge Code</h1>
</div>
</div>
<div class="container">
@ -26,13 +26,13 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="amount">数目</label>
<label class="floating-label" for="amount">Number of Recharge Codes</label>
<input class="form-control" id="amount" type="text" >
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="number">金额</label>
<label class="floating-label" for="number">Amount (CNY)</label>
<input class="form-control" id="number" type="text" >
</div>
@ -53,7 +53,7 @@
<div class="form-group">
<div class="row">
<div class="col-md-10 col-md-push-1">
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">添加</button>
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">Add</button>
</div>
</div>
</div>
@ -107,7 +107,7 @@
},
error: function (jqXHR) {
$("#result").modal();
$("#msg").html(data.msg+" 发生错误了。");
$("#msg").html(data.msg+" error");
}
});
}
@ -122,4 +122,4 @@
});
})
</script>
</script>

@ -12,7 +12,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">添加捐赠或支出记录</h1>
<h1 class="content-heading">Add Donations or Payment Record</h1>
</div>
</div>
<div class="container">
@ -27,19 +27,19 @@
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="number">类型</label>
<label class="floating-label" for="number">Type</label>
<select id="type" class="form-control" name="type">
<option value="-1">捐赠</option>
<option value="-2">支出</option>
<option value="-1">Donation</option>
<option value="-2">Payment</option>
</select>
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="number">备注</label>
<label class="floating-label" for="number">Description</label>
<input class="form-control" id="code" type="text" >
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="amount">金额</label>
<label class="floating-label" for="amount">Amount</label>
<input class="form-control" id="amount" type="text" >
</div>
@ -63,7 +63,7 @@
<div class="form-group">
<div class="row">
<div class="col-md-10 col-md-push-1">
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">添加</button>
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">Add</button>
</div>
</div>
</div>
@ -118,7 +118,7 @@
},
error: function (jqXHR) {
$("#result").modal();
$("#msg").html(data.msg+" 发生错误了。");
$("#msg").html(data.msg+" error");
}
});
}
@ -133,4 +133,4 @@
});
})
</script>
</script>

@ -9,7 +9,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">充值码{if $config['enable_donate']=='true'}与捐赠{/if}管理</h1>
<h1 class="content-heading">Recharge Code {if $config['enable_donate']=='true'}and Donations{/if} Management</h1>
</div>
</div>
<div class="container">
@ -19,8 +19,8 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>系统中金额流转记录。</p>
<p>显示表项:
<p>All transactions in the system</p>
<p>Show:
{include file='table/checkbox.tpl'}
</p>
</div>
@ -44,8 +44,8 @@
<div class="fbtn-inner">
<a class="fbtn fbtn-lg fbtn-brand-accent waves-attach waves-circle waves-light" data-toggle="dropdown"><span class="fbtn-ori icon">add</span><span class="fbtn-sub icon">close</span></a>
<div class="fbtn-dropup">
<a class="fbtn fbtn-brand waves-attach waves-circle waves-light" href="/admin/code/create"><span class="fbtn-text fbtn-text-left">充值码</span><span class="icon">code</span></a> {if $config['enable_donate']=='true'}
<a class="fbtn fbtn-green waves-attach waves-circle waves-light" href="/admin/donate/create"><span class="fbtn-text fbtn-text-left">捐赠和支出</span><span class="icon">attach_money</span></a> {/if}
<a class="fbtn fbtn-brand waves-attach waves-circle waves-light" href="/admin/code/create"><span class="fbtn-text fbtn-text-left">Recharge Code</span><span class="icon">code</span></a> {if $config['enable_donate']=='true'}
<a class="fbtn fbtn-green waves-attach waves-circle waves-light" href="/admin/donate/create"><span class="fbtn-text fbtn-text-left">Donations and Payments</span><span class="icon">attach_money</span></a> {/if}
</div>
</div>
</div>

@ -15,7 +15,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">优惠码</h1>
<h1 class="content-heading">Coupons</h1>
</div>
</div>
<div class="container">
@ -27,29 +27,29 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="prefix">优惠码前缀</label>
<label class="floating-label" for="prefix">Coupon code prefix</label>
<input class="form-control" id="prefix" type="text">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="credit">优惠码额度(百分比,九折就填 10 )</label>
<label class="floating-label" for="credit">Rebate amount(In percentage,for 10% off, type 10)</label>
<input class="form-control" id="credit" type="text">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="expire">优惠码有效期(h)</label>
<label class="floating-label" for="expire">Validity Period (hours)</label>
<input class="form-control" id="expire" type="number" value="1">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="shop">优惠码可用商品ID,不填即为所有商品可用,多个的话用英文半角逗号分割</label>
<label class="floating-label" for="shop">Product ID. Leave blank if you want this coupon to be available for all products. If you want it to be used for multiple products, seperate the IDs with commas</label>
<input class="form-control" id="shop" type="text">
</div>
<div class="form-group form-group-label">
<div class="checkbox switch">
<label for="onetime">
<input class="access-hide" id="onetime" type="checkbox"><span class="switch-toggle"></span>一次性的,只在用户当次购买时有效
<input class="access-hide" id="onetime" type="checkbox"><span class="switch-toggle"></span>Single use. Not a reccuring discount.
</label>
</div>
</div>
@ -58,7 +58,7 @@
<div class="form-group">
<div class="row">
<div class="col-md-10 col-md-push-1">
<button id="coupon" type="submit" class="btn btn-block btn-brand waves-attach waves-light">生成</button>
<button id="coupon" type="submit" class="btn btn-block btn-brand waves-attach waves-light">Create</button>
</div>
</div>
</div>
@ -69,8 +69,8 @@
<div class="card margin-bottom-no">
<div class="card-main">
<div class="card-inner">
<p class="card-heading">优惠码</p>
<p>显示表项:
<p class="card-heading">Coupons</p>
<p>Show:
{include file='table/checkbox.tpl'}
</p>
<div class="card-table">
@ -146,7 +146,7 @@ $(document).ready(function () {
// window.location.reload();
},
error: function (jqXHR) {
alert("发生错误:" + jqXHR.status);
alert("error:" + jqXHR.status);
}
})
})

@ -12,7 +12,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading"> 添加规则</h1>
<h1 class="content-heading"> Add Rule</h1>
</div>
</div>
<div class="container">
@ -23,18 +23,18 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="name">规则名称</label>
<label class="floating-label" for="name">Name</label>
<input class="form-control" id="name" name="name" type="text">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="text">规则描述</label>
<label class="floating-label" for="text">Description</label>
<input class="form-control" id="text" name="text" type="text">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="regex">规则正则表达式</label>
<label class="floating-label" for="regex">Code</label>
<input class="form-control" id="regex" name="regex" type="text">
</div>
@ -42,10 +42,10 @@
<div class="form-group form-group-label">
<div class="form-group form-group-label">
<label class="floating-label" for="type">规则类型</label>
<label class="floating-label" for="type">Type</label>
<select id="type" class="form-control" name="type">
<option value="1">数据包明文匹配</option>
<option value="2">数据包 hex 匹配</option>
<option value="1">Matching by data in plain text</option>
<option value="2">Matching by hex code</option>
</select>
</div>
</div>
@ -63,7 +63,7 @@
<div class="form-group">
<div class="row">
<div class="col-md-10 col-md-push-1">
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">添加</button>
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">Add</button>
</div>
</div>
</div>
@ -135,7 +135,7 @@
},
error: function (jqXHR) {
$("#result").modal();
$("#msg").html(data.msg+" 发生错误了。");
$("#msg").html(data.msg+" error");
}
});
}

@ -12,7 +12,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading"> 编辑规则 #{$rule->id}</h1>
<h1 class="content-heading"> Edit Rule #{$rule->id}</h1>
</div>
</div>
<div class="container">
@ -23,18 +23,18 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="name">规则名称</label>
<label class="floating-label" for="name">Name</label>
<input class="form-control" id="name" name="name" type="text" value="{$rule->name}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="text">规则描述</label>
<label class="floating-label" for="text">Description</label>
<input class="form-control" id="text" name="text" type="text" value="{$rule->text}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="regex">规则正则表达式</label>
<label class="floating-label" for="regex">Code</label>
<input class="form-control" id="regex" name="regex" type="text" value="{$rule->regex}">
</div>
@ -42,10 +42,10 @@
<div class="form-group form-group-label">
<div class="form-group form-group-label">
<label class="floating-label" for="type">规则类型</label>
<label class="floating-label" for="type">Type</label>
<select id="type" class="form-control" name="type">
<option value="1" {if $rule->type == 1}selected{/if}>数据包明文匹配</option>
<option value="2" {if $rule->type == 2}selected{/if}>数据包 hex 匹配</option>
<option value="1" {if $rule->type == 1}selected{/if}>Matching by data in plain text</option>
<option value="2" {if $rule->type == 2}selected{/if}>Matching by hex code</option>
</select>
</div>
</div>
@ -63,7 +63,7 @@
<div class="form-group">
<div class="row">
<div class="col-md-10 col-md-push-1">
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">修改</button>
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">Submit</button>
</div>
</div>
</div>
@ -135,7 +135,7 @@
},
error: function (jqXHR) {
$("#result").modal();
$("#msg").html(data.msg+" 发生错误了。");
$("#msg").html(data.msg+" error");
}
});
}

@ -9,7 +9,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">审计规则管理</h1>
<h1 class="content-heading">Filtering Rules</h1>
</div>
</div>
<div class="container">
@ -19,9 +19,9 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>系统中所有过滤规则。</p>
<p>All filtering rules</p>
<p>
显示表项: {include file='table/checkbox.tpl'}
Show: {include file='table/checkbox.tpl'}
</p>
</div>
</div>
@ -43,13 +43,13 @@
<div class="modal-content">
<div class="modal-heading">
<a class="modal-close" data-dismiss="modal">×</a>
<h2 class="modal-title">确认要删除?</h2>
<h2 class="modal-title">Are you sure you want to delete this rule?</h2>
</div>
<div class="modal-inner">
<p>请您确认。</p>
<p>Please confirm</p>
</div>
<div class="modal-footer">
<p class="text-right"><button class="btn btn-flat btn-brand-accent waves-attach waves-effect" data-dismiss="modal" type="button">取消</button><button class="btn btn-flat btn-brand-accent waves-attach" data-dismiss="modal" id="delete_input" type="button">确定</button></p>
<p class="text-right"><button class="btn btn-flat btn-brand-accent waves-attach waves-effect" data-dismiss="modal" type="button">Cancel</button><button class="btn btn-flat btn-brand-accent waves-attach" data-dismiss="modal" id="delete_input" type="button">Delete</button></p>
</div>
</div>
</div>
@ -104,7 +104,7 @@ $(document).ready(function(){
},
error:function(jqXHR){
$("#result").modal();
$("#msg").html(data.msg+" 发生错误了。");
$("#msg").html(data.msg+" error");
}
});
}

@ -9,7 +9,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">审计记录查看</h1>
<h1 class="content-heading">Filtering Logs</h1>
</div>
</div>
<div class="container">
@ -19,8 +19,8 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>系统中所有审计记录。</p>
<p>显示表项:
<p>All filtering records</p>
<p>Show:
{include file='table/checkbox.tpl'}
</p>
</div>

@ -9,7 +9,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">汇总</h1>
<h1 class="content-heading">Summary</h1>
</div>
</div>
<div class="container">
@ -19,7 +19,7 @@
<div class="card margin-bottom-no">
<div class="card-main">
<div class="card-inner">
<p>下面是系统运行情况简报。</p>
<p>Summary of system status</p>
</div>
</div>
</div>
@ -42,7 +42,7 @@
var chart = new CanvasJS.Chart("check_chart",
{
title:{
text: "用户签到情况(总用户 {$sts->getTotalUser()}人)",
text: "Registered Users (Total Users {$sts->getTotalUser()})",
fontFamily: "Impact",
fontWeight: "normal"
},
@ -63,13 +63,13 @@
showInLegend: true,
dataPoints: [
{
y: {(1-($sts->getCheckinUser()/$sts->getTotalUser()))*100}, legendText:"没有签到过的用户 {number_format((1-($sts->getCheckinUser()/$sts->getTotalUser()))*100,2)}% {$sts->getTotalUser()-$sts->getCheckinUser()}人", indexLabel: "没有签到过的用户 {number_format((1-($sts->getCheckinUser()/$sts->getTotalUser()))*100,2)}% {$sts->getTotalUser()-$sts->getCheckinUser()}人"
y: {(1-($sts->getCheckinUser()/$sts->getTotalUser()))*100}, legendText:"Users with no purchase history: {number_format((1-($sts->getCheckinUser()/$sts->getTotalUser()))*100,2)}% {$sts->getTotalUser()-$sts->getCheckinUser()} users", indexLabel: "Users with no purchase history: {number_format((1-($sts->getCheckinUser()/$sts->getTotalUser()))*100,2)}% {$sts->getTotalUser()-$sts->getCheckinUser()} users"
},
{
y: {(($sts->getCheckinUser()-$sts->getTodayCheckinUser())/$sts->getTotalUser())*100}, legendText:"曾经签到过的用户 {number_format((($sts->getCheckinUser()-$sts->getTodayCheckinUser())/$sts->getTotalUser())*100,2)}% {$sts->getCheckinUser()-$sts->getTodayCheckinUser()}人", indexLabel: "曾经签到过的用户 {number_format((($sts->getCheckinUser()-$sts->getTodayCheckinUser())/$sts->getTotalUser())*100,2)}% {$sts->getCheckinUser()-$sts->getTodayCheckinUser()}人"
y: {(($sts->getCheckinUser()-$sts->getTodayCheckinUser())/$sts->getTotalUser())*100}, legendText:"Subscribed users: {number_format((($sts->getCheckinUser()-$sts->getTodayCheckinUser())/$sts->getTotalUser())*100,2)}% {$sts->getCheckinUser()-$sts->getTodayCheckinUser()} users", indexLabel: "Subscribed users: {number_format((($sts->getCheckinUser()-$sts->getTodayCheckinUser())/$sts->getTotalUser())*100,2)}% {$sts->getCheckinUser()-$sts->getTodayCheckinUser()} users"
},
{
y: {$sts->getTodayCheckinUser()/$sts->getTotalUser()*100}, legendText:"今日签到用户 {number_format($sts->getTodayCheckinUser()/$sts->getTotalUser()*100,2)}% {$sts->getTodayCheckinUser()}人", indexLabel: "今日签到用户 {number_format($sts->getTodayCheckinUser()/$sts->getTotalUser()*100,2)}% {$sts->getTodayCheckinUser()}人"
y: {$sts->getTodayCheckinUser()/$sts->getTotalUser()*100}, legendText:"Number of users who purchased a subscription today: {number_format($sts->getTodayCheckinUser()/$sts->getTotalUser()*100,2)}% {$sts->getTodayCheckinUser()} users", indexLabel: "Number of users who purchased a subscription today: {number_format($sts->getTodayCheckinUser()/$sts->getTotalUser()*100,2)}% {$sts->getTodayCheckinUser()} users"
}
]
}
@ -96,7 +96,7 @@
var chart = new CanvasJS.Chart("alive_chart",
{
title:{
text: "用户在线情况(总用户 {$sts->getTotalUser()}人)",
text: "Online users (Total users: {$sts->getTotalUser()})",
fontFamily: "Impact",
fontWeight: "normal"
},
@ -117,19 +117,19 @@
showInLegend: true,
dataPoints: [
{
y: {(($sts->getUnusedUser()/$sts->getTotalUser()))*100}, legendText:"从未在线的用户 {number_format((($sts->getUnusedUser()/$sts->getTotalUser()))*100,2)}% {(($sts->getUnusedUser()))}人", indexLabel: "从未在线的用户 {number_format((($sts->getUnusedUser()/$sts->getTotalUser()))*100,2)}% {(($sts->getUnusedUser()))}人"
y: {(($sts->getUnusedUser()/$sts->getTotalUser()))*100}, legendText:"Users who never went online: {number_format((($sts->getUnusedUser()/$sts->getTotalUser()))*100,2)}% {(($sts->getUnusedUser()))} user", indexLabel: "Users who never went online: {number_format((($sts->getUnusedUser()/$sts->getTotalUser()))*100,2)}% {(($sts->getUnusedUser()))} user"
},
{
y: {(($sts->getTotalUser()-$sts->getOnlineUser(86400)-$sts->getUnusedUser())/$sts->getTotalUser())*100}, legendText:"一天以前在线的用户 {number_format((($sts->getTotalUser()-$sts->getOnlineUser(86400)-$sts->getUnusedUser())/$sts->getTotalUser())*100,2)}% {($sts->getTotalUser()-$sts->getOnlineUser(86400)-$sts->getUnusedUser())}人", indexLabel: "一天以前在线的用户 {number_format((($sts->getTotalUser()-$sts->getOnlineUser(86400)-$sts->getUnusedUser())/$sts->getTotalUser())*100,2)}% {($sts->getTotalUser()-$sts->getOnlineUser(86400)-$sts->getUnusedUser())}人"
y: {(($sts->getTotalUser()-$sts->getOnlineUser(86400)-$sts->getUnusedUser())/$sts->getTotalUser())*100}, legendText:"Over a day since last online: {number_format((($sts->getTotalUser()-$sts->getOnlineUser(86400)-$sts->getUnusedUser())/$sts->getTotalUser())*100,2)}% {($sts->getTotalUser()-$sts->getOnlineUser(86400)-$sts->getUnusedUser())} user", indexLabel: "Over a day since last online: {number_format((($sts->getTotalUser()-$sts->getOnlineUser(86400)-$sts->getUnusedUser())/$sts->getTotalUser())*100,2)}% {($sts->getTotalUser()-$sts->getOnlineUser(86400)-$sts->getUnusedUser())} user"
},
{
y: {($sts->getOnlineUser(86400)-$sts->getOnlineUser(3600))/$sts->getTotalUser()*100}, legendText:"一天内在线的用户 {number_format(($sts->getOnlineUser(86400)-$sts->getOnlineUser(3600))/$sts->getTotalUser()*100,2)}% {($sts->getOnlineUser(86400)-$sts->getOnlineUser(3600))}人", indexLabel: "一天内在线的用户 {number_format(($sts->getOnlineUser(86400)-$sts->getOnlineUser(3600))/$sts->getTotalUser()*100,2)}% {($sts->getOnlineUser(86400)-$sts->getOnlineUser(3600))}人"
y: {($sts->getOnlineUser(86400)-$sts->getOnlineUser(3600))/$sts->getTotalUser()*100}, legendText:"Online today: {number_format(($sts->getOnlineUser(86400)-$sts->getOnlineUser(3600))/$sts->getTotalUser()*100,2)}% {($sts->getOnlineUser(86400)-$sts->getOnlineUser(3600))} user", indexLabel: "Online today: {number_format(($sts->getOnlineUser(86400)-$sts->getOnlineUser(3600))/$sts->getTotalUser()*100,2)}% {($sts->getOnlineUser(86400)-$sts->getOnlineUser(3600))} user"
},
{
y: {($sts->getOnlineUser(3600)-$sts->getOnlineUser(60))/$sts->getTotalUser()*100}, legendText:"一小时内在线的用户 {number_format(($sts->getOnlineUser(3600)-$sts->getOnlineUser(60))/$sts->getTotalUser()*100,2)}% {($sts->getOnlineUser(3600)-$sts->getOnlineUser(60))}人", indexLabel: "一小时内在线的用户 {number_format(($sts->getOnlineUser(3600)-$sts->getOnlineUser(60))/$sts->getTotalUser()*100,2)}% {($sts->getOnlineUser(3600)-$sts->getOnlineUser(60))}人"
y: {($sts->getOnlineUser(3600)-$sts->getOnlineUser(60))/$sts->getTotalUser()*100}, legendText:"Online in the past hour: {number_format(($sts->getOnlineUser(3600)-$sts->getOnlineUser(60))/$sts->getTotalUser()*100,2)}% {($sts->getOnlineUser(3600)-$sts->getOnlineUser(60))} user", indexLabel: "Online in the past hour: {number_format(($sts->getOnlineUser(3600)-$sts->getOnlineUser(60))/$sts->getTotalUser()*100,2)}% {($sts->getOnlineUser(3600)-$sts->getOnlineUser(60))} user"
},
{
y: {($sts->getOnlineUser(60))/$sts->getTotalUser()*100}, legendText:"一分钟内在线的用户 {number_format(($sts->getOnlineUser(60))/$sts->getTotalUser()*100,2)}% {($sts->getOnlineUser(60))}人", indexLabel: "一分钟内在线的用户 {number_format(($sts->getOnlineUser(60))/$sts->getTotalUser()*100,2)}% {($sts->getOnlineUser(60))}人"
y: {($sts->getOnlineUser(60))/$sts->getTotalUser()*100}, legendText:"Online in the past minute: {number_format(($sts->getOnlineUser(60))/$sts->getTotalUser()*100,2)}% {($sts->getOnlineUser(60))} user", indexLabel: "Online in the past minute: {number_format(($sts->getOnlineUser(60))/$sts->getTotalUser()*100,2)}% {($sts->getOnlineUser(60))} user"
}
]
}
@ -162,7 +162,7 @@
var chart = new CanvasJS.Chart("node_chart",
{
title:{
text: "节点在线情况(节点数 {$sts->getTotalSSNode()}个)",
text: "Server Status (Online Servers: {$sts->getTotalSSNode()})",
fontFamily: "Impact",
fontWeight: "normal"
},
@ -184,10 +184,10 @@
dataPoints: [
{if $sts->getTotalSSNode()!=0}
{
y: {(1-($sts->getAliveSSNode()/$sts->getTotalSSNode()))*100}, legendText:"离线节点 {number_format((1-($sts->getAliveSSNode()/$sts->getTotalSSNode()))*100,2)}% {$sts->getTotalSSNode()-$sts->getAliveSSNode()}个", indexLabel: "离线节点 {number_format((1-($sts->getAliveSSNode()/$sts->getTotalSSNode()))*100,2)}% {$sts->getTotalSSNode()-$sts->getAliveSSNode()}个"
y: {(1-($sts->getAliveSSNode()/$sts->getTotalSSNode()))*100}, legendText:"Offline Servers: {number_format((1-($sts->getAliveSSNode()/$sts->getTotalSSNode()))*100,2)}% {$sts->getTotalSSNode()-$sts->getAliveSSNode()} servers", indexLabel: "Offline servers: {number_format((1-($sts->getAliveSSNode()/$sts->getTotalSSNode()))*100,2)}% {$sts->getTotalSSNode()-$sts->getAliveSSNode()} servers"
},
{
y: {(($sts->getAliveSSNode()/$sts->getTotalSSNode()))*100}, legendText:"在线节点 {number_format((($sts->getAliveSSNode()/$sts->getTotalSSNode()))*100,2)}% {$sts->getAliveSSNode()}个", indexLabel: "在线节点 {number_format((($sts->getAliveSSNode()/$sts->getTotalSSNode()))*100,2)}% {$sts->getAliveSSNode()}个"
y: {(($sts->getAliveSSNode()/$sts->getTotalSSNode()))*100}, legendText:"Online Servers: {number_format((($sts->getAliveSSNode()/$sts->getTotalSSNode()))*100,2)}% {$sts->getAliveSSNode()} servers", indexLabel: "Online servers: {number_format((($sts->getAliveSSNode()/$sts->getTotalSSNode()))*100,2)}% {$sts->getAliveSSNode()} servers"
}
{/if}
]
@ -215,7 +215,7 @@
var chart = new CanvasJS.Chart("traffic_chart",
{
title:{
text: "流量使用情况(总分配流量 {$sts->getTotalTraffic()})",
text: "Data Usage (Total data given out to users: {$sts->getTotalTraffic()})",
fontFamily: "Impact",
fontWeight: "normal"
},
@ -237,13 +237,13 @@
dataPoints: [
{if $sts->getRawTotalTraffic()!=0}
{
y: {(($sts->getRawUnusedTrafficUsage()/$sts->getRawTotalTraffic()))*100}, legendText:"未使用的流量 {number_format((($sts->getRawUnusedTrafficUsage()/$sts->getRawTotalTraffic()))*100,2)}% {(($sts->getUnusedTrafficUsage()))}", indexLabel: "未使用的流量 {number_format((($sts->getRawUnusedTrafficUsage()/$sts->getRawTotalTraffic()))*100,2)}% {(($sts->getUnusedTrafficUsage()))}"
y: {(($sts->getRawUnusedTrafficUsage()/$sts->getRawTotalTraffic()))*100}, legendText:"Unused data: {number_format((($sts->getRawUnusedTrafficUsage()/$sts->getRawTotalTraffic()))*100,2)}% {(($sts->getUnusedTrafficUsage()))}", indexLabel: "Unused data {number_format((($sts->getRawUnusedTrafficUsage()/$sts->getRawTotalTraffic()))*100,2)}% {(($sts->getUnusedTrafficUsage()))}"
},
{
y: {(($sts->getRawLastTrafficUsage()/$sts->getRawTotalTraffic()))*100}, legendText:"已使用的流量 {number_format((($sts->getRawLastTrafficUsage()/$sts->getRawTotalTraffic()))*100,2)}% {(($sts->getLastTrafficUsage()))}", indexLabel: "已使用的流量 {number_format((($sts->getRawLastTrafficUsage()/$sts->getRawTotalTraffic()))*100,2)}% {(($sts->getLastTrafficUsage()))}"
y: {(($sts->getRawLastTrafficUsage()/$sts->getRawTotalTraffic()))*100}, legendText:"Used data: {number_format((($sts->getRawLastTrafficUsage()/$sts->getRawTotalTraffic()))*100,2)}% {(($sts->getLastTrafficUsage()))}", indexLabel: "Used data: {number_format((($sts->getRawLastTrafficUsage()/$sts->getRawTotalTraffic()))*100,2)}% {(($sts->getLastTrafficUsage()))}"
},
{
y: {(($sts->getRawTodayTrafficUsage()/$sts->getRawTotalTraffic()))*100}, legendText:"今日使用的流量 {number_format((($sts->getRawTodayTrafficUsage()/$sts->getRawTotalTraffic()))*100,2)}% {(($sts->getTodayTrafficUsage()))}", indexLabel: "今日使用的流量 {number_format((($sts->getRawTodayTrafficUsage()/$sts->getRawTotalTraffic()))*100,2)}% {(($sts->getTodayTrafficUsage()))}"
y: {(($sts->getRawTodayTrafficUsage()/$sts->getRawTotalTraffic()))*100}, legendText:"Used data during the past 24 hours: {number_format((($sts->getRawTodayTrafficUsage()/$sts->getRawTotalTraffic()))*100,2)}% {(($sts->getTodayTrafficUsage()))}", indexLabel: "Used data during the past 24 hours: {number_format((($sts->getRawTodayTrafficUsage()/$sts->getRawTotalTraffic()))*100,2)}% {(($sts->getTodayTrafficUsage()))}"
}
{/if}
]
@ -281,4 +281,4 @@
{include file='admin/footer.tpl'}
{include file='admin/footer.tpl'}

@ -9,7 +9,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">邀请</h1>
<h1 class="content-heading">Invitation Codes</h1>
</div>
</div>
<div class="container">
@ -18,7 +18,7 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>公共邀请码(类别为0的邀请码)请<a href="/code">在这里查看</a>。</p>
<p>For Public Inviation Codes(Type 0)Please <a href="/code">click here</a>.</p>
</div>
</div>
</div>
@ -28,17 +28,17 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="prefix">邀请码前缀</label>
<label class="floating-label" for="prefix">Invitation code prefix</label>
<input class="form-control" id="prefix" type="text">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="uid">邀请码类别(0为公开,其他数字为对应用户的ID,或者输入用户的完整邮箱)</label>
<label class="floating-label" for="uid">Invitation code type (0 means public. Other numbers refer to user ID, or enter the full email address of the user)</label>
<input class="form-control" id="uid" type="text">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="prefix">邀请码数量</label>
<label class="floating-label" for="prefix">Amount of invitation codes to create</label>
<input class="form-control" id="num" type="number">
</div>
@ -47,7 +47,7 @@
<div class="card-action">
<div class="card-action-btn pull-left">
<a class="btn btn-flat waves-attach" id="invite"><span class="icon">check</span>&nbsp;生成</a>
<a class="btn btn-flat waves-attach" id="invite"><span class="icon">check</span>&nbsp;Create</a>
</div>
</div>
</div>
@ -56,8 +56,8 @@
<div class="card margin-bottom-no">
<div class="card-main">
<div class="card-inner">
<p class="card-heading">返利记录</p>
<p>显示表项: {include file='table/checkbox.tpl'}
<p class="card-heading">Rebate records</p>
<p>Show: {include file='table/checkbox.tpl'}
</p>
<div class="card-table">
<div class="table-responsive">
@ -118,7 +118,7 @@ $("#invite").click(function () {
// window.location.reload();
},
error: function (jqXHR) {
alert("发生错误:" + jqXHR.status);
alert("error:" + jqXHR.status);
}
})
});

@ -9,7 +9,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">在线IP</h1>
<h1 class="content-heading">Online IPs</h1>
</div>
</div>
<div class="container">
@ -19,7 +19,7 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>显示表项: {include file='table/checkbox.tpl'}</p>
<p>Show: {include file='table/checkbox.tpl'}</p>
</div>
</div>
</div>

@ -11,7 +11,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">节点被封IP</h1>
<h1 class="content-heading">Blocked IPs</h1>
</div>
</div>
<div class="container">
@ -21,8 +21,8 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>这里是最近的节点上捕捉到的进行非法行为的IP。</p>
<p>显示表项:
<p>Here is the list of IPs who got flagged by a server.</p>
<p>Show:
{include file='table/checkbox.tpl'}
</p>
</div>
@ -33,7 +33,7 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="ip">要解封的IP</label>
<label class="floating-label" for="ip">Unblock this IP</label>
<input class="form-control" id="ip" type="text">
</div>
@ -42,7 +42,7 @@
<div class="card-action">
<div class="card-action-btn pull-left">
<a class="btn btn-flat waves-attach" id="unblock" ><span class="icon">check</span>&nbsp;解封</a>
<a class="btn btn-flat waves-attach" id="unblock" ><span class="icon">check</span>&nbsp;Unblock</a>
</div>
</div>
</div>
@ -101,7 +101,7 @@ $("#unblock").click(function () {
// window.location.reload();
},
error: function (jqXHR) {
alert("发生错误:" + jqXHR.status);
alert("error" + jqXHR.status);
}
})
});

@ -9,7 +9,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">最近登录记录</h1>
<h1 class="content-heading">Recent Logins</h1>
</div>
</div>
<div class="container">
@ -19,8 +19,8 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>这里是最近的登录记录。</p>
<p>显示表项: {include file='table/checkbox.tpl'}</p>
<p>Recent logins logs</p>
<p>Show: {include file='table/checkbox.tpl'}</p>
</div>
</div>
</div>

@ -9,7 +9,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">解封IP记录</h1>
<h1 class="content-heading">Unblocked IPs Logs</h1>
</div>
</div>
<div class="container">
@ -19,8 +19,8 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>这里是最近的解封IP记录。</p>
<p>显示表项: {include file='table/checkbox.tpl'}
<p>Here are the IPs you recently unblocked</p>
<p>Show: {include file='table/checkbox.tpl'}
</p>
</div>
</div>

@ -42,22 +42,22 @@
</a>
<ul class="dropdown-menu dropdown-menu-right">
<li>
<a class="padding-right-lg waves-attach" href="/user/"><span class="icon icon-lg margin-right">account_box</span>用户中心</a>
<a class="padding-right-lg waves-attach" href="/user/"><span class="icon icon-lg margin-right">account_box</span>User Dashboard</a>
</li>
<li>
<a class="padding-right-lg waves-attach" href="/user/logout"><span class="icon icon-lg margin-right">exit_to_app</span>登出</a>
<a class="padding-right-lg waves-attach" href="/user/logout"><span class="icon icon-lg margin-right">exit_to_app</span>Log out</a>
</li>
</ul>
{else}
<span class="access-hide">未登录</span>
<span class="access-hide">Logged out</span>
<span class="avatar avatar-sm"><img alt="alt text for John Smith avatar" src="/theme/material/images/users/avatar-001.jpg"></span>
</a>
<ul class="dropdown-menu dropdown-menu-right">
<li>
<a class="padding-right-lg waves-attach" href="/auth/login"><span class="icon icon-lg margin-right">account_box</span>登录</a>
<a class="padding-right-lg waves-attach" href="/auth/login"><span class="icon icon-lg margin-right">account_box</span>Login</a>
</li>
<li>
<a class="padding-right-lg waves-attach" href="/auth/register"><span class="icon icon-lg margin-right">pregnant_woman</span>注册</a>
<a class="padding-right-lg waves-attach" href="/auth/register"><span class="icon icon-lg margin-right">pregnant_woman</span>Register</a>
</li>
</ul>
{/if}
@ -68,50 +68,50 @@
<nav aria-hidden="true" class="menu menu-left nav-drawer nav-drawer-md" id="ui_menu" tabindex="-1">
<div class="menu-scroll">
<div class="menu-content">
<a class="menu-logo" href="/"><i class="icon icon-lg">person_pin</i>&nbsp;管理面板</a>
<a class="menu-logo" href="/"><i class="icon icon-lg">person_pin</i>&nbsp;Control Panel</a>
<ul class="nav">
<li>
<a class="waves-attach" data-toggle="collapse" href="#ui_menu_me">我的</a>
<a class="waves-attach" data-toggle="collapse" href="#ui_menu_me">My Site</a>
<ul class="menu-collapse collapse in" id="ui_menu_me">
<li><a href="/admin"><i class="icon icon-lg">business_center</i>&nbsp;系统概览</a></li>
<li><a href="/admin/announcement"><i class="icon icon-lg">announcement</i>&nbsp;公告管理</a></li>
<li><a href="/admin/ticket"><i class="icon icon-lg">question_answer</i>&nbsp;工单管理</a></li>
<li><a href="/admin/auto"><i class="icon icon-lg">flash_auto</i>&nbsp;下发命令</a></li>
<li><a href="/admin"><i class="icon icon-lg">business_center</i>&nbsp;System Overview</a></li>
<li><a href="/admin/announcement"><i class="icon icon-lg">announcement</i>&nbsp;Annoucements</a></li>
<li><a href="/admin/ticket"><i class="icon icon-lg">question_answer</i>&nbsp;Support Tickets</a></li>
<li><a href="/admin/auto"><i class="icon icon-lg">flash_auto</i>&nbsp;Send Server Command</a></li>
</ul>
<a class="waves-attach" data-toggle="collapse" href="#ui_menu_node">节点</a>
<a class="waves-attach" data-toggle="collapse" href="#ui_menu_node">Servers</a>
<ul class="menu-collapse collapse in" id="ui_menu_node">
<li><a href="/admin/node"><i class="icon icon-lg">router</i>&nbsp;节点列表</a></li>
<li><a href="/admin/trafficlog"><i class="icon icon-lg">traffic</i>&nbsp;流量记录</a></li>
<li><a href="/admin/block"><i class="icon icon-lg">dialer_sip</i>&nbsp;已封禁IP</a></li>
<li><a href="/admin/unblock"><i class="icon icon-lg">dialer_sip</i>&nbsp;已解封IP</a></li>
<li><a href="/admin/node"><i class="icon icon-lg">router</i>&nbsp;Server List</a></li>
<li><a href="/admin/trafficlog"><i class="icon icon-lg">traffic</i>&nbsp;Data Usage</a></li>
<li><a href="/admin/block"><i class="icon icon-lg">dialer_sip</i>&nbsp;Banned IPs</a></li>
<li><a href="/admin/unblock"><i class="icon icon-lg">dialer_sip</i>&nbsp;White-listed IPs</a></li>
</ul>
<a class="waves-attach" data-toggle="collapse" href="#ui_menu_user">用户</a>
<a class="waves-attach" data-toggle="collapse" href="#ui_menu_user">Users</a>
<ul class="menu-collapse collapse in" id="ui_menu_user">
<li><a href="/admin/user"><i class="icon icon-lg">supervisor_account</i>&nbsp;用户列表</a></li>
<li><a href="/admin/relay"><i class="icon icon-lg">compare_arrows</i>&nbsp;中转规则</a></li>
<li><a href="/admin/invite"><i class="icon icon-lg">loyalty</i>&nbsp;邀请与返利</a></li>
<li><a href="/admin/login"><i class="icon icon-lg">text_fields</i>&nbsp;登录记录</a></li>
<li><a href="/admin/alive"><i class="icon icon-lg">important_devices</i>&nbsp;在线IP</a></li>
<li><a href="/admin/user"><i class="icon icon-lg">supervisor_account</i>&nbsp;User List</a></li>
<li><a href="/admin/relay"><i class="icon icon-lg">compare_arrows</i>&nbsp;Data Redirect Rules</a></li>
<li><a href="/admin/invite"><i class="icon icon-lg">loyalty</i>&nbsp;Invitation Codes and Rebates</a></li>
<li><a href="/admin/login"><i class="icon icon-lg">text_fields</i>&nbsp;Login History</a></li>
<li><a href="/admin/alive"><i class="icon icon-lg">important_devices</i>&nbsp;Online IPs</a></li>
</ul>
<a class="waves-attach" data-toggle="collapse" href="#ui_menu_detect">审计</a>
<a class="waves-attach" data-toggle="collapse" href="#ui_menu_detect">Filtering</a>
<ul class="menu-collapse collapse in" id="ui_menu_detect">
<li><a href="/admin/detect"><i class="icon icon-lg">account_balance</i>&nbsp;审计规则</a></li>
<li><a href="/admin/detect/log"><i class="icon icon-lg">assignment_late</i>&nbsp;审计记录</a></li>
<li><a href="/admin/detect"><i class="icon icon-lg">account_balance</i>&nbsp;Filtering Rules</a></li>
<li><a href="/admin/detect/log"><i class="icon icon-lg">assignment_late</i>&nbsp;Filtering History</a></li>
</ul>
<a class="waves-attach" data-toggle="collapse" href="#ui_menu_trade">交易</a>
<a class="waves-attach" data-toggle="collapse" href="#ui_menu_trade">Transactions</a>
<ul class="menu-collapse collapse in" id="ui_menu_trade">
<li><a href="/admin/code"><i class="icon icon-lg">code</i>&nbsp;充值码{if $config['enable_donate']=='true'}与捐赠{/if}</a></li>
<li><a href="/admin/shop"><i class="icon icon-lg">shop</i>&nbsp;商品</a></li>
<li><a href="/admin/coupon"><i class="icon icon-lg">card_giftcard</i>&nbsp;优惠码</a></li>
<li><a href="/admin/bought"><i class="icon icon-lg">shopping_cart</i>&nbsp;购买记录</a></li>
<li><a href="/admin/code"><i class="icon icon-lg">code</i>&nbsp;Recharge Codes {if $config['enable_donate']=='true'}and Donations{/if}</a></li>
<li><a href="/admin/shop"><i class="icon icon-lg">shop</i>&nbsp;Product List</a></li>
<li><a href="/admin/coupon"><i class="icon icon-lg">card_giftcard</i>&nbsp;Coupons</a></li>
<li><a href="/admin/bought"><i class="icon icon-lg">shopping_cart</i>&nbsp;Purchase History</a></li>
</ul>
<li><a href="/user"><i class="icon icon-lg">person</i>&nbsp;用户中心</a></li>
<li><a href="/user"><i class="icon icon-lg">person</i>&nbsp;User Dashboard</a></li>
</li>

@ -10,7 +10,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">添加节点</h1>
<h1 class="content-heading">Add Server</h1>
</div>
</div>
<div class="container">
@ -21,35 +21,35 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="name">节点名称</label>
<label class="floating-label" for="name">Server name</label>
<input class="form-control" id="name" type="text" name="name">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="server">节点地址</label>
<label class="floating-label" for="server">Server address</label>
<input class="form-control" id="server" type="text" name="server">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="server">节点IP(不填则自动获取,填写请按照 <a href="https://github.com/esdeathlove/ss-panel-v3-mod/wiki/%E8%8A%82%E7%82%B9IP%E5%A1%AB%E5%86%99%E8%A7%84%E5%88%99">这里</a> 的规则进行填写)</label>
<label class="floating-label" for="server">Server IP(If you dont enter anything here, the system will get it automatically. Please follow <a href="https://github.com/esdeathlove/ss-panel-v3-mod/wiki/%E8%8A%82%E7%82%B9IP%E5%A1%AB%E5%86%99%E8%A7%84%E5%88%99">these guidelines</a> when entering an IP)</label>
<input class="form-control" id="node_ip" name="node_ip" type="text">
</div>
<div class="form-group form-group-label" hidden="hidden">
<label class="floating-label" for="method">加密方式</label>
<label class="floating-label" for="method">Encryption Method</label>
<input class="form-control" id="method" type="text" name="method" value="aes-256-cfb">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="rate">流量比例</label>
<label class="floating-label" for="rate">Data Ratio</label>
<input class="form-control" id="rate" type="text" name="rate">
</div>
<div class="form-group form-group-label" hidden="hidden">
<div class="checkbox switch">
<label for="custom_method">
<input class="access-hide" id="custom_method" type="checkbox" name="custom_method" checked="checked" disabled><span class="switch-toggle"></span>自定义加密
<input class="access-hide" id="custom_method" type="checkbox" name="custom_method" checked="checked" disabled><span class="switch-toggle"></span>Custom Encryption Method
</label>
</div>
</div>
@ -57,18 +57,18 @@
<div class="form-group form-group-label" hidden="hidden">
<div class="checkbox switch">
<label for="custom_rss">
<input class="access-hide" id="custom_rss" type="checkbox" name="custom_rss" checked="checked" disabled><span class="switch-toggle"></span>自定义协议&混淆
<input class="access-hide" id="custom_rss" type="checkbox" name="custom_rss" checked="checked" disabled><span class="switch-toggle"></span>Custom Protocol and Obfuscation
</label>
</div>
</div>
<div class="form-group form-group-label">
<label for="mu_only">
<label class="floating-label" for="sort">单端口多用户启用</label>
<label class="floating-label" for="sort">Single-port Multi-user Options</label>
<select id="mu_only" class="form-control" name="is_multi_user">
<option value="0">单端口多用户与普通端口并存</option>
<option value="-1">只启用普通端口</option>
<option value="1">只启用单端口多用户</option>
<option value="0">Single port multiuser and normal ports</option>
<option value="-1">Normal connections only</option>
<option value="1">Single port multi-user only</option>
</select>
</label>
</div>
@ -84,65 +84,65 @@
<div class="form-group form-group-label">
<div class="checkbox switch">
<label for="type">
<input checked class="access-hide" id="type" type="checkbox" name="type"><span class="switch-toggle"></span>是否显示
<input checked class="access-hide" id="type" type="checkbox" name="type"><span class="switch-toggle"></span>Make this server public?
</label>
</div>
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="status">节点状态</label>
<label class="floating-label" for="status">Server Status</label>
<input class="form-control" id="status" type="text" name="status">
</div>
<div class="form-group form-group-label">
<div class="form-group form-group-label">
<label class="floating-label" for="sort">节点类型</label>
<label class="floating-label" for="sort">Server Typ</label>
<select id="sort" class="form-control" name="sort">
<option value="0">Shadowsocks</option>
<option value="1">VPN/Radius基础</option>
<option value="1">VPN/Radius Basic</option>
<option value="2">SSH</option>
<option value="3">PAC</option>
<option value="4">APN文件外链</option>
<option value="4">APN File Link</option>
<option value="5">Anyconnect</option>
<option value="6">APN</option>
<option value="7">PAC PLUS(Socks 代理生成 PAC文件)</option>
<option value="8">PAC PLUS PLUS(HTTPS 代理生成 PAC文件)</option>
<option value="9">Shadowsocks 单端口多用户</option>
<option value="10">Shadowsocks 中转</option>
<option value="7">PAC PLUS(Socks Proxy Will Auto-create PAC)</option>
<option value="8">PAC PLUS PLUSHTTPS Proxy Will Auto-create PAC)</option>
<option value="9">Shadowsocks Single-port Multi-user</option>
<option value="10">Shadowsocks Transit Serve</option>
</select>
</div>
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="info">节点描述</label>
<label class="floating-label" for="info">Server Description</label>
<input class="form-control" id="info" type="text" name="info">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="class">节点等级(不分级请填0,分级为数字)</label>
<label class="floating-label" for="class">Server Class/Grade(If you don't want to give a grade, type 0; otherwise, type a number)</label>
<input class="form-control" id="class" type="text" value="0" name="class">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="group">节点群组(分组为数字,不分组请填0)</label>
<label class="floating-label" for="group">Server Group(Enter a number; If it doesn't belong to any group, type 0)</label>
<input class="form-control" id="group" type="text" value="0" name="group">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="node_bandwidth_limit">节点流量上限(不使用的话请填0)(GB)</label>
<label class="floating-label" for="node_bandwidth_limit">Maximum Available Data(Type 0 to disable cap))(GB)</label>
<input class="form-control" id="node_bandwidth_limit" type="text" value="0" name="node_bandwidth_limit">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="bandwidthlimit_resetday">节点流量上限清空日</label>
<label class="floating-label" for="bandwidthlimit_resetday"Server Data Cap Reset Day</label>
<input class="form-control" id="bandwidthlimit_resetday" type="text" value="0" name="bandwidthlimit_resetday">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="node_speedlimit">节点限速(对于每个用户端口)(Mbps)</label>
<label class="floating-label" for="node_speedlimit">Server Bandwidth Cap (For each user)(Mbps)</label>
<input class="form-control" id="node_speedlimit" type="text" value="0" name="node_speedlimit">
</div>
</div>
@ -158,7 +158,7 @@
<div class="form-group">
<div class="row">
<div class="col-md-10 col-md-push-1">
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">添加</button>
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">Submit</button>
</div>
</div>
</div>
@ -274,7 +274,7 @@
},
error: function (jqXHR) {
$("#result").modal();
$("#msg").html(data.msg+" 发生错误了。");
$("#msg").html(data.msg+" error");
}
});
}

@ -12,7 +12,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">编辑节点 #{$node->id}</h1>
<h1 class="content-heading">Edit Server Details #{$node->id}</h1>
</div>
</div>
<div class="container">
@ -23,28 +23,28 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="name">节点名称</label>
<label class="floating-label" for="name">Server name</label>
<input class="form-control" id="name" name="name" type="text" value="{$node->name}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="server">节点地址</label>
<label class="floating-label" for="server">Server address</label>
<input class="form-control" id="server" name="server" type="text" value="{$node->server}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="server">节点IP(不填则自动获取,填写请按照 <a href="https://github.com/esdeathlove/ss-panel-v3-mod/wiki/%E8%8A%82%E7%82%B9IP%E5%A1%AB%E5%86%99%E8%A7%84%E5%88%99">这里</a> 的规则进行填写)</label>
<label class="floating-label" for="server">Server IP(If you dont enter anything here, the system will get it automatically. Please follow <a href="https://github.com/esdeathlove/ss-panel-v3-mod/wiki/%E8%8A%82%E7%82%B9IP%E5%A1%AB%E5%86%99%E8%A7%84%E5%88%99">these guidelines</a> when entering an IP)</label>
<input class="form-control" id="node_ip" name="node_ip" type="text" value="{$node->node_ip}">
</div>
<div class="form-group form-group-label" hidden="hidden">
<label class="floating-label" for="method">加密方式</label>
<label class="floating-label" for="method">Encryption Method</label>
<input class="form-control" id="method" name="method" type="text" value="{$node->method}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="rate">流量比例</label>
<label class="floating-label" for="rate">Data Ratio</label>
<input class="form-control" id="rate" name="rate" type="text" value="{$node->traffic_rate}">
</div>
@ -52,7 +52,7 @@
<div class="form-group form-group-label" hidden="hidden">
<div class="checkbox switch">
<label for="custom_method">
<input {if $node->custom_method==1}checked{/if} class="access-hide" id="custom_method" name="custom_method" type="checkbox"><span class="switch-toggle"></span>自定义加密
<input {if $node->custom_method==1}checked{/if} class="access-hide" id="custom_method" name="custom_method" type="checkbox"><span class="switch-toggle"></span>Custom Encryption Method
</label>
</div>
</div>
@ -60,18 +60,18 @@
<div class="form-group form-group-label" hidden="hidden">
<div class="checkbox switch">
<label for="custom_rss">
<input {if $node->custom_rss==1}checked{/if} class="access-hide" id="custom_rss" type="checkbox" name="custom_rss"><span class="switch-toggle"></span>自定义协议&混淆
<input {if $node->custom_rss==1}checked{/if} class="access-hide" id="custom_rss" type="checkbox" name="custom_rss"><span class="switch-toggle"></span>Custom Protocol and Obfuscation
</label>
</div>
</div>
<div class="form-group form-group-label">
<label for="mu_only">
<label class="floating-label" for="sort">单端口多用户启用</label>
<label class="floating-label" for="sort">Single-port Multi-user Options</label>
<select id="mu_only" class="form-control" name="is_multi_user">
<option value="0" {if $node->mu_only==0}selected{/if}>单端口多用户与普通端口并存</option>
<option value="-1" {if $node->mu_only==-1}selected{/if}>只启用普通端口</option>
<option value="1" {if $node->mu_only==1}selected{/if}>只启用单端口多用户</option>
<option value="0" {if $node->mu_only==0}selected{/if}>Single port multiuser and normal ports</option>
<option value="-1" {if $node->mu_only==-1}selected{/if}>Normal connections only</option>
<option value="1" {if $node->mu_only==1}selected{/if}>Single port multi-user only</option>
</select>
</label>
</div>
@ -87,63 +87,63 @@
<div class="form-group form-group-label">
<div class="checkbox switch">
<label for="type">
<input {if $node->type==1}checked{/if} class="access-hide" id="type" name="type" type="checkbox"><span class="switch-toggle"></span>是否显示
<input {if $node->type==1}checked{/if} class="access-hide" id="type" name="type" type="checkbox"><span class="switch-toggle"></span>Make this server public?
</label>
</div>
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="status">节点状态</label>
<label class="floating-label" for="status">Server Status</label>
<input class="form-control" id="status" name="status" type="text" value="{$node->status}">
</div>
<div class="form-group form-group-label">
<div class="form-group form-group-label">
<label class="floating-label" for="sort">节点类型</label>
<label class="floating-label" for="sort">Server Type</label>
<select id="sort" class="form-control" name="sort">
<option value="0" {if $node->sort==0}selected{/if}>Shadowsocks</option>
<option value="1" {if $node->sort==1}selected{/if}>VPN/Radius基础</option>
<option value="1" {if $node->sort==1}selected{/if}>VPN/Radius Basic</option>
<option value="2" {if $node->sort==2}selected{/if}>SSH</option>
<option value="3" {if $node->sort==3}selected{/if}>PAC</option>
<option value="4" {if $node->sort==4}selected{/if}>APN文件外链</option>
<option value="4" {if $node->sort==4}selected{/if}>APN File Link</option>
<option value="5" {if $node->sort==5}selected{/if}>Anyconnect</option>
<option value="6" {if $node->sort==6}selected{/if}>APN</option>
<option value="7" {if $node->sort==7}selected{/if}>PAC PLUS(Socks 代理生成 PAC文件)</option>
<option value="8" {if $node->sort==8}selected{/if}>PAC PLUS PLUS(HTTPS 代理生成 PAC文件)</option>
<option value="9" {if $node->sort==9}selected{/if}>Shadowsocks 单端口多用户</option>
<option value="10" {if $node->sort==10}selected{/if}>Shadowsocks 中转</option>
<option value="7" {if $node->sort==7}selected{/if}>PAC PLUS(Socks Proxy Will Auto-create PAC)</option>
<option value="8" {if $node->sort==8}selected{/if}>PAC PLUS PLUS(HTTPS Proxy Will Auto-create PAC)</option>
<option value="9" {if $node->sort==9}selected{/if}>Shadowsocks Single-port Multi-user</option>
<option value="10" {if $node->sort==10}selected{/if}>Shadowsocks Transit Server</option>
</select>
</div>
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="info">节点描述</label>
<label class="floating-label" for="info">Server Description</label>
<input class="form-control" id="info" name="info" type="text" value="{$node->info}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="class">节点等级(不分级请填0,分级为数字)</label>
<label class="floating-label" for="class">Server Class/Grade(If you don't want to give a grade, type 0; otherwise, type a number)</label>
<input class="form-control" id="class" name="class" type="text" value="{$node->node_class}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="group">节点群组(分组为数字,不分组请填0)</label>
<label class="floating-label" for="group">Server Group(Enter a number; If it doesn't belong to any group, type 0)</label>
<input class="form-control" id="group" name="group" type="text" value="{$node->node_group}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="node_bandwidth_limit">节点流量上限(不使用的话请填0)(GB)</label>
<label class="floating-label" for="node_bandwidth_limit">Maximum Available Data(Type 0 to disable cap)(GB)</label>
<input class="form-control" id="node_bandwidth_limit" name="node_bandwidth_limit" type="text" value="{$node->node_bandwidth_limit/1024/1024/1024}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="bandwidthlimit_resetday">节点流量上限清空日</label>
<label class="floating-label" for="bandwidthlimit_resetday">Server Data Cap Reset Day</label>
<input class="form-control" id="bandwidthlimit_resetday" name="bandwidthlimit_resetday" type="text" value="{$node->bandwidthlimit_resetday}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="node_speedlimit">节点限速(对于每个用户端口)(Mbps)</label>
<label class="floating-label" for="node_speedlimit">Server Bandwidth Cap (For each user)(Mbps)</label>
<input class="form-control" id="node_speedlimit" name="node_speedlimit" type="text" value="{$node->node_speedlimit}">
</div>
</div>
@ -159,7 +159,7 @@
<div class="form-group">
<div class="row">
<div class="col-md-10 col-md-push-1">
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">修改</button>
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">Submit</button>
</div>
</div>
</div>
@ -278,7 +278,7 @@
},
error: function (jqXHR) {
$("#result").modal();
$("#msg").html(data.msg+" 发生错误了。");
$("#msg").html(data.msg+" error");
}
});
}

@ -9,7 +9,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">节点列表</h1>
<h1 class="content-heading">Server list</h1>
</div>
</div>
<div class="container">
@ -19,8 +19,8 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>系统中所有节点的列表。</p>
<p>显示表项:
<p>All servers</p>
<p>Show:
{include file='table/checkbox.tpl'}
</p>
</div>
@ -43,13 +43,13 @@
<div class="modal-content">
<div class="modal-heading">
<a class="modal-close" data-dismiss="modal">×</a>
<h2 class="modal-title">确认要删除?</h2>
<h2 class="modal-title">Are you sure that you want to delete this server?</h2>
</div>
<div class="modal-inner">
<p>请您确认。</p>
<p>PLease confirm</p>
</div>
<div class="modal-footer">
<p class="text-right"><button class="btn btn-flat btn-brand-accent waves-attach waves-effect" data-dismiss="modal" type="button">取消</button><button class="btn btn-flat btn-brand-accent waves-attach" data-dismiss="modal" id="delete_input" type="button">确定</button></p>
<p class="text-right"><button class="btn btn-flat btn-brand-accent waves-attach waves-effect" data-dismiss="modal" type="button">Cancel</button><button class="btn btn-flat btn-brand-accent waves-attach" data-dismiss="modal" id="delete_input" type="button">Delete</button></p>
</div>
</div>
</div>
@ -104,7 +104,7 @@ $(document).ready(function(){
},
error:function(jqXHR){
$("#result").modal();
$("#msg").html(data.msg+" 发生错误了。");
$("#msg").html(data.msg+" error");
}
});
}

@ -12,7 +12,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading"> 添加中转规则</h1>
<h1 class="content-heading"> Add Transit Rule</h1>
</div>
</div>
<div class="container">
@ -23,9 +23,9 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="source_node">起源节点</label>
<label class="floating-label" for="source_node">Server used for transit</label>
<select id="source_node" class="form-control" name="source_node">
<option value="0">请选择起源节点</option>
<option value="0">Please select a transit server</option>
{foreach $source_nodes as $source_node}
<option value="{$source_node->id}">{$source_node->name}</option>
{/foreach}
@ -34,9 +34,9 @@
<div class="form-group form-group-label">
<label class="floating-label" for="dist_node">目标节点</label>
<label class="floating-label" for="dist_node">Destination server</label>
<select id="dist_node" class="form-control" name="dist_node">
<option value="-1">不进行中转</option>
<option value="-1">Don't transit</option>
{foreach $dist_nodes as $dist_node}
<option value="{$dist_node->id}">{$dist_node->name}</option>
{/foreach}
@ -44,17 +44,17 @@
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="port">端口</label>
<label class="floating-label" for="port">Port</label>
<input class="form-control" id="port" name="port" type="text" value="0">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="priority">优先级</label>
<label class="floating-label" for="priority">Priority</label>
<input class="form-control" id="priority" name="priority" type="text" value="0">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="user_id">用户ID</label>
<label class="floating-label" for="user_id">User ID</label>
<input class="form-control" id="user_id" name="user_id" type="text" value="0">
</div>
@ -71,7 +71,7 @@
<div class="form-group">
<div class="row">
<div class="col-md-10 col-md-push-1">
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">添加</button>
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">Add</button>
</div>
</div>
</div>
@ -145,7 +145,7 @@
},
error: function (jqXHR) {
$("#result").modal();
$("#msg").html(data.msg+" 发生错误了。");
$("#msg").html(data.msg+" error");
}
});
}

@ -13,7 +13,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading"> 编辑规则 #{$rule->id}</h1>
<h1 class="content-heading"> Edit Rule #{$rule->id}</h1>
</div>
</div>
<div class="container">
@ -24,9 +24,9 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="source_node">起源节点</label>
<label class="floating-label" for="source_node">Server used for transit</label>
<select id="source_node" class="form-control" name="source_node">
<option value="0">请选择起源节点</option>
<option value="0">Please select a transit server</option>
{foreach $source_nodes as $source_node}
<option value="{$source_node->id}" {if $rule->source_node_id == $source_node->id}selected{/if}>{$source_node->name}</option>
{/foreach}
@ -35,9 +35,9 @@
<div class="form-group form-group-label">
<label class="floating-label" for="dist_node">目标节点</label>
<label class="floating-label" for="dist_node">Destination server</label>
<select id="dist_node" class="form-control" name="dist_node">
<option value="-1">不进行中转</option>
<option value="-1">Don't transit</option>
{foreach $dist_nodes as $dist_node}
<option value="{$dist_node->id}" {if $rule->dist_node_id == $dist_node->id}selected{/if}>{$dist_node->name}</option>
{/foreach}
@ -45,17 +45,17 @@
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="port">端口</label>
<label class="floating-label" for="port">Port</label>
<input class="form-control" id="port" name="port" type="text" value="{$rule->port}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="priority">优先级</label>
<label class="floating-label" for="priority">Priority</label>
<input class="form-control" id="priority" name="priority" type="text" value="{$rule->priority}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="user_id">用户ID</label>
<label class="floating-label" for="user_id">User ID</label>
<input class="form-control" id="user_id" name="user_id" type="text" value="{$rule->user_id}">
</div>
@ -71,7 +71,7 @@
<div class="form-group">
<div class="row">
<div class="col-md-10 col-md-push-1">
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">修改</button>
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">Submit</button>
</div>
</div>
</div>
@ -135,7 +135,7 @@
},
error: function (jqXHR) {
$("#result").modal();
$("#msg").html(data.msg+" 发生错误了。");
$("#msg").html(data.msg+" error");
}
});
}

@ -12,7 +12,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">中转规则管理</h1>
<h1 class="content-heading">Data Transit Rules</h1>
</div>
</div>
<div class="container">
@ -22,8 +22,8 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>系统中所有的中转规则。</p>
<p>显示表项:
<p>All data transit rules</p>
<p>Show:
{include file='table/checkbox.tpl'}
</p>
</div>
@ -34,13 +34,13 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="search"> 输入用户 ID 进行搜索链路搜索 </label>
<label class="floating-label" for="search"> Enter User ID to search for all the rules for that particular user</label>
<input class="form-control" id="search" type="text">
</div>
</div>
<div class="card-action">
<div class="card-action-btn pull-left">
<a class="btn btn-flat waves-attach waves-light" id="search_button"><span class="icon">search</span>&nbsp;搜索</a>
<a class="btn btn-flat waves-attach waves-light" id="search_button"><span class="icon">search</span>&nbsp;Search</a>
</div>
</div>
</div>
@ -62,13 +62,13 @@
<div class="modal-content">
<div class="modal-heading">
<a class="modal-close" data-dismiss="modal">×</a>
<h2 class="modal-title">确认要删除?</h2>
<h2 class="modal-title">Are you sure you want to delete this rule?</h2>
</div>
<div class="modal-inner">
<p>请您确认。</p>
<p>Please confirm</p>
</div>
<div class="modal-footer">
<p class="text-right"><button class="btn btn-flat btn-brand-accent waves-attach waves-effect" data-dismiss="modal" type="button">取消</button><button class="btn btn-flat btn-brand-accent waves-attach" data-dismiss="modal" id="delete_input" type="button">确定</button></p>
<p class="text-right"><button class="btn btn-flat btn-brand-accent waves-attach waves-effect" data-dismiss="modal" type="button">Cancel</button><button class="btn btn-flat btn-brand-accent waves-attach" data-dismiss="modal" id="delete_input" type="button">Delete</button></p>
</div>
</div>
</div>
@ -126,7 +126,7 @@ $(document).ready(function(){
},
error:function(jqXHR){
$("#result").modal();
$("#msg").html(data.msg+" 发生错误了。");
$("#msg").html(data.msg+" error");
}
});
}

@ -12,7 +12,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">中转链路搜索</h1>
<h1 class="content-heading">Data Transit Rules Search</h1>
</div>
</div>
<div class="container">
@ -22,7 +22,7 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>系统中这位用户的链路。</p>
<p>All rules for this particular user are listed below.</p>
</div>
</div>
</div>
@ -31,13 +31,13 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="search"> 输入用户 ID 进行搜索链路搜索 </label>
<label class="floating-label" for="search"> Enter the user ID to perform a search. </label>
<input class="form-control" id="search" type="text">
</div>
</div>
<div class="card-action">
<div class="card-action-btn pull-left">
<a class="btn btn-flat waves-attach waves-light" id="search_button"><span class="icon">search</span>&nbsp;搜索</a>
<a class="btn btn-flat waves-attach waves-light" id="search_button"><span class="icon">search</span>&nbsp;Search</a>
</div>
</div>
</div>
@ -47,20 +47,20 @@
<table class="mdl-data-table" id="table_1" cellspacing="0" width="100%">
<thead>
<tr>
<th>端口</th>
<th>始发节点</th>
<th>终点节点</th>
<th>途径节点</th>
<th>状态</th>
<th>Port</th>
<th>Transit Server</th>
<th>Destination Server</th>
<th>Path</th>
<th>Status</th>
</tr>
</thead>
<tfoot>
<tr>
<th>端口</th>
<th>始发节点</th>
<th>终点节点</th>
<th>途径节点</th>
<th>状态</th>
<th>Port</th>
<th>Transit Server</th>
<th>Destination Server</th>
<th>Path</th>
<th>Status</th>
</tr>
</tfoot>
<tbody>

@ -9,7 +9,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">购买记录</h1>
<h1 class="content-heading">Purchase History</h1>
</div>
</div>
<div class="container">
@ -19,8 +19,8 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>系统中所有购买记录。</p>
<p>显示表项:
<p>All purchases</p>
<p>Show:
{include file='table/checkbox.tpl'}
</p>
</div>
@ -37,13 +37,13 @@
<div class="modal-content">
<div class="modal-heading">
<a class="modal-close" data-dismiss="modal">×</a>
<h2 class="modal-title">确认要退订?</h2>
<h2 class="modal-title">Are you sure you want to delete this subscription?</h2>
</div>
<div class="modal-inner">
<p>请您确认。</p>
<p>PLease confirm</p>
</div>
<div class="modal-footer">
<p class="text-right"><button class="btn btn-flat btn-brand-accent waves-attach waves-effect" data-dismiss="modal" type="button">取消</button><button class="btn btn-flat btn-brand-accent waves-attach" data-dismiss="modal" id="delete_input" type="button">确定</button></p>
<p class="text-right"><button class="btn btn-flat btn-brand-accent waves-attach waves-effect" data-dismiss="modal" type="button">Cancel</button><button class="btn btn-flat btn-brand-accent waves-attach" data-dismiss="modal" id="delete_input" type="button">Delete</button></p>
</div>
</div>
</div>
@ -97,7 +97,7 @@ $(document).ready(function(){
},
error:function(jqXHR){
$("#result").modal();
$("#msg").html(data.msg+" 发生错误了。");
$("#msg").html(data.msg+" error");
}
});
}

@ -10,7 +10,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">添加商品</h1>
<h1 class="content-heading">Add Product</h1>
</div>
</div>
<div class="container">
@ -20,20 +20,20 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>可填单个或者多个参数,多个参数时会自动组合成套餐</p>
<p>You can fill in one or multiple parameters. Multiple parameters will be automatically combined into a package.</p>
<div class="form-group form-group-label">
<label class="floating-label" for="name">名称</label>
<label class="floating-label" for="name">Name</label>
<input class="form-control" id="name" type="text" >
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="price">价格</label>
<label class="floating-label" for="price">Price</label>
<input class="form-control" id="price" type="text" >
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="auto_renew">自动续订天数(0为不允许自动续订,其他为到了那么多天之后就会自动从用户的账户上划钱抵扣)</label>
<label class="floating-label" for="auto_renew">Days between automatic renewals (0 means no automatic renewals. A number tells the system when to automatically deduct from the user's balance for renewal of purchased package)</label>
<input class="form-control" id="auto_renew" type="text" value="0">
</div>
@ -47,14 +47,14 @@
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="bandwidth">流量(GB)</label>
<label class="floating-label" for="bandwidth">Data Cap(GB)</label>
<input class="form-control" id="bandwidth" type="text" value="0">
</div>
<div class="form-group form-group-label">
<div class="checkbox switch">
<label for="auto_reset_bandwidth">
<input class="access-hide" id="auto_reset_bandwidth" type="checkbox"><span class="switch-toggle"></span>续费时自动重置用户流量为上面这个流量值
<input class="access-hide" id="auto_reset_bandwidth" type="checkbox"><span class="switch-toggle"></span>Automatically reset data cap to the above upon renewal
</label>
</div>
</div>
@ -69,7 +69,7 @@
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="expire">账户有效期天数</label>
<label class="floating-label" for="expire">Subscription length in days</label>
<input class="form-control" id="expire" type="text" value="0">
</div>
</div>
@ -81,12 +81,12 @@
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="class">等级</label>
<label class="floating-label" for="class">Grade</label>
<input class="form-control" id="class" type="text" value="0">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="class_expire">等级有效期天数</label>
<label class="floating-label" for="class_expire">Grade activated for x days</label>
<input class="form-control" id="class_expire" type="text" value="0">
</div>
</div>
@ -97,18 +97,18 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="reset_exp">多少天内</label>
<label class="floating-label" for="reset_exp">Data to be used within x days</label>
<input class="form-control" id="reset_exp" type="number" value="0">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="reset">每多少天</label>
<label class="floating-label" for="reset">Data reset after x days</label>
<input class="form-control" id="reset" type="number" value="0">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="reset_value">重置流量为多少G</label>
<label class="floating-label" for="reset_value">Reset to x GBs</label>
<input class="form-control" id="reset_value" type="number" value="0">
</div>
</div>
@ -125,7 +125,7 @@
<div class="form-group">
<div class="row">
<div class="col-md-10 col-md-push-1">
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">添加</button>
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">Add</button>
</div>
</div>
</div>
@ -200,7 +200,7 @@
},
error: function (jqXHR) {
$("#result").modal();
$("#msg").html(data.msg+" 发生错误了。");
$("#msg").html(data.msg+" error");
}
});
}

@ -10,7 +10,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">编辑商品</h1>
<h1 class="content-heading">Edit Product</h1>
</div>
</div>
<div class="container">
@ -20,20 +20,20 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>可填单个或者多个参数,多个参数时会自动组合成套餐</p>
<p>You can fill in one or multiple parameters. Multiple parameters will be automatically combined into a package.</p>
<div class="form-group form-group-label">
<label class="floating-label" for="name">名称</label>
<label class="floating-label" for="name">Name</label>
<input class="form-control" id="name" type="text" value="{$shop->name}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="price">价格</label>
<label class="floating-label" for="price">Price</label>
<input class="form-control" id="price" type="text" value="{$shop->price}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="auto_renew">自动续订天数(0为不允许自动续订,其他为到了那么多天之后就会自动从用户的账户上划钱抵扣)</label>
<label class="floating-label" for="auto_renew">Days between automatic renewals (0 means no automatic renewals. A number tells the system when to automatically deduct from the user's balance for renewal of purchased package.)</label>
<input class="form-control" id="auto_renew" type="text" value="{$shop->auto_renew}">
</div>
@ -48,7 +48,7 @@
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="bandwidth">流量(GB)</label>
<label class="floating-label" for="bandwidth">Data Cap(GB)</label>
<input class="form-control" id="bandwidth" type="text" value="{$shop->bandwidth()}">
</div>
@ -56,7 +56,7 @@
<div class="form-group form-group-label">
<div class="checkbox switch">
<label for="auto_reset_bandwidth">
<input {if $shop->auto_reset_bandwidth==1}checked{/if} class="access-hide" id="auto_reset_bandwidth" type="checkbox"><span class="switch-toggle"></span>续费时自动重置用户流量为上面这个流量值
<input {if $shop->auto_reset_bandwidth==1}checked{/if} class="access-hide" id="auto_reset_bandwidth" type="checkbox"><span class="switch-toggle"></span>Automatically reset data cap to the above upon renewal
</label>
</div>
</div>
@ -71,7 +71,7 @@
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="expire">账户有效期天数</label>
<label class="floating-label" for="expire">Subscription length in days</label>
<input class="form-control" id="expire" type="text" value="{$shop->expire()}">
</div>
</div>
@ -83,12 +83,12 @@
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="class">等级</label>
<label class="floating-label" for="class">Grade</label>
<input class="form-control" id="class" type="text" value="{$shop->user_class()}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="class_expire">等级有效期天数</label>
<label class="floating-label" for="class_expire">Grade activated for x days</label>
<input class="form-control" id="class_expire" type="text" value="{$shop->class_expire()}">
</div>
</div>
@ -99,18 +99,18 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="reset_exp">多少天内</label>
<label class="floating-label" for="reset_exp">Data to be used within x days</label>
<input class="form-control" id="reset_exp" type="number" value="{$shop->reset_exp()}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="reset">每多少天</label>
<label class="floating-label" for="reset">Data reset after x days</label>
<input class="form-control" id="reset" type="number" value="{$shop->reset()}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="reset_value">重置流量为多少G</label>
<label class="floating-label" for="reset_value">Reset to x GBs</label>
<input class="form-control" id="reset_value" type="number" value="{$shop->reset_value()}">
</div>
</div>
@ -125,7 +125,7 @@
<div class="form-group">
<div class="row">
<div class="col-md-10 col-md-push-1">
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">保存</button>
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">Save</button>
</div>
</div>
</div>
@ -200,7 +200,7 @@
},
error: function (jqXHR) {
$("#result").modal();
$("#msg").html(data.msg+" 发生错误了。");
$("#msg").html(data.msg+" error");
}
});
}

@ -9,7 +9,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">商品列表</h1>
<h1 class="content-heading">Product List</h1>
</div>
</div>
<div class="container">
@ -19,8 +19,8 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>系统中所有商品的列表。</p>
<p>显示表项:
<p>All products</p>
<p>Show:
{include file='table/checkbox.tpl'}
</p>
</div>
@ -43,13 +43,13 @@
<div class="modal-content">
<div class="modal-heading">
<a class="modal-close" data-dismiss="modal">×</a>
<h2 class="modal-title">确认要下架?</h2>
<h2 class="modal-title">Are you sure you want to remove this product?</h2>
</div>
<div class="modal-inner">
<p>请您确认。</p>
<p>Please confirm</p>
</div>
<div class="modal-footer">
<p class="text-right"><button class="btn btn-flat btn-brand-accent waves-attach waves-effect" data-dismiss="modal" type="button">取消</button><button class="btn btn-flat btn-brand-accent waves-attach" data-dismiss="modal" id="delete_input" type="button">确定</button></p>
<p class="text-right"><button class="btn btn-flat btn-brand-accent waves-attach waves-effect" data-dismiss="modal" type="button">Cancel</button><button class="btn btn-flat btn-brand-accent waves-attach" data-dismiss="modal" id="delete_input" type="button">Remove</button></p>
</div>
</div>
</div>
@ -102,7 +102,7 @@ $(document).ready(function(){
},
error:function(jqXHR){
$("#result").modal();
$("#msg").html(data.msg+" 发生错误了。");
$("#msg").html(data.msg+" error");
}
});
}

@ -3,7 +3,7 @@
<div class="content-wrapper">
<section class="content-header">
<h1>
统计信息
Statistics
<small>A</small>
</h1>
</section>
@ -23,4 +23,4 @@
</div>
</section><!-- /.content -->
</div><!-- /.content-wrapper -->
{include file='admin/footer.tpl'}
{include file='admin/footer.tpl'}

@ -9,7 +9,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">工单</h1>
<h1 class="content-heading">Support Tickets</h1>
</div>
</div>
<div class="container">
@ -19,8 +19,8 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>系统中的工单</p>
<p>显示表项:
<p>Support Tickets</p>
<p>Show:
{include file='table/checkbox.tpl'}
</p>
</div>

@ -12,7 +12,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">查看工单</h1>
<h1 class="content-heading">View Ticket</h1>
</div>
</div>
<div class="container">
@ -23,7 +23,7 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="content">内容</label>
<label class="floating-label" for="content">Content</label>
<link rel="stylesheet" href="/theme/material/editor/css/editormd.min.css" />
<div id="editormd">
<textarea style="display:none;" id="content"></textarea>
@ -46,7 +46,7 @@
<div class="form-group">
<div class="row">
<div class="col-md-10 col-md-push-1">
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">添加</button><button id="close" type="submit" class="btn btn-block btn-brand-accent waves-attach waves-light">添加并关闭</button>
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">Submit</button><button id="close" type="submit" class="btn btn-block btn-brand-accent waves-attach waves-light">Submit and close ticket</button>
</div>
</div>
</div>
@ -96,7 +96,7 @@
$(document).ready(function () {
function submit() {
$("#result").modal();
$("#msg").html("正在提交。");
$("#msg").html("Submitting...");
$.ajax({
type: "PUT",
url: "/admin/ticket/{$id}",
@ -119,7 +119,7 @@
error: function (jqXHR) {
$("#msg-error").hide(10);
$("#msg-error").show(100);
$("#msg-error-p").html("发生错误:" + jqXHR.status);
$("#msg-error-p").html("error:" + jqXHR.status);
}
});
}

@ -9,7 +9,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">流量使用记录</h1>
<h1 class="content-heading">Data Usage Logs</h1>
</div>
</div>
<div class="container">
@ -19,8 +19,8 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>部分节点不支持流量记录.</p>
<p>显示表项:
<p>Some servers do not support data logging</p>
<p>Show:
{include file='table/checkbox.tpl'}
</p>
</div>

@ -9,7 +9,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">用户编辑 #{$edit_user->id}</h1>
<h1 class="content-heading">Edit User #{$edit_user->id}</h1>
</div>
</div>
<div class="container">
@ -20,24 +20,24 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="email">邮箱</label>
<label class="floating-label" for="email">E-mail</label>
<input class="form-control" id="email" type="email" value="{$edit_user->email}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="remark">备注(仅对管理员可见)</label>
<label class="floating-label" for="remark">Description (Only visible to admins)</label>
<input class="form-control" id="remark" type="text" value="{$edit_user->remark}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="pass">密码(不修改请留空)</label>
<label class="floating-label" for="pass">Password (Leave blank if you don't want to change it)</label>
<input class="form-control" id="pass" type="password">
</div>
<div class="form-group form-group-label">
<div class="checkbox switch">
<label for="is_admin">
<input {if $edit_user->is_admin==1}checked{/if} class="access-hide" id="is_admin" type="checkbox"><span class="switch-toggle"></span>是否管理员
<input {if $edit_user->is_admin==1}checked{/if} class="access-hide" id="is_admin" type="checkbox"><span class="switch-toggle"></span>Make admin
</label>
</div>
</div>
@ -45,23 +45,23 @@
<div class="form-group form-group-label">
<div class="checkbox switch">
<label for="enable">
<input {if $edit_user->enable==1}checked{/if} class="access-hide" id="enable" type="checkbox"><span class="switch-toggle"></span>用户启用
<input {if $edit_user->enable==1}checked{/if} class="access-hide" id="enable" type="checkbox"><span class="switch-toggle"></span>Active subscription
</label>
</div>
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="money">金钱</label>
<label class="floating-label" for="money">Account balance</label>
<input class="form-control" id="money" type="text" value="{$edit_user->money}">
</div>
<div class="form-group form-group-label">
<label for="is_multi_user">
<label class="floating-label" for="sort">单端口多用户承载端口</label>
<label class="floating-label" for="sort">Single-port multi-user port</label>
<select id="is_multi_user" class="form-control" name="is_multi_user">
<option value="0" {if $edit_user->is_multi_user==0}selected{/if}>非单端口多用户承载端口</option>
<option value="1" {if $edit_user->is_multi_user==1}selected{/if}>混淆式单端口多用户承载端口</option>
<option value="2" {if $edit_user->is_multi_user==2}selected{/if}>协议式单端口多用户承载端口</option>
<option value="0" {if $edit_user->is_multi_user==0}selected{/if}>Not a SPMU port</option>
<option value="1" {if $edit_user->is_multi_user==1}selected{/if}>Obfuscation SPMU Port</option>
<option value="2" {if $edit_user->is_multi_user==2}selected{/if}>Protocol SPMU Port</option>
</select>
</label>
</div>
@ -75,37 +75,37 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="port">连接端口</label>
<label class="floating-label" for="port">Server Port</label>
<input class="form-control" id="port" type="text" value="{$edit_user->port}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="passwd">连接密码</label>
<label class="floating-label" for="passwd">Server Password</label>
<input class="form-control" id="passwd" type="text" value="{$edit_user->passwd}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="method">自定义加密</label>
<label class="floating-label" for="method">Custom encryption</label>
<input class="form-control" id="method" type="text" value="{$edit_user->method}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="protocol">自定义协议</label>
<label class="floating-label" for="protocol">Custom protocol</label>
<input class="form-control" id="protocol" type="text" value="{$edit_user->protocol}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="protocol_param">自定义协议参数</label>
<label class="floating-label" for="protocol_param">Custom protocol parameters</label>
<input class="form-control" id="protocol_param" type="text" value="{$edit_user->protocol_param}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="obfs">自定义混淆方式</label>
<label class="floating-label" for="obfs">Custom obfuscation</label>
<input class="form-control" id="obfs" type="text" value="{$edit_user->obfs}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="obfs_param">自定义混淆参数</label>
<label class="floating-label" for="obfs_param">Custom obfuscation parameters</label>
<input class="form-control" id="obfs_param" type="text" value="{$edit_user->obfs_param}">
</div>
</div>
@ -117,12 +117,12 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="transfer_enable">总流量(GB)</label>
<label class="floating-label" for="transfer_enable">Total data allowance(GB)</label>
<input class="form-control" id="transfer_enable" type="text" value="{$edit_user->enableTrafficInGB()}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="usedTraffic">已用流量</label>
<label class="floating-label" for="usedTraffic">Data used</label>
<input class="form-control" id="usedTraffic" type="text" value="{$edit_user->usedTraffic()}" readonly>
</div>
</div>
@ -133,12 +133,12 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="auto_reset_day">自动重置流量日</label>
<label class="floating-label" for="auto_reset_day">Data reset day</label>
<input class="form-control" id="auto_reset_day" type="number" value="{$edit_user->auto_reset_day}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="auto_reset_bandwidth">重置流量值(GB)</label>
<label class="floating-label" for="auto_reset_bandwidth">Reset data to (GB)</label>
<input class="form-control" id="auto_reset_bandwidth" type="number" value="{$edit_user->auto_reset_bandwidth}">
</div>
</div>
@ -150,12 +150,12 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="invite_num">可用邀请数量</label>
<label class="floating-label" for="invite_num">Available Invitation Codes</label>
<input class="form-control" id="invite_num" type="number" value="{$edit_user->invite_num}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="ref_by">邀请人ID</label>
<label class="floating-label" for="ref_by">Invited Users IDs</label>
<input class="form-control" id="ref_by" type="text" value="{$edit_user->ref_by}" readonly>
</div>
</div>
@ -167,24 +167,24 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="group">用户群组(用户只能访问到组别等于这个数字或0的节点)</label>
<label class="floating-label" for="group">User Group(This user can only access servers belonging to this group and group 0)</label>
<input class="form-control" id="group" type="number" value="{$edit_user->node_group}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="class">用户级别(用户只能访问到等级小于等于这个数字的节点)</label>
<label class="floating-label" for="class">User Grade(This user can only access servers with the same or lower grade number)</label>
<input class="form-control" id="class" type="number" value="{$edit_user->class}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="class_expire">用户等级过期时间(不过期就请不要动)</label>
<label class="floating-label" for="class_expire">User grade expiry date (If it hasn't expired, please don't change this value)</label>
<input class="form-control" id="class_expire" type="text" value="{$edit_user->class_expire}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="expire_in">用户账户过期时间(不过期就请不要动)</label>
<label class="floating-label" for="expire_in">User account expiry date(If it hasn't expired, please don't change this value)</label>
<input class="form-control" id="expire_in" type="text" value="{$edit_user->expire_in}">
</div>
@ -197,12 +197,12 @@
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="node_speedlimit">用户限速,用户在每个节点所享受到的速度(0 为不限制)(Mbps)</label>
<label class="floating-label" for="node_speedlimit">User speed limit, the user can only get a speed up to this number on all servers (0 means unlimited)(Mbps)</label>
<input class="form-control" id="node_speedlimit" type="text" value="{$edit_user->node_speedlimit}">
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="node_connector">用户同时连接 IP 数(0 为不限制)</label>
<label class="floating-label" for="node_connector">User connection limit (by IP address) (0 means unlimited)</label>
<input class="form-control" id="node_connector" type="text" value="{$edit_user->node_connector}">
</div>
</div>
@ -214,12 +214,12 @@
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="node_speedlimit">禁止用户访问的IP,一行一个</label>
<label class="floating-label" for="node_speedlimit">Blocked IPs, one per line</label>
<textarea class="form-control" id="forbidden_ip" rows="8">{$edit_user->get_forbidden_ip()}</textarea>
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="node_speedlimit">禁止用户访问的端口,一行一个</label>
<label class="floating-label" for="node_speedlimit">Blocked ports, one per line</label>
<textarea class="form-control" id="forbidden_port" rows="8">{$edit_user->get_forbidden_port()}</textarea>
</div>
</div>
@ -234,7 +234,7 @@
<div class="form-group">
<div class="row">
<div class="col-md-10 col-md-push-1">
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">修改</button>
<button id="submit" type="submit" class="btn btn-block btn-brand waves-attach waves-light">Submit</button>
</div>
</div>
</div>
@ -330,7 +330,7 @@
},
error: function (jqXHR) {
$("#result").modal();
$("#msg").html(data.msg+" 发生了错误。");
$("#msg").html(data.msg+" error");
}
});
}

@ -9,7 +9,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">用户列表</h1>
<h1 class="content-heading">User List</h1>
</div>
</div>
<div class="container">
@ -19,8 +19,8 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>系统中所有用户的列表。</p>
<p>显示表项:
<p>All users in the system.</p>
<p>Show:
{include file='table/checkbox.tpl'}
</p>
</div>
@ -36,13 +36,13 @@
<div class="modal-content">
<div class="modal-heading">
<a class="modal-close" data-dismiss="modal">×</a>
<h2 class="modal-title">确认要删除?</h2>
<h2 class="modal-title">Are you sure you want to remove this user?</h2>
</div>
<div class="modal-inner">
<p>请您确认。</p>
<p>Please confirm</p>
</div>
<div class="modal-footer">
<p class="text-right"><button class="btn btn-flat btn-brand-accent waves-attach waves-effect" data-dismiss="modal" type="button">取消</button><button class="btn btn-flat btn-brand-accent waves-attach" data-dismiss="modal" id="delete_input" type="button">确定</button></p>
<p class="text-right"><button class="btn btn-flat btn-brand-accent waves-attach waves-effect" data-dismiss="modal" type="button">Cancel</button><button class="btn btn-flat btn-brand-accent waves-attach" data-dismiss="modal" id="delete_input" type="button">Remove</button></p>
</div>
</div>
</div>
@ -123,7 +123,7 @@ $(document).ready(function(){
},
error:function(jqXHR){
$("#result").modal();
$("#msg").html(data.msg+" 发生错误了。");
$("#msg").html(data.msg+" error");
}
});
}

@ -20,7 +20,7 @@
</li>
{if $config['enable_telegram'] == 'true'}
<li>
<a class="waves-attach" data-toggle="tab" href="#number_login"> TG Number login</a>
<a class="waves-attach" data-toggle="tab" href="#number_login">Login with your telegram account</a>
</li>
{/if}
</ul>
@ -43,7 +43,7 @@
<div class="row">
<div class="col-md-10 col-md-push-1">
<label class="floating-label" for="email">login name(email)</label>
<input class="form-control" id="email" type="text" name="Email">
<input class="form-control" id="email" type="text" name="E-mail">
</div>
</div>
</div>
@ -81,7 +81,7 @@
<div class="col-md-10 col-md-push-1">
<div class="checkbox checkbox-adv">
<label for="remember_me">
<input class="access-hide" value="week" id="remember_me" name="remember_me" type="checkbox">remember me
<input class="access-hide" value="week" id="remember_me" name="remember_me" type="checkbox">Remember me
<span class="checkbox-circle"></span><span class="checkbox-circle-check"></span><span class="checkbox-circle-icon icon">Done</span>
</label>
</div>

@ -21,7 +21,7 @@
<div class="form-group form-group-label">
<div class="row">
<div class="col-md-10 col-md-push-1">
<label class="floating-label" for="name">name</label>
<label class="floating-label" for="name">Name</label>
<input class="form-control" id="name" type="text">
</div>
</div>
@ -30,7 +30,7 @@
<div class="form-group form-group-label">
<div class="row">
<div class="col-md-10 col-md-push-1">
<label class="floating-label" for="email">login name(email)</label>
<label class="floating-label" for="email">Login name(email)</label>
<input class="form-control" id="email" type="text">
</div>
</div>
@ -68,7 +68,7 @@
<div class="form-group form-group-label">
<div class="row">
<div class="col-md-10 col-md-push-1">
<label class="floating-label" for="passwd">password</label>
<label class="floating-label" for="passwd">Password</label>
<input class="form-control" id="passwd" type="password">
</div>
</div>
@ -77,7 +77,7 @@
<div class="form-group form-group-label">
<div class="row">
<div class="col-md-10 col-md-push-1">
<label class="floating-label" for="repasswd">Rrtype password</label>
<label class="floating-label" for="repasswd">Retype password</label>
<input class="form-control" id="repasswd" type="password">
</div>
</div>
@ -103,7 +103,7 @@
<div class="form-group form-group-label">
<div class="row">
<div class="col-md-10 col-md-push-1">
<label class="floating-label" for="wechat">contact information</label>
<label class="floating-label" for="wechat">Contact information</label>
<input class="form-control" id="wechat" type="text">
</div>
</div>
@ -266,13 +266,13 @@
if(typeof validate == 'undefined')
{
$("#result").modal();
$("#msg").html("请滑动验证码来完成验证。");
$("#msg").html("Please enter your verification code to complete the verification process");
return;
}
if (!validate) {
$("#result").modal();
$("#msg").html("请滑动验证码来完成验证。");
$("#msg").html("Please enter your verification code to complete the verification process");
return;
}
@ -293,7 +293,7 @@ function time(o) {
wait = 60;
} else {
o.attr("disabled","disabled");
o.text("重新发送(" + wait + ")");
o.text("resending(" + wait + ")");
wait--;
setTimeout(function() {
time(o)
@ -327,7 +327,7 @@ function time(o) {
},
error: function (jqXHR) {
$("#result").modal();
$("#msg").html(data.msg+" 出现了一些错误。");
$("#msg").html(data.msg+" error");
}
})
})

@ -25,7 +25,7 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>{$config["appName"]} 的邀请码,没了的话就烧纸吧。</p>
<p>{$config["appName"]}'s invitation code. If you don't have one, then skip.</p>
</div>
</div>
</div>
@ -43,8 +43,8 @@
<thead>
<tr>
<th>###</th>
<th>Invitation code (Click the invitation code to enter the registration page)</th>
<th>status</th>
<th>Invitation code (Click on the invitation code to enter the registration page)</th>
<th>Status</th>
</tr>
</thead>
<tbody>
@ -73,4 +73,4 @@
</main>
{include file='footer.tpl'}
{include file='footer.tpl'}

@ -5,8 +5,8 @@
<p class="h5 margin-top-sm text-black-hint" id="msg"></p>
</div>
<div class="modal-footer">
<p class="text-right"><button class="btn btn-flat btn-brand-accent waves-attach" data-dismiss="modal" type="button" id="result_ok">知道了</button></p>
<p class="text-right"><button class="btn btn-flat btn-brand-accent waves-attach" data-dismiss="modal" type="button" id="result_ok">Thanks</button></p>
</div>
</div>
</div>
</div>
</div>

@ -34,14 +34,14 @@
</a>
<ul class="dropdown-menu dropdown-menu-right">
<li>
<a class="padding-right-lg waves-attach" href="/user/"><span class="icon icon-lg margin-right">account_box</span>User Center</a>
<a class="padding-right-lg waves-attach" href="/user/"><span class="icon icon-lg margin-right">account_box</span>Dashboard</a>
</li>
<li>
<a class="padding-right-lg waves-attach" href="/user/logout"><span class="icon icon-lg margin-right">exit_to_app</span>Sign out</a>
</li>
</ul>
{else}
<span class="access-hide">Not logged</span>
<span class="access-hide">Not logged in</span>
<span class="avatar avatar-sm"><img alt="alt text for John Smith avatar" src="/theme/material/images/users/avatar-001.jpg"></span>
</a>
<ul class="dropdown-menu dropdown-menu-right">
@ -49,7 +49,7 @@
<a class="padding-right-lg waves-attach" href="/auth/login"><span class="icon icon-lg margin-right">vpn_key</span>Login</a>
</li>
<li>
<a class="padding-right-lg waves-attach" href="/auth/register"><span class="icon icon-lg margin-right">person_add</span>registered</a>
<a class="padding-right-lg waves-attach" href="/auth/register"><span class="icon icon-lg margin-right">person_add</span>Register</a>
</li>
</ul>
{/if}
@ -60,12 +60,12 @@
<nav aria-hidden="true" class="menu menu-left nav-drawer nav-drawer-md" id="ui_menu" tabindex="-1">
<div class="menu-scroll">
<div class="menu-content">
<a class="menu-logo" href="/"><i class="icon icon-lg">language</i>&nbsp;Click to return to the Home</a>
<a class="menu-logo" href="/"><i class="icon icon-lg">language</i>&nbsp;Return to Home Page</a>
<ul class="nav">
{if $user->isLogin}
<li>
<a href="/user"><i class="icon icon-lg">person</i>&nbsp;User Center</a>
<a href="/user"><i class="icon icon-lg">person</i>&nbsp;Dashboard</a>
</li>
<li>
<a href="/user/logout"><i class="icon icon-lg">call_missed_outgoing</i>&nbsp;Sign out</a>
@ -75,10 +75,10 @@
<a href="/auth/login"><i class="icon icon-lg">vpn_key</i>&nbsp;Login</a>
</li>
<li>
<a href="/auth/register"><i class="icon icon-lg">person_add</i>&nbsp;registered</a>
<a href="/auth/register"><i class="icon icon-lg">person_add</i>&nbsp;Register</a>
</li>
<li>
<a href="/password/reset"><i class="icon icon-lg">security</i>&nbsp;reset Password</a>
<a href="/password/reset"><i class="icon icon-lg">security</i>&nbsp;Reset Password</a>
</li>
{/if}
</ul>

@ -24,7 +24,7 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>(*๓´╰╯`๓) (∩˙ϖ˙∩) (๑`^´๑) </p>
<p>Welcome! </p>
</div>
</div>
</div>
@ -35,14 +35,14 @@
<div class="card card-brand">
<div class="card-main">
<div class="card-inner">
<p class="card-heading">User panel</p>
<p class="card-heading">Dashboard</p>
<p>
您可以点击按钮进入面板。
Go to dashboard.
</p>
</div>
<div class="card-action">
<div class="card-action-btn pull-left">
<a class="btn btn-flat waves-attach waves-light waves-effect" href="/user"><span class="icon">airline_seat_recline_normal</span>&nbsp;进入</a>
<a class="btn btn-flat waves-attach waves-light waves-effect" href="/user"><span class="icon">airline_seat_recline_normal</span>&nbsp;Enter Dashboard</a>
</div>
</div>
</div>
@ -55,7 +55,7 @@
<div class="card-inner">
<p class="card-heading">Register</p>
<p>
Don't hava account? Maybe you can register one.
Don't have an account? Register here.
</p>
</div>
<div class="card-action">
@ -73,7 +73,7 @@
<div class="card-inner">
<p class="card-heading">Login</p>
<p>
Already have a account? click button to login.
Already have an account? Click below to login.
</p>
</div>
<div class="card-action">
@ -100,4 +100,4 @@
</main>
{include file='footer.tpl'}
{include file='footer.tpl'}

@ -23,7 +23,7 @@
<div class="form-group form-group-label">
<div class="row">
<div class="col-md-10 col-md-push-1">
<label class="floating-label" for="email">Mail</label>
<label class="floating-label" for="email">E-mail</label>
<input class="form-control" id="email" type="text">
</div>
</div>
@ -44,7 +44,7 @@
</div>
<div class="clearfix">
<p class="margin-no-top pull-left"><a class="btn btn-flat btn-brand waves-attach" href="/auth/login">Login</a></p>
<p class="margin-no-top pull-right"><a class="btn btn-flat btn-brand waves-attach" href="/auth/register">Register Account</a></p>
<p class="margin-no-top pull-right"><a class="btn btn-flat btn-brand waves-attach" href="/auth/register">Register</a></p>
</div>
@ -100,4 +100,4 @@
reset();
});
})
</script>
</script>

@ -12,7 +12,7 @@
<div class="card-main">
<div class="card-header">
<div class="card-inner">
<h1 class="card-heading">重置密码</h1>
<h1 class="card-heading">Reset Password</h1>
</div>
</div>
<div class="card-inner">
@ -27,7 +27,7 @@
<div class="form-group form-group-label">
<div class="row">
<div class="col-md-10 col-md-push-1">
<label class="floating-label" for="password">密码</label>
<label class="floating-label" for="password">Password</label>
<input class="form-control" id="password" type="text">
</div>
</div>
@ -36,7 +36,7 @@
<div class="form-group form-group-label">
<div class="row">
<div class="col-md-10 col-md-push-1">
<label class="floating-label" for="repasswd">重复密码</label>
<label class="floating-label" for="repasswd">Repeat password</label>
<input class="form-control" id="repasswd" type="text">
</div>
</div>
@ -45,7 +45,7 @@
<div class="form-group">
<div class="row">
<div class="col-md-10 col-md-push-1">
<button id="reset" type="submit" class="btn btn-block btn-brand waves-attach waves-light">重置密码</button>
<button id="reset" type="submit" class="btn btn-block btn-brand waves-attach waves-light">Reset password</button>
</div>
</div>
</div>
@ -56,8 +56,8 @@
</div>
</div>
<div class="clearfix">
<p class="margin-no-top pull-left"><a class="btn btn-flat btn-brand waves-attach" href="/auth/login">登录</a></p>
<p class="margin-no-top pull-right"><a class="btn btn-flat btn-brand waves-attach" href="/auth/register">注册个帐号</a></p>
<p class="margin-no-top pull-left"><a class="btn btn-flat btn-brand waves-attach" href="/auth/login">Login</a></p>
<p class="margin-no-top pull-right"><a class="btn btn-flat btn-brand waves-attach" href="/auth/register">Register</a></p>
</div>
@ -100,7 +100,7 @@
error:function(jqXHR){
$("#msg-error").hide(10);
$("#msg-error").show(100);
$("#msg-error-p").html("发生错误:"+jqXHR.status);
$("#msg-error-p").html("error:"+jqXHR.status);
// 在控制台输出错误信息
console.log(removeHTMLTag(jqXHR.responseText));
}

@ -1,9 +1,9 @@
<ul>
<li>Users need to provide a mailbox and password, and their own custody. Mailbox is the only credential for the user.</li>
<li>This site will be encrypted storage user password, as far as possible to ensure data security, but does not guarantee the absolute security of these information.</li>
<li>Prohibit the use of this site services for any illegal activities.</li>
<li>Use any node, subject to the laws of the country in which the node belongs, and Chinese law.</li>
<li>Prohibit the abuse of the services provided by this site。</li>
<li>For free user, we have the right to delete accounts without notice.</li>
<li>Any illegal use of the terms of the user, we will delete the illegal account and the right to use the site service.</li>
</ul>
<li>Users need to provide an email and password. The user has to protect this information himself. The e-mail address provided upon registration is currently the only way to login and is the only proof of purchase.</li>
<li>E-mails and passwords are encrypted and stored securely to a reasonable extent, and does not guarantee the absolute security of these information.</li>
<li>It is prohibitted to use this site and its services for any illegal activity.</li>
<li>Your usage of any server puts you under obligation to comply with the laws of the country where the server is located, as well as Chinese laws. </li>
<li>It is prohibited to abuse our services. This includes unreasonable use of bandwidth in a way that negatively impacts other users.</li>
<li>For free users, we have the right to delete accounts without notice.</li>
<li>Breaking any of these terms will lead to immidiate account termination without prior notice.</li>
</ul>

@ -11,7 +11,7 @@
<div class="container">
<div class="row">
<div class="col-lg-12 col-lg-push-0 col-sm-12 col-sm-push-0">
<h1 class="content-heading">STAFF</h1>
<h1 class="content-heading">License</h1>
</div>
</div>
</div>
@ -23,7 +23,7 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<h2 class="content-sub-heading">版权协议</h2>
<h2 class="content-sub-heading">License</h2>
<p>
<p>The MIT License (MIT)</p>

@ -11,7 +11,7 @@
<div class="container">
<div class="row">
<div class="col-lg-12 col-lg-push-0 col-sm-12 col-sm-push-0">
<h1 class="content-heading">TOS</h1>
<h1 class="content-heading">Terms of Service</h1>
</div>
</div>
</div>
@ -38,8 +38,8 @@
<p>
<ul>
<li>Users need to provide a mailbox and password, and their own custody. Mailbox is the only credential for the user.</li>
<li>This site will be encrypted storage user password, as far as possible to ensure data security, but does not guarantee the absolute security of these information.</li>
<li>Users need to provide an email and password. The user has to protect this information himself. The e-mail address provided upon registration is currently the only way to login and is the only proof of purchase.</li>
<li>E-mails and passwords are encrypted and stored securely to a reasonable extent, and does not guarantee the absolute security of these information.</li>
</ul>
</p>
</div>
@ -55,11 +55,11 @@
<p>
<ul>
<li>Prohibit the use of this site services for any illegal activities.</li>
<li>Use any node, subject to the laws of the country in which the node belongs, and Chinese law.</li>
<li>Prohibit the abuse of the services provided by this site.</li>
<li>It is prohibitted to use this site and its services for any illegal activity.</li>
<li>Your usage of any server puts you under obligation to comply with the laws of the country where the server is located, as well as Chinese laws. </li>
<li>It is prohibited to abuse our services. This includes unreasonable use of bandwidth in a way that negatively impacts other users.</li>
<li>For free users, we have the right to delete accounts without notice.</li>
<li>Any illegal use of the terms of the user, we will delete the illegal account and the right to use the site service.</li>
<li>Breaking any of these terms will lead to immidiate account termination without prior notice.</li>
</ul>
</p>
</div>
@ -76,8 +76,8 @@
<p>
<ul>
<li>This site is limited to human and cat registered use。</li>
<li>TOS update users need to comply with the latest TOS.</li>
<li>Only humans may register and use our services.</li>
<li>The terms of service are subject to change. It is your responibility to keep up to date with it. The latest terms take effect immidiately on all users.</li>
</ul>
</p>
</div>
@ -95,4 +95,4 @@
</main>
{include file='footer.tpl'}
{include file='footer.tpl'}

@ -31,13 +31,13 @@
{$shops->render()}
<table class="table ">
<tr>
<th>Operating</th>
<th>Action</th>
<th>ID</th>
<th>Product name</th>
<th>Content</th>
<th>What you get</th>
<th>Price</th>
<th>Date of Remewal</th>
<th>Restores traffic when renewing</th>
<th>Date of Renewal</th>
<th>Restores data when renewing</th>
</tr>
{foreach $shops as $shop}
@ -48,17 +48,17 @@
<td>#{$shop->id}</td>
<td>{$shop->shop()->name}</td>
<td>{$shop->shop()->content()}</td>
<td>{$shop->price} Yuan</td>
<td>{$shop->price} CNY</td>
{if $shop->renew==0}
<td>Not renewed automatically</td>
{else}
<td>在 {$shop->renew_date()} Renewal</td>
<td>Renews on {$shop->renew_date()}</td>
{/if}
{if $shop->shop()->auto_reset_bandwidth==0}
<td>Not reset automatically</td>
{else}
<td>Automatic reset</td>
<td>Automatically reset</td>
{/if}
</tr>
@ -132,7 +132,7 @@ $(document).ready(function(){
},
error:function(jqXHR){
$("#result").modal();
$("#msg").html(data.msg+" 发生错误了。");
$("#msg").html(data.msg+" Error。");
}
});
}

@ -18,27 +18,23 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">Recharge</h1>
<h1 class="content-heading">Recharge Options</h1>
<p>All your transactions will be made public on the <a href="/user/donate">【Donations】</a> page. If you do not want your purchases to be made public, please make them annonymous by chaning the settings on the the <a href="/user/donate">【Donations】</a>page。</p>
<h4 class="content-heading">Current account balance:{$user->money} CNY</h4>
</div>
</div>
<div class="container">
<section class="content-inner margin-top-no">
<div class="row">
<div class="col-lg-12 col-md-12">
<!-- <div class="card margin-bottom-no">
<div class="card margin-bottom-no">
<div class="card-main">
<div class="card-inner">
<div class="card-inner">
<p class="card-heading">Recharge code</p>
<p>Recharge step 1: sweep money transfer money to be charged and note the mailbox</p>
<p>Recharge step 2: the system will send a recharge code to your mailbox, please make sure the mailbox is available</p>
<p>Refill Step 3: Enter the recharge code to recharge successfully</p>
<p>If the mailbox is not received please submit<a href="/user/ticket" >Work order</a>Alipay transfer time and order number + amount</p>
<p>Current balance:{$user->money} Yuan</p>
<p class="card-heading">Recharge Code</p>
<p>Current balance:{$user->money} CNY</p>
<div class="form-group form-group-label">
<label class="floating-label" for="code">Recharge code</label>
<label class="floating-label" for="code">Recharge Code</label>
<input class="form-control" id="code" type="text">
</div>
</div>
@ -48,7 +44,7 @@
</div>
</div>
</div>
</div> -->
</div>
</div>
</div>
@ -80,8 +76,8 @@
<th>ID</th>
<th>Code</th>
<th>Type</th>
<th>Operate</th>
<th>Usage time</th>
<th>Action</th>
<th>Time of recharge</th>
</tr>
{foreach $codes as $code}
@ -90,28 +86,28 @@
<td>#{$code->id}</td>
<td>{$code->code}</td>
{if $code->type==-1}
<td>amount to recharge</td>
<td>Balance top-up</td>
{/if}
{if $code->type==10001}
<td>Traffic recharge</td>
<td>Data top-up</td>
{/if}
{if $code->type==10002}
<td>User renewal</td>
<td>Subsciption renewal</td>
{/if}
{if $code->type>=1&&$code->type<=10000}
<td>Level renewal - rank{$code->type}</td>
<td>User grade renewal - Grade{$code->type}</td>
{/if}
{if $code->type==-1}
<td>Recharge {$code->number} CNY</td>
<td>Recharged {$code->number} CNY</td>
{/if}
{if $code->type==10001}
<td>Recharge {$code->number} GB Flow</td>
<td>Recharged {$code->number} GB Data</td>
{/if}
{if $code->type==10002}
<td>Extended account validity period {$code->number} days</td>
<td>Renewed for {$code->number} Days</td>
{/if}
{if $code->type>=1&&$code->type<=10000}
<td>Extended grade validity period {$code->number} days</td>
<td>Renewed Grade for {$code->number} Days</td>
{/if}
<td>{$code->usedatetime}</td>
</tr>
@ -128,6 +124,41 @@
</div>
</div>
<div aria-hidden="true" class="modal modal-va-middle fade" id="readytopay" role="dialog" tabindex="-1">
<div class="modal-dialog modal-xs">
<div class="modal-content">
<div class="modal-heading">
<a class="modal-close" data-dismiss="modal">×</a>
<h2 class="modal-title">Connecting to Alipay...</h2>
</div>
<div class="modal-inner">
<p id="title">Processing...</p>
</div>
</div>
</div>
</div>
<div aria-hidden="true" class="modal modal-va-middle fade" id="alipay" role="dialog" tabindex="-1">
<div class="modal-dialog modal-xs">
<div class="modal-content">
<div class="modal-heading">
<a class="modal-close" data-dismiss="modal">×</a>
<h2 class="modal-title">Please scan with Alipay to recharge:</h2>
</div>
<div class="modal-inner">
<p id="title">If you are using your phone, simply tap on the QR code and you will be redirected to the payment page</p>
<p id="divide">-------------------------------------------------------------</p>
<p id="qrcode"></p>
<p id="info"></p>
</div>
<div class="modal-footer">
<p class="text-right"><button class="btn btn-flat btn-brand waves-attach" data-dismiss="modal" id="alipay_cancel" type="button">Cancel</button></p>
</div>
</div>
</div>
</div>
{include file='dialog.tpl'}
</div>
</section>
@ -144,6 +175,7 @@
<script>
$(document).ready(function () {
$("#code-update").click(function () {
$.ajax({
@ -166,11 +198,73 @@
},
error: function (jqXHR) {
$("#result").modal();
$("#msg").html("unknown error: " + jqXHR.status + ", Please refresh the page to see if the balance is correct");
$("#msg").html("Error:" + jqXHR.status);
}
})
})
$("#urlChange").click(function () {
$.ajax({
type: "GET",
url: "code/f2fpay",
dataType: "json",
data: {
time: timestamp
},
success: function (data) {
if (data.ret) {
$("#readytopay").modal();
}
}
})
});
$("#alipay").click(function () {
$.ajax({
type: "GET",
url: "code/pay91",
dataType: "json",
data: {
time: timestamp
},
success: function (data) {
if (data.ret) {
$("#readytopay").modal();
}
}
})
});
$("#readytopay").on('shown.bs.modal', function () {
$.ajax({
type: "POST",
url: "code/f2fpay",
dataType: "json",
data: {
amount: $("#type").find("option:selected").val()
},
success: function (data) {
$("#readytopay").modal('hide');
if (data.ret) {
$("#qrcode").html(data.qrcode);
$("#info").html("Your recharge ammount:"+data.amount+" CNY。");
$("#alipay").modal();
} else {
$("#result").modal();
$("#msg").html(data.msg);
}
},
error: function (jqXHR) {
$("#readytopay").modal('hide');
$("#result").modal();
$("#msg").html(data.msg+" error");
}
})
});
timestamp = {time()};
@ -186,8 +280,9 @@
success: function (data) {
if (data.ret) {
clearTimeout(tid);
$("#alipay").modal('hide');
$("#result").modal();
$("#msg").html("Recharge success!");
$("#msg").html("SUCCESS!");
window.setTimeout("location.href=window.location.href", {$config['jump_delay']});
}
}

@ -12,7 +12,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">审计规则公示</h1>
<h1 class="content-heading">Traffic Filtering Rules</h1>
</div>
</div>
<div class="container">
@ -22,8 +22,9 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>为了爱与和平,也同时为了系统的正常运行,特制定了如下过滤规则,当您使用节点执行这些动作时,您的通信就会被截断。</p>
<p>关于隐私:注意,我们仅用以下规则进行实时匹配和记录匹配到的规则,您的通信方向和通信内容我们不会做任何记录,请您放心。也请您理解我们对于这些不当行为的管理,谢谢。</p>
<p>To ensure the continued availability of our services, we have set up these traffic filtering rules. Whenever a user triggers one of these rules, their connection will be cut.</p>
<p>Privacy: We only check for the below traffic types. We do not in any way log your connection details, the websites you visit, or any other internet traffic information. Thank you for your understanding.</p>
</div>
</div>
</div>
@ -33,10 +34,10 @@
<table class="table">
<tr>
<th>ID</th>
<th>名称</th>
<th>描述</th>
<th>正则表达式</th>
<th>类型</th>
<th>Name</th>
<th>Description</th>
<th>Rules</th>
<th>Type</th>
</tr>
{foreach $rules as $rule}
@ -46,10 +47,10 @@
<td>{$rule->text}</td>
<td>{$rule->regex}</td>
{if $rule->type == 1}
<td>数据包明文匹配</td>
<td>Matching by data in plain text</td>
{/if}
{if $rule->type == 2}
<td>数据包 hex 匹配</td>
<td>Matching by hex code</td>
{/if}
</tr>
{/foreach}

@ -12,7 +12,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">审计记录查看</h1>
<h1 class="content-heading">Filtering Logs</h1>
</div>
</div>
<div class="container">
@ -22,8 +22,8 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>系统中所有审计记录。</p>
<p>关于隐私:注意,我们仅用以下规则进行实时匹配和记录匹配到的规则,您的通信方向和通信内容我们不会做任何记录,请您放心。也请您理解我们对于这些不当行为的管理,谢谢。</p>
<p>All logs</p>
<p>Privacy: We only check for the below traffic types. We do not in any way log your connection details, the websites you visit, or any other internet traffic information. Thank you for your understanding.</p>
</div>
</div>
</div>
@ -33,14 +33,14 @@
<table class="table">
<tr>
<th>ID</th>
<th>节点ID</th>
<th>节点名称</th>
<th>规则ID</th>
<th>名称</th>
<th>描述</th>
<th>正则表达式</th>
<th>类型</th>
<th>时间</th>
<th>Server ID</th>
<th>Server Name</th>
<th>Rule ID</th>
<th>Name</th>
<th>Description</th>
<th>Rules</th>
<th>Type</th>
<th>Time</th>
</tr>
{foreach $logs as $log}
@ -54,10 +54,10 @@
<td>{$log->DetectRule()->text}</td>
<td>{$log->DetectRule()->regex}</td>
{if $log->DetectRule()->type == 1}
<td>数据包明文匹配</td>
<td>Matching by data in plain text</td>
{/if}
{if $log->DetectRule()->type == 2}
<td>数据包 hex 匹配</td>
<td>Matching by hex code</td>
{/if}
<td>{date('Y-m-d H:i:s',$log->datetime)}</td>
</tr>

@ -18,7 +18,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">Donate</h1>
<h1 class="content-heading">Donations</h1>
</div>
</div>
<div class="container">
@ -30,7 +30,7 @@
<div class="card margin-bottom-no">
<div class="card-main">
<div class="card-inner">
<p>Thank you for donating to support the daily expenses of the server! You can also recharge your account <a href="/user/code">here</a>, which is equivalent to donating.</p>
<p>Thank you for donating to support the daily expenses of the servers! You can also recharge your account <a href="/user/code">here</a>, which is equivalent to donating.</p>
{if $user->isAdmin()}
<p>Total donated so far: {$total_in} CNY </p>
{/if}
@ -80,9 +80,9 @@
<th>ID</th>
<th>Username</th>
<th>Type</th>
<th>Operate</th>
<th>Action</th>
<th>Code</th>
<th>Time</th>
<th>Date</th>
</tr>
{foreach $codes as $code}
@ -91,19 +91,19 @@
{if $code->user() != null && $code->user()->is_hide == 0}
<td>{$code->user()->user_name}</td>
{else}
<td>User is anonymous or written off</td>
<td>anonymous</td>
{/if}
{if $code->type == -1}
<td>Recharge donations</td>
<td>Recharge Account</td>
{/if}
{if $code->type == -2}
<td>Financial expenditure</td>
<td>Donations</td>
{/if}
{if $code->type == -1}
<td>Recharge {$code->number} CNY</td>
<td>Recharged {$code->number} CNY</td>
{/if}
{if $code->type == -2}
<td>Expenditure {$code->number} CNY</td>
<td>Total donated {$code->number} CNY</td>
{/if}
<td>{$code->code}</td>
<td>{$code->usedatetime}</td>

@ -12,7 +12,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">Edit your account details</h1>
<h1 class="content-heading">Edit account details</h1>
</div>
</div>
<div class="container">
@ -76,8 +76,8 @@
<div class="card-inner">
<div class="card-inner">
<p class="card-heading">Change encryption type</p>
<p>Note: Some encryption types may not be supported by both Shadowsocks and ShadowsocksR.</p>
<p>Current encryption:{$user->method}</p>
<p>Note: Not all encryption types work with both Shadowsocks and ShadowsocksR.</p>
<p>Current encryption: {$user->method}</p>
<div class="form-group form-group-label">
<label class="floating-label" for="method">Encryption</label>
<select id="method" class="form-control">
@ -122,7 +122,7 @@
{$user->im_value}</p>
<div class="form-group form-group-label">
<label class="floating-label" for="imtype">Choose the way of contacting you</label>
<label class="floating-label" for="imtype">How may we reach you?</label>
<select class="form-control" id="imtype">
<option></option>
<option value="1">Wechat</option>
@ -133,7 +133,7 @@
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="wechat">Enter your contact number here</label>
<label class="floating-label" for="wechat">Enter your contact here</label>
<input class="form-control" id="wechat" type="text">
</div>
@ -155,8 +155,8 @@
<div class="card-inner">
<p class="card-heading">Protocol & Obfuscation</p>
<p>Current protocol:{$user->protocol}</p>
<p>Note 1: If you need the protocol to be compatible with the original version of Shadowsocks, Please only choose _compatible options!</p>
<p>Note 2: If you only use the original Shadowsocks client here please set it directly as origin!</p>
<p>Note 1: If you need the protocol to be compatible with the original version of Shadowsocks, Please only choose _compatible options.</p>
<p>Note 2: If you only use the original Shadowsocks client here please set it directly as origin.</p>
<div class="form-group form-group-label">
<label class="floating-label" for="protocol">Protocol</label>
<select id="protocol" class="form-control">
@ -170,9 +170,9 @@
</div>
<div class="card-inner">
<p>Current obfuscation:{$user->obfs}</p>
<p>Note 1: If you need it to be compatible with the original version of Shadowsocks, Please onky choose _compatible options!</p>
<p>Note 2: SS and SSR support different obfuscation types, simple_obfs_ * types will only work with the original version of Shadowsocks, the rest will only work on ShadowsocksR!</p>
<p>Current obfuscation: {$user->obfs}</p>
<p>Note 1: If you need it to be compatible with the original version of Shadowsocks, Please only choose _compatible options.</p>
<p>Note 2: SS and SSR support different obfuscation types, simple_obfs_ * types will only work with the original version of Shadowsocks, while the rest will only work on ShadowsocksR.</p>
<div class="form-group form-group-label">
<label class="floating-label" for="obfs">Obfuscation type</label>
<select id="obfs" class="form-control">
@ -203,7 +203,7 @@
<div class="card-main">
<div class="card-inner">
<div class="card-inner">
<p class="card-heading">Change the website Theme</p>
<p class="card-heading">Change website language/look</p>
<p>Current theme:{$user->theme}</p>
<div class="form-group form-group-label">
<label class="floating-label" for="theme">Theme</label>
@ -239,7 +239,7 @@
</div>
<div class="card-action">
<div class="card-action-btn pull-left">
<button class="btn btn-flat waves-attach" id="unblock" ><span class="icon">check</span>&nbsp;Unlocked</button>
<button class="btn btn-flat waves-attach" id="unblock" ><span class="icon">check</span>&nbsp;Unblock this IP</button>
</div>
</div>
</div>
@ -274,22 +274,22 @@
<!-- <div class="card margin-bottom-no">
<div class="card margin-bottom-no">
<div class="card-main">
<div class="card-inner">
<div class="card-inner">
<p class="card-heading">两步验证</p>
<p>请下载 Google 的两步验证器,扫描下面的二维码。</p>
<p class="card-heading">Two-step Verification</p>
<p>Please download Goodle's two step verification engine, and scan the qr code below.</p>
<p><i class="icon icon-lg" aria-hidden="true">android</i><a href="https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2">&nbsp;Android</a></p>
<p><i class="icon icon-lg" aria-hidden="true">tablet_mac</i><a href="https://itunes.apple.com/cn/app/google-authenticator/id388497605?mt=8">&nbsp;iOS</a></p>
<p>在没有测试完成绑定成功之前请不要启用。</p>
<p>当前设置:{if $user->ga_enable==1} 登录时要求验证 {else} 不要求 {/if}</p>
<p>当前服务器时间:{date("Y-m-d H:i:s")}</p>
<p>If you haven't completed the two step verificatoin procedure, please do not enable.</p>
<p>Current settings:{if $user->ga_enable==1} enabled {else} disabled {/if}</p>
<p>Current time:{date("Y-m-d H:i:s")}</p>
<div class="form-group form-group-label">
<label class="floating-label" for="ga-enable">验证设置</label>
<label class="floating-label" for="ga-enable">Enable/disable</label>
<select id="ga-enable" class="form-control">
<option value="0">不要求</option>
<option value="1">要求验证</option>
<option value="0">Disable</option>
<option value="1">Enable</option>
</select>
</div>
@ -297,39 +297,38 @@
<div class="form-group form-group-label">
<div class="text-center">
<div id="ga-qr"></div>
密钥:{$user->ga_token}
Verification Token:{$user->ga_token}
</div>
</div>
<div class="form-group form-group-label">
<label class="floating-label" for="code">测试一下</label>
<input type="text" id="code" placeholder="输入验证器生成的数字来测试" class="form-control">
<label class="floating-label" for="code">Test</label>
<input type="text" id="code" placeholder="Input the code here" class="form-control">
</div>
</div>
<div class="card-action">
<div class="card-action-btn pull-left">
<a class="btn btn-brand-accent btn-flat waves-attach" href="/user/gareset" ><span class="icon">format_color_reset</span>&nbsp;重置</a>
<button class="btn btn-flat waves-attach" id="ga-test" ><span class="icon">extension</span>&nbsp;测试</button>
<button class="btn btn-brand btn-flat waves-attach" id="ga-set" ><span class="icon">perm_data_setting</span>&nbsp;设置</button>
<a class="btn btn-brand-accent btn-flat waves-attach" href="/user/gareset" ><span class="icon">format_color_reset</span>&nbsp;Reset</a>
<button class="btn btn-flat waves-attach" id="ga-test" ><span class="icon">extension</span>&nbsp;Test</button>
<button class="btn btn-brand btn-flat waves-attach" id="ga-set" ><span class="icon">perm_data_setting</span>&nbsp;Setup</button>
</div>
</div>
</div>
</div>
</div> -->
</div>
<div class="card margin-bottom-no">
<div class="card-main">
<div class="card-inner">
<div class="card-inner">
<p class="card-heading">Change Connection Port</p>
<div class="card-inner">Change Server Port</p>
<p>Current port:{$user->port}</p>
</div>
<div class="card-action">
<div class="card-action-btn pull-left">
<button class="btn btn-flat waves-attach" id="portreset" ><span class="icon">check</span>&nbsp;Change port</button>
<button class="btn btn-flat waves-attach" id="portreset" ><span class="icon">check</span>&nbsp;Change port (random)</button>
</div>
</div>
</div>
@ -342,10 +341,10 @@
<div class="card-inner">
<p class="card-heading">Customize ACL / PAC / Surge</p>
<p>You can add Gfwlist rules here. PLEASE DO NOT EDIT THIS IF YOU DO NOT KNOW WHAT IT DOES!</p>
<p>Format see <a href="https://adblockplus.org/zh_CN/filters">https://adblockplus.org/zh_CN/filters</a></p>
<p>IP segment Please use | 127.0.0.0/8 format</p>
<p>For the format see <a href="https://adblockplus.org/zh_CN/filters">https://adblockplus.org/zh_CN/filters</a></p>
<p>IP segment please use | 127.0.0.0/8 format</p>
<div class="form-group form-group-label">
<label class="floating-label" for="pac">Additional rulea</label>
<label class="floating-label" for="pac">Additional rules</label>
<textarea class="form-control" id="pac" rows="8">{$user->pac}</textarea>
</div>

@ -37,8 +37,8 @@
<div class="card">
<div class="card-main">
<div class="card-inner margin-bottom-no">
<p class="card-heading">Download and Configurations Center</p>
<p>You can view your Shadowsocks connection details here.<br>You will also find the setup instructions for all common OS, as well as the downloadable app files.</p>
<p class="card-heading">Shadowsocks Setup</p>
<p>You can view your connection details here.<br>You will also find the setup instructions for all common OS, as well as the downloadable app files.</p>
<nav class="tab-nav margin-top-no">
<ul class="nav nav-list">
<li {if $ssr_prefer}class="active"{/if}>
@ -57,7 +57,7 @@
<nav class="tab-nav margin-top-no">
<ul class="nav nav-list">
<li class="active">
<a class="waves-attach" data-toggle="tab" href="#all_ssr_info"><i class="icon icon-lg">info_outline</i>&nbsp;Connection information</a>
<a class="waves-attach" data-toggle="tab" href="#all_ssr_info"><i class="icon icon-lg">info_outline</i>&nbsp;Connection details</a>
</li>
<li>
<a class="waves-attach" data-toggle="tab" href="#all_ssr_windows"><i class="icon icon-lg">desktop_windows</i>&nbsp;Windows</a>
@ -98,19 +98,19 @@
<dd>{$user->obfs}</dd></p>
</dl>
{else}
<p>Your current encryption type, obfuscation type, or protocol will not work with the ShadowsocksR client. Please use the Shadowsocks client to connect, or to the edit details page to change them to compatible types before coming back here.</p>
<p>Your current encryption type, obfuscation type, or protocol will not work with the ShadowsocksR client. Please use the Shadowsocks client to connect, or go to the "edit my account" page to change them to compatible types before coming back here.</p>
<p>If you are using the ShadowsocksR single-port multi-user connection type, then it will not be affected by your settings, and you can use the corresponding client to connect without problem~</p>
<p>If you are using the ShadowsocksR single-port multi-user connection type, then you can skip this message.</p>
<p>In addition, please note that your current SSR subscription link has expired in the current state and you can not import the server details using the link until you change the settings to a mode compatible with SSR.</p>
<p>Please note that your current SSR subscription link has expired in the current state. You can not import the server details using this link until you change the settings to a mode compatible with SSR.</p>
{/if}
</div>
<div class="tab-pane fade" id="all_ssr_windows">
<p><a href="/ssr-download/ssr-win.7z">Download</a>,then unzip the file. Next, run the program. You now have three ways to import all servers.<br>
(1)Download <a href="/user/getpcconf?is_mu=0&is_ss=0">This (ordinary port)</a> or <a href="/user/getpcconf?is_mu=1&is_ss=0">This (single-port multi-user)</a>, then right-click on the small paper airplane icon on the bottom right corner of your screen. Select "import from configuration file" and select this file,<br>
(2)Click on <a class="copy-text" data-clipboard-text="{$ssr_url_all}">This (ordinary port)</a> or <a class="copy-text" data-clipboard-text="{$ssr_url_all}">This (single-port multi-user)</a>. Then right-click the paper airplane icon. Select "import from clipboard"<br>
(3)(Recommended) Right-click the paper airplane icon. Go to server -> SSR Server Subscription Settings. Set the subscription address to the following address, leave the other parameters blank, and then refresh the SSR server subscription.<br>
Once you have entered all the servers, select a suitable server, set proxy rules to "bypass LAN and mainland", and you will be connected.</p>
<p><a href="/ssr-download/ssr-win.7z">Download</a> and unzip the file. Double-click on the ShadowsocksR file to start the app. You now have three ways to import the servers:<br>
(1) Depending on your setup, download <a href="/user/getpcconf?is_mu=0&is_ss=0"> this file (default)</a> or <a href="/user/getpcconf?is_mu=1&is_ss=0">this file (single-port multi-user)</a>. Right-click on the small paper airplane icon on the bottom right corner of your screen. Go to servers -> "import servers from file" and select this file.<br>
(2) Click on <a class="copy-text" data-clipboard-text="{$ssr_url_all}">this link (default)</a> or <a class="copy-text" data-clipboard-text="{$ssr_url_all}">this link (single-port multi-user)</a>. Right-click the paper airplane icon. Select "import SSR links from clipboard"<br>
(3) (Recommended) Right-click the paper airplane icon. Go to servers subscribe -> Subscribe Settings. Set the subscription address to the following address, leave the other parameters blank, and then refresh the SSR server subscription.<br>
Once you have entered all the servers, select a suitable server, set Mode to "Global", and you will be connected.</p>
<p>SSR Subscription address:<br>
Ordinary port address:<code>{$baseUrl}/link/{$ssr_sub_token}?mu=0</code><br>
@ -118,19 +118,22 @@
</p>
</div>
<div class="tab-pane fade" id="all_ssr_mac">
<p><a href="/ssr-download/ssr-mac.dmg">Download</a>, install, and then download <a href="/user/getpcconf?is_mu=0&is_ss=0">This (ordinary port)</a> or <a href="/user/getpcconf?is_mu=1&is_ss=0">This (single-port multi-user)</a>. Then run the program, find the small paper airplane icon on the top right of the screen, open the server list submenu and find the button that says "import server configuration file ...". Click on it and import this file, and then select a suitable server, update the PAC, and then use your favorite browser to surf the net.</p>
<p><a href="/ssr-download/ssr-mac.dmg">Download</a>, install, and then download <a href="/user/getpcconf?is_mu=0&is_ss=0">this (default)</a> or <a href="/user/getpcconf?is_mu=1&is_ss=0">this (single-port multi-user)</a>. Run the vpn software. You should see a small paper airplane icon on the top right of your screen. Right-click it, and go to servers -> "import bunch JSON file".</p>
<p>If that doesnt work, you can go to the server list to find the qr codes and scan them in by going to servers -> "scan QR code from screen"</p>
</div>
<div class="tab-pane fade" id="all_ssr_ios">
<p>We recommend you download <a href="https://itunes.apple.com/cn/app/shadowrocket/id932747118?mt=8">Shadowrocket</a>. It is third party and costs an additional $3 if you want to purchase it for yourself. If not, we have already purchased it on the US APP STORE with the Apple ID:<code>shz7348@icloud.com</code> and password <code>Qq654321.</code>Pay attention to special symbols and case, login to the store account to download and install, and then open in Safari <a href="{$ssr_url_all}">This (ordinary port)</a> or <a href="{$ssr_url_all_mu}">This (single-port multi-user)</a>, then click OK, and you will be able to add servers in bulk.</p>
<p>We recommend you download <a href="https://itunes.apple.com/cn/app/shadowrocket/id932747118?mt=8">Shadowrocket</a>. It is third party and costs an additional $3 if you want to purchase it for yourself. If not, we have already purchased it on the US APP STORE with the Apple ID:<code>shz7348@icloud.com</code> and password <code>Qq654321.</code>Pay attention to special symbols and case, login to the store account to download and install, and then open in Safari <a href="{$ssr_url_all}">this link (default)</a> or <a href="{$ssr_url_all_mu}">this link (single-port multi-user)</a>. Click OK to add all the servers.</p>
<p>If it doesn't automatically open in Shadowrocket, you may need to open the app yourself. A popup should come up asking you whether you want to import the server or not. Click OK. </p>
<p>You can also copy the link below to add the servers in automatically. Simlpy copy the link, go to shadowrocket, click on the + button, and select "subscribe" as the type instead of shadowsocks. Then paste the link in the url section and click "Done".</p>
<p>SSR Subscription address:<br>
Normal port and address:<code>{$baseUrl}/link/{$ssr_sub_token}?mu=0</code><br>
Single port multiuser port address:<code>{$baseUrl}/link/{$ssr_sub_token}?mu=1</code>
</p>
</div>
<div class="tab-pane fade" id="all_ssr_android">
<p><a href="/ssr-download/ssr-android.apk">Download</a>, install, and then open your default browser and click on <a href="{$ssr_url_all}">This link (Ordinary port)</a> or <a href="{$ssr_url_all_mu}">This link (single port multiuser)</a>. Afterward, click OK, batch add servers, and then select the server you want, and connect by clicking the paper airplane icon.</p>
<p>SSR Subscription address: You can add a server subscription list to automatically update the servers:<br>
Ordinary port address:<code>{$baseUrl}/link/{$ssr_sub_token}?mu=0</code><br>
<p><a href="/ssr-download/ssr-android.apk">Download</a>, install, and then open your default browser and click on <a href="{$ssr_url_all}">this link (default)</a> or <a href="{$ssr_url_all_mu}">this link (single port multiuser)</a>. Afterward, click OK to add the servers. Select the server you want, and connect by clicking the paper airplane icon.</p>
<p>SSR Subscription address: You can add a server subscription link to automatically update the servers:<br>
Normal port and address:<code>{$baseUrl}/link/{$ssr_sub_token}?mu=0</code><br>
Single port multiuser port address:<code>{$baseUrl}/link/{$ssr_sub_token}?mu=1</code>
</p>
</div>
@ -147,7 +150,7 @@
<nav class="tab-nav margin-top-no">
<ul class="nav nav-list">
<li class="active">
<a class="waves-attach" data-toggle="tab" href="#all_ss_info"><i class="icon icon-lg">info_outline</i>&nbsp;Connection information</a>
<a class="waves-attach" data-toggle="tab" href="#all_ss_info"><i class="icon icon-lg">info_outline</i>&nbsp;Connection details</a>
</li>
<li>
<a class="waves-attach" data-toggle="tab" href="#all_ss_windows"><i class="icon icon-lg">desktop_windows</i>&nbsp;Windows</a>
@ -190,24 +193,24 @@
<dd>{$user->obfs}</dd></p>
</dl>
{else}
<p>Your current encryption type, obfuscation type, or protocol will not work with the Shadowsocks client. Please use the ShadowsocksR client to connect, or to the edit details page to change them to compatible types before coming back here.</p>
<p>Your current encryption type, obfuscation type, or protocol will not work with the Shadowsocks client. Please use the ShadowsocksR client to connect, or to the "edit my account" page to change them to compatible types before coming back here.</p>
<p>If you are using the Shadowsocks single-port multi-user connection type, then it will not be affected by your settings, and you can use the corresponding client to connect without problem ~</p>
{/if}
</div>
<div class="tab-pane fade" id="all_ss_windows">
<p><a href="/ssr-download/ss-win.zip">Download</a>, extract, and run the program. You have two ways to import all nodes:<br>
(1)Downloa <a href="/user/getpcconf?is_mu=0&is_ss=1">This (ordinary port) </a>, and place it in the same directory of the app you just downloaded. Open the app.<br>
(2)Click<a class="copy-text" data-clipboard-text="{$ss_url_all_win}"> Here (ordinary port)</a>, then right click on the small paper airplane icon and click on "import the URL from the clipboard".<br>
(1)Download <a href="/user/getpcconf?is_mu=0&is_ss=1">this (default) </a>, and place it in the same directory of the app you just downloaded. Open the app.<br>
(2)Click<a class="copy-text" data-clipboard-text="{$ss_url_all_win}"> here (default)</a>, then right click on the small paper airplane icon and click on "import URL from clipboard".<br>
</div>
<div class="tab-pane fade" id="all_ss_mac">
<p><a href="/ssr-download/ss-mac.zip">Download</a>, Install, and then download<a href="/user/getpcconf?is_mu=0&is_ss=1"> This (ordinary port)</a>or <a href="/user/getpcconf?is_mu=1&is_ss=1">This (single-port multi-user)</a>. Run the program, then right click on the small paper airplane icon on the right. Select from the server list submenu "import server configuration file ...". Import this file, and then select a suitable server, and update the PAC.</p>
<p><a href="/ssr-download/ss-mac.zip">Download</a>, Install, and then download<a href="/user/getpcconf?is_mu=0&is_ss=1"> this (default)</a>or <a href="/user/getpcconf?is_mu=1&is_ss=1">this (single-port multi-user)</a>. Run the program, then right click on the small paper airplane icon on the bottom right. Select from the server list submenu "import server configuration file ...". Import this file, and then select a suitable server to connect.</p>
</div>
<div class="tab-pane fade" id="all_ss_ios">
<p>We recommend you download <a href="https://itunes.apple.com/cn/app/shadowrocket/id932747118?mt=8">Shadowrocket</a>. It is a third party app that costs an additional $3. If you don't want to purchase it for yourself, we have purchased this software from the US store. You can login using this Apple ID:<code>shz7348@icloud.com</code> and password <code>Qq654321.</code> Pay attention to special symbols and case, login to download and install, and then open this page in Safari and open <a href="{$ss_url_all}">This (ordinary port)</a>or<a href="{$ss_url_all_mu}"> This (single-port multi-user)</a>, And then click OK, you can add nodes in bulk.</p>
<p>iOS download <a href="/link/{$ios_token}?is_ss=1">This (ordinary port)</a>or <a href="/link/{$ios_token}?is_ss=1&is_mu=1">This (single-port multi-user)</a>. Paste it into the app, and all the servers will be automatically added.</p>
<p>We recommend you download <a href="https://itunes.apple.com/cn/app/shadowrocket/id932747118?mt=8">Shadowrocket</a>. It is a third party app that costs an additional $3. If you don't want to purchase it for yourself, we have purchased this software from the US store. You can login using this Apple ID:<code>shz7348@icloud.com</code> and password <code>Qq654321.</code> Pay attention to special symbols and case, login to download and install, and then open this page in Safari and open <a href="{$ss_url_all}">this (default)</a>or<a href="{$ss_url_all_mu}"> this (single-port multi-user)</a>. Click OK to add all the servers.</p>
<p>iOS download <a href="/link/{$ios_token}?is_ss=1">this (default)</a>or <a href="/link/{$ios_token}?is_ss=1&is_mu=1">this (single-port multi-user)</a>. Paste it into the app, and all the servers will be automatically added.</p>
</div>
<div class="tab-pane fade" id="all_ss_android">
<p>Download <a href="/ssr-download/ss-android.apk">the basic version</a> or <a href="/ssr-download/ss-android-obfs.apk">the one with obfuscation</a>. Install, and then click on <a class="copy-text" data-clipboard-text="{$ss_url_all}">this link (normal port)</a> or <a class="copy-text" data-clipboard-text="{$ss_url_all_mu}">This link (single port multi-user port)</a>Copy to the clipboard, then open the Shadowsocks client, select from "import from clipboard" from the top menu to import all the servers. Finally, select a server and click on the paper airplane icon to connect.</p>
<p>Download <a href="/ssr-download/ss-android.apk">the basic version</a> or <a href="/ssr-download/ss-android-obfs.apk">the one with obfuscation</a>. Install, and then click on <a class="copy-text" data-clipboard-text="{$ss_url_all}">this link (default)</a> or <a class="copy-text" data-clipboard-text="{$ss_url_all_mu}">this link (single port multi-user port)</a>. Copy to the clipboard, then open the Shadowsocks app, select from "import from clipboard" from the top menu to import all the servers. Finally, select a server and click on the paper airplane icon to connect.</p>
</div>
<div class="tab-pane fade" id="all_ss_router">
<p>Flash the router with <a href="http://www.right.com.cn/forum/thread-161324-1-1.html">This firmware</a>, Then SSH login router, execute the following command (import ordinary port)<br>
@ -252,6 +255,16 @@
<dd>{$user->node_speedlimit}Mbps</dd>
{else}
<dd>Not limited</dd>
{/if}</p>
<p><dt>Connected devices</dt>
<dd>{$user->online_ip_count()}</dd></p>
<p><dt>Limit on number of simultaneous connections</dt>
{if $user->node_connector!=0}
<dd>{$user->node_connector}</dd>
{else}
<dd>No limit</dd>
{/if}</p>
<p><dt>Last connected</dt>
@ -301,7 +314,7 @@
y: {($user->u+$user->d-$user->last_day_t)/$user->transfer_enable*100}, legendText:"Today {number_format(($user->u+$user->d-$user->last_day_t)/$user->transfer_enable*100,2)}% {$user->TodayusedTraffic()}", indexLabel: "Today {number_format(($user->u+$user->d-$user->last_day_t)/$user->transfer_enable*100,2)}% {$user->TodayusedTraffic()}"
},
{
y: {($user->transfer_enable-($user->u+$user->d))/$user->transfer_enable*100}, legendText:"Margin {number_format(($user->transfer_enable-($user->u+$user->d))/$user->transfer_enable*100,2)}% {$user->unusedTraffic()}", indexLabel: "Left {number_format(($user->transfer_enable-($user->u+$user->d))/$user->transfer_enable*100,2)}% {$user->unusedTraffic()}"
y: {($user->transfer_enable-($user->u+$user->d))/$user->transfer_enable*100}, legendText:"Left {number_format(($user->transfer_enable-($user->u+$user->d))/$user->transfer_enable*100,2)}% {$user->unusedTraffic()}", indexLabel: "Left {number_format(($user->transfer_enable-($user->u+$user->d))/$user->transfer_enable*100,2)}% {$user->unusedTraffic()}"
}
{/if}
]
@ -327,7 +340,7 @@
<p>Each time you check in, you can get {$config['checkinMin']}~{$config['checkinMax']}MB Data.</p>
<p>You can only check in once every day. You can click the button below or shake the phone to check in.</p>
<p>You can only check in once each day. You can click the button below or shake the phone to check in.</p>
<p>Last check-in :<code>{$user->lastCheckInTime()}</code></p>

@ -25,7 +25,7 @@
<main class="content">
<div class="content-header ui-content-header">
<div class="container">
<h1 class="content-heading">邀请</h1>
<h1 class="content-heading">Invitation Codes</h1>
</div>
</div>
<div class="container">
@ -37,11 +37,11 @@
<div class="card-main">
<div class="card-inner">
<div class="card-inner">
<p class="card-heading">注意!</p>
<p class="card-heading">Important!</p>
<p>邀请码请给认识的需要的人。</p>
<p>Please only share these invitation codes to those whom you personally know and who actually need this kind of service.</p>
<p>邀请有记录,若被邀请的人违反用户协议,您将会有连带责任。</p>
<p>We keep track of these invitation codes. If those you invite break our Terms of Service, you will also be held responsible. </p>
</div>
</div>
@ -54,13 +54,13 @@
<div class="card-main">
<div class="card-inner">
<div class="card-inner">
<p class="card-heading">说明</p>
<p class="card-heading">Note:</p>
<p>邀请码暂时无法购买,请珍惜。</p>
<p>It is currently impossible to get additional invitation codes. Please be selective in handing them out.</p>
<p>公共页面不定期发放邀请码,如果用完邀请码可以关注公共邀请。</p>
<p>We may occasionally add new publicly-available invitation codes. If you have used up your invitation codes and still have friends who want to join, please have a look there as well. </p>
<p>您每拉一位用户注册,当 TA 充值时您就会获得 TA 充值金额的 <code>{$config["code_payback"]} %</code> 的提成。</p>
<p>Each time someone you invited recharges their account, you will get <code>{$config["code_payback"]} %</code> of the amount as a reward.</p>
</div>
</div>
@ -73,14 +73,14 @@
<div class="card-main">
<div class="card-inner">
<div class="card-inner">
<p class="card-heading">邀请</p>
<p>当前您可以生成<code>{$user->invite_num}</code>个邀请码。 </p>
<p class="card-heading">Invitation Codes</p>
<p>You can still generate<code>{$user->invite_num}</code> invitation codes </p>
</div>
{if $user->invite_num }
<div class="card-action">
<div class="card-action-btn pull-left">
<button id="invite" class="btn btn-flat waves-attach">生成我的邀请码</button>
<button id="invite" class="btn btn-flat waves-attach">Generate my invitation codes</button>
</div>
</div>
@ -103,8 +103,8 @@
<thead>
<tr>
<th>###</th>
<th>邀请码(点右键复制链接)</th>
<th>状态</th>
<th>Code: (right-click to copy to clipboard)</th>
<th>Status</th>
</tr>
</thead>
<tbody>
@ -113,7 +113,7 @@
<td><b>{$code->id}</b></td>
<td><a href="/auth/register?code={$code->code}" target="_blank">{$code->code}</a>
</td>
<td>可用</td>
<td>Usable</td>
</tr>
{/foreach}
</tbody>
@ -156,7 +156,7 @@
},
error: function (jqXHR) {
$("#result").modal();
$("#msg").html("发生错误:" + jqXHR.status);
$("#msg").html("error:" + jqXHR.status);
}
})
})

@ -29,9 +29,9 @@
<div class="card-inner">
<h4>Warning!</h4>
<p>Once your account has been deleted, all of your data will be deleted by<b> true</ b>.</p>
<p>Once your account has been deleted, all of your data will be gone!</p>
<p>If you want to re-use the services provided by this site, you need to re-register.</p>
<p>If you want to re-use the services provided by this site, you will need to re-register.</p>
</div>
@ -45,9 +45,9 @@
<div class="card-main">
<div class="card-inner">
<div class="card-inner">
<p class="card-heading">Enter the current password to verify the identity</p>
<p class="card-heading">Enter the current password for verification</p>
<div class="form-group form-group-label">
<label class="floating-label" for="passwd">Current password (required)</label>
<label class="floating-label" for="passwd">Password (required)</label>
<input class="form-control" id="passwd" type="password">
</div>
</div>

@ -26,7 +26,7 @@
<div class="card">
<div class="card-main">
<div class="card-inner margin-bottom-no">
<p class="card-heading">Warning</p>
<p class="card-heading">Warning:</p>
<p>Only the last {$hour} hours are shown.</p><b>The data is gathered from <a href="http://speedtest.net">the Speedtest.net website</a>. All data is for reference only ~</b>
</div>

@ -196,7 +196,7 @@
<ul class="nav nav-list pull-left">
<div>
<a data-toggle="menu" href="#ui_menu">
<span class="icon icon-lg text-white">Menu</span>
<span class="icon icon-lg text-white">menu</span>
</a>
</div>
</ul>
@ -217,7 +217,7 @@
</li>
</ul>
{else}
<span class="access-hide">Not logged in</span>
<span class="access-hide">未登录</span>
<span class="avatar avatar-sm"><img alt="alt text for John Smith avatar" src="/theme/material/images/users/avatar-001.jpg"></span>
</a>
<ul class="dropdown-menu dropdown-menu-right">
@ -225,7 +225,7 @@
<a class="padding-right-lg waves-attach" href="/auth/login"><span class="icon icon-lg margin-right">account_box</span>Login</a>
</li>
<li>
<a class="padding-right-lg waves-attach" href="/auth/register"><span class="icon icon-lg margin-right">pregnant_woman</span>Register</a>
<a class="padding-right-lg waves-attach" href="/auth/register"><span class="icon icon-lg margin-right">pregnant_woman</span>Register/a>
</li>
</ul>
{/if}
@ -236,20 +236,20 @@
<nav aria-hidden="true" class="menu menu-left nav-drawer nav-drawer-md" id="ui_menu" tabindex="-1">
<div class="menu-scroll">
<div class="menu-content">
<a class="menu-logo" href="/"><i class="icon icon-lg">language</i>&nbsp;Home</a>
<a class="menu-logo" href="/"><i class="icon icon-lg">person_pin_circle</i>&nbsp;Home</a>
<ul class="nav">
<li>
<a class="waves-attach" data-toggle="collapse" href="#ui_menu_me">My Account</a>
<ul class="menu-collapse collapse in" id="ui_menu_me">
<li>
<a href="/user">
<i class="icon icon-lg">view_compact</i>&nbsp;Dashboard
<i class="icon icon-lg">recent_actors</i>&nbsp;Dashboard
</a>
</li>
<li>
<a href="/user/profile">
<i class="icon icon-lg">account_box</i>&nbsp;Account Details
<i class="icon icon-lg">info</i>&nbsp;Account Details
</a>
</li>
@ -259,25 +259,26 @@
</a>
</li>
<!-- <li>
<li>
<a href="/user/invite">
<i class="icon icon-lg">loyalty</i>&nbsp;Invitation Codes
</a>
</li> -->
</li>
<li>
<a href="/user/announcement">
<i class="icon icon-lg">announcement</i>&nbsp;Announcements
</a>
</li>
<li>
<a href="/user/ticket">
<i class="icon icon-lg">question_answer</i>&nbsp;Donations
</a>
</li>
{if $config['enable_donate']=='true'}
<li>
<a href="/user/donate">
<i class="icon icon-lg">attach_money</i>&nbsp;Donations
</a>
</li>
{/if}
</ul>
@ -287,41 +288,36 @@
<ul class="menu-collapse collapse in" id="ui_menu_use">
<li>
<a href="/user/node">
<i class="icon icon-lg">airplanemode_active</i>&nbsp;Server List
<i class="icon icon-lg">router</i>&nbsp;Server List
</a>
</li>
<li>
<a href="/user/relay">
<i class="icon icon-lg">compare_arrows</i>&nbsp;Data Transit Rules
<i class="icon icon-lg">compare_arrows</i>&nbsp;Data Redirect Rules
</a>
</li>
<li>
<a href="/user/trafficlog">
<i class="icon icon-lg">low_priority</i>&nbsp;Data Usage
<i class="icon icon-lg">traffic</i>&nbsp;Data Usage
</a>
</li>
<li>
<a href="/user/lookingglass">
<i class="icon icon-lg">sort</i>&nbsp;Server Looking-glass
<i class="icon icon-lg">youtube_searched_for</i>&nbsp;Server Looking-glass
</a>
<!––
<a target="_blank" href="/Course.html">
<i class="icon icon-lg">start</i>&nbsp;
</a>
-->
</li>
</ul>
<a class="waves-attach" data-toggle="collapse" href="#ui_menu_detect">Audit</a>
<a class="waves-attach" data-toggle="collapse" href="#ui_menu_detect">Filtering</a>
<ul class="menu-collapse collapse in" id="ui_menu_detect">
<li><a href="/user/detect"><i class="icon icon-lg">account_balance</i>&nbsp;Audit rules</a></li>
<li><a href="/user/detect/log"><i class="icon icon-lg">assignment_late</i>&nbsp;Audit record</a></li>
</ul>
<li><a href="/user/detect"><i class="icon icon-lg">account_balance</i>&nbsp;Filtering rules</a></li>
<li><a href="/user/detect/log"><i class="icon icon-lg">assignment_late</i>&nbsp;Filtering record</a></li>
</ul>
<a class="waves-attach" data-toggle="collapse" href="#ui_menu_trade">help</a>
<a class="waves-attach" data-toggle="collapse" href="#ui_menu_trade">Help</a>
<ul class="menu-collapse collapse in" id="ui_menu_trade">
{if $config['enable_wecenter']=='true'}
<li>
@ -331,8 +327,12 @@
</li>
{/if}
<li>
<a href="/user/ticket">
<i class="icon icon-lg">question_answer</i>&nbsp;Support Tickets
</a>
</li>
</ul>
<a class="waves-attach" data-toggle="collapse" href="#ui_menu_help">Your Subsciption</a>
@ -352,20 +352,10 @@
<li>
<a href="/user/code">
<i class="icon icon-lg">code</i>&nbsp;Recharge
<i class="icon icon-lg">code</i>&nbsp;Recharge
</a>
</li>
{if $config['enable_donate']=='true'}
<li>
<a href="/user/donate">
<i class="icon icon-lg">attach_money</i>&nbsp;Donations
</a>
</li>
{/if}
</ul>
{if $user->isAdmin()}
<li>

@ -25,7 +25,7 @@
<div class="card margin-bottom-no">
<div class="card-main">
<div class="card-inner">
<h4>Important!</h4>
<h4>Important:</h4>
<p>Do not share the servers publicly!</p>
<p></p>
<a href="javascript:void(0);" onClick="urlChange('guide',0,0,0)">If you do not know how to view the server details and QR Codes, please click me.</a>
@ -170,7 +170,7 @@
</span></p>
{/if}
<p>Onfuscation:<span class="label label-brand">
<p>Obfuscation:<span class="label label-brand">
{$single_muport['user']['obfs']}
</span></p>

@ -50,7 +50,7 @@
up_chart{$id} = new CanvasJS.Chart("up{$id}_chart",
{
title:{
text: "Online rate for the last 24 hours for {$prefix} - Online for {$point_node->getNodeUptime()}"
text: "Server uptime during the last 24 hours for {$prefix} - Online for {$point_node->getNodeUptime()}"
},
data: [
{
@ -78,7 +78,7 @@
alive_chart{$id} = new CanvasJS.Chart("alive{$id}_chart",
{
title:{
text: "Number of users online in the last 24 hours for {$prefix}"
text: "Number of connected users during the last 24 hours for {$prefix}"
},
data: [
{
@ -117,7 +117,7 @@
speedtest_chart{$id} = new CanvasJS.Chart("speedtest{$id}_chart",
{
title:{
text: "Ping from major ISPs{$prefix}"
text: "Ping from major ISPs {$prefix}"
},
axisY: {
suffix: " ms"
@ -216,7 +216,7 @@
speedtest_ping_chart{$id} = new CanvasJS.Chart("speedtest{$id}_ping_chart",
{
title:{
text: "Server ​​Speed test {$prefix}"
text: "Connection ​​Speed {$prefix}"
},
axisY: {
suffix: " Mbps"

@ -223,7 +223,7 @@
</div>
<div class="tab-pane fade {if !$ssr_prefer}active in{/if}" id="ss_url">
{if URL::SSCanConnect($user, $mu)}
<p><a href="{URL::getItemUrl($ss_item, 1)}"/>For Android: open this link in your default browser to enter your servers into the app (to ShadowsocksR APP)</a></p>
<p><a href="{URL::getItemUrl($ss_item, 1)}"/>For Android: open this link in your default browser to enter your servers into the app (to Shadowsocks APP)</a></p>
<p><a href="{URL::getItemUrl($ss_item, 1)}"/>For iOS: open with Safari and open the link in (to Shadowrocket)</a></p>
{else}
<p>Your current encryption type, obfuscation type, or protocol will not work with the Shadowsocks client. Please use the ShadowsocksR client to connect, or to the edit details page to change them to compatible types before coming back here.</p>

@ -44,7 +44,7 @@
<div class="card-main">
<div class="card-inner margin-bottom-no">
<p class="card-heading">Connected IPs in the last 5 minutes</p>
<p>Please confirm that the IPs are yours, if younotice anything abnormal, please modify your password.</p>
<p>Please confirm that the IPs are yours, if you notice anything abnormal, please modify your password.</p>
<div class="card-table">
<div class="table-responsive">
<table class="table">
@ -72,7 +72,7 @@
<div class="card-main">
<div class="card-inner margin-bottom-no">
<p class="card-heading">Last 10 login IPs</p>
<p>Please confirm that the IPs are yours, if younotice anything abnormal, please modify your password.</p>
<p>Please confirm that the IPs are yours, if you notice anything abnormal, please modify your password.</p>
<div class="card-table">
<div class="table-responsive">
<table class="table">

@ -20,7 +20,7 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="source_node">Origin Server</label>
<label class="floating-label" for="source_node">Original Server</label>
<select id="source_node" class="form-control" name="source_node">
<option value="0">Please select the first hop</option>
{foreach $source_nodes as $source_node}
@ -33,7 +33,7 @@
<div class="form-group form-group-label">
<label class="floating-label" for="dist_node">Target Server</label>
<select id="dist_node" class="form-control" name="dist_node">
<option value="-1">Not in transit</option>
<option value="-1">Not redirected</option>
{foreach $dist_nodes as $dist_node}
<option value="{$dist_node->id}">{$dist_node->name}</option>
{/foreach}

@ -24,7 +24,7 @@
<div class="card-main">
<div class="card-inner">
<div class="form-group form-group-label">
<label class="floating-label" for="source_node">Origin node</label>
<label class="floating-label" for="source_node">Original Server</label>
<select id="source_node" class="form-control" name="source_node">
<option value="0">Please select the original server</option>
{foreach $source_nodes as $source_node}
@ -37,7 +37,7 @@
<div class="form-group form-group-label">
<label class="floating-label" for="dist_node">Target server</label>
<select id="dist_node" class="form-control" name="dist_node">
<option value="-1">Not in transit</option>
<option value="-1">Not redirected</option>
{foreach $dist_nodes as $dist_node}
<option value="{$dist_node->id}" {if $rule->dist_node_id == $dist_node->id}selected{/if}>{$dist_node->name}</option>
{/foreach}

@ -25,7 +25,7 @@
<p>All your transit rules in the system.</p>
<p>Here, you can set your transit rules to redirect data from one server to another.</p>
<p>If its priority is higher, then that rule will take precedence over others with lower priority in the event of coexistence of conflicting rules.</p>
<p>If a server does not have transit rules, then that server can be used as a common server.</p>
<p>If a server does not have transit rules, then that server can be used as a normal server.</p>
</div>
</div>
</div>
@ -50,12 +50,12 @@
{$rules->render()}
<table class="table">
<tr>
<th>Operate</th>
<th>Action</th>
<th>ID</th>
<th>Origin node</th>
<th>Target node</th>
<th>Original server</th>
<th>Target server</th>
<th>Port</th>
<th>priority</th>
<th>Priority</th>
</tr>
{foreach $rules as $rule}
@ -66,12 +66,12 @@
</td>
<td>#{$rule->id}</td>
{if $rule->source_node_id == 0}
<td>All nodes</td>
<td>All Servers</td>
{else}
<td>{$rule->Source_Node()->name}</td>
{/if}
{if $rule->Dist_Node() == null}
<td>Not in transit</td>
<td>Not redirected</td>
{else}
<td>{$rule->Dist_Node()->name}</td>
{/if}
@ -88,9 +88,9 @@
<table class="table">
<tr>
<th>Port</th>
<th>Originating node</th>
<th>End node</th>
<th>Path node</th>
<th>Originating Server</th>
<th>End Server</th>
<th>Connection Path</th>
<th>Status</th>
</tr>

@ -25,8 +25,8 @@
<div class="card">
<div class="card-main">
<div class="card-inner">
<p>List of all items in the system. When you purchase a grade class, the period of validity is calculated from the current date.</p>
<p>Current balance:{$user->money} CNY</p>
<p>List of all items in the system. The period of validity is calculated from the current date.</p>
<p>Current account balance:{$user->money} CNY</p>
</div>
</div>
</div>
@ -39,8 +39,8 @@
<th>ID</th>
<th>Name</th>
<th>Price</th>
<th>Content</th>
<th>Automatic renewal days</th>
<th>What you get</th>
<th>Automatic renewal</th>
<th>Restores traffic when renewing</th>
</tr>
@ -51,18 +51,18 @@
</td>
<td>#{$shop->id}</td>
<td>{$shop->name}</td>
<td>{$shop->price}CNY</td>
<td>{$shop->price} CNY</td>
<td>{$shop->content()}</td>
{if $shop->auto_renew==0}
<td>Not auto renew</td>
<td>Does not renew automatically</td>
{else}
<td>Automatically renew after {$shop->auto_renew} days</td>
<td>Automatically renews after {$shop->auto_renew} days</td>
{/if}
{if $shop->auto_reset_bandwidth==0}
<td>Not reset automatically</td>
{else}
<td>Automaticly reset</td>
<td>Automatically reset</td>
{/if}
</tr>

@ -46,9 +46,9 @@
<td>{$ticket->datetime()}</td>
<td>{$ticket->title}</td>
{if $ticket->status==1}
<td>ON</td>
<td>Open</td>
{else}
<td>OFF</td>
<td>Closed</td>
{/if}
</tr>
{/foreach}

@ -26,7 +26,7 @@
<div class="card">
<div class="card-main">
<div class="card-inner margin-bottom-no">
<p class="card-heading">Warning!</p>
<p class="card-heading">Warning:</p>
<p>Some servers do not support data logging.</p>
<p>Only the last 72 hours of records are shown here, with a granularity of minutes.</p>
</div>

Loading…
Cancel
Save