start UIremix
parent
acfd524f02
commit
537c2e5280
@ -0,0 +1,183 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width"/>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<title>Billing e.g. invoices and receipts</title>
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-webkit-text-size-adjust: none;
|
||||
width: 100% !important;
|
||||
height: 100%;
|
||||
line-height: 1.6em;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #f6f6f6;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 640px) {
|
||||
body {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 22px !important;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 18px !important;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 16px !important;
|
||||
}
|
||||
|
||||
.container {
|
||||
padding: 0 !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.content-wrap {
|
||||
padding: 10px !important;
|
||||
}
|
||||
|
||||
.invoice {
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body itemscope itemtype="http://schema.org/EmailMessage"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;"
|
||||
bgcolor="#f6f6f6">
|
||||
|
||||
<table class="body-wrap"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;"
|
||||
bgcolor="#f6f6f6">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;"
|
||||
valign="top"></td>
|
||||
<td class="container" width="600"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;"
|
||||
valign="top">
|
||||
<div class="content"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
|
||||
<table class="main" width="100%" cellpadding="0" cellspacing="0"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;"
|
||||
bgcolor="#fff">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-wrap aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 20px;"
|
||||
align="center" valign="top">
|
||||
<table width="100%" cellpadding="0" cellspacing="0"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;"
|
||||
valign="top">
|
||||
<h1 class="aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; box-sizing: border-box; font-size: 32px; color: #000; line-height: 1.2em; font-weight: 500; text-align: center; margin: 40px 0 0;"
|
||||
align="center">{$config["appName"]}</h1>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;"
|
||||
valign="top">
|
||||
<h2 class="aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; box-sizing: border-box; font-size: 24px; color: #000; line-height: 1.2em; font-weight: 400; text-align: center; margin: 40px 0 0;"
|
||||
align="center">注册验证码</h2>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 0 0 20px;"
|
||||
align="center" valign="top">
|
||||
<table class="invoice"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; text-align: left; width: 80%; margin: 40px auto;">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 5px 0;"
|
||||
valign="top">尊敬的用户:<br
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 5px 0;"
|
||||
valign="top">
|
||||
<p>您的邮箱验证代码为: <b>{$code}</b>,请在网页中填写,完成验证。<br>(本验证代码在 {$expire} 之前有效)</p><br>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 0 0 20px;"
|
||||
align="center" valign="top">
|
||||
<a href="{$config["baseUrl"]}"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #348eda; text-decoration: underline; margin: 0;">{$config["appName"]}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 0 0 20px;"
|
||||
align="center" valign="top">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="footer"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; clear: both; color: #999; margin: 0; padding: 20px;">
|
||||
<table width="100%"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;"
|
||||
valign="top"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,182 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width"/>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<title>Billing e.g. invoices and receipts</title>
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-webkit-text-size-adjust: none;
|
||||
width: 100% !important;
|
||||
height: 100%;
|
||||
line-height: 1.6em;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #f6f6f6;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 640px) {
|
||||
body {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 22px !important;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 18px !important;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 16px !important;
|
||||
}
|
||||
|
||||
.container {
|
||||
padding: 0 !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.content-wrap {
|
||||
padding: 10px !important;
|
||||
}
|
||||
|
||||
.invoice {
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body itemscope itemtype="http://schema.org/EmailMessage"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;"
|
||||
bgcolor="#f6f6f6">
|
||||
|
||||
<table class="body-wrap"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;"
|
||||
bgcolor="#f6f6f6">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;"
|
||||
valign="top"></td>
|
||||
<td class="container" width="600"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;"
|
||||
valign="top">
|
||||
<div class="content"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
|
||||
<table class="main" width="100%" cellpadding="0" cellspacing="0"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;"
|
||||
bgcolor="#fff">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-wrap aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 20px;"
|
||||
align="center" valign="top">
|
||||
<table width="100%" cellpadding="0" cellspacing="0"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;"
|
||||
valign="top">
|
||||
<h1 class="aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; box-sizing: border-box; font-size: 32px; color: #000; line-height: 1.2em; font-weight: 500; text-align: center; margin: 40px 0 0;"
|
||||
align="center">{$config["appName"]}</h1>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;"
|
||||
valign="top">
|
||||
<h2 class="aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; box-sizing: border-box; font-size: 24px; color: #000; line-height: 1.2em; font-weight: 400; text-align: center; margin: 40px 0 0;"
|
||||
align="center">期待您的回归</h2>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 0 0 20px;"
|
||||
align="center" valign="top">
|
||||
<table class="invoice"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; text-align: left; width: 80%; margin: 40px auto;">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 5px 0;"
|
||||
valign="top">Hi, {$user->user_name}<br
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"/>邮箱: {$user->email}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 5px 0;"
|
||||
valign="top">{$text}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 0 0 20px;"
|
||||
align="center" valign="top">
|
||||
<a href="{$config["baseUrl"]}"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #348eda; text-decoration: underline; margin: 0;">{$config["appName"]}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 0 0 20px;"
|
||||
align="center" valign="top">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="footer"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; clear: both; color: #999; margin: 0; padding: 20px;">
|
||||
<table width="100%"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;"
|
||||
valign="top"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,181 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width"/>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<title>Billing e.g. invoices and receipts</title>
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-webkit-text-size-adjust: none;
|
||||
width: 100% !important;
|
||||
height: 100%;
|
||||
line-height: 1.6em;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #f6f6f6;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 640px) {
|
||||
body {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 22px !important;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 18px !important;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 16px !important;
|
||||
}
|
||||
|
||||
.container {
|
||||
padding: 0 !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.content-wrap {
|
||||
padding: 10px !important;
|
||||
}
|
||||
|
||||
.invoice {
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body itemscope itemtype="http://schema.org/EmailMessage"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;"
|
||||
bgcolor="#f6f6f6">
|
||||
|
||||
<table class="body-wrap"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;"
|
||||
bgcolor="#f6f6f6">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;"
|
||||
valign="top"></td>
|
||||
<td class="container" width="600"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;"
|
||||
valign="top">
|
||||
<div class="content"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
|
||||
<table class="main" width="100%" cellpadding="0" cellspacing="0"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;"
|
||||
bgcolor="#fff">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-wrap aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 20px;"
|
||||
align="center" valign="top">
|
||||
<table width="100%" cellpadding="0" cellspacing="0"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;"
|
||||
valign="top">
|
||||
<h1 class="aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; box-sizing: border-box; font-size: 32px; color: #000; line-height: 1.2em; font-weight: 500; text-align: center; margin: 40px 0 0;"
|
||||
align="center">{$config["appName"]}</h1>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;"
|
||||
valign="top">
|
||||
<h2 class="aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; box-sizing: border-box; font-size: 24px; color: #000; line-height: 1.2em; font-weight: 400; text-align: center; margin: 40px 0 0;"
|
||||
align="center">备份成功</h2>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 0 0 20px;"
|
||||
align="center" valign="top">
|
||||
<table class="invoice"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; text-align: left; width: 80%; margin: 40px auto;">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 5px 0;"
|
||||
valign="top">Hi, <br
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 5px 0;"
|
||||
valign="top">{$text}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 0 0 20px;"
|
||||
align="center" valign="top">
|
||||
<a href="{$config["baseUrl"]}"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #348eda; text-decoration: underline; margin: 0;">{$config["appName"]}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 0 0 20px;"
|
||||
align="center" valign="top">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="footer"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; clear: both; color: #999; margin: 0; padding: 20px;">
|
||||
<table width="100%"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;"
|
||||
valign="top"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,229 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width"/>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<title>Billing e.g. invoices and receipts</title>
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-webkit-text-size-adjust: none;
|
||||
width: 100% !important;
|
||||
height: 100%;
|
||||
line-height: 1.6em;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #f6f6f6;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 640px) {
|
||||
body {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 22px !important;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 18px !important;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 16px !important;
|
||||
}
|
||||
|
||||
.container {
|
||||
padding: 0 !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.content-wrap {
|
||||
padding: 10px !important;
|
||||
}
|
||||
|
||||
.invoice {
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body itemscope itemtype="http://schema.org/EmailMessage"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;"
|
||||
bgcolor="#f6f6f6">
|
||||
|
||||
<table class="body-wrap"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;"
|
||||
bgcolor="#f6f6f6">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;"
|
||||
valign="top"></td>
|
||||
<td class="container" width="600"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;"
|
||||
valign="top">
|
||||
<div class="content"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
|
||||
<table class="main" width="100%" cellpadding="0" cellspacing="0"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;"
|
||||
bgcolor="#fff">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-wrap aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 20px;"
|
||||
align="center" valign="top">
|
||||
<table width="100%" cellpadding="0" cellspacing="0"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;"
|
||||
valign="top">
|
||||
<h1 class="aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; box-sizing: border-box; font-size: 32px; color: #000; line-height: 1.2em; font-weight: 500; text-align: center; margin: 40px 0 0;"
|
||||
align="center">{$config["appName"]}</h1>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;"
|
||||
valign="top">
|
||||
<h2 class="aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; box-sizing: border-box; font-size: 24px; color: #000; line-height: 1.2em; font-weight: 400; text-align: center; margin: 40px 0 0;"
|
||||
align="center">流量使用报告</h2>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 0 0 20px;"
|
||||
align="center" valign="top">
|
||||
<table class="invoice"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; text-align: left; width: 80%; margin: 40px auto;">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 5px 0;"
|
||||
valign="top">Hi, {$user->user_name}<br
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"/>邮箱: {$user->email}
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 5px 0;"
|
||||
valign="top">
|
||||
<table class="invoice-items" cellpadding="0" cellspacing="0"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; margin: 0;">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; border-top-width: 1px; border-top-color: #eee; border-top-style: solid; margin: 0; padding: 5px 0;"
|
||||
valign="top"> 总流量
|
||||
</td>
|
||||
<td class="alignright"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: right; border-top-width: 1px; border-top-color: #eee; border-top-style: solid; margin: 0; padding: 5px 0;"
|
||||
align="right" valign="top">{$user->enableTraffic()}
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; border-top-width: 1px; border-top-color: #eee; border-top-style: solid; margin: 0; padding: 5px 0;"
|
||||
valign="top"> 已用流量
|
||||
</td>
|
||||
<td class="alignright"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: right; border-top-width: 1px; border-top-color: #eee; border-top-style: solid; margin: 0; padding: 5px 0;"
|
||||
align="right" valign="top">{$user->usedTraffic()}
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; border-top-width: 1px; border-top-color: #eee; border-top-style: solid; margin: 0; padding: 5px 0;"
|
||||
valign="top"> 剩余流量
|
||||
</td>
|
||||
<td class="alignright"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: right; border-top-width: 1px; border-top-color: #eee; border-top-style: solid; margin: 0; padding: 5px 0;"
|
||||
align="right" valign="top">{$user->unusedTraffic()}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; border-top-width: 1px; border-top-color: #eee; border-top-style: solid; margin: 0; padding: 5px 0;"
|
||||
valign="top"> 今日使用流量
|
||||
</td>
|
||||
<td class="alignright"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: right; border-top-width: 1px; border-top-color: #eee; border-top-style: solid; margin: 0; padding: 5px 0;"
|
||||
align="right" valign="top">{$lastday}MB
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 5px 0;"
|
||||
valign="top">{$text}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 0 0 20px;"
|
||||
align="center" valign="top">
|
||||
<a href="{$config["baseUrl"]}"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #348eda; text-decoration: underline; margin: 0;">{$config["appName"]}</a> | <a href="{$config["baseUrl"]}/user/edit"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #348eda; text-decoration: underline; margin: 0;">退訂(修改每日郵件接收設置)</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 0 0 20px;"
|
||||
align="center" valign="top">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="footer"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; clear: both; color: #999; margin: 0; padding: 20px;">
|
||||
<table width="100%"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;"
|
||||
valign="top"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,181 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width"/>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<title>Billing e.g. invoices and receipts</title>
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-webkit-text-size-adjust: none;
|
||||
width: 100% !important;
|
||||
height: 100%;
|
||||
line-height: 1.6em;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #f6f6f6;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 640px) {
|
||||
body {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 22px !important;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 18px !important;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 16px !important;
|
||||
}
|
||||
|
||||
.container {
|
||||
padding: 0 !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.content-wrap {
|
||||
padding: 10px !important;
|
||||
}
|
||||
|
||||
.invoice {
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body itemscope itemtype="http://schema.org/EmailMessage"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;"
|
||||
bgcolor="#f6f6f6">
|
||||
|
||||
<table class="body-wrap"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;"
|
||||
bgcolor="#f6f6f6">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;"
|
||||
valign="top"></td>
|
||||
<td class="container" width="600"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;"
|
||||
valign="top">
|
||||
<div class="content"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
|
||||
<table class="main" width="100%" cellpadding="0" cellspacing="0"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;"
|
||||
bgcolor="#fff">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-wrap aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 20px;"
|
||||
align="center" valign="top">
|
||||
<table width="100%" cellpadding="0" cellspacing="0"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;"
|
||||
valign="top">
|
||||
<h1 class="aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; box-sizing: border-box; font-size: 32px; color: #000; line-height: 1.2em; font-weight: 500; text-align: center; margin: 40px 0 0;"
|
||||
align="center">{$config["appName"]}</h1>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;"
|
||||
valign="top">
|
||||
<h2 class="aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; box-sizing: border-box; font-size: 24px; color: #000; line-height: 1.2em; font-weight: 400; text-align: center; margin: 40px 0 0;"
|
||||
align="center">{$title}</h2>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 0 0 20px;"
|
||||
align="center" valign="top">
|
||||
<table class="invoice"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; text-align: left; width: 80%; margin: 40px auto;">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 5px 0;"
|
||||
valign="top">Hi, {$user->user_name}<br
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"/>邮箱: {$user->email}
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 5px 0;"
|
||||
valign="top">{$text}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 0 0 20px;"
|
||||
align="center" valign="top">
|
||||
<a href="{$config["baseUrl"]}"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #348eda; text-decoration: underline; margin: 0;">{$config["appName"]}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 0 0 20px;"
|
||||
align="center" valign="top">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="footer"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; clear: both; color: #999; margin: 0; padding: 20px;">
|
||||
<table width="100%"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;"
|
||||
valign="top"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,181 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width"/>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<title>Billing e.g. invoices and receipts</title>
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-webkit-text-size-adjust: none;
|
||||
width: 100% !important;
|
||||
height: 100%;
|
||||
line-height: 1.6em;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #f6f6f6;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 640px) {
|
||||
body {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 22px !important;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 18px !important;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 16px !important;
|
||||
}
|
||||
|
||||
.container {
|
||||
padding: 0 !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.content-wrap {
|
||||
padding: 10px !important;
|
||||
}
|
||||
|
||||
.invoice {
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body itemscope itemtype="http://schema.org/EmailMessage"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;"
|
||||
bgcolor="#f6f6f6">
|
||||
|
||||
<table class="body-wrap"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;"
|
||||
bgcolor="#f6f6f6">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;"
|
||||
valign="top"></td>
|
||||
<td class="container" width="600"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;"
|
||||
valign="top">
|
||||
<div class="content"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
|
||||
<table class="main" width="100%" cellpadding="0" cellspacing="0"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;"
|
||||
bgcolor="#fff">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-wrap aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 20px;"
|
||||
align="center" valign="top">
|
||||
<table width="100%" cellpadding="0" cellspacing="0"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;"
|
||||
valign="top">
|
||||
<h1 class="aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; box-sizing: border-box; font-size: 32px; color: #000; line-height: 1.2em; font-weight: 500; text-align: center; margin: 40px 0 0;"
|
||||
align="center">{$config["appName"]}</h1>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;"
|
||||
valign="top">
|
||||
<h2 class="aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; box-sizing: border-box; font-size: 24px; color: #000; line-height: 1.2em; font-weight: 400; text-align: center; margin: 40px 0 0;"
|
||||
align="center">需要您的注意</h2>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 0 0 20px;"
|
||||
align="center" valign="top">
|
||||
<table class="invoice"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; text-align: left; width: 80%; margin: 40px auto;">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 5px 0;"
|
||||
valign="top">Hi, {$user->user_name}<br
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"/>邮箱: {$user->email}
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 5px 0;"
|
||||
valign="top">{$text}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 0 0 20px;"
|
||||
align="center" valign="top">
|
||||
<a href="{$config["baseUrl"]}"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #348eda; text-decoration: underline; margin: 0;">{$config["appName"]}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 0 0 20px;"
|
||||
align="center" valign="top">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="footer"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; clear: both; color: #999; margin: 0; padding: 20px;">
|
||||
<table width="100%"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;"
|
||||
valign="top"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,85 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>{$config["appName"]}</title>
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
|
||||
}
|
||||
body {
|
||||
background-color: #f6f6f6;
|
||||
}
|
||||
@media only screen and (max-width: 640px) {
|
||||
body {
|
||||
padding: 0 !important;
|
||||
}
|
||||
h1 {
|
||||
font-weight: 800 !important; margin: 20px 0 5px !important;
|
||||
}
|
||||
h2 {
|
||||
font-weight: 800 !important; margin: 20px 0 5px !important;
|
||||
}
|
||||
h3 {
|
||||
font-weight: 800 !important; margin: 20px 0 5px !important;
|
||||
}
|
||||
h4 {
|
||||
font-weight: 800 !important; margin: 20px 0 5px !important;
|
||||
}
|
||||
h1 {
|
||||
font-size: 22px !important;
|
||||
}
|
||||
h2 {
|
||||
font-size: 18px !important;
|
||||
}
|
||||
h3 {
|
||||
font-size: 16px !important;
|
||||
}
|
||||
.container {
|
||||
padding: 0 !important; width: 100% !important;
|
||||
}
|
||||
.content {
|
||||
padding: 0 !important;
|
||||
}
|
||||
.content-wrap {
|
||||
padding: 10px !important;
|
||||
}
|
||||
.invoice {
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body itemscope itemtype="http://schema.org/EmailMessage" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
|
||||
|
||||
<table class="body-wrap" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6"><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
|
||||
<td class="container" width="600" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
|
||||
<div class="content" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
|
||||
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff"><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="content-wrap" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
|
||||
<meta itemprop="name" content="Confirm Email" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" /><table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="content-block" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
|
||||
您收到此邮件是因为您在{$config["appName"]}申请了密码重置,如果不是您申请的,请忽略此邮件.
|
||||
</td>
|
||||
</tr><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="content-block" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
|
||||
若要开始重置密码,请点击以下链接 :)
|
||||
</td>
|
||||
</tr><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="content-block" itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
|
||||
<a href="{$resetUrl}" class="btn-primary" itemprop="url" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #348eda; margin: 0; border-color: #348eda; border-style: solid; border-width: 10px 20px;">点击此链接重置密码</a>
|
||||
</td>
|
||||
</tr><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="content-block" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
|
||||
— {$config["appName"]}
|
||||
</td>
|
||||
</tr></table></td>
|
||||
</tr></table><div class="footer" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; clear: both; color: #999; margin: 0; padding: 20px;">
|
||||
<table width="100%" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="aligncenter content-block" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 12px; vertical-align: top; color: #999; text-align: center; margin: 0; padding: 0 0 20px;" align="center" valign="top"> <a href="{$config['baseUrl']}" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 12px; color: #999; text-decoration: underline; margin: 0;">{$config["appName"]}</a> .</td>
|
||||
</tr></table></div></div>
|
||||
</td>
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
|
||||
</tr></table></body>
|
||||
</html>
|
||||
@ -0,0 +1,182 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width"/>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<title>Billing e.g. invoices and receipts</title>
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-webkit-text-size-adjust: none;
|
||||
width: 100% !important;
|
||||
height: 100%;
|
||||
line-height: 1.6em;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #f6f6f6;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 640px) {
|
||||
body {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-weight: 800 !important;
|
||||
margin: 20px 0 5px !important;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 22px !important;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 18px !important;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 16px !important;
|
||||
}
|
||||
|
||||
.container {
|
||||
padding: 0 !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.content-wrap {
|
||||
padding: 10px !important;
|
||||
}
|
||||
|
||||
.invoice {
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body itemscope itemtype="http://schema.org/EmailMessage"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;"
|
||||
bgcolor="#f6f6f6">
|
||||
|
||||
<table class="body-wrap"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;"
|
||||
bgcolor="#f6f6f6">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;"
|
||||
valign="top"></td>
|
||||
<td class="container" width="600"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;"
|
||||
valign="top">
|
||||
<div class="content"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
|
||||
<table class="main" width="100%" cellpadding="0" cellspacing="0"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;"
|
||||
bgcolor="#fff">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-wrap aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 20px;"
|
||||
align="center" valign="top">
|
||||
<table width="100%" cellpadding="0" cellspacing="0"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;"
|
||||
valign="top">
|
||||
<h1 class="aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; box-sizing: border-box; font-size: 32px; color: #000; line-height: 1.2em; font-weight: 500; text-align: center; margin: 40px 0 0;"
|
||||
align="center">{$config["appName"]}</h1>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;"
|
||||
valign="top">
|
||||
<h2 class="aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; box-sizing: border-box; font-size: 24px; color: #000; line-height: 1.2em; font-weight: 400; text-align: center; margin: 40px 0 0;"
|
||||
align="center">密码更新通知</h2>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 0 0 20px;"
|
||||
align="center" valign="top">
|
||||
<table class="invoice"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; text-align: left; width: 80%; margin: 40px auto;">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 5px 0;"
|
||||
valign="top">Hi, {$user->user_name}<br
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"/>邮箱: {$user->email}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 5px 0;"
|
||||
valign="top">{$text}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 0 0 20px;"
|
||||
align="center" valign="top">
|
||||
<a href="{$config["baseUrl"]}"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #348eda; text-decoration: underline; margin: 0;">{$config["appName"]}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block aligncenter"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; text-align: center; margin: 0; padding: 0 0 20px;"
|
||||
align="center" valign="top">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="footer"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; clear: both; color: #999; margin: 0; padding: 20px;">
|
||||
<table width="100%"
|
||||
style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;"
|
||||
valign="top"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
<p>This is a testing mail.</p>
|
||||
<p>Send from {$config["appName"]}</p>
|
||||
<p>{$time}</p>
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'login' => 'Login',
|
||||
'Register' => 'Register'
|
||||
];
|
||||
@ -0,0 +1,40 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>页面无法找到哦 - {$config["appName"]} </title>
|
||||
<meta name="keywords" content=""/>
|
||||
<meta name="description" content=""/>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="shortcut icon" href="/favicon.ico"/>
|
||||
<link rel="bookmark" href="/favicon.ico" type="image/x-icon"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/>
|
||||
<link rel="shortcut icon" type="image/ico" href="images/ssr.ico">
|
||||
<link rel="stylesheet" href="/assets/css/main.css" />
|
||||
|
||||
<noscript>
|
||||
<link rel="stylesheet" href="/assets/css/noscript.css" />
|
||||
</noscript>
|
||||
</head>
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
<header id="header">
|
||||
<div class="logo">
|
||||
<span class="icon fa-rocket"></span></div>
|
||||
<div class="content">
|
||||
<div class="inner">
|
||||
<h1>404错误</h1>
|
||||
<p>您的页面查找不到咯</p></div></div>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="./#">返回首页</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<footer id="footer"><p class="copyright">©2014-{date("Y")} {$config["appName"]}</p></footer>
|
||||
</div>
|
||||
<div id="bg"></div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@1.11.3"></script>
|
||||
<script src="https://cdn.jsdelivr.net/gh/ajlkn/skel@3.0.1/dist/skel.min.js"></script>
|
||||
<script src="/assets/js/util.js"></script>
|
||||
<script src="/assets/js/main.js"></script>
|
||||
</body></html>
|
||||
@ -0,0 +1,40 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>您的访问方式不正确 - {$config["appName"]} </title>
|
||||
<meta name="keywords" content=""/>
|
||||
<meta name="description" content=""/>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="shortcut icon" href="/favicon.ico"/>
|
||||
<link rel="bookmark" href="/favicon.ico" type="image/x-icon"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/>
|
||||
<link rel="shortcut icon" type="image/ico" href="images/ssr.ico">
|
||||
<link rel="stylesheet" href="/assets/css/main.css" />
|
||||
|
||||
<noscript>
|
||||
<link rel="stylesheet" href="/assets/css/noscript.css" />
|
||||
</noscript>
|
||||
</head>
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
<header id="header">
|
||||
<div class="logo">
|
||||
<span class="icon fa-rocket"></span></div>
|
||||
<div class="content">
|
||||
<div class="inner">
|
||||
<h1>405错误</h1>
|
||||
<p>您的访问方式不正确。</p></div></div>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="./#">返回首页</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<footer id="footer"><p class="copyright">©2014-{date("Y")} {$config["appName"]} </p></footer>
|
||||
</div>
|
||||
<div id="bg"></div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@1.11.3"></script>
|
||||
<script src="https://cdn.jsdelivr.net/gh/ajlkn/skel@3.0.1/dist/skel.min.js"></script>
|
||||
<script src="/assets/js/util.js"></script>
|
||||
<script src="/assets/js/main.js"></script>
|
||||
</body></html>
|
||||
@ -0,0 +1,46 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>该网页无法正常运作 - {$config["appName"]}</title>
|
||||
<meta name="keywords" content=""/>
|
||||
<meta name="description" content=""/>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="shortcut icon" href="/favicon.ico"/>
|
||||
<link rel="bookmark" href="/favicon.ico" type="image/x-icon"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/>
|
||||
<link rel="shortcut icon" type="image/ico" href="images/ssr.ico">
|
||||
<link rel="stylesheet" href="/assets/css/main.css" />
|
||||
|
||||
<noscript>
|
||||
<link rel="stylesheet" href="/assets/css/noscript.css" />
|
||||
</noscript>
|
||||
</head>
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
<header id="header">
|
||||
<div class="logo">
|
||||
<span class="icon fa-rocket"></span>
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="inner">
|
||||
<h1>500错误</h1>
|
||||
<p>服务娘崩溃了呢... TwT</p>
|
||||
<p>这件事儿不应该发生的...如果反复出现可以提交一下工单联系站主.</p>
|
||||
</div>
|
||||
</div>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="./#">返回首页</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<footer id="footer">
|
||||
<p class="copyright">©2014-{date("Y")} {$config["appName"]} </p>
|
||||
</footer>
|
||||
</div>
|
||||
<div id="bg"></div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@1.11.3"></script>
|
||||
<script src="https://cdn.jsdelivr.net/gh/ajlkn/skel@3.0.1/dist/skel.min.js"></script>
|
||||
<script src="/assets/js/util.js"></script>
|
||||
<script src="/assets/js/main.js"></script>
|
||||
</body></html>
|
||||
@ -0,0 +1,131 @@
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='admin/main.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading">编辑公告 #{$ann->id}</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="col-lg-12 col-md-12">
|
||||
<section class="content-inner margin-top-no">
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
<div class="form-group form-group-label">
|
||||
<label class="floating-label" for="content">内容</label>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/editor.md@1.5.0/css/editormd.min.css" />
|
||||
<div id="editormd">
|
||||
<textarea style="display:none;" id="content">{$ann->markdown}</textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{include file='dialog.tpl'}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='admin/footer.tpl'}
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/editor.md@1.5.0/editormd.min.js"></script>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
function submit() {
|
||||
$.ajax({
|
||||
type: "PUT",
|
||||
url: "/admin/announcement/{$ann->id}",
|
||||
dataType: "json",
|
||||
data: {
|
||||
content: editor.getHTML(),
|
||||
markdown: editor.getMarkdown()
|
||||
},
|
||||
success: function (data) {
|
||||
if (data.ret) {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg);
|
||||
window.setTimeout("location.href=top.document.referrer", {$config['jump_delay']});
|
||||
} else {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg);
|
||||
}
|
||||
},
|
||||
error: function (jqXHR) {
|
||||
$("#msg-error").hide(10);
|
||||
$("#msg-error").show(100);
|
||||
$("#msg-error-p").html("发生错误:" + jqXHR.status);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
$("#submit").click(function () {
|
||||
submit();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
$(function() {
|
||||
editor = editormd("editormd", {
|
||||
path : "https://cdn.jsdelivr.net/npm/editor.md@1.5.0/lib/", // Autoload modules mode, codemirror, marked... dependents libs path
|
||||
height: 720,
|
||||
saveHTMLToTextarea : true,
|
||||
emoji : true
|
||||
});
|
||||
|
||||
/*
|
||||
// or
|
||||
var editor = editormd({
|
||||
id : "editormd",
|
||||
path : "../lib/"
|
||||
});
|
||||
*/
|
||||
});
|
||||
</script>
|
||||
@ -0,0 +1,122 @@
|
||||
|
||||
|
||||
|
||||
{include file='admin/main.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading">添加下发命令</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="col-lg-12 col-md-12">
|
||||
<section class="content-inner margin-top-no">
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
<div class="form-group form-group-label">
|
||||
<label class="floating-label" for="content">命令</label>
|
||||
<textarea class="form-control" id="content" rows="15"></textarea>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
<div class="form-group form-group-label">
|
||||
<label class="floating-label" for="sign">GPG签名</label>
|
||||
<textarea class="form-control" id="sign" rows="15"></textarea>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{include file='dialog.tpl'}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='admin/footer.tpl'}
|
||||
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
function submit() {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/admin/auto",
|
||||
dataType: "json",
|
||||
data: {
|
||||
content: $("#content").val(),
|
||||
sign: $("#sign").val()
|
||||
},
|
||||
success: function (data) {
|
||||
if (data.ret) {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg);
|
||||
window.setTimeout("location.href=top.document.referrer", {$config['jump_delay']});
|
||||
} else {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg);
|
||||
}
|
||||
},
|
||||
error: function (jqXHR) {
|
||||
$("#msg-error").hide(10);
|
||||
$("#msg-error").show(100);
|
||||
$("#msg-error-p").html("发生错误:" + jqXHR.status);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
$("#submit").click(function () {
|
||||
submit();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@ -0,0 +1,125 @@
|
||||
|
||||
|
||||
|
||||
{include file='admin/main.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading">添加充值码</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="col-lg-12 col-md-12">
|
||||
<section class="content-inner margin-top-no">
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
<div class="form-group form-group-label">
|
||||
<label class="floating-label" for="amount">数目</label>
|
||||
<input class="form-control" id="amount" type="text" value="1">
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group form-group-label">
|
||||
<label class="floating-label" for="number">金额</label>
|
||||
<input class="form-control" id="number" type="text" >
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{include file='dialog.tpl'}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='admin/footer.tpl'}
|
||||
|
||||
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
function submit() {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/admin/code",
|
||||
dataType: "json",
|
||||
data: {
|
||||
amount: $("#amount").val(),
|
||||
number: $("#number").val()
|
||||
},
|
||||
success: function (data) {
|
||||
if (data.ret) {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg);
|
||||
window.setTimeout("location.href=top.document.referrer", {$config['jump_delay']});
|
||||
} else {
|
||||
$("#msg-error").hide(10);
|
||||
$("#msg-error").show(100);
|
||||
$("#msg-error-p").html(data.msg);
|
||||
}
|
||||
},
|
||||
error: function (jqXHR) {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg+" 发生错误了。");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
$("html").keydown(function (event) {
|
||||
if (event.keyCode == 13) {
|
||||
login();
|
||||
}
|
||||
});
|
||||
$("#submit").click(function () {
|
||||
submit();
|
||||
});
|
||||
|
||||
})
|
||||
</script>
|
||||
@ -0,0 +1,136 @@
|
||||
|
||||
|
||||
|
||||
{include file='admin/main.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading">添加捐赠或支出记录</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="col-lg-12 col-md-12">
|
||||
<section class="content-inner margin-top-no">
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
|
||||
<div class="form-group form-group-label">
|
||||
<label class="floating-label" for="number">类型</label>
|
||||
<select id="type" class="form-control" name="type">
|
||||
<option value="-1">捐赠</option>
|
||||
<option value="-2">支出</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group form-group-label">
|
||||
<label class="floating-label" for="number">备注</label>
|
||||
<input class="form-control" id="code" type="text" >
|
||||
</div>
|
||||
<div class="form-group form-group-label">
|
||||
<label class="floating-label" for="amount">金额</label>
|
||||
<input class="form-control" id="amount" type="text" >
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{include file='dialog.tpl'}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='admin/footer.tpl'}
|
||||
|
||||
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
function submit() {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/admin/donate",
|
||||
dataType: "json",
|
||||
data: {
|
||||
amount: $("#amount").val(),
|
||||
code: $("#code").val(),
|
||||
type: $("#type").val()
|
||||
},
|
||||
success: function (data) {
|
||||
if (data.ret) {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg);
|
||||
window.setTimeout("location.href=top.document.referrer", {$config['jump_delay']});
|
||||
} else {
|
||||
$("#msg-error").hide(10);
|
||||
$("#msg-error").show(100);
|
||||
$("#msg-error-p").html(data.msg);
|
||||
}
|
||||
},
|
||||
error: function (jqXHR) {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg+" 发生错误了。");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
$("html").keydown(function (event) {
|
||||
if (event.keyCode == 13) {
|
||||
login();
|
||||
}
|
||||
});
|
||||
$("#submit").click(function () {
|
||||
submit();
|
||||
});
|
||||
|
||||
})
|
||||
</script>
|
||||
@ -0,0 +1,74 @@
|
||||
{include file='admin/main.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading">充值码{if $config['enable_donate']=='true'}与捐赠{/if}管理</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="col-lg-12 col-md-12">
|
||||
<section class="content-inner margin-top-no">
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
<p>系统中金额流转记录。</p>
|
||||
<p>显示表项:
|
||||
{include file='table/checkbox.tpl'}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="table-responsive">
|
||||
{include file='table/table.tpl'}
|
||||
</div>
|
||||
|
||||
|
||||
<div class="fbtn-container">
|
||||
<div class="fbtn-inner">
|
||||
<a class="fbtn fbtn-lg fbtn-brand-accent waves-attach waves-circle waves-light" href="/admin/code/create">+</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="fbtn-container">
|
||||
<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}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='admin/footer.tpl'}
|
||||
|
||||
<script>
|
||||
{include file='table/js_1.tpl'}
|
||||
|
||||
$(document).ready(function(){
|
||||
{include file='table/js_2.tpl'}
|
||||
});
|
||||
</script>
|
||||
@ -0,0 +1,147 @@
|
||||
|
||||
|
||||
|
||||
{include file='admin/main.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading"> 添加规则</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<section class="content-inner margin-top-no">
|
||||
<form id="main_form">
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
<div class="form-group form-group-label">
|
||||
<label class="floating-label" for="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>
|
||||
<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>
|
||||
<input class="form-control" id="regex" name="regex" type="text">
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="form-group form-group-label">
|
||||
<div class="form-group form-group-label">
|
||||
<label class="floating-label" for="type">规则类型</label>
|
||||
<select id="type" class="form-control" name="type">
|
||||
<option value="1">数据包明文匹配</option>
|
||||
<option value="2">数据包 hex 匹配</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
{include file='dialog.tpl'}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='admin/footer.tpl'}
|
||||
|
||||
|
||||
{literal}
|
||||
<script>
|
||||
|
||||
$('#main_form').validate({
|
||||
rules: {
|
||||
name: {required: true},
|
||||
text: {required: true},
|
||||
regex: {required: true}
|
||||
},
|
||||
|
||||
|
||||
submitHandler: function() {
|
||||
|
||||
|
||||
|
||||
$.ajax({
|
||||
|
||||
type: "POST",
|
||||
url: "/admin/detect",
|
||||
dataType: "json",
|
||||
{/literal}
|
||||
data: {
|
||||
name: $("#name").val(),
|
||||
text: $("#text").val(),
|
||||
regex: $("#regex").val(),
|
||||
type: $("#type").val()
|
||||
{literal}
|
||||
},
|
||||
success: function (data) {
|
||||
if (data.ret) {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg);
|
||||
{/literal}
|
||||
window.setTimeout("location.href=top.document.referrer", {$config['jump_delay']});
|
||||
{literal}
|
||||
} else {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg);
|
||||
}
|
||||
},
|
||||
error: function (jqXHR) {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg+" 发生错误了。");
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
{/literal}
|
||||
|
||||
@ -0,0 +1,147 @@
|
||||
|
||||
|
||||
|
||||
{include file='admin/main.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading"> 编辑规则 #{$rule->id}</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<section class="content-inner margin-top-no">
|
||||
<form id="main_form">
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
<div class="form-group form-group-label">
|
||||
<label class="floating-label" for="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>
|
||||
<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>
|
||||
<input class="form-control" id="regex" name="regex" type="text" value="{$rule->regex}">
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="form-group form-group-label">
|
||||
<div class="form-group form-group-label">
|
||||
<label class="floating-label" for="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>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
{include file='dialog.tpl'}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='admin/footer.tpl'}
|
||||
|
||||
|
||||
{literal}
|
||||
<script>
|
||||
|
||||
$('#main_form').validate({
|
||||
rules: {
|
||||
name: {required: true},
|
||||
text: {required: true},
|
||||
regex: {required: true}
|
||||
},
|
||||
|
||||
|
||||
submitHandler: function() {
|
||||
{/literal}
|
||||
|
||||
|
||||
$.ajax({
|
||||
|
||||
type: "PUT",
|
||||
url: "/admin/detect/{$rule->id}",
|
||||
dataType: "json",
|
||||
|
||||
data: {
|
||||
name: $("#name").val(),
|
||||
text: $("#text").val(),
|
||||
regex: $("#regex").val(),
|
||||
type: $("#type").val()
|
||||
{literal}
|
||||
},
|
||||
success: function (data) {
|
||||
if (data.ret) {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg);
|
||||
{/literal}
|
||||
window.setTimeout("location.href=top.document.referrer", {$config['jump_delay']});
|
||||
{literal}
|
||||
} else {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg);
|
||||
}
|
||||
},
|
||||
error: function (jqXHR) {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg+" 发生错误了。");
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
{/literal}
|
||||
|
||||
@ -0,0 +1,56 @@
|
||||
{include file='admin/main.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading">审计记录查看</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="col-lg-12 col-md-12">
|
||||
<section class="content-inner margin-top-no">
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
<p>系统中所有审计记录。</p>
|
||||
<p>显示表项:
|
||||
{include file='table/checkbox.tpl'}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="table-responsive">
|
||||
{include file='table/table.tpl'}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='admin/footer.tpl'}
|
||||
|
||||
<script>
|
||||
{include file='table/js_1.tpl'}
|
||||
|
||||
$(document).ready(function(){
|
||||
{include file='table/js_2.tpl'}
|
||||
});
|
||||
</script>
|
||||
@ -0,0 +1,16 @@
|
||||
<footer class="ui-footer" style="position:relative">
|
||||
<div class="container">
|
||||
© {$config["appName"]} <a href="/staff">STAFF</a> {if $config["enable_analytics_code"] == 'true'}{include file='analytics.tpl'}{/if}
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!-- js -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.3.1"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery-validation@1.17.0"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/datatables.net@1.10.19"></script>
|
||||
<script src="//cdn.jsdelivr.net/gh/DataTables/DataTables@1.10.19/media/js/dataTables.material.min.js"></script>
|
||||
<script src="/theme/material/js/base.js"></script>
|
||||
<script src="/theme/material/js/project.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,47 @@
|
||||
{include file='admin/main.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading">在线IP</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<section class="content-inner margin-top-no">
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
<p>显示表项: {include file='table/checkbox.tpl'}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="table-responsive">
|
||||
{include file='table/table.tpl'}
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</main>
|
||||
|
||||
{include file='admin/footer.tpl'}
|
||||
|
||||
<script>
|
||||
{include file='table/js_1.tpl'}
|
||||
|
||||
$(document).ready(function(){
|
||||
{include file='table/js_2.tpl'}
|
||||
});
|
||||
</script>
|
||||
@ -0,0 +1,112 @@
|
||||
|
||||
|
||||
{include file='admin/main.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading">节点被封IP</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<section class="content-inner margin-top-no">
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
<p>这里是最近的节点上捕捉到的进行非法行为的IP。</p>
|
||||
<p>显示表项:
|
||||
{include file='table/checkbox.tpl'}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
<div class="form-group form-group-label">
|
||||
<label class="floating-label" for="ip">要解封的IP</label>
|
||||
<input class="form-control" id="ip" type="text">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<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> 解封</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="table-responsive">
|
||||
{include file='table/table.tpl'}
|
||||
</div>
|
||||
|
||||
{include file='dialog.tpl'}
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='admin/footer.tpl'}
|
||||
|
||||
|
||||
<script>
|
||||
{include file='table/js_1.tpl'}
|
||||
|
||||
$("#unblock").click(function () {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/admin/unblock",
|
||||
dataType: "json",
|
||||
data: {
|
||||
ip: $("#ip").val()
|
||||
},
|
||||
success: function (data) {
|
||||
if (data.ret) {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg);
|
||||
window.setTimeout("location.href=window.location.href", {$config['jump_delay']});
|
||||
}
|
||||
else
|
||||
{
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg);
|
||||
}
|
||||
// window.location.reload();
|
||||
},
|
||||
error: function (jqXHR) {
|
||||
alert("发生错误:" + jqXHR.status);
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
$(document).ready(function(){
|
||||
{include file='table/js_2.tpl'}
|
||||
});
|
||||
</script>
|
||||
@ -0,0 +1,48 @@
|
||||
{include file='admin/main.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading">最近登录记录</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<section class="content-inner margin-top-no">
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
<p>这里是最近的登录记录。</p>
|
||||
<p>显示表项: {include file='table/checkbox.tpl'}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="table-responsive">
|
||||
{include file='table/table.tpl'}
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</main>
|
||||
|
||||
{include file='admin/footer.tpl'}
|
||||
|
||||
<script>
|
||||
{include file='table/js_1.tpl'}
|
||||
|
||||
$(document).ready(function(){
|
||||
{include file='table/js_2.tpl'}
|
||||
});
|
||||
</script>
|
||||
@ -0,0 +1,49 @@
|
||||
{include file='admin/main.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading">解封IP记录</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<section class="content-inner margin-top-no">
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
<p>这里是最近的解封IP记录。</p>
|
||||
<p>显示表项: {include file='table/checkbox.tpl'}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="table-responsive">
|
||||
{include file='table/table.tpl'}
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</main>
|
||||
|
||||
{include file='admin/footer.tpl'}
|
||||
|
||||
<script>
|
||||
{include file='table/js_1.tpl'}
|
||||
|
||||
$(document).ready(function(){
|
||||
{include file='table/js_2.tpl'}
|
||||
});
|
||||
</script>
|
||||
@ -0,0 +1,127 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-cn">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta content="IE=edge" http-equiv="X-UA-Compatible">
|
||||
<meta content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width" name="viewport">
|
||||
<meta name="theme-color" content="#f44336">
|
||||
<title>{$config["appName"]}</title>
|
||||
|
||||
|
||||
|
||||
<!-- css -->
|
||||
<link href="/theme/material/css/base.min.css" rel="stylesheet">
|
||||
<link href="/theme/material/css/project.css" rel="stylesheet">
|
||||
<link href="https://fonts.loli.net/css?family=Roboto:300,300italic,400,400italic,500,500italic" rel="stylesheet">
|
||||
<link href="https://fonts.loli.net/css?family=Material+Icons" rel="stylesheet">
|
||||
<link href="/theme/material/css/material.min.css" rel="stylesheet">
|
||||
<link href="/theme/material/css/dataTables.material.min.css" rel="stylesheet">
|
||||
|
||||
<!-- favicon -->
|
||||
<!-- ... -->
|
||||
</head>
|
||||
|
||||
<body class="page-brand">
|
||||
<header class="header header-red header-transparent header-waterfall ui-header">
|
||||
<ul class="nav nav-list pull-left">
|
||||
<div>
|
||||
<a data-toggle="menu" href="#ui_menu">
|
||||
<span class="icon icon-lg">menu</span>
|
||||
</a>
|
||||
</div>
|
||||
</ul>
|
||||
|
||||
<ul class="nav nav-list pull-right">
|
||||
<div class="dropdown margin-right">
|
||||
<a class="dropdown-toggle padding-left-no padding-right-no" data-toggle="dropdown">
|
||||
{if $user->isLogin}
|
||||
<span class="access-hide">{$user->user_name}</span>
|
||||
<span class="avatar avatar-sm"><img alt="alt text for John Smith avatar" src="{$user->gravatar}"></span>
|
||||
</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>
|
||||
</li>
|
||||
<li>
|
||||
<a class="padding-right-lg waves-attach" href="/user/logout"><span class="icon icon-lg margin-right">exit_to_app</span>登出</a>
|
||||
</li>
|
||||
</ul>
|
||||
{else}
|
||||
<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">
|
||||
<li>
|
||||
<a class="padding-right-lg waves-attach" href="/auth/login"><span class="icon icon-lg margin-right">account_box</span>登录</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="padding-right-lg waves-attach" href="/auth/register"><span class="icon icon-lg margin-right">pregnant_woman</span>注册</a>
|
||||
</li>
|
||||
</ul>
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
</ul>
|
||||
</header>
|
||||
<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> 管理面板</a>
|
||||
<ul class="nav">
|
||||
<li>
|
||||
<a class="waves-attach" data-toggle="collapse" href="#ui_menu_me">我的</a>
|
||||
<ul class="menu-collapse collapse in" id="ui_menu_me">
|
||||
<li><a href="/admin"><i class="icon icon-lg">business_center</i> 系统概览</a></li>
|
||||
<li><a href="/admin/announcement"><i class="icon icon-lg">announcement</i> 公告管理</a></li>
|
||||
<li><a href="/admin/ticket"><i class="icon icon-lg">question_answer</i> 工单管理</a></li>
|
||||
<li><a href="/admin/auto"><i class="icon icon-lg">flash_auto</i> 下发命令</a></li>
|
||||
</ul>
|
||||
|
||||
<a class="waves-attach" data-toggle="collapse" href="#ui_menu_node">节点</a>
|
||||
<ul class="menu-collapse collapse in" id="ui_menu_node">
|
||||
<li><a href="/admin/node"><i class="icon icon-lg">router</i> 节点列表</a></li>
|
||||
<li><a href="/admin/trafficlog"><i class="icon icon-lg">traffic</i> 流量记录</a></li>
|
||||
<li><a href="/admin/block"><i class="icon icon-lg">dialer_sip</i> 已封禁IP</a></li>
|
||||
<li><a href="/admin/unblock"><i class="icon icon-lg">dialer_sip</i> 已解封IP</a></li>
|
||||
</ul>
|
||||
|
||||
<a class="waves-attach" data-toggle="collapse" href="#ui_menu_user">用户</a>
|
||||
<ul class="menu-collapse collapse in" id="ui_menu_user">
|
||||
<li><a href="/admin/user"><i class="icon icon-lg">supervisor_account</i> 用户列表</a></li>
|
||||
<li><a href="/admin/relay"><i class="icon icon-lg">compare_arrows</i> 中转规则</a></li>
|
||||
<li><a href="/admin/invite"><i class="icon icon-lg">loyalty</i> 邀请与返利</a></li>
|
||||
<li><a href="/admin/login"><i class="icon icon-lg">text_fields</i> 登录记录</a></li>
|
||||
<li><a href="/admin/alive"><i class="icon icon-lg">important_devices</i> 在线IP</a></li>
|
||||
</ul>
|
||||
|
||||
<a class="waves-attach" data-toggle="collapse" href="#ui_menu_detect">审计</a>
|
||||
<ul class="menu-collapse collapse in" id="ui_menu_detect">
|
||||
<li><a href="/admin/detect"><i class="icon icon-lg">account_balance</i> 审计规则</a></li>
|
||||
<li><a href="/admin/detect/log"><i class="icon icon-lg">assignment_late</i> 审计记录</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<a class="waves-attach" data-toggle="collapse" href="#ui_menu_trade">交易</a>
|
||||
<ul class="menu-collapse collapse in" id="ui_menu_trade">
|
||||
<li><a href="/admin/code"><i class="icon icon-lg">code</i> 充值码{if $config['enable_donate']=='true'}与捐赠{/if}</a></li>
|
||||
<li><a href="/admin/shop"><i class="icon icon-lg">shop</i> 商品</a></li>
|
||||
<li><a href="/admin/coupon"><i class="icon icon-lg">card_giftcard</i> 优惠码</a></li>
|
||||
<li><a href="/admin/bought"><i class="icon icon-lg">shopping_cart</i> 购买记录</a></li>
|
||||
{if $config['payment_system']=='yftpay'}
|
||||
<li><a href="/admin/yftOrder"><i class="icon icon-lg">shopping_cart</i> 充值记录</a></li>
|
||||
{/if}
|
||||
{if $config['payment_system']=='chenAlipay'}
|
||||
<li><a href="/admin/editConfig"><i class="icon icon-lg">shopping_cart</i> 支付设置</a></li>
|
||||
{/if}
|
||||
</ul>
|
||||
|
||||
<li><a href="/user"><i class="icon icon-lg">person</i> 用户中心</a></li>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
@ -0,0 +1,156 @@
|
||||
|
||||
|
||||
|
||||
{include file='admin/main.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading"> 添加中转规则</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<section class="content-inner margin-top-no">
|
||||
<form id="main_form">
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
<div class="form-group form-group-label">
|
||||
<label class="floating-label" for="source_node">起源节点</label>
|
||||
<select id="source_node" class="form-control" name="source_node">
|
||||
<option value="0">请选择起源节点</option>
|
||||
{foreach $source_nodes as $source_node}
|
||||
<option value="{$source_node->id}">{$source_node->name}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group form-group-label">
|
||||
<label class="floating-label" for="dist_node">目标节点</label>
|
||||
<select id="dist_node" class="form-control" name="dist_node">
|
||||
<option value="-1">不进行中转</option>
|
||||
{foreach $dist_nodes as $dist_node}
|
||||
<option value="{$dist_node->id}">{$dist_node->name}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group form-group-label">
|
||||
<label class="floating-label" for="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>
|
||||
<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>
|
||||
<input class="form-control" id="user_id" name="user_id" type="text" value="0">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
{include file='dialog.tpl'}
|
||||
<section>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='admin/footer.tpl'}
|
||||
|
||||
|
||||
{literal}
|
||||
<script>
|
||||
|
||||
$('#main_form').validate({
|
||||
rules: {
|
||||
priority: {required: true},
|
||||
port: {required: true},
|
||||
user_id: {required: true}
|
||||
},
|
||||
|
||||
|
||||
submitHandler: function() {
|
||||
|
||||
|
||||
|
||||
$.ajax({
|
||||
|
||||
type: "POST",
|
||||
url: "/admin/relay",
|
||||
dataType: "json",
|
||||
{/literal}
|
||||
data: {
|
||||
source_node: $("#source_node").val(),
|
||||
dist_node: $("#dist_node").val(),
|
||||
port: $("#port").val(),
|
||||
user_id: $("#user_id").val(),
|
||||
priority: $("#priority").val()
|
||||
{literal}
|
||||
},
|
||||
success: function (data) {
|
||||
if (data.ret) {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg);
|
||||
{/literal}
|
||||
window.setTimeout("location.href=top.document.referrer", {$config['jump_delay']});
|
||||
{literal}
|
||||
} else {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg);
|
||||
}
|
||||
},
|
||||
error: function (jqXHR) {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg+" 发生错误了。");
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
{/literal}
|
||||
@ -0,0 +1,146 @@
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='admin/main.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading"> 编辑规则 #{$rule->id}</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<section class="content-inner margin-top-no">
|
||||
<form id="main_form">
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
<div class="form-group form-group-label">
|
||||
<label class="floating-label" for="source_node">起源节点</label>
|
||||
<select id="source_node" class="form-control" name="source_node">
|
||||
<option value="0">请选择起源节点</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}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group form-group-label">
|
||||
<label class="floating-label" for="dist_node">目标节点</label>
|
||||
<select id="dist_node" class="form-control" name="dist_node">
|
||||
<option value="-1">不进行中转</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}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group form-group-label">
|
||||
<label class="floating-label" for="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>
|
||||
<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>
|
||||
<input class="form-control" id="user_id" name="user_id" type="text" value="{$rule->user_id}">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
{include file='dialog.tpl'}
|
||||
<section>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
{include file='admin/footer.tpl'}
|
||||
|
||||
|
||||
{literal}
|
||||
<script>
|
||||
|
||||
$('#main_form').validate({
|
||||
rules: {
|
||||
priority: {required: true},
|
||||
port: {required: true},
|
||||
user_id: {required: true}
|
||||
},
|
||||
|
||||
|
||||
submitHandler: function() {
|
||||
|
||||
|
||||
|
||||
$.ajax({
|
||||
{/literal}
|
||||
type: "PUT",
|
||||
url: "/admin/relay/{$rule->id}",
|
||||
dataType: "json",
|
||||
data: {
|
||||
source_node: $("#source_node").val(),
|
||||
dist_node: $("#dist_node").val(),
|
||||
port: $("#port").val(),
|
||||
user_id: $("#user_id").val(),
|
||||
priority: $("#priority").val()
|
||||
{literal}
|
||||
},
|
||||
success: function (data) {
|
||||
if (data.ret) {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg);
|
||||
{/literal}
|
||||
window.setTimeout("location.href=top.document.referrer", {$config['jump_delay']});
|
||||
{literal}
|
||||
} else {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg);
|
||||
}
|
||||
},
|
||||
error: function (jqXHR) {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg+" 发生错误了。");
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
{/literal}
|
||||
@ -0,0 +1,124 @@
|
||||
|
||||
|
||||
|
||||
{include file='admin/main.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading">中转链路搜索</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="col-lg-12 col-md-12">
|
||||
<section class="content-inner margin-top-no">
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
<p>系统中这位用户的链路。</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
<div class="form-group form-group-label">
|
||||
<label class="floating-label" for="search"> 输入用户 ID 进行搜索链路搜索 </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> 搜索</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="mdl-data-table" id="table_1" cellspacing="0" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>端口</th>
|
||||
<th>始发节点</th>
|
||||
<th>终点节点</th>
|
||||
<th>途径节点</th>
|
||||
<th>状态</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>端口</th>
|
||||
<th>始发节点</th>
|
||||
<th>终点节点</th>
|
||||
<th>途径节点</th>
|
||||
<th>状态</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<tbody>
|
||||
{foreach $pathset as $path}
|
||||
<tr>
|
||||
<td>{$path->port}</td>
|
||||
<td>{$path->begin_node->name}</td>
|
||||
<td>{$path->end_node->name}</td>
|
||||
<td>{$path->path}</td>
|
||||
<td>{$path->status}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='admin/footer.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
|
||||
$(document).ready(function(){
|
||||
table = $('#table_1').DataTable({
|
||||
"columnDefs": [
|
||||
{
|
||||
targets: [ '_all' ],
|
||||
className: 'mdl-data-table__cell--non-numeric'
|
||||
}
|
||||
],
|
||||
{include file='table/lang_chinese.tpl'}
|
||||
});
|
||||
|
||||
function search(){
|
||||
window.location="/admin/relay/path_search/"+$("#search").val();
|
||||
}
|
||||
|
||||
$("#search_button").click(function(){
|
||||
if($("#search").val()!="")
|
||||
{
|
||||
search();
|
||||
}
|
||||
});
|
||||
})
|
||||
|
||||
</script>
|
||||
@ -0,0 +1,26 @@
|
||||
{include file='admin/main.tpl'}
|
||||
|
||||
<div class="content-wrapper">
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
统计信息
|
||||
<small>A</small>
|
||||
</h1>
|
||||
</section>
|
||||
<!-- Main content -->
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<!-- left column -->
|
||||
<div class="col-md-6">
|
||||
<!-- general form elements -->
|
||||
<div class="box box-primary">
|
||||
<div class="box-body">
|
||||
<p>Coming soon...</p>
|
||||
</div><!-- /.box -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section><!-- /.content -->
|
||||
</div><!-- /.content-wrapper -->
|
||||
{include file='admin/footer.tpl'}
|
||||
@ -0,0 +1,63 @@
|
||||
{include file='admin/main.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading">工单</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<section class="content-inner margin-top-no">
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
<p>系统中的工单</p>
|
||||
<p>显示表项:
|
||||
{include file='table/checkbox.tpl'}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="table-responsive">
|
||||
{include file='table/table.tpl'}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='admin/footer.tpl'}
|
||||
|
||||
|
||||
<script>
|
||||
{include file='table/js_1.tpl'}
|
||||
$(document).ready(function(){
|
||||
table = $('#table_tickets').DataTable({
|
||||
ajax: 'ticket/ajax',
|
||||
processing: true,
|
||||
serverSide: true,
|
||||
order: [[ 1, 'desc' ]]
|
||||
})
|
||||
|
||||
{include file='table/js_2.tpl'}
|
||||
});
|
||||
</script>
|
||||
@ -0,0 +1,62 @@
|
||||
{include file='admin/main.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading">流量使用记录</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<section class="content-inner margin-top-no">
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
<p>部分节点不支持流量记录.</p>
|
||||
<p>显示表项:
|
||||
{include file='table/checkbox.tpl'}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="table-responsive">
|
||||
{include file='table/table.tpl'}
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='admin/footer.tpl'}
|
||||
|
||||
<script>
|
||||
|
||||
{include file='table/js_1.tpl'}
|
||||
|
||||
|
||||
$(document).ready(function(){
|
||||
{include file='table/js_2.tpl'}
|
||||
});
|
||||
</script>
|
||||
@ -0,0 +1,81 @@
|
||||
{include file='admin/main.tpl'}
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading">充值记录</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<section class="content-inner margin-top-no">
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
<p>系统中充值记录。</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="table-responsive">
|
||||
{$orderList->render()}
|
||||
<table class="table ">
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>订单号</th>
|
||||
<th>金额</th>
|
||||
<th>充值时间</th>
|
||||
<th>状态</th>
|
||||
</tr>
|
||||
{if sizeof($orderList) > 0}
|
||||
{foreach $orderList as $order}
|
||||
<tr>
|
||||
<td>#{$order->id}</td>
|
||||
<td>{$order->yft_order}</td>
|
||||
<td>{$order->price} 元</td>
|
||||
<td>{$order->create_time}</td>
|
||||
{if ($order->state == 1)}<td>已支付</td>{else}<td>未支付</td>{/if}
|
||||
</tr>
|
||||
{/foreach}
|
||||
{else}
|
||||
<tr>
|
||||
<td colspan="5">暂无充值记录!</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</table>
|
||||
</div>
|
||||
<span>总共{$countPage}页</span>
|
||||
<input type="hidden" id="countPage" value="{$countPage}">
|
||||
<span>当前第{$currentPage}页</span>
|
||||
<input type="hidden" id="currentPage" value="{$currentPage}">
|
||||
<a class="btn btn-brand" href="/admin/yftOrder">首页</a>
|
||||
<a class="btn btn-brand" href="javascript:void(0)" id="pre" onclick="goto('pre')">上一页</a>
|
||||
<a class="btn btn-brand" href="javascript:void(0)" id="nxt" onclick="goto('next')">下一页</a>
|
||||
<a class="btn btn-brand" href="javascript:void(0)" id="end" onclick="goto('end')">尾页</a>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
{include file='admin/footer.tpl'}
|
||||
<script>
|
||||
function goto(type) {
|
||||
var countPage = $("#countPage").val();
|
||||
var currentPage = $("#currentPage").val();
|
||||
if ("pre" == type){
|
||||
if (currentPage == 1 || currentPage == ""){
|
||||
}else {
|
||||
window.location.href = "/admin/yftOrder?page=" + {$currentPage -1};
|
||||
}
|
||||
}else if ("next" == type){
|
||||
if (currentPage == countPage){
|
||||
}else {
|
||||
window.location.href = "/admin/yftOrder?page=" + {$currentPage +1};
|
||||
}
|
||||
}else if ("end" == type){
|
||||
if (countPage == currentPage){
|
||||
}else {
|
||||
window.location.href = "/admin/yftOrder?page=" + countPage;
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@ -0,0 +1 @@
|
||||
<literal><script type="text/javascript"> window.$crisp=[];window.CRISP_WEBSITE_ID="{$config["crisp_id"]}";$crisp.push(["set", "user:email", "{$user->email}"]);(function(){ d=document;s=d.createElement("script"); s.src="https://client.crisp.chat/l.js"; s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})(); </script></literal>
|
||||
@ -0,0 +1,12 @@
|
||||
<div aria-hidden="true" class="modal modal-va-middle fade" id="result" role="dialog" tabindex="-1">
|
||||
<div class="modal-dialog modal-xs">
|
||||
<div class="modal-content">
|
||||
<div class="modal-inner">
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -0,0 +1,16 @@
|
||||
<ul>
|
||||
<img src="/images/email_nrcy.jpg" height="458" width="468">
|
||||
<br />
|
||||
{if $config["enable_admin_contact"] == 'true'}
|
||||
<p>如果发现“收信查询”中没有找到邮件,请联系站长:</p>
|
||||
{if $config["admin_contact1"]!=null}
|
||||
<li>{$config["admin_contact1"]}</li>
|
||||
{/if}
|
||||
{if $config["admin_contact2"]!=null}
|
||||
<li>{$config["admin_contact2"]}</li>
|
||||
{/if}
|
||||
{if $config["admin_contact3"]!=null}
|
||||
<li>{$config["admin_contact3"]}</li>
|
||||
{/if}
|
||||
{/if}
|
||||
</ul>
|
||||
@ -0,0 +1,18 @@
|
||||
<footer class="ui-footer">
|
||||
<div class="container">
|
||||
<marquee>© {$config["appName"]} <a href="/staff">STAFF</a><amarquee>{if $config["enable_analytics_code"] == 'true'}{include file='analytics.tpl'}{/if}
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- js -->
|
||||
<script src="/theme/material/js/jquery.min.js"></script>
|
||||
<script src="//static.geetest.com/static/tools/gt.js"></script>
|
||||
|
||||
<script src="/theme/material/js/base.min.js"></script>
|
||||
<script src="/theme/material/js/project.min.js"></script>
|
||||
<script type="text/javascript" color="217,113,24" opacity="0.8" count="99" src="https://cdn.jsdelivr.net/npm/canvas-nest.js@1.0.1"></script>
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,101 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-cn">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta content="IE=edge" http-equiv="X-UA-Compatible">
|
||||
<meta content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width" name="viewport">
|
||||
<meta name="theme-color" content="#3f51b5">
|
||||
<title>{$config["appName"]}</title>
|
||||
<!-- css -->
|
||||
<link href="/theme/material/css/base.min.css" rel="stylesheet">
|
||||
<link href="/theme/material/css/project.min.css" rel="stylesheet">
|
||||
<link href="https://fonts.loli.net/css?family=Roboto:300,300italic,400,400italic,500,500italic" rel="stylesheet">
|
||||
<link href="https://fonts.loli.net/css?family=Material+Icons" rel="stylesheet">
|
||||
|
||||
<!-- favicon -->
|
||||
|
||||
<!-- ... -->
|
||||
</head>
|
||||
<style>
|
||||
.divcss5{ position:fixed; bottom:0;}
|
||||
</style>
|
||||
<body class="page-brand">
|
||||
<header class="header header-transparent header-waterfall ui-header">
|
||||
<ul class="nav nav-list pull-left">
|
||||
<li>
|
||||
<a data-toggle="menu" href="#ui_menu">
|
||||
<span class="icon icon-lg">format_align_justify</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class="nav nav-list pull-right">
|
||||
<li class="dropdown margin-right">
|
||||
<a class="dropdown-toggle padding-left-no padding-right-no" data-toggle="dropdown">
|
||||
{if $user->isLogin}
|
||||
<span class="access-hide">{$user->user_name}</span>
|
||||
<span class="icon icon-cd margin-right">account_circle</span>
|
||||
<!-- <span class="avatar avatar-sm"><img alt="alt text for John Smith avatar" src="{$user->gravatar}"></span> -->
|
||||
</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>
|
||||
</li>
|
||||
<li>
|
||||
<a class="padding-right-lg waves-attach" href="/user/logout"><span class="icon icon-lg margin-right">exit_to_app</span>登出</a>
|
||||
</li>
|
||||
</ul>
|
||||
{else}
|
||||
<span class="access-hide">未登录</span>
|
||||
<span class="icon icon-cd margin-right">account_circle</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">vpn_key</span>登录</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="padding-right-lg waves-attach" href="/auth/register"><span class="icon icon-lg margin-right">person_add</span>注册</a>
|
||||
</li>
|
||||
</ul>
|
||||
{/if}
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
</header>
|
||||
<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> 点击返回官网</a>
|
||||
<ul class="nav">
|
||||
|
||||
{if $user->isLogin}
|
||||
<li>
|
||||
<a href="/user"><i class="icon icon-lg">person</i> 用户中心</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/user/logout"><i class="icon icon-lg">call_missed_outgoing</i> 退出</a>
|
||||
</li>
|
||||
{else}
|
||||
<li>
|
||||
<a href="/auth/login"><i class="icon icon-lg">vpn_key</i> 登录</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/auth/register"><i class="icon icon-lg">person_add</i> 注册</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/password/reset"><i class="icon icon-lg">security</i> 重置密码</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="divcss5">
|
||||
<img src="/images/Ambassador-menu.png" width="230" height="310"/>
|
||||
</div>
|
||||
</li>
|
||||
{/if}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
{if $config["enable_crisp"] == 'true'}{include file='crisp.tpl'}{/if}
|
||||
@ -0,0 +1,177 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!--
|
||||
Dimension by HTML5 UP
|
||||
html5up.net | @ajlkn
|
||||
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
-->
|
||||
{if $config['appName'] == '跑路'}
|
||||
<script>window.location.href='{$config["baseUrl"]}/paolu.html';</script>
|
||||
{/if}
|
||||
<html>
|
||||
<head>
|
||||
<title>{$config["appName"]}</title>
|
||||
<meta name="keywords" content=""/>
|
||||
<meta name="description" content=""/>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="shortcut icon" href="/favicon.ico"/>
|
||||
<link rel="bookmark" href="/favicon.ico"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/>
|
||||
<link rel="stylesheet" href="/assets/css/main.css"/>
|
||||
<noscript><link rel="stylesheet" href="/assets/css/noscript.css" /></noscript>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
<!--首页开始-->
|
||||
<header id="header">
|
||||
<div class="logo">
|
||||
<span class="icon fa-rocket"></span>
|
||||
</div>
|
||||
{if $user->isLogin}
|
||||
<div class="content">
|
||||
<div class="inner">
|
||||
<p>用户:<code>{$user->user_name}</code>
|
||||
等级:{if $user->class!=0}
|
||||
<code>VIP{$user->class}</code>
|
||||
{else}
|
||||
<code>免费</code>
|
||||
{/if}
|
||||
过期时间:{if $user->class_expire!="1989-06-04 00:05:00"}
|
||||
<code>{$user->class_expire}</code>
|
||||
{else}
|
||||
<code>不过期</code>
|
||||
{/if}</p>
|
||||
<p>总流量:<code>{$user->enableTraffic()}</code>
|
||||
已用流量:<code>{$user->usedTraffic()}</code>
|
||||
剩余流量:<code>{$user->unusedTraffic()}</code></p>
|
||||
</div>
|
||||
</div>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="#1">简介</a></li>
|
||||
<li><a href="/user">用户中心</a></li>
|
||||
<li><a href="/user/logout">退出登录</a></li>
|
||||
<li><a href="#5">下载</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
{else}
|
||||
<div class="content">
|
||||
<div class="inner">
|
||||
<h1>{$config["appName"]}</h1>
|
||||
<!--
|
||||
如果想自定义文本请删除下面这段script代码,格式为
|
||||
<p>自定义文本</p>
|
||||
-->
|
||||
<script type="text/javascript" src="https://api.lwl12.com/hitokoto/main/get?encode=js&charset=utf-8"></script><div id="lwlhitokoto"><script>lwlhitokoto()</script></div>
|
||||
</div>
|
||||
</div>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="#1">简介</a></li>
|
||||
<li><a href="/auth/login">登录</a></li>
|
||||
<li><a href="/auth/register">注册</a></li>
|
||||
<li><a href="#5">下载</a></li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
{/if}
|
||||
|
||||
</header>
|
||||
<!--首页结束-->
|
||||
<div id="main">
|
||||
<!--标签1开始-->
|
||||
<article id="1">
|
||||
<h2 class="major">简介</h2>
|
||||
<p>「ホワイトアルバムの季節」が、また、やってきた。</p></article>
|
||||
<!--
|
||||
简介修改示例:
|
||||
<p> 123</p>
|
||||
一个 <p> 123</p> 为一行,请不要删除 </article>
|
||||
-->
|
||||
<!--标签4开始-->
|
||||
<article id="4">
|
||||
<h2 class="major">联系我们</h2>
|
||||
<ul class="icons">
|
||||
<p>此处填写联系方式</p>
|
||||
<li>
|
||||
<a target="_blank" href="#" class="icon fa-facebook">
|
||||
<!-- 请在fontawesome.com寻找替换图标 href替换链接 -->
|
||||
<span class="label">Facebook</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</article>
|
||||
<!--标签5开始-->
|
||||
<article id="5">
|
||||
<h2 class="major">软件下载</h2>
|
||||
<ul>
|
||||
<li><a href="/ssr-download/ssr-win.7z" class="icon fa-windows"><span class="label"></span> Windows</a></li>
|
||||
<li><a href="/ssr-download/ssr-mac.dmg" class="icon fa-apple"><span class="label">Mac</span> Mac</a></li>
|
||||
<li><a href="/ssr-download/ssr-android.apk" class="icon fa-android"><span class="label">Android</span> Android</a></li>
|
||||
<li><a href="#ios" class="icon fa-apple"><span class="label">iOS</span> iOS</a></li>
|
||||
<li><a href="/ssr-download/SSTap.7z" class="icon fa-gamepad"><span class="label">Win游戏专用</span> Win游戏专用</a></li>
|
||||
|
||||
</ul>
|
||||
</article>
|
||||
<!--标签5开始-->
|
||||
<article id="login">
|
||||
|
||||
<h2 class="major">登录</h2>
|
||||
<form method="post" action="javascript:void(0);">
|
||||
<div class="field half first">
|
||||
<label for="email2">邮箱</label>
|
||||
<input type="text" name="Email" id="email2" />
|
||||
</div>
|
||||
<div class="field half">
|
||||
<label for="passwd">密码</label>
|
||||
<input type="password" name="Password" id="passwd" />
|
||||
</div>
|
||||
|
||||
<ul class="actions">
|
||||
<li><input id="login" type="submit" value="登录" class="special" /></li>
|
||||
<li><input type="reset" value="清空" /></li>
|
||||
</ul>
|
||||
</form>
|
||||
|
||||
|
||||
<div class="field half">
|
||||
<input value="week" id="remember_me" name="remember_me" type="checkbox" checked>
|
||||
<label for="remember_me">记住我</label>
|
||||
</div>
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
<div id="result" role="dialog" >
|
||||
<p color class="h5 margin-top-sm text-black-hint" id="msg"></p>
|
||||
</div>
|
||||
</article>
|
||||
<!--全部标签结束-->
|
||||
|
||||
</div>
|
||||
<!-- 版权底部 -->
|
||||
<footer id="footer">
|
||||
<p class="copyright">©2015-{date("Y")} {$config["appName"]}</p>
|
||||
</footer>
|
||||
<!-- 版权结束 -->
|
||||
</div>
|
||||
<!-- BG -->
|
||||
<div id="bg"></div>
|
||||
<!-- Scripts -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@1.11.3"></script>
|
||||
<script src="https://cdn.jsdelivr.net/gh/ajlkn/skel@3.0.1/dist/skel.min.js"></script>
|
||||
<script src="/assets/js/util.js"></script>
|
||||
<script src="/assets/js/main.js"></script>
|
||||
<script language="javascript">
|
||||
try{
|
||||
if(window.console&&window.console.log){
|
||||
|
||||
console.log("%c{$config["appName"]}"," text-shadow: 0 1px 0 #ccc,0 2px 0 #c9c9c9,0 3px 0 #bbb,0 4px 0 #b9b9b9,0 5px 0 #aaa,0 6px 1px rgba(0,0,0,.1),0 0 5px rgba(0,0,0,.1),0 1px 3px rgba(0,0,0,.3),0 3px 5px rgba(0,0,0,.2),0 5px 10px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.2),0 20px 20px rgba(0,0,0,.15);font-size:5em");
|
||||
console.log("%chttps://github.com/NimaQu/ss-panel-v3-mod_Uim","background: rgba(252,234,187,1);background: -moz-linear-gradient(left, rgba(252,234,187,1) 0%, rgba(175,250,77,1) 12%, rgba(0,247,49,1) 28%, rgba(0,210,247,1) 39%,rgba(0,189,247,1) 51%, rgba(133,108,217,1) 64%, rgba(177,0,247,1) 78%, rgba(247,0,189,1) 87%, rgba(245,22,52,1) 100%);background: -webkit-gradient(left top, right top, color-stop(0%, rgba(252,234,187,1)), color-stop(12%, rgba(175,250,77,1)), color-stop(28%, rgba(0,247,49,1)), color-stop(39%, rgba(0,210,247,1)), color-stop(51%, rgba(0,189,247,1)), color-stop(64%, rgba(133,108,217,1)), color-stop(78%, rgba(177,0,247,1)), color-stop(87%, rgba(247,0,189,1)), color-stop(100%, rgba(245,22,52,1)));background: -webkit-linear-gradient(left, rgba(252,234,187,1) 0%, rgba(175,250,77,1) 12%, rgba(0,247,49,1) 28%, rgba(0,210,247,1) 39%, rgba(0,189,247,1) 51%, rgba(133,108,217,1) 64%, rgba(177,0,247,1) 78%, rgba(247,0,189,1) 87%, rgba(245,22,52,1) 100%);background: -o-linear-gradient(left, rgba(252,234,187,1) 0%, rgba(175,250,77,1) 12%, rgba(0,247,49,1) 28%, rgba(0,210,247,1) 39%, rgba(0,189,247,1) 51%, rgba(133,108,217,1) 64%, rgba(177,0,247,1) 78%, rgba(247,0,189,1) 87%, rgba(245,22,52,1) 100%);background: -ms-linear-gradient(left, rgba(252,234,187,1) 0%, rgba(175,250,77,1) 12%, rgba(0,247,49,1) 28%, rgba(0,210,247,1) 39%, rgba(0,189,247,1) 51%, rgba(133,108,217,1) 64%, rgba(177,0,247,1) 78%, rgba(247,0,189,1) 87%, rgba(245,22,52,1) 100%);background: linear-gradient(to right, rgba(252,234,187,1) 0%, rgba(175,250,77,1) 12%, rgba(0,247,49,1) 28%, rgba(0,210,247,1) 39%, rgba(0,189,247,1) 51%, rgba(133,108,217,1) 64%, rgba(177,0,247,1) 78%, rgba(247,0,189,1) 87%, rgba(245,22,52,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fceabb', endColorstr='#f51634', GradientType=1 );font-size:3em");
|
||||
}
|
||||
}catch(e){
|
||||
};
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,115 @@
|
||||
{include file='header.tpl'}
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-lg-push-4 col-sm-6 col-sm-push-3">
|
||||
<section class="content-inner">
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-header">
|
||||
<div class="card-inner">
|
||||
<h1 class="card-heading">重置密码</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-inner">
|
||||
<p class="text-center">
|
||||
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
<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">邮箱</label>
|
||||
<input class="form-control" id="email" type="text">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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>
|
||||
<a href="" onclick="return false;" data-toggle='modal' data-target='#email_nrcy_modal'>收不到验证码?点击这里</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{include file='dialog.tpl'}
|
||||
|
||||
<div aria-hidden="true" class="modal modal-va-middle fade" id="email_nrcy_modal" role="dialog" tabindex="-1">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-heading">
|
||||
<h2 class="modal-title">收不到验证码?</h2>
|
||||
</div>
|
||||
<div class="modal-inner">
|
||||
{include file='email_nrcy.tpl'}
|
||||
</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>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
||||
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
function reset(){
|
||||
$("#result").modal();
|
||||
$("#msg").html("sending, please wait....");
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url:"/password/reset",
|
||||
dataType:"json",
|
||||
data:{
|
||||
email: $("#email").val(),
|
||||
},
|
||||
success:function(data){
|
||||
if(data.ret == 1){
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg);
|
||||
// window.setTimeout("location.href='/auth/login'", 2000);
|
||||
}else{
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg);
|
||||
}
|
||||
},
|
||||
error:function(jqXHR){
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg);
|
||||
}
|
||||
});
|
||||
}
|
||||
$("html").keydown(function(event){
|
||||
if(event.keyCode==13){
|
||||
reset();
|
||||
}
|
||||
});
|
||||
$("#reset").click(function(){
|
||||
reset();
|
||||
});
|
||||
})
|
||||
</script>
|
||||
@ -0,0 +1,120 @@
|
||||
|
||||
{include file='header.tpl'}
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-lg-push-4 col-sm-6 col-sm-push-3">
|
||||
<section class="content-inner">
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-header">
|
||||
<div class="card-inner">
|
||||
<h1 class="card-heading">重置密码</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-inner">
|
||||
<p class="text-center">
|
||||
<span class="avatar avatar-inline avatar-lg">
|
||||
<img alt="Login" src="/theme/material/images/users/avatar-001.jpg">
|
||||
</span>
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
<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>
|
||||
<input class="form-control" id="password" type="password">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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>
|
||||
<input class="form-control" id="repasswd" type="password">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</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>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='dialog.tpl'}
|
||||
|
||||
|
||||
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
{include file='footer.tpl'}
|
||||
|
||||
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
function reset(){
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url:"/password/token/{$token}",
|
||||
dataType:"json",
|
||||
data:{
|
||||
password: $("#password").val(),
|
||||
repasswd: $("#repasswd").val(),
|
||||
},
|
||||
success:function(data){
|
||||
if(data.ret){
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg);
|
||||
window.setTimeout("location.href='/auth/login'", {$config['jump_delay']});
|
||||
}else{
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg);
|
||||
}
|
||||
},
|
||||
error:function(jqXHR){
|
||||
$("#msg-error").hide(10);
|
||||
$("#msg-error").show(100);
|
||||
$("#msg-error-p").html("发生错误:"+jqXHR.status);
|
||||
// 在控制台输出错误信息
|
||||
console.log(removeHTMLTag(jqXHR.responseText));
|
||||
}
|
||||
});
|
||||
}
|
||||
$("html").keydown(function(event){
|
||||
if(event.keyCode==13){
|
||||
reset();
|
||||
}
|
||||
});
|
||||
$("#reset").click(function(){
|
||||
reset();
|
||||
});
|
||||
})
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,9 @@
|
||||
<ul>
|
||||
<li>请提供真实邮箱,并自行保管。邮箱为用户的唯一凭证。</li>
|
||||
<li>本站会加密存储用户密码,尽量保证数据安全,但并不保证这些信息的绝对安全。</li>
|
||||
<li>禁止使用本站服务进行任何违法恶意活动。</li>
|
||||
<li>使用任何节点,需遵循节点所属国家的相关法律以及中国法律。</li>
|
||||
<li>禁止滥用本站提供的服务。</li>
|
||||
<li>对于免费用户,我们有权在不通知的情况下删除账户。</li>
|
||||
<li>任何违反使用条款的用户,我们将会删除违规账户并收回使用本站服务的权利。</li>
|
||||
</ul>
|
||||
@ -0,0 +1,8 @@
|
||||
{foreach $table_config['total_column'] as $key => $value}
|
||||
<div class="checkbox checkbox-adv checkbox-inline">
|
||||
<label for="checkbox_{$key}">
|
||||
<input href="javascript:void(0);" onClick="modify_table_visible('checkbox_{$key}', '{$key}')" {if in_array($key, $table_config['default_show_column']) || count($table_config['default_show_column']) == 0}checked=""{/if} class="access-hide" id="checkbox_{$key}" name="checkbox_{$key}" type="checkbox">{$value}
|
||||
<span class="checkbox-circle"></span><span class="checkbox-circle-check"></span><span class="checkbox-circle-icon icon">done</span>
|
||||
</label>
|
||||
</div>
|
||||
{/foreach}
|
||||
@ -0,0 +1,12 @@
|
||||
function modify_table_visible(id, key) {
|
||||
if(document.getElementById(id).checked)
|
||||
{
|
||||
table_1.columns( '.' + key ).visible( true );
|
||||
localStorage.setItem(window.location.href + '-haschecked-' + id, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
table_1.columns( '.' + key ).visible( false );
|
||||
localStorage.setItem(window.location.href + '-haschecked-' + id, false);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,41 @@
|
||||
table_1 = $('#table_1').DataTable({
|
||||
ajax: {
|
||||
url: '{$table_config['ajax_url']}',
|
||||
type: "POST"
|
||||
},
|
||||
processing: true,
|
||||
serverSide: true,
|
||||
order: [[ 0, 'desc' ]],
|
||||
stateSave: true,
|
||||
columnDefs: [
|
||||
{
|
||||
targets: [ '_all' ],
|
||||
className: 'mdl-data-table__cell--non-numeric'
|
||||
}
|
||||
],
|
||||
columns: [
|
||||
{foreach $table_config['total_column'] as $key => $value}
|
||||
{ "data": "{$key}" },
|
||||
{/foreach}
|
||||
],
|
||||
{include file='table/lang_chinese.tpl'}
|
||||
})
|
||||
|
||||
|
||||
var has_init = JSON.parse(localStorage.getItem(window.location.href + '-hasinit'));
|
||||
if (has_init != true) {
|
||||
localStorage.setItem(window.location.href + '-hasinit', true);
|
||||
} else {
|
||||
{foreach $table_config['total_column'] as $key => $value}
|
||||
var checked = JSON.parse(localStorage.getItem(window.location.href + '-haschecked-checkbox_{$key}'));
|
||||
if (checked == true) {
|
||||
document.getElementById('checkbox_{$key}').checked = true;
|
||||
} else {
|
||||
document.getElementById('checkbox_{$key}').checked = false;
|
||||
}
|
||||
{/foreach}
|
||||
}
|
||||
|
||||
{foreach $table_config['total_column'] as $key => $value}
|
||||
modify_table_visible('checkbox_{$key}', '{$key}');
|
||||
{/foreach}
|
||||
@ -0,0 +1,4 @@
|
||||
table_1
|
||||
.row('#row_1_' + deleteid)
|
||||
.remove()
|
||||
.draw();
|
||||
@ -0,0 +1,24 @@
|
||||
language: {
|
||||
"sProcessing": "处理中...",
|
||||
"sLengthMenu": "显示 _MENU_ 项结果",
|
||||
"sZeroRecords": "没有匹配结果",
|
||||
"sInfo": "显示第 _START_ 至 _END_ 项结果,共 _TOTAL_ 项",
|
||||
"sInfoEmpty": "显示第 0 至 0 项结果,共 0 项",
|
||||
"sInfoFiltered": "(由 _MAX_ 项结果过滤)",
|
||||
"sInfoPostFix": "",
|
||||
"sSearch": "搜索:",
|
||||
"sUrl": "",
|
||||
"sEmptyTable": "表中数据为空",
|
||||
"sLoadingRecords": "载入中...",
|
||||
"sInfoThousands": ",",
|
||||
"oPaginate": {
|
||||
"sFirst": "首页",
|
||||
"sPrevious": "上页",
|
||||
"sNext": "下页",
|
||||
"sLast": "末页"
|
||||
},
|
||||
"oAria": {
|
||||
"sSortAscending": ": 以升序排列此列",
|
||||
"sSortDescending": ": 以降序排列此列"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
<table id="table_1" class="mdl-data-table" cellspacing="0" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
{foreach $table_config['total_column'] as $key => $value}
|
||||
<th class="{$key}">{$value}</th>
|
||||
{/foreach}
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
<tr>
|
||||
{foreach $table_config['total_column'] as $key => $value}
|
||||
<th class="{$key}">{$value}</th>
|
||||
{/foreach}
|
||||
</tr>
|
||||
</tfoot>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -0,0 +1,217 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>产生了一个错误 - {$config["appName"]} </title>
|
||||
<meta name="keywords" content=""/>
|
||||
<meta name="description" content=""/>
|
||||
<meta charset="utf-8"/>
|
||||
<link rel="shortcut icon" href="/favicon.ico"/>
|
||||
<link rel="bookmark" href="/favicon.ico" type="image/x-icon"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/>
|
||||
<link rel="shortcut icon" type="image/ico" href="images/ssr.ico">
|
||||
<style>
|
||||
/*! Spectre.css v0.5.0 | MIT License | github.com/picturepan2/spectre */
|
||||
|
||||
html {
|
||||
font-family: sans-serif;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-ms-text-size-adjust: 100%
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0
|
||||
}
|
||||
|
||||
footer {
|
||||
display: block
|
||||
}
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
-webkit-text-decoration-skip: objects
|
||||
}
|
||||
|
||||
a:active,
|
||||
a:hover {
|
||||
outline-width: 0
|
||||
}
|
||||
|
||||
::-webkit-file-upload-button {
|
||||
-webkit-appearance: button;
|
||||
font: inherit
|
||||
}
|
||||
|
||||
*,
|
||||
::after,
|
||||
::before {
|
||||
box-sizing: inherit
|
||||
}
|
||||
|
||||
html {
|
||||
box-sizing: border-box;
|
||||
font-size: 20px;
|
||||
line-height: 1.5;
|
||||
-webkit-tap-highlight-color: transparent
|
||||
}
|
||||
|
||||
body {
|
||||
background: #fff;
|
||||
color: #50596c;
|
||||
font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
||||
font-size: .8rem;
|
||||
overflow-x: hidden;
|
||||
text-rendering: optimizeLegibility
|
||||
}
|
||||
|
||||
a {
|
||||
color: #5755d9;
|
||||
outline: 0;
|
||||
text-decoration: none
|
||||
}
|
||||
|
||||
a:focus {
|
||||
box-shadow: 0 0 0 .1rem rgba(87, 85, 217, .2)
|
||||
}
|
||||
|
||||
a:active,
|
||||
a:focus,
|
||||
a:hover {
|
||||
color: #4240d4;
|
||||
text-decoration: underline
|
||||
}
|
||||
|
||||
.h1,
|
||||
.h4 {
|
||||
font-weight: 500
|
||||
}
|
||||
|
||||
.h1 {
|
||||
font-size: 2rem
|
||||
}
|
||||
|
||||
.h4 {
|
||||
font-size: 1.2rem
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0 0 1rem
|
||||
}
|
||||
|
||||
a {
|
||||
-webkit-text-decoration-skip: ink edges;
|
||||
text-decoration-skip: ink edges
|
||||
}
|
||||
|
||||
.form-input:not(:placeholder-shown):invalid {
|
||||
border-color: #e85600
|
||||
}
|
||||
|
||||
.form-input:not(:placeholder-shown):invalid:focus {
|
||||
box-shadow: 0 0 0 .1rem rgba(232, 86, 0, .2)
|
||||
}
|
||||
|
||||
.container {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding-left: .4rem;
|
||||
padding-right: .4rem;
|
||||
width: 100%
|
||||
}
|
||||
|
||||
.container.grid-lg {
|
||||
max-width: 976px
|
||||
}
|
||||
|
||||
.empty {
|
||||
background: #f8f9fa;
|
||||
border-radius: .1rem;
|
||||
color: #667189;
|
||||
padding: 3.2rem 1.6rem;
|
||||
text-align: center
|
||||
}
|
||||
|
||||
.empty .empty-subtitle,
|
||||
.empty .empty-title {
|
||||
margin: .4rem auto
|
||||
}
|
||||
|
||||
.empty .empty-action {
|
||||
margin-top: .8rem
|
||||
}
|
||||
|
||||
.text-error {
|
||||
color: #e85600
|
||||
}
|
||||
|
||||
.divider {
|
||||
display: block;
|
||||
position: relative
|
||||
}
|
||||
|
||||
.divider {
|
||||
border-top: .05rem solid #e7e9ed;
|
||||
height: .05rem;
|
||||
margin: .4rem 0
|
||||
}
|
||||
|
||||
.container::after {
|
||||
clear: both;
|
||||
content: "";
|
||||
display: table
|
||||
}
|
||||
|
||||
.centered {
|
||||
display: block;
|
||||
float: none;
|
||||
margin-left: auto;
|
||||
margin-right: auto
|
||||
}
|
||||
|
||||
.valign {
|
||||
display: -webkit-box!important;
|
||||
display: -webkit-flex!important;
|
||||
display: -ms-flexbox!important;
|
||||
display: flex!important;
|
||||
-webkit-box-align: center!important;
|
||||
-webkit-align-items: center!important;
|
||||
-ms-flex-align: center!important;
|
||||
align-items: center!important;
|
||||
}
|
||||
|
||||
.section-footer {
|
||||
color: #acb3c2;
|
||||
padding: 2rem .5rem 0 .5rem;
|
||||
position: relative;
|
||||
z-index: 200;
|
||||
}
|
||||
|
||||
.section-footer a {
|
||||
color: #667189;
|
||||
}
|
||||
</style>
|
||||
{if !empty($redirect)}
|
||||
<meta http-equiv="refresh" content="3; url={$redirect}"/>
|
||||
{/if}
|
||||
<noscript>
|
||||
<link rel="stylesheet" href="/assets/css/noscript.css"/>
|
||||
</noscript>
|
||||
</head>
|
||||
<body>
|
||||
<div class="empty valign" style="height:100vh">
|
||||
<div class="centered">
|
||||
<p class="empty-title h1">登陆失败</p>
|
||||
<p class="empty-title h4">很抱歉带来的不便,请重新试试或者使用数字登陆</p>
|
||||
<div class="divider"></div>
|
||||
<div class="empty-action">
|
||||
</div>
|
||||
<footer class="section section-footer">
|
||||
<div id="copyright" class="grid-footer container grid-lg">©
|
||||
<span year="">2017 - {date("Y")}</span>
|
||||
<a href="{$config["baseUrl"]}" target="_blank">{$config["appName"]}</a>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
<script>var copyrightNow = (new Date).getFullYear(), textContent = document.querySelector("span[year]"); copyrightSince = 2017, textContent.textContent = copyrightSince === copyrightNow ? copyrightNow : copyrightSince + " - " + copyrightNow;</script>
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,217 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>正在跳转用户中心 - {$config["appName"]} </title>
|
||||
<meta name="keywords" content=""/>
|
||||
<meta name="description" content=""/>
|
||||
<meta charset="utf-8"/>
|
||||
<link rel="shortcut icon" href="/favicon.ico"/>
|
||||
<link rel="bookmark" href="/favicon.ico" type="image/x-icon"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/>
|
||||
<link rel="shortcut icon" type="image/ico" href="images/ssr.ico">
|
||||
<style>
|
||||
/*! Spectre.css v0.5.0 | MIT License | github.com/picturepan2/spectre */
|
||||
|
||||
html {
|
||||
font-family: sans-serif;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-ms-text-size-adjust: 100%
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0
|
||||
}
|
||||
|
||||
footer {
|
||||
display: block
|
||||
}
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
-webkit-text-decoration-skip: objects
|
||||
}
|
||||
|
||||
a:active,
|
||||
a:hover {
|
||||
outline-width: 0
|
||||
}
|
||||
|
||||
::-webkit-file-upload-button {
|
||||
-webkit-appearance: button;
|
||||
font: inherit
|
||||
}
|
||||
|
||||
*,
|
||||
::after,
|
||||
::before {
|
||||
box-sizing: inherit
|
||||
}
|
||||
|
||||
html {
|
||||
box-sizing: border-box;
|
||||
font-size: 20px;
|
||||
line-height: 1.5;
|
||||
-webkit-tap-highlight-color: transparent
|
||||
}
|
||||
|
||||
body {
|
||||
background: #fff;
|
||||
color: #50596c;
|
||||
font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
||||
font-size: .8rem;
|
||||
overflow-x: hidden;
|
||||
text-rendering: optimizeLegibility
|
||||
}
|
||||
|
||||
a {
|
||||
color: #5755d9;
|
||||
outline: 0;
|
||||
text-decoration: none
|
||||
}
|
||||
|
||||
a:focus {
|
||||
box-shadow: 0 0 0 .1rem rgba(87, 85, 217, .2)
|
||||
}
|
||||
|
||||
a:active,
|
||||
a:focus,
|
||||
a:hover {
|
||||
color: #4240d4;
|
||||
text-decoration: underline
|
||||
}
|
||||
|
||||
.h1,
|
||||
.h4 {
|
||||
font-weight: 500
|
||||
}
|
||||
|
||||
.h1 {
|
||||
font-size: 2rem
|
||||
}
|
||||
|
||||
.h4 {
|
||||
font-size: 1.2rem
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0 0 1rem
|
||||
}
|
||||
|
||||
a {
|
||||
-webkit-text-decoration-skip: ink edges;
|
||||
text-decoration-skip: ink edges
|
||||
}
|
||||
|
||||
.form-input:not(:placeholder-shown):invalid {
|
||||
border-color: #e85600
|
||||
}
|
||||
|
||||
.form-input:not(:placeholder-shown):invalid:focus {
|
||||
box-shadow: 0 0 0 .1rem rgba(232, 86, 0, .2)
|
||||
}
|
||||
|
||||
.container {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding-left: .4rem;
|
||||
padding-right: .4rem;
|
||||
width: 100%
|
||||
}
|
||||
|
||||
.container.grid-lg {
|
||||
max-width: 976px
|
||||
}
|
||||
|
||||
.empty {
|
||||
background: #f8f9fa;
|
||||
border-radius: .1rem;
|
||||
color: #667189;
|
||||
padding: 3.2rem 1.6rem;
|
||||
text-align: center
|
||||
}
|
||||
|
||||
.empty .empty-subtitle,
|
||||
.empty .empty-title {
|
||||
margin: .4rem auto
|
||||
}
|
||||
|
||||
.empty .empty-action {
|
||||
margin-top: .8rem
|
||||
}
|
||||
|
||||
.text-error {
|
||||
color: #e85600
|
||||
}
|
||||
|
||||
.divider {
|
||||
display: block;
|
||||
position: relative
|
||||
}
|
||||
|
||||
.divider {
|
||||
border-top: .05rem solid #e7e9ed;
|
||||
height: .05rem;
|
||||
margin: .4rem 0
|
||||
}
|
||||
|
||||
.container::after {
|
||||
clear: both;
|
||||
content: "";
|
||||
display: table
|
||||
}
|
||||
|
||||
.centered {
|
||||
display: block;
|
||||
float: none;
|
||||
margin-left: auto;
|
||||
margin-right: auto
|
||||
}
|
||||
|
||||
.valign {
|
||||
display: -webkit-box!important;
|
||||
display: -webkit-flex!important;
|
||||
display: -ms-flexbox!important;
|
||||
display: flex!important;
|
||||
-webkit-box-align: center!important;
|
||||
-webkit-align-items: center!important;
|
||||
-ms-flex-align: center!important;
|
||||
align-items: center!important;
|
||||
}
|
||||
|
||||
.section-footer {
|
||||
color: #acb3c2;
|
||||
padding: 2rem .5rem 0 .5rem;
|
||||
position: relative;
|
||||
z-index: 200;
|
||||
}
|
||||
|
||||
.section-footer a {
|
||||
color: #667189;
|
||||
}
|
||||
</style>
|
||||
{if !empty($redirect)}
|
||||
<meta http-equiv="refresh" content="3; url={$redirect}"/>
|
||||
{/if}
|
||||
<noscript>
|
||||
<link rel="stylesheet" href="/assets/css/noscript.css"/>
|
||||
</noscript>
|
||||
</head>
|
||||
<body>
|
||||
<div class="empty valign" style="height:100vh">
|
||||
<div class="centered">
|
||||
<p class="empty-title h1">登陆成功</p>
|
||||
<p class="empty-title h4">正在跳转{$config["appName"]}用户中心</p>
|
||||
<div class="divider"></div>
|
||||
<div class="empty-action">
|
||||
</div>
|
||||
<footer class="section section-footer">
|
||||
<div id="copyright" class="grid-footer container grid-lg">©
|
||||
<span year="">2017 - {date("Y")}</span>
|
||||
<a href="{$config["baseUrl"]}" target="_blank">{$config["appName"]}</a>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
<script>var copyrightNow = (new Date).getFullYear(), textContent = document.querySelector("span[year]"); copyrightSince = 2017, textContent.textContent = copyrightSince === copyrightNow ? copyrightNow : copyrightSince + " - " + copyrightNow;</script>
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,81 @@
|
||||
<div class="row">
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<p class="card-heading">支付宝在线充值</p>
|
||||
<div class="form-group form-group-label">
|
||||
<label class="floating-label" for="amount">金额</label>
|
||||
<input class="form-control" id="amount" type="text" >
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="h5 margin-top-sm text-black-hint" id="qrarea"></div>
|
||||
</div>
|
||||
</div>
|
||||
<a class="btn btn-flat waves-attach" id="pay" onclick="pay();" ><span class="icon">check</span> 充值</a>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.3.1/dist/jquery.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/qrcode@1.2.2/build/qrcode.min.js"></script>
|
||||
<script>
|
||||
var pid = 0;
|
||||
function pay(){
|
||||
$("#readytopay").modal();
|
||||
$("#readytopay").on('shown.bs.modal', function () {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/user/payment/purchase",
|
||||
dataType: "json",
|
||||
data: {
|
||||
amount: $("#amount").val()
|
||||
},
|
||||
success: function (data) {
|
||||
if (data.ret) {
|
||||
console.log(data);
|
||||
pid = data.pid;
|
||||
$("#qrarea").html('<div class="text-center"><p>请使用手机支付宝扫描二维码支付</p><a id="qrcode" style="padding-top:10px;display:inline-block"></a><p>手机可点击二维码唤起支付宝支付</p></div>');
|
||||
$("#readytopay").modal('hide');
|
||||
new QRCode("qrcode", {
|
||||
render: "canvas",
|
||||
width: 200,
|
||||
height: 200,
|
||||
text: encodeURI(data.qrcode)
|
||||
});
|
||||
$('#qrcode').attr('href',data.qrcode);
|
||||
setTimeout(f, 1000);
|
||||
} else {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg);
|
||||
}
|
||||
},
|
||||
error: function (jqXHR) {
|
||||
console.log(jqXHR);
|
||||
$("#readytopay").modal('hide');
|
||||
$("#result").modal();
|
||||
$("#msg").html(jqXHR+" 发生了错误。");
|
||||
}
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
function f(){
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/payment/status",
|
||||
dataType: "json",
|
||||
data: {
|
||||
pid:pid
|
||||
},
|
||||
success: function (data) {
|
||||
if (data.result) {
|
||||
console.log(data);
|
||||
$("#alipay").modal('hide');
|
||||
$("#result").modal();
|
||||
$("#msg").html("充值成功!");
|
||||
window.setTimeout("location.href=window.location.href", {$config['jump_delay']});
|
||||
}
|
||||
},
|
||||
error: function (jqXHR) {
|
||||
console.log(jqXHR);
|
||||
}
|
||||
});
|
||||
tid = setTimeout(f, 1000); //循环调用触发setTimeout
|
||||
}
|
||||
|
||||
</script>
|
||||
@ -0,0 +1,80 @@
|
||||
|
||||
|
||||
|
||||
{include file='user/main.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading">审计规则公示</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="col-lg-12 col-md-12">
|
||||
<section class="content-inner margin-top-no">
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
<p>为了爱与和平,也同时为了系统的正常运行,特制定了如下过滤规则,当您使用节点执行这些动作时,您的通信就会被截断。</p>
|
||||
<p>关于隐私:注意,我们仅用以下规则进行实时匹配和记录匹配到的规则,您的通信方向和通信内容我们不会做任何记录,请您放心。也请您理解我们对于这些不当行为的管理,谢谢。</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="table-responsive">
|
||||
{$rules->render()}
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>名称</th>
|
||||
<th>描述</th>
|
||||
<th>正则表达式</th>
|
||||
<th>类型</th>
|
||||
|
||||
</tr>
|
||||
{foreach $rules as $rule}
|
||||
<tr>
|
||||
<td>#{$rule->id}</td>
|
||||
<td>{$rule->name}</td>
|
||||
<td>{$rule->text}</td>
|
||||
<td>{$rule->regex}</td>
|
||||
{if $rule->type == 1}
|
||||
<td>数据包明文匹配</td>
|
||||
{/if}
|
||||
{if $rule->type == 2}
|
||||
<td>数据包 hex 匹配</td>
|
||||
{/if}
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{$rules->render()}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='user/footer.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,92 @@
|
||||
|
||||
|
||||
|
||||
{include file='user/main.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading">审计记录查看</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="col-lg-12 col-md-12">
|
||||
<section class="content-inner margin-top-no">
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
<p>系统中所有审计记录。</p>
|
||||
<p>关于隐私:注意,我们仅用以下规则进行实时匹配和记录匹配到的规则,您的通信方向和通信内容我们不会做任何记录,请您放心。也请您理解我们对于这些不当行为的管理,谢谢。</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="table-responsive">
|
||||
{$logs->render()}
|
||||
<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>
|
||||
|
||||
</tr>
|
||||
{foreach $logs as $log}
|
||||
{if $log->DetectRule() != null}
|
||||
<tr>
|
||||
<td>#{$log->id}</td>
|
||||
<td>{$log->node_id}</td>
|
||||
<td>{$log->Node()->name}</td>
|
||||
<td>{$log->list_id}</td>
|
||||
<td>{$log->DetectRule()->name}</td>
|
||||
<td>{$log->DetectRule()->text}</td>
|
||||
<td>{$log->DetectRule()->regex}</td>
|
||||
{if $log->DetectRule()->type == 1}
|
||||
<td>数据包明文匹配</td>
|
||||
{/if}
|
||||
{if $log->DetectRule()->type == 2}
|
||||
<td>数据包 hex 匹配</td>
|
||||
{/if}
|
||||
<td>{date('Y-m-d H:i:s',$log->datetime)}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</table>
|
||||
{$logs->render()}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='user/footer.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,54 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='user/main.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading">虚空之地</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<section class="content-inner margin-top-no">
|
||||
<div class="ui-card-wrap">
|
||||
|
||||
<div class="col-lg-12 col-md-12">
|
||||
<section class="content-inner margin-top-no">
|
||||
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
<p>您由于某些原因而被管理员禁用了账户,请联系管理员。</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='user/footer.tpl'}
|
||||
|
||||
|
||||
@ -0,0 +1,90 @@
|
||||
<div class="card-inner">
|
||||
<p class="card-heading">充值</p>
|
||||
您的余额:{$user->money}
|
||||
<h5>支付方式:</h5>
|
||||
<nav class="tab-nav margin-top-no">
|
||||
<ul class="nav nav-list">
|
||||
{if $enabled['wepay']}
|
||||
<li class="active">
|
||||
<a class="waves-attach waves-effect type" data-toggle="tab" href="#" data-pay="wepay">微信支付</a>
|
||||
</li>
|
||||
{/if}
|
||||
{if $enabled['alipay']}
|
||||
<li>
|
||||
<a class="waves-attach waves-effect type" data-toggle="tab" href="#" data-pay="alipay">支付宝</a>
|
||||
</li>
|
||||
{/if}
|
||||
{if $enabled['qqpay']}
|
||||
<li>
|
||||
<a class="waves-attach waves-effect type" data-toggle="tab" href="#" data-pay="qqpay">QQ支付</a>
|
||||
</li>
|
||||
{/if}
|
||||
</ul>
|
||||
<div class="tab-nav-indicator"></div>
|
||||
</nav>
|
||||
<div class="form-group form-group-label">
|
||||
<label class="floating-label" for="amount">金额</label>
|
||||
<input class="form-control" id="amount" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-action">
|
||||
<div class="card-action-btn pull-left">
|
||||
<button class="btn btn-flat waves-attach" id="submit" ><span class="icon">check</span> 充值</button>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
var type = "wepay";
|
||||
var pid = 0;
|
||||
window.onload = function(){
|
||||
$('body').append("<script src=\" \/assets\/public\/js\/jquery.qrcode.min.js \"><\/script>");
|
||||
$(".type").click(function(){
|
||||
type = $(this).data("pay");
|
||||
});
|
||||
type= 'alipay'
|
||||
$("#submit").click(function(){
|
||||
var price = parseFloat($("#amount").val());
|
||||
console.log("将要使用"+type+"方法充值"+price+"元");
|
||||
if(isNaN(price)){
|
||||
$("#result").modal();
|
||||
$("#msg").html("非法的金额!");
|
||||
}
|
||||
$.ajax({
|
||||
'url':"/user/payment/purchase",
|
||||
'data':{
|
||||
'price':price,
|
||||
'type':type,
|
||||
},
|
||||
'dataType':'json',
|
||||
'type':"POST",
|
||||
success:function(data){
|
||||
console.log(data);
|
||||
if(data.errcode==-1){
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.errmsg);
|
||||
}
|
||||
if(data.errcode==0){
|
||||
pid = data.pid;
|
||||
if(type=="wepay"){
|
||||
$("#result").modal();
|
||||
$("#msg").html('<div class="text-center">使用微信扫描二维码支付.<div id="dmy" style="padding-top: 10px;"></div></div>');
|
||||
$("#dmy").qrcode({
|
||||
"text": data.code
|
||||
});
|
||||
setTimeout(f, 2000);
|
||||
}else if(type=="alipay"){
|
||||
$("#result").modal();
|
||||
$("#msg").html("正在跳转到支付宝..."+data.code);
|
||||
}else if(type=="qqpay"){
|
||||
$("#result").modal();
|
||||
$("#msg").html('<div class="text-center">使用QQ扫描二维码支付.<div id="dmy"></div></div>');
|
||||
$("#dmy").qrcode({
|
||||
"text": data.code
|
||||
});
|
||||
setTimeout(f, 2000);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
</script>
|
||||
@ -0,0 +1,163 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='user/main.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading">捐赠公示</h1>
|
||||
</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-main">
|
||||
<div class="card-inner">
|
||||
<p>感谢各位捐赠来支撑服务器的日常支出!您可以在<a href="/user/code">充值界面</a>进行充值,这样就等同于捐赠了。</p>
|
||||
{if $user->isAdmin()}
|
||||
<p>总收入:{$total_in} 元</p>
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-12 col-md-12">
|
||||
<div class="card margin-bottom-no">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
<div class="card-inner">
|
||||
<p class="card-heading">匿名捐赠</p>
|
||||
<p>当前设置:{if $user->is_hide==1} 匿名 {else} 不匿名 {/if}</p>
|
||||
<div class="form-group form-group-label">
|
||||
<label class="floating-label" for="hide">匿名设置</label>
|
||||
<select id="hide" class="form-control">
|
||||
<option value="1">匿名</option>
|
||||
<option value="0">不匿名</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="card-action">
|
||||
<div class="card-action-btn pull-left">
|
||||
<button class="btn btn-flat waves-attach" id="hide-update" ><span class="icon">check</span> 提交</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-lg-12 col-md-12">
|
||||
<div class="card margin-bottom-no">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
<div class="card-inner">
|
||||
<div class="card-table">
|
||||
<div class="table-responsive">
|
||||
{$codes->render()}
|
||||
<table class="table table-hover">
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>用户名</th>
|
||||
<th>类型</th>
|
||||
<th>操作</th>
|
||||
<th>备注</th>
|
||||
<th>时间</th>
|
||||
|
||||
</tr>
|
||||
{foreach $codes as $code}
|
||||
<tr>
|
||||
<td>#{$code->id}</td>
|
||||
{if $code->user() != null && $code->user()->is_hide == 0}
|
||||
<td>{$code->user()->user_name}</td>
|
||||
{else}
|
||||
<td>用户匿名或已注销</td>
|
||||
{/if}
|
||||
{if $code->type == -1}
|
||||
<td>充值捐赠</td>
|
||||
{/if}
|
||||
{if $code->type == -2}
|
||||
<td>财务支出</td>
|
||||
{/if}
|
||||
{if $code->type == -1}
|
||||
<td>捐赠 {$code->number} 元</td>
|
||||
{/if}
|
||||
{if $code->type == -2}
|
||||
<td>支出 {$code->number} 元</td>
|
||||
{/if}
|
||||
<td>{$code->code}</td>
|
||||
<td>{$code->usedatetime}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{$codes->render()}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{include file='dialog.tpl'}
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='user/footer.tpl'}
|
||||
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$("#hide-update").click(function () {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "hide",
|
||||
dataType: "json",
|
||||
data: {
|
||||
hide: $("#hide").val()
|
||||
},
|
||||
success: function (data) {
|
||||
if (data.ret) {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg);
|
||||
} else {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg);
|
||||
}
|
||||
},
|
||||
error: function (jqXHR) {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg+" 出现了一些错误。");
|
||||
}
|
||||
})
|
||||
})
|
||||
})
|
||||
</script>
|
||||
@ -0,0 +1,20 @@
|
||||
<footer class="ui-footer">
|
||||
<div class="container">
|
||||
<marquee>© {$config["appName"]} <a href="/staff">STAFF</a> <marquee> {if $config["enable_analytics_code"] == 'true'}{include file='analytics.tpl'}{/if}
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!-- js -->
|
||||
<script src="https://cdnjs.loli.net/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
||||
<script src="https://cdn.rawgit.com/davidshimjs/qrcodejs/gh-pages/qrcode.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery-validation@1.17.0"></script>
|
||||
<script src="//static.geetest.com/static/tools/gt.js"></script>
|
||||
|
||||
<script src="/theme/material/js/base.min.js"></script>
|
||||
<script src="/theme/material/js/project.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@1.5.16/dist/clipboard.min.js"></script>
|
||||
<script type="text/javascript" color="217,113,24" opacity="0.8" count="99" src="https://cdn.jsdelivr.net/npm/canvas-nest.js@1.0.1"></script>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,180 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-cn">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta content="IE=edge" http-equiv="X-UA-Compatible">
|
||||
<meta content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width" name="viewport">
|
||||
<meta name="theme-color" content="#4caf50">
|
||||
<meta http-equiv="X-Frame-Options" content="sameorigin">
|
||||
<title>{$config["appName"]}</title>
|
||||
|
||||
|
||||
|
||||
<!-- css -->
|
||||
<link href="/theme/material/css/base.min.css" rel="stylesheet">
|
||||
<link href="/theme/material/css/project.min.css" rel="stylesheet">
|
||||
<link href="https://fonts.loli.net/css?family=Roboto:300,300italic,400,400italic,500,500italic" rel="stylesheet">
|
||||
<link href="https://fonts.loli.net/css?family=Material+Icons" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
<!-- favicon -->
|
||||
<!-- ... -->
|
||||
<style>
|
||||
.pagination {
|
||||
display:inline-block;
|
||||
padding-left:0;
|
||||
margin:20px 0;
|
||||
border-radius:4px
|
||||
}
|
||||
.pagination>li {
|
||||
display:inline
|
||||
}
|
||||
.pagination>li>a,.pagination>li>span {
|
||||
position:relative;
|
||||
float:left;
|
||||
padding:6px 12px;
|
||||
margin-left:-1px;
|
||||
line-height:1.42857143;
|
||||
color:#337ab7;
|
||||
text-decoration:none;
|
||||
background-color:#fff;
|
||||
border:1px solid #ddd
|
||||
}
|
||||
.pagination>li:first-child>a,.pagination>li:first-child>span {
|
||||
margin-left:0;
|
||||
border-top-left-radius:4px;
|
||||
border-bottom-left-radius:4px
|
||||
}
|
||||
.pagination>li:last-child>a,.pagination>li:last-child>span {
|
||||
border-top-right-radius:4px;
|
||||
border-bottom-right-radius:4px
|
||||
}
|
||||
.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover {
|
||||
color:#23527c;
|
||||
background-color:#eee;
|
||||
border-color:#ddd
|
||||
}
|
||||
.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover {
|
||||
z-index:2;
|
||||
color:#fff;
|
||||
cursor:default;
|
||||
background-color:#337ab7;
|
||||
border-color:#337ab7
|
||||
}
|
||||
.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover {
|
||||
color:#777;
|
||||
cursor:not-allowed;
|
||||
background-color:#fff;
|
||||
border-color:#ddd
|
||||
}
|
||||
.pagination-lg>li>a,.pagination-lg>li>span {
|
||||
padding:10px 16px;
|
||||
font-size:18px
|
||||
}
|
||||
.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span {
|
||||
border-top-left-radius:6px;
|
||||
border-bottom-left-radius:6px
|
||||
}
|
||||
.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span {
|
||||
border-top-right-radius:6px;
|
||||
border-bottom-right-radius:6px
|
||||
}
|
||||
.pagination-sm>li>a,.pagination-sm>li>span {
|
||||
padding:5px 10px;
|
||||
font-size:12px
|
||||
}
|
||||
.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span {
|
||||
border-top-left-radius:3px;
|
||||
border-bottom-left-radius:3px
|
||||
}
|
||||
.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span {
|
||||
border-top-right-radius:3px;
|
||||
border-bottom-right-radius:3px
|
||||
}
|
||||
.pager {
|
||||
padding-left:0;
|
||||
margin:20px 0;
|
||||
text-align:center;
|
||||
list-style:none
|
||||
}
|
||||
.pager li {
|
||||
display:inline
|
||||
}
|
||||
.pager li>a,.pager li>span {
|
||||
display:inline-block;
|
||||
padding:5px 14px;
|
||||
background-color:#fff;
|
||||
border:1px solid #ddd;
|
||||
border-radius:15px
|
||||
}
|
||||
.pager li>a:focus,.pager li>a:hover {
|
||||
text-decoration:none;
|
||||
background-color:#eee
|
||||
}
|
||||
.pager .next>a,.pager .next>span {
|
||||
float:right
|
||||
}
|
||||
.pager .previous>a,.pager .previous>span {
|
||||
float:left
|
||||
}
|
||||
.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span {
|
||||
color:#777;
|
||||
cursor:not-allowed;
|
||||
background-color:#fff
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.pagination>li>a,
|
||||
.pagination>li>span {
|
||||
border: 1px solid white;
|
||||
}
|
||||
.pagination>li.active>a {
|
||||
background: #f50057;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.pagination>li>a {
|
||||
background: white;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
|
||||
.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
|
||||
color: #fff;
|
||||
background-color: #000;
|
||||
border-color: #000;
|
||||
}
|
||||
.pagination>.active>span {
|
||||
background-color: #f50057;
|
||||
color: #fff;
|
||||
border-color: #fff;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.pagination > .disabled > span {
|
||||
border-color: #fff;
|
||||
}
|
||||
|
||||
|
||||
pre {
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.page-green .ui-content-header {
|
||||
background-image: url(/theme/material/css/images/bg/amber.jpg);
|
||||
}
|
||||
|
||||
|
||||
.content-header-green, .page-green .content-header {
|
||||
background-color: #459f47;
|
||||
color: #fff;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="page-green">
|
||||
|
||||
@ -0,0 +1,107 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='user/main.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading">删除我的帐号</h1>
|
||||
</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-main">
|
||||
<div class="card-inner">
|
||||
<div class="card-inner">
|
||||
<h4>注意!</h4>
|
||||
|
||||
<p>帐号删除后,您的所有数据都会被<b>真实地</b>删除。</p>
|
||||
|
||||
<p>如果想重新使用本网站提供的服务,您需要重新注册。</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-12 col-md-12">
|
||||
<div class="card margin-bottom-no">
|
||||
<div class="card-main">
|
||||
<div class="card-inner">
|
||||
<div class="card-inner">
|
||||
<p class="card-heading">输入当前密码以验证身份</p>
|
||||
<div class="form-group form-group-label">
|
||||
<label class="floating-label" for="passwd">当前密码(必填)</label>
|
||||
<input class="form-control" id="passwd" type="password">
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-action">
|
||||
<div class="card-action-btn pull-left">
|
||||
<button class="btn btn-flat waves-attach" id="kill" ><span class="icon">check</span> 删除我的帐号</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{include file='dialog.tpl'}
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='user/footer.tpl'}
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$("#kill").click(function () {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "kill",
|
||||
dataType: "json",
|
||||
data: {
|
||||
passwd: $("#passwd").val(),
|
||||
},
|
||||
success: function (data) {
|
||||
if (data.ret) {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg);
|
||||
window.setTimeout("location.href='/'", {$config['jump_delay']});
|
||||
} else {
|
||||
$("#result").modal();
|
||||
$("#msg").html(data.msg);
|
||||
}
|
||||
},
|
||||
error: function (jqXHR) {
|
||||
$("#result").modal();
|
||||
$("#msg").html("发生错误:" + jqXHR.status + data.msg);
|
||||
}
|
||||
})
|
||||
})
|
||||
})
|
||||
</script>
|
||||
|
||||
@ -0,0 +1,94 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='user/main.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading">延迟检测</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<section class="content-inner margin-top-no">
|
||||
<div class="ui-card-wrap">
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner margin-bottom-no">
|
||||
<!-- <p class="card-heading">注意!</p> -->
|
||||
<p>此处只展示最近{$hour}小时的记录。<b>测试节点来自 <a href="http://speedtest.net">Speedtest</a>,数据仅供参考~</b></p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner margin-bottom-no">
|
||||
<p class="card-heading">三网延迟检测</p>
|
||||
<div class="card-table">
|
||||
<div class="table-responsive">
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th>节点</th>
|
||||
<th>电信延迟</th>
|
||||
<!-- <th>电信下载速度</th>
|
||||
<th>电信上传速度</th> -->
|
||||
<th>联通延迟</th>
|
||||
<!-- <th>联通下载速度</th>
|
||||
<th>联通上传速度</th> -->
|
||||
<th>移动延迟</th>
|
||||
<!-- <th>移动下载速度</th>
|
||||
<th>移动上传速度</th> -->
|
||||
</tr>
|
||||
{foreach $speedtest as $single}
|
||||
|
||||
<tr>
|
||||
<td>{$single->node()->name}</td>
|
||||
<td>{$single->telecomping}</td>
|
||||
<!-- <td>{$single->telecomeupload}</td>
|
||||
<td>{$single->telecomedownload}</td> -->
|
||||
<td>{$single->unicomping}</td>
|
||||
<!-- <td>{$single->unicomupload}</td>
|
||||
<td>{$single->unicomdownload}</td> -->
|
||||
<td>{$single->cmccping}</td>
|
||||
<!-- <td>{$single->cmccupload}</td>
|
||||
<td>{$single->cmccdownload}</td> -->
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='user/footer.tpl'}
|
||||
@ -0,0 +1,686 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-cn">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta content="IE=edge" http-equiv="X-UA-Compatible">
|
||||
<meta content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width" name="viewport">
|
||||
<meta name="theme-color" content="#ff9800">
|
||||
<title>{$config["appName"]}</title>
|
||||
|
||||
|
||||
<!-- css -->
|
||||
<link href="/theme/material/css/base.min.css" rel="stylesheet">
|
||||
<link href="/theme/material/css/project.min.css" rel="stylesheet">
|
||||
<link href="https://fonts.loli.net/css?family=Roboto:300,300italic,400,400italic,500,500italic" rel="stylesheet">
|
||||
<link href="https://fonts.loli.net/css?family=Material+Icons" rel="stylesheet">
|
||||
|
||||
<style>
|
||||
body {
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
@keyframes mysnow {
|
||||
0% {
|
||||
bottom: 100%;
|
||||
opacity: 0;
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
transform: rotate(1080deg);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(0deg);
|
||||
opacity: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes mysnow {
|
||||
0% {
|
||||
bottom: 100%;
|
||||
opacity: 0;
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
-webkit-transform: rotate(1080deg);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
opacity: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-keyframes mysnow {
|
||||
0% {
|
||||
bottom: 100%;
|
||||
opacity: 0;
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
-moz-transform: rotate(1080deg);
|
||||
}
|
||||
100% {
|
||||
-moz-transform: rotate(0deg);
|
||||
opacity: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@-ms-keyframes mysnow {
|
||||
0% {
|
||||
bottom: 100%;
|
||||
opacity: 0;
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
-ms-transform: rotate(1080deg);
|
||||
}
|
||||
100% {
|
||||
-ms-transform: rotate(0deg);
|
||||
opacity: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@-o-keyframes mysnow {
|
||||
0% {
|
||||
bottom: 100%;
|
||||
opacity: 0;
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
-o-transform: rotate(1080deg);
|
||||
}
|
||||
100% {
|
||||
-o-transform: rotate(0deg);
|
||||
opacity: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.roll {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
animation: mysnow 5s;
|
||||
-webkit-animation: mysnow 5s;
|
||||
-moz-animation: mysnow 5s;
|
||||
-ms-animation: mysnow 5s;
|
||||
-o-animation: mysnow 5s;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
.div {
|
||||
position: fixed;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
<!-- favicon -->
|
||||
<!-- ... -->
|
||||
<style>
|
||||
.pagination {
|
||||
display:inline-block;
|
||||
padding-left:0;
|
||||
margin:20px 0;
|
||||
border-radius:4px
|
||||
}
|
||||
.pagination>li {
|
||||
display:inline
|
||||
}
|
||||
.pagination>li>a,.pagination>li>span {
|
||||
position:relative;
|
||||
float:left;
|
||||
padding:6px 12px;
|
||||
margin-left:-1px;
|
||||
line-height:1.42857143;
|
||||
color:#337ab7;
|
||||
text-decoration:none;
|
||||
background-color:#fff;
|
||||
border:1px solid #ddd
|
||||
}
|
||||
.pagination>li:first-child>a,.pagination>li:first-child>span {
|
||||
margin-left:0;
|
||||
border-top-left-radius:4px;
|
||||
border-bottom-left-radius:4px
|
||||
}
|
||||
.pagination>li:last-child>a,.pagination>li:last-child>span {
|
||||
border-top-right-radius:4px;
|
||||
border-bottom-right-radius:4px
|
||||
}
|
||||
.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover {
|
||||
color:#23527c;
|
||||
background-color:#eee;
|
||||
border-color:#ddd
|
||||
}
|
||||
.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover {
|
||||
z-index:2;
|
||||
color:#fff;
|
||||
cursor:default;
|
||||
background-color:#337ab7;
|
||||
border-color:#337ab7
|
||||
}
|
||||
.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover {
|
||||
color:#777;
|
||||
cursor:not-allowed;
|
||||
background-color:#fff;
|
||||
border-color:#ddd
|
||||
}
|
||||
.pagination-lg>li>a,.pagination-lg>li>span {
|
||||
padding:10px 16px;
|
||||
font-size:18px
|
||||
}
|
||||
.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span {
|
||||
border-top-left-radius:6px;
|
||||
border-bottom-left-radius:6px
|
||||
}
|
||||
.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span {
|
||||
border-top-right-radius:6px;
|
||||
border-bottom-right-radius:6px
|
||||
}
|
||||
.pagination-sm>li>a,.pagination-sm>li>span {
|
||||
padding:5px 10px;
|
||||
font-size:12px
|
||||
}
|
||||
.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span {
|
||||
border-top-left-radius:3px;
|
||||
border-bottom-left-radius:3px
|
||||
}
|
||||
.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span {
|
||||
border-top-right-radius:3px;
|
||||
border-bottom-right-radius:3px
|
||||
}
|
||||
.pager {
|
||||
padding-left:0;
|
||||
margin:20px 0;
|
||||
text-align:center;
|
||||
list-style:none
|
||||
}
|
||||
.pager li {
|
||||
display:inline
|
||||
}
|
||||
.pager li>a,.pager li>span {
|
||||
display:inline-block;
|
||||
padding:5px 14px;
|
||||
background-color:#fff;
|
||||
border:1px solid #ddd;
|
||||
border-radius:15px
|
||||
}
|
||||
.pager li>a:focus,.pager li>a:hover {
|
||||
text-decoration:none;
|
||||
background-color:#eee
|
||||
}
|
||||
.pager .next>a,.pager .next>span {
|
||||
float:right
|
||||
}
|
||||
.pager .previous>a,.pager .previous>span {
|
||||
float:left
|
||||
}
|
||||
.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span {
|
||||
color:#777;
|
||||
cursor:not-allowed;
|
||||
background-color:#fff
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.pagination>li>a,
|
||||
.pagination>li>span {
|
||||
border: 1px solid white;
|
||||
}
|
||||
.pagination>li.active>a {
|
||||
background: #f50057;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.pagination>li>a {
|
||||
background: white;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
|
||||
.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
|
||||
color: #fff;
|
||||
background-color: #000;
|
||||
border-color: #000;
|
||||
}
|
||||
|
||||
.pagination>.active>span {
|
||||
background-color: #f50057;
|
||||
color: #fff;
|
||||
border-color: #fff;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.pagination > .disabled > span {
|
||||
border-color: #fff;
|
||||
}
|
||||
|
||||
|
||||
pre {
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.progress-green .progress-bar {
|
||||
background-color: #f0231b;
|
||||
}
|
||||
|
||||
.progress-green {
|
||||
background-color: #000;
|
||||
}
|
||||
|
||||
.progress-green .progress-bar {
|
||||
background-color: #ff0a00;
|
||||
}
|
||||
|
||||
.page-orange .ui-content-header {
|
||||
background-image: url(/theme/material/css/images/bg/amber.jpg);
|
||||
}
|
||||
|
||||
.content-heading {
|
||||
font-weight: 300;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.shop-flex,.label-flex {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.shop-display {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.reset-invitelink {
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
.enable-flag {
|
||||
color: #383838;
|
||||
}
|
||||
|
||||
.node-icon {
|
||||
color: #ff9000;
|
||||
}
|
||||
|
||||
.node-alive {
|
||||
color: #474747;
|
||||
}
|
||||
|
||||
.node-load,.node-mothed {
|
||||
color: #828282;
|
||||
}
|
||||
|
||||
.node-band {
|
||||
color: #aaaaaa;
|
||||
}
|
||||
|
||||
.node-tr {
|
||||
color: #a5a5a5;
|
||||
}
|
||||
|
||||
.node-status {
|
||||
color: #c4c4c4;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<style>
|
||||
|
||||
.progressbar{
|
||||
position:relative;
|
||||
display:block;
|
||||
width:90%;
|
||||
height:20px;
|
||||
padding:10px 20px;
|
||||
border-bottom:1px solid rgba(255,255,255,0.25);
|
||||
border-radius:16px;
|
||||
margin:40px auto;
|
||||
margin-top: 60px;
|
||||
}
|
||||
|
||||
.progressbar .before{
|
||||
position:absolute;
|
||||
display:block;
|
||||
content:"";
|
||||
width:calc(100% - 42px);
|
||||
height:18px;
|
||||
top:10px;
|
||||
left:20px;
|
||||
border-radius:20px;
|
||||
background:#fff;
|
||||
box-shadow:inset 0px 0px 6px 0px rgba(78, 78, 78, 78.85);
|
||||
border:1px solid rgba(222,222,222,222.8);
|
||||
}
|
||||
.progressbar .bar {
|
||||
position:absolute;
|
||||
display:block;
|
||||
width:0px;
|
||||
height:16px;
|
||||
top:12px;
|
||||
left:22px;
|
||||
background:rgb(126,234,25);
|
||||
background:-moz-linear-gradient(top, rgba(126,234,25,1) 0%, rgba(83,173,0,1) 100%);
|
||||
background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(126,234,25,1)), color-stop(100%,rgba(83,173,0,1)));
|
||||
background:-webkit-linear-gradient(top, rgba(126,234,25,1) 0%,rgba(83,173,0,1) 100%);
|
||||
background:-o-linear-gradient(top, rgba(126,234,25,1) 0%,rgba(83,173,0,1) 100%);
|
||||
background:-ms-linear-gradient(top, rgba(126,234,25,1) 0%,rgba(83,173,0,1) 100%);
|
||||
background:linear-gradient(to bottom, rgba(126,234,25,1) 0%,rgba(83,173,0,1) 100%);
|
||||
filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#7eea19', endColorstr='#53ad00',GradientType=0 );
|
||||
border-radius:16px;
|
||||
box-shadow:0px 0px 12px 0px rgba(126, 234, 25, 1),inset 0px 1px 0px 0px rgba(255, 255, 255, 0.45),inset 1px 0px 0px 0px rgba(255, 255, 255, 0.25),inset -1px 0px 0px 0px rgba(255, 255, 255, 0.25);
|
||||
overflow:hidden;
|
||||
}
|
||||
.progressbar .label .bar {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
top: 12%;
|
||||
left: 0;
|
||||
margin-right: 5px;
|
||||
width: 16px;
|
||||
|
||||
}
|
||||
.progressbar .label .bar.color {
|
||||
box-shadow:0px 0px 5px 0px rgba(126, 234, 25, 1),inset 0px 1px 0px 0px rgba(255, 255, 255, 0.45),inset 1px 0px 0px 0px rgba(255, 255, 255, 0.25),inset -1px 0px 0px 0px rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
.progressbar .label .bar.color2 {
|
||||
box-shadow:0px 0px 5px 0px rgba(229, 195, 25, 1),inset 0px 1px 0px 0px rgba(255, 255, 255, 0.45),inset 1px 0px 0px 0px rgba(255, 255, 255, 0.25),inset -1px 0px 0px 0px rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
.progressbar .label .bar.color3 {
|
||||
box-shadow:0px 0px 5px 0px rgba(232, 25, 87, 1),inset 0px 1px 0px 0px rgba(255, 255, 255, 0.45),inset 1px 0px 0px 0px rgba(255, 255, 255, 0.25),inset -1px 0px 0px 0px rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
.progressbar .label .bar.color4 {
|
||||
box-shadow:0px 0px 5px 0px rgba(24, 109, 226, 1),inset 0px 1px 0px 0px rgba(255, 255, 255, 0.45),inset 1px 0px 0px 0px rgba(255, 255, 255, 0.25),inset -1px 0px 0px 0px rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
.progressbar .bar.color2 {
|
||||
background:rgb(229,195,25);
|
||||
background:-moz-linear-gradient(top, rgba(229,195,25,1) 0%, rgba(168,140,0,1) 100%);
|
||||
background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(229,195,25,1)), color-stop(100%,rgba(168,140,0,1)));
|
||||
background:-webkit-linear-gradient(top, rgba(229,195,25,1) 0%,rgba(168,140,0,1) 100%);
|
||||
background:-o-linear-gradient(top, rgba(229,195,25,1) 0%,rgba(168,140,0,1) 100%);
|
||||
background:-ms-linear-gradient(top, rgba(229,195,25,1) 0%,rgba(168,140,0,1) 100%);
|
||||
background:linear-gradient(to bottom, rgba(229,195,25,1) 0%,rgba(168,140,0,1) 100%);
|
||||
filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5c319', endColorstr='#a88c00',GradientType=0 );
|
||||
box-shadow:0px 0px 12px 0px rgba(229, 195, 25, 1),inset 0px 1px 0px 0px rgba(255, 255, 255, 0.45),inset 1px 0px 0px 0px rgba(255, 255, 255, 0.25),inset -1px 0px 0px 0px rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
.progressbar .bar.color3 {
|
||||
background:rgb(232,25,87);
|
||||
background:-moz-linear-gradient(top, rgba(232,25,87,1) 0%, rgba(170,0,51,1) 100%);
|
||||
background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(232,25,87,1)), color-stop(100%,rgba(170,0,51,1)));
|
||||
background:-webkit-linear-gradient(top, rgba(232,25,87,1) 0%,rgba(170,0,51,1) 100%);
|
||||
background:-o-linear-gradient(top, rgba(232,25,87,1) 0%,rgba(170,0,51,1) 100%);
|
||||
background:-ms-linear-gradient(top, rgba(232,25,87,1) 0%,rgba(170,0,51,1) 100%);
|
||||
background:linear-gradient(to bottom, rgba(232,25,87,1) 0%,rgba(170,0,51,1) 100%);
|
||||
filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#e81957', endColorstr='#aa0033',GradientType=0 );
|
||||
box-shadow:0px 0px 12px 0px rgba(232, 25, 87, 1),inset 0px 1px 0px 0px rgba(255, 255, 255, 0.45),inset 1px 0px 0px 0px rgba(255, 255, 255, 0.25),inset -1px 0px 0px 0px rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
.progressbar .bar.color4 {
|
||||
background:rgb(24,109,226);
|
||||
background:-moz-linear-gradient(top, rgba(24,109,226,1) 0%, rgba(0,69,165,1) 100%);
|
||||
background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(24,109,226,1)), color-stop(100%,rgba(0,69,165,1)));
|
||||
background:-webkit-linear-gradient(top, rgba(24,109,226,1) 0%,rgba(0,69,165,1) 100%);
|
||||
background:-o-linear-gradient(top, rgba(24,109,226,1) 0%,rgba(0,69,165,1) 100%);
|
||||
background:-ms-linear-gradient(top, rgba(24,109,226,1) 0%,rgba(0,69,165,1) 100%);
|
||||
background:linear-gradient(to bottom, rgba(24,109,226,1) 0%,rgba(0,69,165,1) 100%);
|
||||
filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#186de2', endColorstr='#0045a5',GradientType=0 );
|
||||
box-shadow:0px 0px 12px 0px rgba(24, 109, 226, 1),inset 0px 1px 0px 0px rgba(255, 255, 255, 0.45),inset 1px 0px 0px 0px rgba(255, 255, 255, 0.25),inset -1px 0px 0px 0px rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
.progressbar .bar:before {
|
||||
position:absolute;
|
||||
display:block;
|
||||
content:"";
|
||||
width:606px;
|
||||
height:150%;
|
||||
top:-25%;
|
||||
left:-25px;
|
||||
background:-moz-radial-gradient(center, ellipse cover, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.01) 50%, rgba(255,255,255,0) 51%, rgba(255,255,255,0) 100%);
|
||||
background:-webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(255,255,255,0.35)), color-stop(50%,rgba(255,255,255,0.01)), color-stop(51%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,0)));
|
||||
background:-webkit-radial-gradient(center, ellipse cover, rgba(255,255,255,0.35) 0%,rgba(255,255,255,0.01) 50%,rgba(255,255,255,0) 51%,rgba(255,255,255,0) 100%);
|
||||
background:-o-radial-gradient(center, ellipse cover, rgba(255,255,255,0.35) 0%,rgba(255,255,255,0.01) 50%,rgba(255,255,255,0) 51%,rgba(255,255,255,0) 100%);
|
||||
background:-ms-radial-gradient(center, ellipse cover, rgba(255,255,255,0.35) 0%,rgba(255,255,255,0.01) 50%,rgba(255,255,255,0) 51%,rgba(255,255,255,0) 100%);
|
||||
background:radial-gradient(ellipse at center, rgba(255,255,255,0.35) 0%,rgba(255,255,255,0.01) 50%,rgba(255,255,255,0) 51%,rgba(255,255,255,0) 100%);
|
||||
filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#59ffffff', endColorstr='#00ffffff',GradientType=1 );
|
||||
}
|
||||
.progressbar .bar:after {
|
||||
position:absolute;
|
||||
display:block;
|
||||
content:"";
|
||||
width:64px;
|
||||
height:16px;
|
||||
right:0;
|
||||
top:0;
|
||||
border-radius:0px 16px 16px 0px;
|
||||
background:-moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 98%, rgba(255,255,255,0) 100%);
|
||||
background:-webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(98%,rgba(255,255,255,0.6)), color-stop(100%,rgba(255,255,255,0)));
|
||||
background:-webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0.6) 98%,rgba(255,255,255,0) 100%);
|
||||
background:-o-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0.6) 98%,rgba(255,255,255,0) 100%);
|
||||
background:-ms-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0.6) 98%,rgba(255,255,255,0) 100%);
|
||||
background:linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,0.6) 98%,rgba(255,255,255,0) 100%);
|
||||
filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#00ffffff',GradientType=1 );
|
||||
}
|
||||
.progressbar .bar span {
|
||||
position:absolute;
|
||||
display:block;
|
||||
width:100%;
|
||||
height:64px;
|
||||
-webkit-border-radius:16px;
|
||||
border-radius:16px;
|
||||
top:0;
|
||||
left:0;
|
||||
background:url(./theme/material/images/users/trafficbar.png) 0 0;
|
||||
-webkit-animation:sparkle 1500ms linear infinite;
|
||||
-moz-animation:sparkle 1500ms linear infinite;
|
||||
-o-animation:sparkle 1500ms linear infinite;
|
||||
animation:sparkle 1500ms linear infinite;
|
||||
opacity:0.2;
|
||||
}
|
||||
.progressbar .label {
|
||||
font-family:'Aldrich', sans-serif;
|
||||
position:relative;
|
||||
display:block;
|
||||
width:30%;
|
||||
height:30px;
|
||||
line-height:30px;
|
||||
bottom:40px;
|
||||
left:0px;
|
||||
background:rgb(255, 255, 255);
|
||||
filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#262626',GradientType=0 );
|
||||
font-weight:bold;
|
||||
font-size:12px;
|
||||
color:#252525;
|
||||
filter:dropshadow(color=#000000, offx=0, offy=-1);
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body class="page-orange">
|
||||
<header class="header header-orange header-transparent header-waterfall ui-header">
|
||||
<ul class="nav nav-list pull-left">
|
||||
<div>
|
||||
<a data-toggle="menu" href="#ui_menu">
|
||||
<span class="icon icon-lg text-white">format_align_justify</span>
|
||||
</a>
|
||||
</div>
|
||||
</ul>
|
||||
|
||||
<ul class="nav nav-list pull-right">
|
||||
<div class="dropdown margin-right">
|
||||
<a class="dropdown-toggle padding-left-no padding-right-no" data-toggle="dropdown">
|
||||
{if $user->isLogin}
|
||||
<span class="access-hide">{$user->user_name}</span>
|
||||
<span class="icon icon-cd margin-right">account_circle</span>
|
||||
</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>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="padding-right-cd waves-attach" href="/user/logout"><span class="icon icon-lg margin-right">exit_to_app</span>登出</a>
|
||||
</li>
|
||||
</ul>
|
||||
{else}
|
||||
<span class="access-hide">未登录</span>
|
||||
<span class="icon icon-lg margin-right">account_circle</span>
|
||||
<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>
|
||||
</li>
|
||||
<li>
|
||||
<a class="padding-right-lg waves-attach" href="/auth/register"><span class="icon icon-lg margin-right">pregnant_woman</span>注册</a>
|
||||
</li>
|
||||
</ul>
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
</ul>
|
||||
</header>
|
||||
<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> {$config["appName"]}</a>
|
||||
<ul class="nav">
|
||||
<li>
|
||||
<a class="waves-attach" data-toggle="collapse" href="#ui_menu_me">我的</a>
|
||||
<ul class="menu-collapse collapse in" id="ui_menu_me">
|
||||
<li>
|
||||
<a href="/user">
|
||||
<i class="icon icon-lg">account_balance_wallet</i> 用户中心
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/user/profile">
|
||||
<i class="icon icon-lg">account_box</i> 账户信息
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/user/edit">
|
||||
<i class="icon icon-lg">sync_problem</i> 资料编辑
|
||||
</a>
|
||||
</li>
|
||||
|
||||
{if $config['enable_ticket']=='true'}
|
||||
<li>
|
||||
<a href="/user/ticket">
|
||||
<i class="icon icon-lg">question_answer</i> 工单系统
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
<li>
|
||||
<a href="/user/invite">
|
||||
<i class="icon icon-lg">loyalty</i> 邀请链接
|
||||
</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
<a class="waves-attach" data-toggle="collapse" href="#ui_menu_use">使用</a>
|
||||
<ul class="menu-collapse collapse in" id="ui_menu_use">
|
||||
<li>
|
||||
<a href="/user/node">
|
||||
<i class="icon icon-lg">airplanemode_active</i> 节点列表
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/user/relay">
|
||||
<i class="icon icon-lg">compare_arrows</i> 中转规则
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/user/trafficlog">
|
||||
<i class="icon icon-lg">hourglass_empty</i> 流量记录
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/user/lookingglass">
|
||||
<i class="icon icon-lg">visibility</i> 延迟检测
|
||||
</a>
|
||||
<a href="/user/announcement">
|
||||
<i class="icon icon-lg">start</i> 使用教程
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<a class="waves-attach" data-toggle="collapse" href="#ui_menu_detect">审计</a>
|
||||
<ul class="menu-collapse collapse in" id="ui_menu_detect">
|
||||
<li><a href="/user/detect"><i class="icon icon-lg">account_balance</i> 审计规则</a></li>
|
||||
<li><a href="/user/detect/log"><i class="icon icon-lg">assignment_late</i> 审计记录</a></li>
|
||||
</ul>
|
||||
|
||||
{if $config['enable_wecenter']=='true'}
|
||||
<a class="waves-attach" data-toggle="collapse" href="#ui_menu_trade">帮助</a>
|
||||
<ul class="menu-collapse collapse in" id="ui_menu_trade">
|
||||
<li>
|
||||
<a href="{$config["wecenter_url"]}" target="_blank">
|
||||
<i class="icon icon-lg">help</i> 问答系统
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
{/if}
|
||||
|
||||
<a class="waves-attach" data-toggle="collapse" href="#ui_menu_help">商店</a>
|
||||
<ul class="menu-collapse collapse in" id="ui_menu_help">
|
||||
<li>
|
||||
<a href="/user/code">
|
||||
<i class="icon icon-lg">code</i> 充值
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/user/shop">
|
||||
<i class="icon icon-lg">shop</i> 套餐购买
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li><a href="/user/bought"><i class="icon icon-lg">shopping_cart</i> 购买记录</a></li>
|
||||
|
||||
|
||||
|
||||
|
||||
{if $config['enable_donate']=='true'}
|
||||
<li>
|
||||
<a href="/user/donate">
|
||||
<i class="icon icon-lg">attach_money</i> 捐赠公示
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
{if $user->isAdmin()}
|
||||
<li>
|
||||
<a href="/admin">
|
||||
<i class="icon icon-lg">person_pin</i> 管理面板
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
{if $can_backtoadmin}
|
||||
<li>
|
||||
<a class="padding-right-cd waves-attach" href="/user/backtoadmin"><span class="icon icon-lg margin-right">backtoadmin</span>返回管理员身份</a>
|
||||
<li>
|
||||
{/if}
|
||||
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
{if $config["enable_crisp"] == 'true'}{include file='crisp.tpl'}{/if}
|
||||
@ -0,0 +1,442 @@
|
||||
{$load=$point_node->getNodeLoad()}
|
||||
|
||||
<div id="load{$id}_chart" style="height: 300px; width: 100%;"></div>
|
||||
<div id="up{$id}_chart" style="height: 300px; width: 100%;"></div>
|
||||
<div id="alive{$id}_chart" style="height: 300px; width: 100%;"></div>
|
||||
<div id="speedtest{$id}_chart" style="height: 300px; width: 100%;"></div>
|
||||
<div id="speedtest{$id}_ping_chart" style="height: 300px; width: 100%;"></div>
|
||||
|
||||
<script type="text/javascript">
|
||||
$().ready(function(){
|
||||
chart{$id} = new CanvasJS.Chart("load{$id}_chart",
|
||||
{
|
||||
title:{
|
||||
text: "节点负载情况 {$prefix}"
|
||||
},
|
||||
data: [
|
||||
{
|
||||
type: "line",
|
||||
dataPoints: [
|
||||
{$i=0}
|
||||
{foreach $load as $single_load}
|
||||
{if $i==0}
|
||||
{literal}
|
||||
{
|
||||
{/literal}
|
||||
x: new Date({$single_load->log_time*1000}), y:{$single_load->getNodeLoad()}
|
||||
{literal}
|
||||
}
|
||||
{/literal}
|
||||
{$i=1}
|
||||
{else}
|
||||
{literal}
|
||||
,{
|
||||
{/literal}
|
||||
x: new Date({$single_load->log_time*1000}), y:{$single_load->getNodeLoad()}
|
||||
{literal}
|
||||
}
|
||||
{/literal}
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
]
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
|
||||
|
||||
up_chart{$id} = new CanvasJS.Chart("up{$id}_chart",
|
||||
{
|
||||
title:{
|
||||
text: "最近一天节点在线情况 {$prefix} - 在线 {$point_node->getNodeUptime()}"
|
||||
},
|
||||
data: [
|
||||
{
|
||||
//startAngle: 45,
|
||||
indexLabelFontSize: 20,
|
||||
indexLabelFontFamily: "Garamond",
|
||||
indexLabelFontColor: "darkgrey",
|
||||
indexLabelLineColor: "darkgrey",
|
||||
yValueFormatString: "##0.00\"%\"",
|
||||
indexLabelPlacement: "outside",
|
||||
type: "doughnut",
|
||||
showInLegend: true,
|
||||
dataPoints: [
|
||||
{
|
||||
y: {$point_node->getNodeUpRate()*100}, label: "在线率",legendText:"在线率 {number_format($point_node->getNodeUpRate()*100,2)}%", indexLabel: "在线率 {number_format($point_node->getNodeUpRate()*100,2)}%"
|
||||
},
|
||||
{
|
||||
y: {(1-$point_node->getNodeUpRate())*100}, label: "离线率",legendText:"离线率 {number_format((1-$point_node->getNodeUpRate())*100,2)}%", indexLabel: "离线率 {number_format((1-$point_node->getNodeUpRate())*100,2)}%"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
{$load=$point_node->getNodeAlive()}
|
||||
alive_chart{$id} = new CanvasJS.Chart("alive{$id}_chart",
|
||||
{
|
||||
title:{
|
||||
text: "最近一天节点在线人数情况 {$prefix}"
|
||||
},
|
||||
data: [
|
||||
{
|
||||
type: "line",
|
||||
yValueFormatString: "##0\"人\"",
|
||||
dataPoints: [
|
||||
{$i=0}
|
||||
{foreach $load as $single_load}
|
||||
{if $i==0}
|
||||
{literal}
|
||||
{
|
||||
{/literal}
|
||||
x: new Date({$single_load->log_time*1000}), y:{$single_load->online_user},label: "同时在线人数"
|
||||
{literal}
|
||||
}
|
||||
{/literal}
|
||||
{$i=1}
|
||||
{else}
|
||||
{literal}
|
||||
,{
|
||||
{/literal}
|
||||
x: new Date({$single_load->log_time*1000}), y:{$single_load->online_user},label: "同时在线人数"
|
||||
{literal}
|
||||
}
|
||||
{/literal}
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
]
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
|
||||
|
||||
{$speedtests=$point_node->getSpeedtestResult()}
|
||||
speedtest_chart{$id} = new CanvasJS.Chart("speedtest{$id}_chart",
|
||||
{
|
||||
title:{
|
||||
text: "最近节点测速延时情况报告 {$prefix}"
|
||||
},
|
||||
axisY: {
|
||||
suffix: " ms"
|
||||
},
|
||||
data: [
|
||||
{
|
||||
type: "line",
|
||||
showInLegend: true,
|
||||
legendText: "电信延时",
|
||||
yValueFormatString: "##0\"ms\"",
|
||||
dataPoints: [
|
||||
{$i=0}
|
||||
{foreach $speedtests as $single_speedtest}
|
||||
{if $i==0}
|
||||
{literal}
|
||||
{
|
||||
{/literal}
|
||||
x: new Date({$single_speedtest->datetime*1000}), y:{$single_speedtest->getTelecomPing()},label: "电信延时"
|
||||
{literal}
|
||||
}
|
||||
{/literal}
|
||||
{$i=1}
|
||||
{else}
|
||||
{literal}
|
||||
,{
|
||||
{/literal}
|
||||
x: new Date({$single_speedtest->datetime*1000}), y:{$single_speedtest->getTelecomPing()},label: "电信延时"
|
||||
{literal}
|
||||
}
|
||||
{/literal}
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
type: "line",
|
||||
showInLegend: true,
|
||||
legendText: "联通延时",
|
||||
yValueFormatString: "##0\"ms\"",
|
||||
dataPoints: [
|
||||
{$i=0}
|
||||
{foreach $speedtests as $single_speedtest}
|
||||
{if $i==0}
|
||||
{literal}
|
||||
{
|
||||
{/literal}
|
||||
x: new Date({$single_speedtest->datetime*1000}), y:{$single_speedtest->getUnicomPing()},label: "联通延时"
|
||||
{literal}
|
||||
}
|
||||
{/literal}
|
||||
{$i=1}
|
||||
{else}
|
||||
{literal}
|
||||
,{
|
||||
{/literal}
|
||||
x: new Date({$single_speedtest->datetime*1000}), y:{$single_speedtest->getUnicomPing()},label: "联通延时"
|
||||
{literal}
|
||||
}
|
||||
{/literal}
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
type: "line",
|
||||
showInLegend: true,
|
||||
legendText:"移动延时",
|
||||
yValueFormatString: "##0\"ms\"",
|
||||
dataPoints: [
|
||||
{$i=0}
|
||||
{foreach $speedtests as $single_speedtest}
|
||||
{if $i==0}
|
||||
{literal}
|
||||
{
|
||||
{/literal}
|
||||
x: new Date({$single_speedtest->datetime*1000}), y:{$single_speedtest->getCmccPing()},label: "移动延时"
|
||||
{literal}
|
||||
}
|
||||
{/literal}
|
||||
{$i=1}
|
||||
{else}
|
||||
{literal}
|
||||
,{
|
||||
{/literal}
|
||||
x: new Date({$single_speedtest->datetime*1000}), y:{$single_speedtest->getCmccPing()},label: "移动延时"
|
||||
{literal}
|
||||
}
|
||||
{/literal}
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
]
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
speedtest_ping_chart{$id} = new CanvasJS.Chart("speedtest{$id}_ping_chart",
|
||||
{
|
||||
title:{
|
||||
text: "最近节点测速速度情况报告 {$prefix}"
|
||||
},
|
||||
axisY: {
|
||||
includeZero: false,
|
||||
suffix: " Mbps"
|
||||
},
|
||||
toolTip:{
|
||||
shared: true
|
||||
},
|
||||
data: [
|
||||
{
|
||||
type: "line",
|
||||
showInLegend: true,
|
||||
legendText: "电信上传速度",
|
||||
name: "电信上传",
|
||||
yValueFormatString: "##0.00\"Mb\"",
|
||||
dataPoints: [
|
||||
{$i=0}
|
||||
{foreach $speedtests as $single_speedtest}
|
||||
{if $i==0}
|
||||
{literal}
|
||||
{
|
||||
{/literal}
|
||||
x: new Date({$single_speedtest->datetime*1000}), y:{$single_speedtest->getTelecomUpload()},label: "电信上传"
|
||||
{literal}
|
||||
}
|
||||
{/literal}
|
||||
{$i=1}
|
||||
{else}
|
||||
{literal}
|
||||
,{
|
||||
{/literal}
|
||||
x: new Date({$single_speedtest->datetime*1000}), y:{$single_speedtest->getTelecomUpload()},label: "电信上传"
|
||||
{literal}
|
||||
}
|
||||
{/literal}
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
type: "line",
|
||||
showInLegend: true,
|
||||
legendText: "电信下载速度",
|
||||
name: "电信下载",
|
||||
yValueFormatString: "##0.00\"Mb\"",
|
||||
dataPoints: [
|
||||
{$i=0}
|
||||
{foreach $speedtests as $single_speedtest}
|
||||
{if $i==0}
|
||||
{literal}
|
||||
{
|
||||
{/literal}
|
||||
x: new Date({$single_speedtest->datetime*1000}), y:{$single_speedtest->getTelecomDownload()},label: "电信下载"
|
||||
{literal}
|
||||
}
|
||||
{/literal}
|
||||
{$i=1}
|
||||
{else}
|
||||
{literal}
|
||||
,{
|
||||
{/literal}
|
||||
x: new Date({$single_speedtest->datetime*1000}), y:{$single_speedtest->getTelecomDownload()},label: "电信下载"
|
||||
{literal}
|
||||
}
|
||||
{/literal}
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
type: "line",
|
||||
showInLegend: true,
|
||||
legendText: "联通上传速度",
|
||||
name: "联通上传",
|
||||
yValueFormatString: "##0.00\"Mb\"",
|
||||
dataPoints: [
|
||||
{$i=0}
|
||||
{foreach $speedtests as $single_speedtest}
|
||||
{if $i==0}
|
||||
{literal}
|
||||
{
|
||||
{/literal}
|
||||
x: new Date({$single_speedtest->datetime*1000}), y:{$single_speedtest->getUnicomUpload()},label: "联通上传"
|
||||
{literal}
|
||||
}
|
||||
{/literal}
|
||||
{$i=1}
|
||||
{else}
|
||||
{literal}
|
||||
,{
|
||||
{/literal}
|
||||
x: new Date({$single_speedtest->datetime*1000}), y:{$single_speedtest->getUnicomUpload()},label: "联通上传"
|
||||
{literal}
|
||||
}
|
||||
{/literal}
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
type: "line",
|
||||
showInLegend: true,
|
||||
legendText: "联通下载速度",
|
||||
name: "联通下载",
|
||||
yValueFormatString: "##0.00\"Mb\"",
|
||||
dataPoints: [
|
||||
{$i=0}
|
||||
{foreach $speedtests as $single_speedtest}
|
||||
{if $i==0}
|
||||
{literal}
|
||||
{
|
||||
{/literal}
|
||||
x: new Date({$single_speedtest->datetime*1000}), y:{$single_speedtest->getUnicomDownload()},label: "联通下载"
|
||||
{literal}
|
||||
}
|
||||
{/literal}
|
||||
{$i=1}
|
||||
{else}
|
||||
{literal}
|
||||
,{
|
||||
{/literal}
|
||||
x: new Date({$single_speedtest->datetime*1000}), y:{$single_speedtest->getUnicomDownload()},label: "联通下载"
|
||||
{literal}
|
||||
}
|
||||
{/literal}
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
type: "line",
|
||||
showInLegend: true,
|
||||
legendText:"移动下载速度",
|
||||
name: "移动下载",
|
||||
yValueFormatString: "##0.00\"Mb\"",
|
||||
dataPoints: [
|
||||
{$i=0}
|
||||
{foreach $speedtests as $single_speedtest}
|
||||
{if $i==0}
|
||||
{literal}
|
||||
{
|
||||
{/literal}
|
||||
x: new Date({$single_speedtest->datetime*1000}), y:{$single_speedtest->getCmccDownload()},label: "移动下载"
|
||||
{literal}
|
||||
}
|
||||
{/literal}
|
||||
{$i=1}
|
||||
{else}
|
||||
{literal}
|
||||
,{
|
||||
{/literal}
|
||||
x: new Date({$single_speedtest->datetime*1000}), y:{$single_speedtest->getCmccDownload()},label: "移动下载"
|
||||
{literal}
|
||||
}
|
||||
{/literal}
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
type: "line",
|
||||
showInLegend: true,
|
||||
legendText:"移动上传速度",
|
||||
name: "移动上传",
|
||||
yValueFormatString: "##0.00\"Mb\"",
|
||||
dataPoints: [
|
||||
{$i=0}
|
||||
{foreach $speedtests as $single_speedtest}
|
||||
{if $i==0}
|
||||
{literal}
|
||||
{
|
||||
{/literal}
|
||||
x: new Date({$single_speedtest->datetime*1000}), y:{$single_speedtest->getCmccUpload()},label: "移动上传"
|
||||
{literal}
|
||||
}
|
||||
{/literal}
|
||||
{$i=1}
|
||||
{else}
|
||||
{literal}
|
||||
,{
|
||||
{/literal}
|
||||
x: new Date({$single_speedtest->datetime*1000}), y:{$single_speedtest->getCmccUpload()},label: "移动上传"
|
||||
{literal}
|
||||
}
|
||||
{/literal}
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
]
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
chart{$id}.render();
|
||||
up_chart{$id}.render();
|
||||
alive_chart{$id}.render();
|
||||
speedtest_chart{$id}.render();
|
||||
speedtest_ping_chart{$id}.render();
|
||||
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
@ -0,0 +1,335 @@
|
||||
|
||||
|
||||
|
||||
{include file='user/header_info.tpl'}
|
||||
|
||||
|
||||
{$ssr_prefer = URL::SSRCanConnect($user, $mu)}
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading">节点信息</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<section class="content-inner margin-top-no">
|
||||
<div class="ui-card-wrap">
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner margin-bottom-no">
|
||||
<p class="card-heading">注意!</p>
|
||||
<p>配置文件以及二维码请勿泄露!</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner margin-bottom-no">
|
||||
<p class="card-heading">配置信息</p>
|
||||
<div class="tab-content">
|
||||
|
||||
<nav class="tab-nav margin-top-no">
|
||||
<ul class="nav nav-list">
|
||||
<li {if $ssr_prefer}class="active"{/if}>
|
||||
<a class="waves-attach" data-toggle="tab" href="#ssr_info"><i class="icon icon-lg">airplanemode_active</i> ShadowsocksR</a>
|
||||
</li>
|
||||
<li {if !$ssr_prefer}class="active"{/if}>
|
||||
<a class="waves-attach" data-toggle="tab" href="#ss_info"><i class="icon icon-lg">flight_takeoff</i> Shadowsocks</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="tab-pane fade {if $ssr_prefer}active in{/if}" id="ssr_info">
|
||||
{if URL::SSRCanConnect($user, $mu)}
|
||||
{$ssr_item = URL::getItem($user, $node, $mu, $relay_rule_id, 0)}
|
||||
<p>服务器地址:{$ssr_item['address']}<br>
|
||||
服务器端口:{$ssr_item['port']}<br>
|
||||
加密方式:{$ssr_item['method']}<br>
|
||||
密码:{$ssr_item['passwd']}<br>
|
||||
协议:{$ssr_item['protocol']}<br>
|
||||
协议参数:{$ssr_item['protocol_param']}<br>
|
||||
混淆:{$ssr_item['obfs']}<br>
|
||||
混淆参数:{$ssr_item['obfs_param']}<br></p>
|
||||
{else}
|
||||
<p>您好,您目前的 加密方式,混淆,或者协议设置在 ShadowsocksR 客户端下无法连接。请您选用 Shadowsocks 客户端来连接,或者到 资料编辑 页面修改后再来查看此处。</p>
|
||||
<p>同时, ShadowsocksR 单端口多用户的连接不受您设置的影响,您可以在此使用相应的客户端进行连接~</p>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="tab-pane fade {if !$ssr_prefer}active in{/if}" id="ss_info">
|
||||
{if URL::SSCanConnect($user, $mu)}
|
||||
{$ss_item = URL::getItem($user, $node, $mu, $relay_rule_id, 1)}
|
||||
<p>服务器地址:{$ss_item['address']}<br>
|
||||
服务器端口:{$ss_item['port']}<br>
|
||||
加密方式:{$ss_item['method']}<br>
|
||||
密码:{$ss_item['passwd']}<br>
|
||||
混淆:{$ss_item['obfs']}<br>
|
||||
混淆参数:{$ss_item['obfs_param']}<br></p>
|
||||
{else}
|
||||
<p>您好,您目前的 加密方式,混淆,或者协议设置在 Shadowsocks 客户端下无法连接。请您选用 ShadowsocksR 客户端来连接,或者到 资料编辑 页面修改后再来查看此处。</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner margin-bottom-no">
|
||||
<p class="card-heading">客户端下载</p>
|
||||
|
||||
|
||||
<nav class="tab-nav margin-top-no">
|
||||
<ul class="nav nav-list">
|
||||
<li {if $ssr_prefer}class="active"{/if}>
|
||||
<a class="waves-attach" data-toggle="tab" href="#ssr_download"><i class="icon icon-lg">airplanemode_active</i> ShadowsocksR</a>
|
||||
</li>
|
||||
<li {if !$ssr_prefer}class="active"{/if}>
|
||||
<a class="waves-attach" data-toggle="tab" href="#ss_download"><i class="icon icon-lg">flight_takeoff</i> Shadowsocks</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="tab-pane fade {if $ssr_prefer}active in{/if}" id="ssr_download">
|
||||
{if URL::SSRCanConnect($user, $mu)}
|
||||
<p><i class="icon icon-lg">desktop_windows</i> <a href="/ssr-download/ssr-win.7z">Windows</a></p>
|
||||
<p><i class="icon icon-lg">laptop_mac</i> <a href="/ssr-download/ssr-mac.dmg">Mac OS X</a></p>
|
||||
<p><i class="icon icon-lg">laptop_windows</i> <a href="https://github.com/breakwa11/shadowsocks-rss/wiki/Python-client">Linux</a></p>
|
||||
<p><i class="icon icon-lg">android</i> <a href="/ssr-download/ssr-android.apk">Android</a></p>
|
||||
<p><i class="icon icon-lg">phone_iphone</i> <a href="https://itunes.apple.com/us/app/shadowrocket/id932747118">iOS</a></p>
|
||||
{else}
|
||||
<p>您好,您目前的 加密方式,混淆,或者协议设置在 ShadowsocksR 客户端下无法连接。请您选用 Shadowsocks 客户端来连接,或者到 资料编辑 页面修改后再来查看此处。</p>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="tab-pane fade {if !$ssr_prefer}active in{/if}" id="ss_download">
|
||||
{if URL::SSCanConnect($user, $mu)}
|
||||
<p><i class="icon icon-lg">desktop_windows</i> <a href="/ssr-download/ss-win.7z">Windows</a></p>
|
||||
<p><i class="icon icon-lg">laptop_mac</i> <a href="/ssr-download/ss-mac.zip">Mac OS X</a></p>
|
||||
<p><i class="icon icon-lg">laptop_windows</i> <a href="https://shadowsocks.org/en/download/clients.html">Linux</a></p>
|
||||
<p><i class="icon icon-lg">android</i> <a href="/ssr-download/ss-android.apk">Android</a></p>
|
||||
<p><i class="icon icon-lg">android</i> <a href="/ssr-download/ss-android-obfs.apk">Android Obfs插件</a></p>
|
||||
<p><i class="icon icon-lg">phone_iphone</i> <a href="https://itunes.apple.com/us/app/shadowrocket/id932747118">iOS</a></p>
|
||||
{else}
|
||||
<p>您好,您目前的 加密方式,混淆,或者协议设置在 Shadowsocks 客户端下无法连接。请您选用 ShadowsocksR 客户端来连接,或者到 资料编辑 页面修改后再来查看此处。</p>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner margin-bottom-no">
|
||||
<p class="card-heading">配置Json</p>
|
||||
|
||||
<nav class="tab-nav margin-top-no">
|
||||
<ul class="nav nav-list">
|
||||
<li {if $ssr_prefer}class="active"{/if}>
|
||||
<a class="waves-attach" data-toggle="tab" href="#ssr_json"><i class="icon icon-lg">airplanemode_active</i> ShadowsocksR</a>
|
||||
</li>
|
||||
<li {if !$ssr_prefer}class="active"{/if}>
|
||||
<a class="waves-attach" data-toggle="tab" href="#ss_json"><i class="icon icon-lg">flight_takeoff</i> Shadowsocks</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="tab-pane fade {if $ssr_prefer}active in{/if}" id="ssr_json">
|
||||
{if URL::SSRCanConnect($user, $mu)}
|
||||
<textarea class="form-control" rows="6">
|
||||
{
|
||||
"server": "{$ssr_item['address']}",
|
||||
"local_address": "127.0.0.1",
|
||||
"local_port": 1080,
|
||||
"timeout": 300,
|
||||
"workers": 1,
|
||||
"server_port": {$ssr_item['port']},
|
||||
"password": "{$ssr_item['passwd']}",
|
||||
"method": "{$ssr_item['method']}",
|
||||
"obfs": "{$ssr_item['obfs']}",
|
||||
"obfs_param": "{$ssr_item['obfs_param']}",
|
||||
"protocol": "{$ssr_item['protocol']}",
|
||||
"protocol_param": "{$ssr_item['protocol_param']}"
|
||||
}
|
||||
</textarea>
|
||||
{else}
|
||||
<p>您好,您目前的 加密方式,混淆,或者协议设置在 ShadowsocksR 客户端下无法连接。请您选用 Shadowsocks 客户端来连接,或者到 资料编辑 页面修改后再来查看此处。</p>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="tab-pane fade {if !$ssr_prefer}active in{/if}" id="ss_json">
|
||||
{if URL::SSCanConnect($user, $mu)}
|
||||
<textarea class="form-control" rows="6">
|
||||
{
|
||||
"server": "{$ss_item['address']}",
|
||||
"local_address": "127.0.0.1",
|
||||
"local_port": 1080,
|
||||
"timeout": 300,
|
||||
"workers": 1,
|
||||
"server_port": {$ss_item['port']},
|
||||
"password": "{$ss_item['passwd']}",
|
||||
"method": "{$ss_item['method']}",
|
||||
"plugin": "{URL::getJsonObfs($ss_item)}"
|
||||
}
|
||||
</textarea>
|
||||
{else}
|
||||
<p>您好,您目前的 加密方式,混淆,或者协议设置在 Shadowsocks 客户端下无法连接。请您选用 ShadowsocksR 客户端来连接,或者到 资料编辑 页面修改后再来查看此处。</p>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner margin-bottom-no">
|
||||
<p class="card-heading">配置链接</p>
|
||||
|
||||
<nav class="tab-nav margin-top-no">
|
||||
<ul class="nav nav-list">
|
||||
<li {if $ssr_prefer}class="active"{/if}>
|
||||
<a class="waves-attach" data-toggle="tab" href="#ssr_url"><i class="icon icon-lg">airplanemode_active</i> ShadowsocksR</a>
|
||||
</li>
|
||||
<li {if !$ssr_prefer}class="active"{/if}>
|
||||
<a class="waves-attach" data-toggle="tab" href="#ss_url"><i class="icon icon-lg">flight_takeoff</i> Shadowsocks</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="tab-pane fade {if $ssr_prefer}active in{/if}" id="ssr_url">
|
||||
{if URL::SSRCanConnect($user, $mu)}
|
||||
<p><a href="{URL::getItemUrl($ssr_item, 0)}"/>Android 手机上用默认浏览器打开点我就可以直接添加了(给 ShadowsocksR APP)</a></p>
|
||||
<p><a href="{URL::getItemUrl($ssr_item, 0)}"/>iOS 上用 Safari 打开点我就可以直接添加了(给 Shadowrocket)</a></p>
|
||||
{else}
|
||||
<p>您好,您目前的 加密方式,混淆,或者协议设置在 ShadowsocksR 客户端下无法连接。请您选用 Shadowsocks 客户端来连接,或者到 资料编辑 页面修改后再来查看此处。</p>
|
||||
{/if}
|
||||
</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)}"/>Android 手机上用默认浏览器打开点我就可以直接添加了(给 Shadowsocks)</a></p>
|
||||
<p><a href="{URL::getItemUrl($ss_item, 1)}"/>iOS 上用 Safari 打开点我就可以直接添加了(给 Shadowrocket)</a></p>
|
||||
{else}
|
||||
<p>您好,您目前的 加密方式,混淆,或者协议设置在 Shadowsocks 客户端下无法连接。请您选用 ShadowsocksR 客户端来连接,或者到 资料编辑 页面修改后再来查看此处。</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner margin-bottom-no">
|
||||
<p class="card-heading">配置二维码</p>
|
||||
|
||||
|
||||
<nav class="tab-nav margin-top-no">
|
||||
<ul class="nav nav-list">
|
||||
<li {if $ssr_prefer}class="active"{/if}>
|
||||
<a class="waves-attach" data-toggle="tab" href="#ssr_qrcode"><i class="icon icon-lg">airplanemode_active</i> ShadowsocksR</a>
|
||||
</li>
|
||||
<li {if !$ssr_prefer}class="active"{/if}>
|
||||
<a class="waves-attach" data-toggle="tab" href="#ss_qrcode"><i class="icon icon-lg">flight_takeoff</i> Shadowsocks</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="tab-pane fade {if $ssr_prefer}active in{/if}" id="ssr_qrcode">
|
||||
{if URL::SSRCanConnect($user, $mu)}
|
||||
<div class="text-center">
|
||||
<div id="ss-qr-n"></div>
|
||||
</div>
|
||||
{else}
|
||||
<p>您好,您目前的 加密方式,混淆,或者协议设置在 ShadowsocksR 客户端下无法连接。请您选用 Shadowsocks 客户端来连接,或者到 资料编辑 页面修改后再来查看此处。</p>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="tab-pane fade {if !$ssr_prefer}active in{/if}" id="ss_qrcode">
|
||||
{if URL::SSCanConnect($user, $mu)}
|
||||
<nav class="tab-nav margin-top-no">
|
||||
<ul class="nav nav-list">
|
||||
<li class="active">
|
||||
<a class="waves-attach" data-toggle="tab" href="#ss_qrcode_normal"><i class="icon icon-lg">android</i> 其他平台</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="waves-attach" data-toggle="tab" href="#ss_qrcode_win"><i class="icon icon-lg">desktop_windows</i> Windows</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="tab-pane fade active in" id="ss_qrcode_normal">
|
||||
<div class="text-center">
|
||||
<div id="ss-qr"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-pane fade" id="ss_qrcode_win">
|
||||
<div class="text-center">
|
||||
<div id="ss-qr-win"></div>
|
||||
</div>
|
||||
</div>
|
||||
{else}
|
||||
<p>您好,您目前的 加密方式,混淆,或者协议设置在 Shadowsocks 客户端下无法连接。请您选用 ShadowsocksR 客户端来连接,或者到 资料编辑 页面修改后再来查看此处。</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='user/footer.tpl'}
|
||||
|
||||
|
||||
<script src="/assets/public/js/jquery.qrcode.min.js"></script>
|
||||
<script>
|
||||
{if URL::SSCanConnect($user, $mu)}
|
||||
var text_qrcode = '{URL::getItemUrl($ss_item, 1)}';
|
||||
jQuery('#ss-qr').qrcode({
|
||||
"text": text_qrcode
|
||||
});
|
||||
|
||||
var text_qrcode_win = '{URL::getItemUrl($ss_item, 2)}';
|
||||
jQuery('#ss-qr-win').qrcode({
|
||||
"text": text_qrcode_win
|
||||
});
|
||||
{/if}
|
||||
|
||||
{if URL::SSRCanConnect($user, $mu)}
|
||||
var text_qrcode2 = '{URL::getItemUrl($ssr_item, 0)}';
|
||||
jQuery('#ss-qr-n').qrcode({
|
||||
"text": text_qrcode2
|
||||
});
|
||||
{/if}
|
||||
|
||||
|
||||
</script>
|
||||
@ -0,0 +1,76 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='user/header_info.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading">节点信息</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<section class="content-inner margin-top-no">
|
||||
<div class="ui-card-wrap">
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner margin-bottom-no">
|
||||
<p class="card-heading">注意!</p>
|
||||
<p>下面为您的 Pac Plus 配置。</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner margin-bottom-no">
|
||||
<p class="card-heading">配置信息</p>
|
||||
<p>{$json_show}</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner margin-bottom-no">
|
||||
<p class="card-heading">配置方法</p>
|
||||
<p>未完待续</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='user/footer.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,76 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='user/header_info.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading">节点信息</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<section class="content-inner margin-top-no">
|
||||
<div class="ui-card-wrap">
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner margin-bottom-no">
|
||||
<p class="card-heading">注意!</p>
|
||||
<p>下面为您的 Pac Plus Plus 配置。</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner margin-bottom-no">
|
||||
<p class="card-heading">配置信息</p>
|
||||
<p>{$json_show}</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner margin-bottom-no">
|
||||
<p class="card-heading">配置方法</p>
|
||||
<p>未完待续</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='user/footer.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,76 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='user/header_info.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading">节点信息</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<section class="content-inner margin-top-no">
|
||||
<div class="ui-card-wrap">
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner margin-bottom-no">
|
||||
<p class="card-heading">注意!</p>
|
||||
<p>下面为您的 SSH 配置。</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner margin-bottom-no">
|
||||
<p class="card-heading">配置信息</p>
|
||||
<p>{$json_show}</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner margin-bottom-no">
|
||||
<p class="card-heading">配置方法</p>
|
||||
<p>未完待续</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='user/footer.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,76 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='user/header_info.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="content">
|
||||
<div class="content-header ui-content-header">
|
||||
<div class="container">
|
||||
<h1 class="content-heading">节点信息</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<section class="content-inner margin-top-no">
|
||||
<div class="ui-card-wrap">
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner margin-bottom-no">
|
||||
<p class="card-heading">注意!</p>
|
||||
<p>下面为您的 VPN 配置。</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner margin-bottom-no">
|
||||
<p class="card-heading">配置信息</p>
|
||||
<p>{$json_show}</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<div class="card">
|
||||
<div class="card-main">
|
||||
<div class="card-inner margin-bottom-no">
|
||||
<p class="card-heading">配置方法</p>
|
||||
<p>未完待续</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{include file='user/footer.tpl'}
|
||||
|
||||
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue