update 6.6.7 [Add OpenLiteSpeed compatibility, optimize online editor]
@@ -0,0 +1,2 @@
|
||||
# Default ignored files
|
||||
/workspace.xml
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="PYTHON_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
<component name="TestRunnerService">
|
||||
<option name="PROJECT_TEST_RUNNER" value="Unittests" />
|
||||
</component>
|
||||
</module>
|
||||
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="PublishConfigData">
|
||||
<serverData>
|
||||
<paths name="root@192.168.1.198:22">
|
||||
<serverdata>
|
||||
<mappings>
|
||||
<mapping local="$PROJECT_DIR$" web="/" />
|
||||
</mappings>
|
||||
</serverdata>
|
||||
</paths>
|
||||
<paths name="root@192.168.1.199:22">
|
||||
<serverdata>
|
||||
<mappings>
|
||||
<mapping local="$PROJECT_DIR$" web="/" />
|
||||
</mappings>
|
||||
</serverdata>
|
||||
</paths>
|
||||
</serverData>
|
||||
</component>
|
||||
</project>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="JavaScriptSettings">
|
||||
<option name="languageLevel" value="ES6" />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 2.7 (test)" project-jdk-type="Python SDK" />
|
||||
</project>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/aaPanel_github.iml" filepath="$PROJECT_DIR$/.idea/aaPanel_github.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/www/server/panel/pyenv/bin/python
|
||||
#coding: utf-8
|
||||
# +-------------------------------------------------------------------
|
||||
# | 宝塔Linux面板
|
||||
@@ -7,13 +7,27 @@
|
||||
# +-------------------------------------------------------------------
|
||||
# | Author: 黄文良 <287962566@qq.com>
|
||||
# +-------------------------------------------------------------------
|
||||
from gevent import monkey
|
||||
from gevent import monkey,__version__ as gevent_version
|
||||
monkey.patch_all()
|
||||
import os,ssl
|
||||
import os,sys,ssl
|
||||
os.chdir('/www/server/panel')
|
||||
from BTPanel import app,sys
|
||||
from BTPanel import app,sys,public
|
||||
|
||||
if __name__ == '__main__':
|
||||
pid = os.fork()
|
||||
if pid: sys.exit(0)
|
||||
|
||||
#os.umask(0)
|
||||
os.setsid()
|
||||
|
||||
_pid = os.fork()
|
||||
if _pid:
|
||||
public.writeFile('logs/panel.pid',str(_pid))
|
||||
sys.exit(0)
|
||||
|
||||
sys.stdout.flush()
|
||||
sys.stderr.flush()
|
||||
|
||||
f = open('data/port.pl')
|
||||
PORT = int(f.read())
|
||||
HOST = '0.0.0.0'
|
||||
@@ -21,21 +35,33 @@ if __name__ == '__main__':
|
||||
HOST = "0:0:0:0:0:0:0:0"
|
||||
f.close()
|
||||
|
||||
#app.threaded=True
|
||||
#app.jinja_env.auto_reload = True
|
||||
|
||||
from gevent.pywsgi import WSGIServer
|
||||
from geventwebsocket.handler import WebSocketHandler
|
||||
|
||||
is_debug = os.path.exists('data/debug.pl')
|
||||
keyfile = 'ssl/privateKey.pem'
|
||||
certfile = 'ssl/certificate.pem'
|
||||
if os.path.exists('data/debug.pl'):
|
||||
is_ssl = False
|
||||
if os.path.exists('data/ssl.pl') and os.path.exists(keyfile) and os.path.exists(certfile):
|
||||
is_ssl = True
|
||||
|
||||
if not is_ssl or is_debug:
|
||||
err_f = open('logs/error.log','a+')
|
||||
os.dup2(err_f.fileno(),sys.stderr.fileno())
|
||||
err_f.close()
|
||||
|
||||
if is_debug:
|
||||
ssl_context = None
|
||||
if os.path.exists('data/ssl.pl'): ssl_context=(certfile,keyfile)
|
||||
if is_ssl: ssl_context=(certfile,keyfile)
|
||||
app.run(host=HOST,port=PORT,threaded=True,debug=True,ssl_context=ssl_context)
|
||||
else:
|
||||
if os.path.exists('data/ssl.pl'):
|
||||
http_server = WSGIServer((HOST, PORT), app,handler_class=WebSocketHandler,keyfile=keyfile,certfile=certfile,log=None,error_log = None)
|
||||
if is_ssl:
|
||||
ssl_context = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)
|
||||
ssl_context.load_cert_chain(certfile=certfile,keyfile=keyfile)
|
||||
ssl_context.options |= (ssl.OP_NO_SSLv2 | ssl.OP_NO_SSLv3)
|
||||
ssl_context.set_ciphers("ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE")
|
||||
http_server = WSGIServer((HOST, PORT), app,handler_class=WebSocketHandler,ssl_context = ssl_context)
|
||||
else:
|
||||
http_server = WSGIServer((HOST, PORT), app,handler_class=WebSocketHandler)
|
||||
|
||||
http_server.serve_forever()
|
||||
@@ -0,0 +1,14 @@
|
||||
#!/www/server/panel/pyenv/bin/python
|
||||
#coding: utf-8
|
||||
# +-------------------------------------------------------------------
|
||||
# | 宝塔Linux面板
|
||||
# +-------------------------------------------------------------------
|
||||
# | Copyright (c) 2015-2099 宝塔软件(http://bt.cn) All rights reserved.
|
||||
# +-------------------------------------------------------------------
|
||||
# | Author: 黄文良 <287962566@qq.com>
|
||||
# +-------------------------------------------------------------------
|
||||
|
||||
import os,sys
|
||||
os.chdir('/www/server/panel')
|
||||
import task
|
||||
task.main()
|
||||
@@ -0,0 +1 @@
|
||||
{"supportedModes":{"Apache_Conf":["^htaccess|^htgroups|^htpasswd|^conf|htaccess|htgroups|htpasswd"],"BatchFile":["bat|cmd"],"C_Cpp":["cpp|c|cc|cxx|h|hh|hpp|ino"],"CSharp":["cs"],"CSS":["css"],"Dockerfile":["^Dockerfile"],"golang":["go"],"HTML":["html|htm|xhtml|vue|we|wpy"],"Java":["java"],"JavaScript":["js|jsm|jsx"],"JSON":["json"],"JSP":["jsp"],"LESS":["less"],"Lua":["lua"],"Makefile":["^Makefile|^GNUmakefile|^makefile|^OCamlMakefile|make"],"Markdown":["md|markdown"],"MySQL":["mysql"],"Nginx":["nginx|conf"],"INI":["ini|conf|cfg|prefs"],"ObjectiveC":["m|mm"],"Perl":["pl|pm"],"Perl6":["p6|pl6|pm6"],"pgSQL":["pgsql"],"PHP_Laravel_blade":["blade.php"],"PHP":["php|inc|phtml|shtml|php3|php4|php5|phps|phpt|aw|ctp|module"],"Powershell":["ps1"],"Python":["py"],"R":["r"],"Ruby":["rb|ru|gemspec|rake|^Guardfile|^Rakefile|^Gemfile"],"Rust":["rs"],"SASS":["sass"],"SCSS":["scss"],"SH":["sh|bash|^.bashrc"],"SQL":["sql"],"SQLServer":["sqlserver"],"Swift":["swift"],"Text":["txt"],"Typescript":["ts|typescript|str"],"VBScript":["vbs|vb"],"Verilog":["v|vh|sv|svh"],"XML":["xml|rdf|rss|wsdl|xslt|atom|mathml|mml|xul|xbl|xaml"],"YAML":["yaml|yml"],"Compress":["tar|zip|7z|rar|gz|arj|z"],"images":["icon|jpg|jpeg|png|bmp|gif|tif|emf"]},"nameOverrides":{"ObjectiveC":"Objective-C","CSharp":"C#","golang":"Go","C_Cpp":"C and C++","PHP_Laravel_blade":"PHP (Blade Template)","Perl6":"Perl 6"},"encodingList":["ASCII","UTF-8","GBK","GB2312","BIG5"],"themeList":["chrome","monokai"],"aceEditor":{"editorTheme":"monokai","fontSize":13,"softLabel":false,"useSoftTabs":false,"tabSize":4,"wrap":true,"enableSnippets":true,"enableLiveAutocompletion":true,"highlightActiveLine":true,"highlightSelectedWord":true,"animatedScroll":false,"showInvisibles":false,"showFoldWidgets":true,"showLineNumbers":true,"showGutter":true,"displayIndentGuides":false},"showUpdate":true}
|
||||
@@ -1 +1 @@
|
||||
{"fontSize":"12px","theme":"monokai"}
|
||||
{"fontSize":"13px","theme":"monokai"}
|
||||
@@ -22,6 +22,12 @@
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: octicons;
|
||||
src: url("../icons/octicons.woff2");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
.binary-icon:before {
|
||||
font-family: "Octicons Regular";
|
||||
font-size: 16px;
|
||||
@@ -110,12 +116,6 @@
|
||||
top: 1px;
|
||||
content: "\f0b0";
|
||||
}
|
||||
.markdown-icon:before {
|
||||
font-family: "Octicons Regular";
|
||||
font-size: 16px;
|
||||
top: 1px;
|
||||
content: "\f0c9";
|
||||
}
|
||||
.package-icon:before {
|
||||
font-family: "Octicons Regular";
|
||||
font-size: 16px;
|
||||
@@ -699,6 +699,7 @@
|
||||
content: "\e618";
|
||||
}
|
||||
.perl-icon:before{
|
||||
color: #ff9800;
|
||||
font-family: Devicons;
|
||||
font-size: 16px;
|
||||
top: 3px;
|
||||
@@ -4911,3 +4912,31 @@
|
||||
content: "\1b6";
|
||||
top: 2px;
|
||||
}
|
||||
.sh-icon:before{
|
||||
color: #aa759f;
|
||||
content: '\f0c8';
|
||||
font-family: file-icons;
|
||||
font-size: 14px;
|
||||
}
|
||||
.text-icon:before{
|
||||
color: #cccccc;
|
||||
content: '\f011';
|
||||
font-family: octicons;
|
||||
}
|
||||
|
||||
.compress-icon:before{
|
||||
color: #46788d;
|
||||
content: '\f013';
|
||||
font-family: octicons;
|
||||
}
|
||||
|
||||
.images-icon:before{
|
||||
color: #d28445;
|
||||
content: '\f012';
|
||||
font-family: octicons;
|
||||
}
|
||||
.markdown-icon:before {
|
||||
color: #6a9fb5;
|
||||
font-family: octicons;
|
||||
content: "\f0c9";
|
||||
}
|
||||
|
Before Width: | Height: | Size: 18 KiB |
@@ -279,6 +279,9 @@ html {
|
||||
.ml33{
|
||||
margin-left: 38px
|
||||
}
|
||||
.ml35{
|
||||
margin-left: 35px;
|
||||
}
|
||||
.ml45 {
|
||||
margin-left: 50px
|
||||
}
|
||||
@@ -1059,7 +1062,7 @@ html .menu .menu_exit:hover {
|
||||
.pos-box {
|
||||
height: 50px;
|
||||
width: 100%;
|
||||
/*box-shadow: 0 1px 2px 0 rgba(0,0,0,.1);*/
|
||||
box-shadow: 0 1px 2px 0 rgba(0,0,0,.1);
|
||||
}
|
||||
|
||||
.conter-box{
|
||||
@@ -1068,9 +1071,9 @@ html .menu .menu_exit:hover {
|
||||
|
||||
.position {
|
||||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKwwAACsMBNCkkqwAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAFZSURBVDiNpdO9a1VBEAXw3zOioIUQEdFGkQdWVtr6D1ikERtRppLU6awUsUkh2CgoBNwhoPhsLESxERR7wcI2XSBNMAHRNFmLbB6Xa64RXFjYOXvmzMfOjmqt/mcd2I+QmUuZOcgbDWWQmTN4iFms4wGu4jC+RMT7wQwy8xBe4FtE3MBXPMdqE5sfLCEzj+Il3kXEE4iIJTzFFbzB9z0FMvMYJphExLPuXUQs4y1eYfmPHmTmbHN+FBGv92zMDm+ulXAzItZHtVaZeRH3sBgRn4ecOyKXcRt3dkuYwyJOZeaJfZyP42TjX1Nrne5SyqSUMu5ho559tpQy2bUP9gL8wHYnzbtYzczTuB8RHzs8/H0Sz+ETbuEDxg3f7pL6AhW/2vknNiNiCxvY6uDT8e2XMINLmbmC89js3I0z8wLOdP36Aht43KIcwULD1+w82/WGT+dk8DP96/oNlqecb6uu8YEAAAAASUVORK5CYII=");
|
||||
background-position: 20px 17px;
|
||||
background-position: 17px 13px;
|
||||
background-repeat: no-repeat;
|
||||
/*background-size: 20px auto;*/
|
||||
background-size: 20px auto;
|
||||
line-height: 50px;
|
||||
padding-left: 30px;
|
||||
}
|
||||
@@ -1709,9 +1712,11 @@ html .menu .menu_exit:hover {
|
||||
float: left;
|
||||
background-color: #f0f0f1;
|
||||
height: 100%;
|
||||
width: 170px
|
||||
width: 170px;
|
||||
}
|
||||
.mes_channel .bt-w-menu {
|
||||
width: 110px;
|
||||
}
|
||||
|
||||
.bt-w-menu p {
|
||||
cursor: pointer;
|
||||
height: 40px;
|
||||
@@ -1719,7 +1724,9 @@ html .menu .menu_exit:hover {
|
||||
padding-left: 20px;
|
||||
position: relative;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
.bt-w-menu p a {
|
||||
@@ -1734,6 +1741,9 @@ html .menu .menu_exit:hover {
|
||||
margin-left: 170px;
|
||||
position: relative
|
||||
}
|
||||
.mes_channel .bt-w-con {
|
||||
margin-left: 110px;
|
||||
}
|
||||
|
||||
.label-input-group input {
|
||||
margin-top: 0;
|
||||
@@ -2026,8 +2036,8 @@ html .menu .menu_exit:hover {
|
||||
|
||||
.fangshi label {
|
||||
font-weight: normal;
|
||||
margin-right: 44px;
|
||||
float: right
|
||||
margin-right: 30px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.fangshi label input {
|
||||
@@ -2172,8 +2182,8 @@ html .menu .menu_exit:hover {
|
||||
}
|
||||
|
||||
.softlist td img {
|
||||
width: 24px;
|
||||
height: 20px;
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
margin-right: 5px
|
||||
}
|
||||
|
||||
@@ -2302,11 +2312,10 @@ html .menu .menu_exit:hover {
|
||||
}
|
||||
|
||||
.setting-con div.mtb15 .modify {
|
||||
margin-left: -40px;
|
||||
margin-left: -57px;
|
||||
vertical-align: 0;
|
||||
position: absolute;
|
||||
right: 4px;
|
||||
top: 4px;
|
||||
/* position: relative;
|
||||
right: 60px; */
|
||||
}
|
||||
|
||||
.setting-con div.mtb15 .set-info {
|
||||
@@ -3582,7 +3591,7 @@ html .menu .menu_exit:hover {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
width: 240px
|
||||
width: 230px
|
||||
}
|
||||
|
||||
#up_box li .filesize {
|
||||
@@ -3673,12 +3682,29 @@ html .menu .menu_exit:hover {
|
||||
.setchmod{
|
||||
padding: 25px 0 75px 0;
|
||||
}
|
||||
.setchmod .bt_tab_list{
|
||||
background-color: #ececec;
|
||||
font-size: 0;
|
||||
text-align: center;
|
||||
}
|
||||
.setchmod .bt_tab_list .bt_tab_index{
|
||||
height: 43px;
|
||||
line-height: 42px;
|
||||
display: inline-block;
|
||||
font-size: 14px;
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
.bt_tab_list .active{
|
||||
background: #fff;
|
||||
}
|
||||
.setchmod .setchmodnum{
|
||||
padding: 0 15px 0;
|
||||
padding: 0 23px 0;
|
||||
margin: 0;
|
||||
}
|
||||
.setchmod fieldset {
|
||||
margin-left: 15px;
|
||||
margin-left: 23px;
|
||||
margin-bottom: 15px;
|
||||
border: 1px solid #ccc;
|
||||
float: left;
|
||||
@@ -4006,6 +4032,12 @@ html .menu .menu_exit:hover {
|
||||
padding: 0 10px;
|
||||
position: static
|
||||
}
|
||||
.openlite_set .tname{
|
||||
width: 150px;
|
||||
}
|
||||
.openlite_set .openlite_button .tname{
|
||||
width: 145px;
|
||||
}
|
||||
.conf_p{
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -4833,13 +4865,12 @@ select[disabled]{
|
||||
}
|
||||
.tab-db-status .line:nth-child(1) .ml0{
|
||||
margin-bottom: 10px;
|
||||
padding-left: 95px;
|
||||
padding-bottom: 8px;
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
.tab-db-status .bt_mysql_restart{
|
||||
margin-left: 355px;
|
||||
margin-top: 10px;
|
||||
margin-left: 75px;
|
||||
margin-top: 30px;
|
||||
}
|
||||
#database_fix table td span{
|
||||
display:block;
|
||||
@@ -4879,6 +4910,10 @@ select[disabled]{
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
#softList tr td:nth-child(3) >span{
|
||||
white-space: inherit;
|
||||
min-width: 151px;
|
||||
}
|
||||
#proxy_config_con .line .info-r,
|
||||
#redirect_config_con .line .info-r{
|
||||
margin-left: 0;
|
||||
@@ -4889,27 +4924,22 @@ select[disabled]{
|
||||
left: 15px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar
|
||||
{
|
||||
width: 12px;
|
||||
height: 9px;
|
||||
::-webkit-scrollbar {
|
||||
/*滚动条整体样式*/
|
||||
width : 10px; /*高宽分别对应横竖滚动条的尺寸*/
|
||||
height: 1px;
|
||||
}
|
||||
::-webkit-scrollbar-track-piece
|
||||
{
|
||||
background-color: #ebebeb;
|
||||
-webkit-border-radius: 6px;
|
||||
::-webkit-scrollbar-thumb {
|
||||
/*滚动条里面小方块*/
|
||||
border-radius: 10px;
|
||||
box-shadow : inset 0 0 5px rgba(0, 0, 0, 0.2);
|
||||
background : #999;
|
||||
}
|
||||
::-webkit-scrollbar-thumb:vertical
|
||||
{
|
||||
height: 32px;
|
||||
background-color: #ccc;
|
||||
-webkit-border-radius: 6px;
|
||||
}
|
||||
::-webkit-scrollbar-thumb:horizontal
|
||||
{
|
||||
width: 32px;
|
||||
background-color: #ccc;
|
||||
-webkit-border-radius: 6px;
|
||||
::-webkit-scrollbar-track {
|
||||
/*滚动条里面轨道*/
|
||||
box-shadow : inset 0 0 5px rgba(0, 0, 0, 0.2);
|
||||
border-radius: 10px;
|
||||
background : #ededed;
|
||||
}
|
||||
|
||||
|
||||
@@ -5110,11 +5140,12 @@ select[disabled]{
|
||||
background: -webkit-linear-gradient(top,rgba(255, 255, 255, 0),rgba(220, 220, 220, .8));
|
||||
}
|
||||
.newTableShadow{
|
||||
/*display: none;*/
|
||||
/*width: 100%;*/
|
||||
/* height: 8px;*/
|
||||
/* position: relative;*/
|
||||
/* background: -webkit-linear-gradient(top,rgba(220, 220, 220, .8),rgba(255, 255, 255, 0));*/
|
||||
width: auto;
|
||||
height: 8px;
|
||||
position: absolute;
|
||||
left: 15px;
|
||||
right: 15px;
|
||||
background: -webkit-linear-gradient(top,rgba(220, 220, 220, .8),rgba(255, 255, 255, 0));
|
||||
}
|
||||
|
||||
.disable {
|
||||
@@ -5274,10 +5305,7 @@ select[disabled]{
|
||||
margin-bottom:0;
|
||||
}
|
||||
|
||||
.aceEditors{
|
||||
border: 1px solid rgb(208, 207, 207);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#ace_conter.chrome{
|
||||
background: #ececec;
|
||||
}
|
||||
@@ -5287,20 +5315,30 @@ select[disabled]{
|
||||
overflow: hidden;
|
||||
/*background: url('/static/img/resize_corner.png') no-repeat;*/
|
||||
}
|
||||
.aceEditors .layui-layer-content{
|
||||
overflow-y: hidden !important;
|
||||
}
|
||||
.ace_overall {
|
||||
width: 100%;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
background: #777;
|
||||
transition: top 500ms;
|
||||
}
|
||||
.ace_overall.active .ace_editor_main{
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
.ace_catalogue{
|
||||
display: none;
|
||||
float: left;
|
||||
width: 250px;
|
||||
width: 265px;
|
||||
min-width: 265px;
|
||||
max-width: 450px;
|
||||
position: absolute;
|
||||
z-index: 99;
|
||||
height: 100%;
|
||||
background: #292929;
|
||||
transition: all 500ms;
|
||||
}
|
||||
.ace_catalogue_sidebar {
|
||||
display: none;
|
||||
@@ -5321,18 +5359,93 @@ select[disabled]{
|
||||
.ace_catalogue_title {
|
||||
height: 45px;
|
||||
line-height: 45px;
|
||||
padding-left: 20px;
|
||||
padding:0 15px;
|
||||
color: #fff;
|
||||
background: #383838;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
cursor: pointer;
|
||||
}
|
||||
.ace_catalogue_list{
|
||||
height: auto;
|
||||
position: absolute;
|
||||
top: 40px;
|
||||
top: 70px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
right: 1px;
|
||||
bottom: 0;
|
||||
background: #222;
|
||||
padding: 5px;
|
||||
overflow-x: auto;
|
||||
}
|
||||
.ace_catalogue_list::-webkit-scrollbar {
|
||||
/*滚动条整体样式*/
|
||||
width: 9px; /*高宽分别对应横竖滚动条的尺寸*/
|
||||
height: 1px;
|
||||
}
|
||||
.ace_catalogue_list::-webkit-scrollbar-thumb {
|
||||
/*滚动条里面小方块*/
|
||||
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
||||
background: rgba(78, 86, 102, 0.6);
|
||||
border-radius: 0;
|
||||
}
|
||||
.ace_catalogue_list::-webkit-scrollbar-track {
|
||||
/*滚动条里面轨道*/
|
||||
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
||||
background: #333;
|
||||
border-radius: 0;
|
||||
}
|
||||
.ace_catalogue_drag_icon{
|
||||
height: 100%;
|
||||
width: 1px;
|
||||
position: absolute;
|
||||
left: 265px;
|
||||
bottom: 0;
|
||||
top: 0;
|
||||
cursor: col-resize;
|
||||
}
|
||||
.ace_catalogue_drag_icon .drag_icon_conter{
|
||||
height: 100%;
|
||||
width: 1px;
|
||||
}
|
||||
.ace_catalogue_drag_icon .fold_icon_conter.active::after{
|
||||
content: "\e258";
|
||||
}
|
||||
.ace_catalogue_drag_icon .fold_icon_conter::after{
|
||||
color: #ececec;
|
||||
content: "\e257";
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -6.5px;
|
||||
left: 0;
|
||||
z-index: 999;
|
||||
display: inline-block;
|
||||
font-family: 'Glyphicons Halflings';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
line-height: 1;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
cursor: pointer;
|
||||
}
|
||||
.ace_catalogue_drag_icon .fold_icon_conter{
|
||||
display: inline-block;
|
||||
content: '';
|
||||
height: 50px;
|
||||
width: 14px;
|
||||
margin-top: -50px;
|
||||
position: absolute;
|
||||
z-index: 999;
|
||||
top: 48%;
|
||||
left: -1px;
|
||||
background: #222;
|
||||
border-top-right-radius: 15px;
|
||||
border-bottom-right-radius: 15px;
|
||||
border: 1px solid #525252;
|
||||
border-left: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
.ace_conter_menu {
|
||||
height: 40px;
|
||||
@@ -5352,9 +5465,168 @@ select[disabled]{
|
||||
font-size: 13px;
|
||||
display: none;
|
||||
}
|
||||
.ace_scrollbar::-webkit-scrollbar {
|
||||
/*滚动条整体样式*/
|
||||
width : 10px; /*高宽分别对应横竖滚动条的尺寸*/
|
||||
height: 1px;
|
||||
}
|
||||
.ace_scrollbar::-webkit-scrollbar-thumb {
|
||||
/*滚动条里面小方块*/
|
||||
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
||||
background: #999;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.ace_scrollbar::-webkit-scrollbar-track{
|
||||
/*滚动条里面轨道*/
|
||||
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
||||
background: #ededed;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.ace_editors.active {
|
||||
display: block;
|
||||
}
|
||||
.ace_dir_tools{
|
||||
height: 30px;
|
||||
top: 40px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 999;
|
||||
background: #444;
|
||||
}
|
||||
.folder_down_up{
|
||||
padding: 5px 0;
|
||||
width: 150px;
|
||||
border: 1px solid #ececec;
|
||||
position: fixed;
|
||||
z-index: 9999;
|
||||
background: #fff;
|
||||
border-radius: 2px;
|
||||
position: absolute;
|
||||
left:0;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.folder_down_up i.folder-icon:before{
|
||||
color: #d6ab34;
|
||||
content: '\f016';
|
||||
font-family: octicons;
|
||||
display: inline-block;
|
||||
font-size: 15px;
|
||||
}
|
||||
.folder_down_up i{
|
||||
font-style: normal;
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
}
|
||||
.folder_down_up li:hover{
|
||||
background: #efefef;
|
||||
cursor: pointer;
|
||||
}
|
||||
.folder_down_up li{
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 150px;
|
||||
height: 30px;
|
||||
font-size: 13px;
|
||||
line-height: 30px;
|
||||
padding-left: 35px;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
color: #555;
|
||||
left: -1px;
|
||||
font-style: normal;
|
||||
}
|
||||
.ace_dir_tools>div{
|
||||
display: inline-block;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
box-sizing: border-box;
|
||||
color: #ccc;
|
||||
padding: 0 5px;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
}
|
||||
.ace_dir_tools>span{
|
||||
left: 0;
|
||||
bottom: -5px;
|
||||
}
|
||||
.ace_dir_tools .upper_level{
|
||||
padding: 0 10px;
|
||||
}
|
||||
.ace_dir_tools>div:hover{
|
||||
background: #333;
|
||||
}
|
||||
.ace_dir_tools .search_file,
|
||||
.ace_dir_tools .new_folder,
|
||||
.ace_dir_tools .refresh_dir{
|
||||
float: right;
|
||||
}
|
||||
.ace_dir_tools>div i{
|
||||
margin: 0 3px;
|
||||
}
|
||||
.ace_dir_tools .search_input_view{
|
||||
width: 100%;
|
||||
padding: 0 15px;
|
||||
height: auto;
|
||||
padding-top: 10px;
|
||||
}
|
||||
.ace_dir_tools .search_input_view:hover,
|
||||
.ace_dir_tools .search_input_title:hover{
|
||||
background: #444 !important;
|
||||
}
|
||||
.ace_dir_tools .search_input_view form{
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
.ace_dir_tools .search_input_view input{
|
||||
margin-top: 0;
|
||||
width: 200px;
|
||||
}
|
||||
.ace_dir_tools .search_input_view button{
|
||||
margin-top: 0;
|
||||
position: absolute;
|
||||
right: -2px;
|
||||
outline: none;
|
||||
}
|
||||
.ace_dir_tools .search_input_view button:hover{
|
||||
background-color: #138c2b;
|
||||
}
|
||||
.ace_dir_tools .search_input_title{
|
||||
padding-left: 15px;
|
||||
cursor: default;
|
||||
}
|
||||
.ace_dir_tools .search_input_view .search_boxs{
|
||||
margin-top: 5px;
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
}
|
||||
.ace_dir_tools .search_input_view .search_boxs{
|
||||
margin-top: 5px;
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
}
|
||||
.ace_dir_tools .search_input_view .search_boxs input{
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border-radius: 0px;
|
||||
}
|
||||
.ace_dir_tools .search_input_view .search_boxs label{
|
||||
height: 20px;
|
||||
margin: 0;
|
||||
}
|
||||
.ace_dir_tools .search_input_view .search_boxs span{
|
||||
vertical-align: super;
|
||||
margin-right: 5px;
|
||||
}
|
||||
#search_input_val{
|
||||
outline: none;
|
||||
color: #333;
|
||||
padding-right: 45px;
|
||||
width: 100%;
|
||||
}
|
||||
.ace_header {
|
||||
position: relative;
|
||||
height: 35px;
|
||||
@@ -5398,7 +5670,8 @@ select[disabled]{
|
||||
.ace_editor_main {
|
||||
position: relative;
|
||||
background: #444;
|
||||
/* margin-left: 250px; */
|
||||
margin-left: 265px;
|
||||
transition: margin 500ms;
|
||||
}
|
||||
|
||||
.ace_editor_main_storey {
|
||||
@@ -5408,6 +5681,9 @@ select[disabled]{
|
||||
height: 5px;
|
||||
background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(255, 255, 255, 0));
|
||||
}
|
||||
.ace_conter_editor{
|
||||
background: #333;
|
||||
}
|
||||
.ace_conter_menu .item {
|
||||
display: inline-block;
|
||||
float: left;
|
||||
@@ -5420,6 +5696,9 @@ select[disabled]{
|
||||
color: #ececec;
|
||||
cursor: pointer;
|
||||
border-right: 1px solid #191919;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.ace_conter_menu .item:hover {
|
||||
background: #313131;
|
||||
@@ -5450,6 +5729,14 @@ select[disabled]{
|
||||
font-weight: 500;
|
||||
min-width: 8px;
|
||||
}
|
||||
.ace_conter_menu .item .icon_file>img{
|
||||
width: 13px;
|
||||
}
|
||||
.ace_conter_menu .item .glyphicon-exclamation-sign{
|
||||
display: inline !important;
|
||||
font-size: 15px;
|
||||
color: rgb(204, 167, 0);
|
||||
}
|
||||
.ace_conter_menu .item .icon-tool.fa-circle {
|
||||
display: block;
|
||||
}
|
||||
@@ -5521,12 +5808,14 @@ select[disabled]{
|
||||
text-align: right;
|
||||
margin-right: 15px;
|
||||
position: relative;
|
||||
z-index: 999;
|
||||
background: #444;
|
||||
font-size: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.ace_conter_toolbar .pull-left{
|
||||
text-align: left;
|
||||
max-width: 50%;
|
||||
}
|
||||
.ace_conter_toolbar .pull-left,
|
||||
.ace_conter_toolbar .pull-right{
|
||||
height: 35px;
|
||||
@@ -5606,6 +5895,9 @@ select[disabled]{
|
||||
.ace_toolbar_menu .menu-item li.active:hover {
|
||||
background: #666;
|
||||
}
|
||||
.editor_menu li.active{
|
||||
background: #444 !important;
|
||||
}
|
||||
.ace_toolbar_menu .menu-item li:hover {
|
||||
background: #505050;
|
||||
}
|
||||
@@ -5618,7 +5910,7 @@ select[disabled]{
|
||||
right: 25px;
|
||||
}
|
||||
.ace_toolbar_menu .menu-title {
|
||||
padding: 0 0 5px 20px;
|
||||
padding: 0 0 10px 20px;
|
||||
border-bottom: 1px solid #666666;
|
||||
color: #9e9e9e;
|
||||
}
|
||||
@@ -5662,14 +5954,14 @@ select[disabled]{
|
||||
.cursor-row,.cursor-line{
|
||||
margin:5px;
|
||||
}
|
||||
.set_font_size {
|
||||
.set_font_size, .set_jump_line {
|
||||
margin-top: 20px;
|
||||
position: relative;
|
||||
}
|
||||
.set_font_size input{
|
||||
.set_font_size input, .set_jump_line input{
|
||||
width: 250px;
|
||||
}
|
||||
.set_font_size .btn-save{
|
||||
.set_font_size .btn-save, .set_jump_line .btn-save{
|
||||
margin-left: 15px;
|
||||
height: 35px;
|
||||
width: 80px;
|
||||
@@ -5679,7 +5971,7 @@ select[disabled]{
|
||||
outline: none;
|
||||
transition: all 500ms;
|
||||
}
|
||||
.set_font_size .btn-save:hover{
|
||||
.set_font_size .btn-save:hover, .set_jump_line .btn-save:hover{
|
||||
background: #23963a;
|
||||
}
|
||||
.chrome .set_font_size .tips{
|
||||
@@ -6116,41 +6408,293 @@ select[disabled]{
|
||||
overflow-y: hidden;
|
||||
}
|
||||
.cd-accordion-menu .has-children{
|
||||
height: 30px;
|
||||
min-height: 30px;
|
||||
line-height: 30px;
|
||||
position: relative;
|
||||
}
|
||||
.cd-accordion-menu .has-children ul{
|
||||
display: none;
|
||||
position: relative;
|
||||
}
|
||||
.cd-accordion-menu .has-children label:hover{
|
||||
.cd-accordion-menu .has-children .file_fold.active{
|
||||
color: rgb(204, 167, 0);
|
||||
}
|
||||
.cd-accordion-menu .has-children .file_fold.bg{
|
||||
background: #2f2f2f;
|
||||
}
|
||||
.cd-accordion-menu .has-children .file_fold.bg:hover{
|
||||
background: #2f2f2f;
|
||||
}
|
||||
.cd-accordion-menu .has-children .file_fold:hover{
|
||||
background-color: #272727;
|
||||
}
|
||||
.cd-accordion-menu .has-children .file_fold{
|
||||
margin-bottom: 0;
|
||||
padding-left: 10px;
|
||||
width: 100%;
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
color: #cccccc;
|
||||
position: relative;
|
||||
height: 28px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.cd-accordion-menu .has-children .file_fold>.glyphicon{
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
top: 7px;
|
||||
font-size: 12px;
|
||||
}
|
||||
.cd-accordion-menu .has-children .file_title{
|
||||
position: relative;
|
||||
left: 20px;
|
||||
font-weight: 500;
|
||||
height: 27px;
|
||||
display: inline-block;
|
||||
width: 85%;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.cd-accordion-menu .has-children .file_input{
|
||||
position: relative;
|
||||
left: 20px;
|
||||
font-weight: 500;
|
||||
height: 28px;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
}
|
||||
.cd-accordion-menu .has-children .file_input i,
|
||||
.cd-accordion-menu .has-children .file_title i{
|
||||
font-style: normal;
|
||||
font-size: 16px;
|
||||
margin-right: 8px;
|
||||
vertical-align: bottom;
|
||||
width: 15px;
|
||||
height: 28px;
|
||||
display: inline-block;
|
||||
}
|
||||
.cd-accordion-menu .has-children .folder-icon{
|
||||
font-style: normal;
|
||||
font-size: 14px;
|
||||
margin-right: 7px;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
.ace_catalogue_menu .folder-icon:before,
|
||||
.cd-accordion-menu .has-children .folder-icon:before{
|
||||
color: #d6ab34;
|
||||
content: '\f016';
|
||||
font-family:octicons;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.upper_level {
|
||||
border-bottom: 1px solid #333;
|
||||
}
|
||||
.upper_level:hover{
|
||||
background-color: #313131;
|
||||
}
|
||||
.cd-accordion-menu .has-children label{
|
||||
margin-bottom: 0;
|
||||
.upper_level span{
|
||||
display: inline-block;
|
||||
padding: 0 10px;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
color:#cccccc;
|
||||
}
|
||||
.cd-accordion-menu .has-children input{
|
||||
.has_children_separator{
|
||||
position: absolute;
|
||||
top: 29px;
|
||||
bottom: 0;
|
||||
width: 1px;
|
||||
background: #333;
|
||||
left: 15px;
|
||||
}
|
||||
.group_1{padding-left: 10px !important;}
|
||||
.group_1>.glyphicon{left: 10px !important;}
|
||||
.children_1 .has_children_separator{left: 15px!important;}
|
||||
|
||||
.group_2{padding-left: 25px !important;}
|
||||
.group_2>.glyphicon{left: 25px !important;}
|
||||
.children_2 .has_children_separator{left: 30px!important;}
|
||||
|
||||
.group_3{padding-left: 40px !important;}
|
||||
.group_3>.glyphicon{left: 40px !important;}
|
||||
.children_3 .has_children_separator{left: 45px!important;}
|
||||
|
||||
.group_4{padding-left:55px !important;}
|
||||
.group_4>.glyphicon{left: 55px !important;}
|
||||
.children_4 .has_children_separator{left: 60px!important;}
|
||||
|
||||
.group_5{padding-left:70px !important;}
|
||||
.group_5>.glyphicon{left: 70px !important;}
|
||||
.children_5 .has_children_separator{left: 75px!important;}
|
||||
|
||||
.group_6{padding-left:85px !important;}
|
||||
.group_6>.glyphicon{left: 85px !important;}
|
||||
.children_6 .has_children_separator{left: 90px!important;}
|
||||
|
||||
.group_7{padding-left:100px !important;}
|
||||
.group_7>.glyphicon{left: 100px !important;}
|
||||
.children_7 .has_children_separator{left: 105px!important;}
|
||||
|
||||
.group_8{padding-left:115px !important;}
|
||||
.group_8>.glyphicon{left: 115px !important;}
|
||||
.children_8 .has_children_separator{left: 120px!important;}
|
||||
|
||||
/* 文字省略 */
|
||||
.size_ellipsis{
|
||||
display: inline-block;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.ace_conter_tips{
|
||||
height: 50px;
|
||||
background: #d29232;
|
||||
z-index: 99999;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
display: none;
|
||||
bottom: -1px;
|
||||
}
|
||||
.ace_conter_tips .tips{
|
||||
display: inline-block;
|
||||
padding-left: 15px;
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
height: 100%;
|
||||
line-height: 50px;
|
||||
vertical-align: top;
|
||||
transition: all 500ms;
|
||||
}
|
||||
.ace_catalogue_menu{
|
||||
padding: 5px 0;
|
||||
width: 150px;
|
||||
border: 1px solid #ececec;
|
||||
position: fixed;
|
||||
z-index: 9999;
|
||||
background: #fff;
|
||||
border-radius: 2px;
|
||||
display: none;
|
||||
}
|
||||
.cd-accordion-menu .has-children .glyphicon{
|
||||
|
||||
margin-right: 10px;
|
||||
.ace_catalogue_menu li{
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 150px;
|
||||
height: 30px;
|
||||
font-size: 13px;
|
||||
line-height: 30px;
|
||||
padding-left: 35px;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
color: #555;
|
||||
left: -1px;
|
||||
}
|
||||
.cd-accordion-menu .has-children .folder_icon{
|
||||
.ace_catalogue_menu li:hover{
|
||||
background: #efefef;
|
||||
cursor: pointer;
|
||||
}
|
||||
.ace_catalogue_menu li i{
|
||||
font-style: normal;
|
||||
font-size: 15px;
|
||||
margin-right: 2px;
|
||||
vertical-align: bottom;
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
}
|
||||
.cd-accordion-menu .has-children .folder_icon:before{
|
||||
color: #cccccc;
|
||||
content: '\f016';
|
||||
font-family:octicons;
|
||||
.ace_catalogue_menu li i:before{
|
||||
font-size: 17px;
|
||||
}
|
||||
.newly_file_input{
|
||||
height: 24px;
|
||||
background: #555;
|
||||
outline: none;
|
||||
padding-left:5px;
|
||||
border: 1px solid #528bff;
|
||||
}
|
||||
.file_input .glyphicon-ok{
|
||||
position: absolute;
|
||||
right: 46px;
|
||||
left: auto;
|
||||
display: inline-block;
|
||||
color: #20a53a;
|
||||
width: 20px;
|
||||
height: 26px;
|
||||
line-height: 26px;
|
||||
text-align: center;
|
||||
}
|
||||
.file_input .glyphicon-remove{
|
||||
position: absolute;
|
||||
right: 22px;
|
||||
left: auto;
|
||||
display: inline-block;
|
||||
color: #f34a4a;
|
||||
width: 20px;
|
||||
height: 26px;
|
||||
line-height: 27px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.ace_catalogue_menu .rename-icon{
|
||||
background-position: 0 -64px;
|
||||
}.ace_catalogue_menu .del-icon{
|
||||
background-position: 0 -80px;
|
||||
}
|
||||
.ace_catalogue_menu .img-icon{
|
||||
display: inline-block;
|
||||
background-image: url('../img/file_menu_icon.png');
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -8.5px;
|
||||
font-style: normal;
|
||||
background-size: auto !important;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
/*外链分享 */
|
||||
.checkbox_grourd input {
|
||||
margin-right: 2px;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
}
|
||||
.softlist td img {
|
||||
max-width: 25px;
|
||||
max-height: 25px;
|
||||
margin-right: 5px;
|
||||
margin-top: -1px;
|
||||
margin-bottom: -1px;
|
||||
}
|
||||
|
||||
.checkbox_grourd {
|
||||
height: 30px;
|
||||
line-height: 32px;
|
||||
margin-right: 20px;
|
||||
font-size: 14px;
|
||||
font-weight: initial;
|
||||
color:#666;
|
||||
}
|
||||
.external_link button{
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
|
||||
/* 结束 */
|
||||
.php_info_group{
|
||||
margin-top: 15px;
|
||||
}
|
||||
.php_info_group p {
|
||||
height: 35px;
|
||||
line-height: 35px;
|
||||
border: 1px solid #ddd;
|
||||
border-bottom: none;
|
||||
padding-left: 5px;
|
||||
font-size: 14px;
|
||||
background: #f1f1f1;
|
||||
}
|
||||
.php_info_group:last-child{
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 21 KiB |
@@ -1,562 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="applicable-device" content="pc">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="referrer" content="always">
|
||||
<meta name="description" content="宝塔,让运维简单高效。面板支持Linux与Windows系统。一键配置:LAMP/LNMP、网站、数据库、FTP、SSL,通过Web端轻松管理服务器。">
|
||||
<meta name="keywords" content="LAMP/LNMP一键安装包,运维,服务器运维,免费主机管理系统,linux面板,windows面板">
|
||||
<title>宝塔面板 - 简单好用的Linux/Windows服务器运维管理面板</title>
|
||||
<link href="https://www.bt.cn/favicon.ico" rel="shortcut icon" type="image/x-icon" />
|
||||
<link href="https://www.bt.cn/" rel="canonical">
|
||||
<link href="/Public/css/bt/reset.css" rel="stylesheet" type="text/css">
|
||||
<link href="/Public/css/bt/common.css?4.0149" rel="stylesheet" type="text/css">
|
||||
<link href="/Public/css/bt/login.css?2.1" rel="stylesheet" type="text/css">
|
||||
|
||||
<link href="/Public/css/bt/css.css?1.91" rel="stylesheet" type="text/css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="main">
|
||||
|
||||
<div class="head" style="background-color:rgba(0,0,0,0.80);">
|
||||
<div class="layout">
|
||||
<div class="logo fl"><a href="/"><img src="/Public/images/logo.png" alt="宝塔面板"></a></div>
|
||||
<div class="menu fl">
|
||||
<ul>
|
||||
<li><a class="active" href="/" >首页</a></li>
|
||||
<li><a href="/download/linuxpro.html" >Linux专业版</a></li>
|
||||
<li><a href="/download/linux.html" >Linux免费版</a></li>
|
||||
<li><a href="/download/windows.html" >Windows免费版</a></li>
|
||||
<li><a href="/partner" >IDC推荐</a></li>
|
||||
<li><a href="/invite" >邀请大使</a></li>
|
||||
<li><a href="/bbs/portal.php" target="_blank" >论坛</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="login fr">
|
||||
<div class="loginr">
|
||||
<div class="pull-right m-t-sm">
|
||||
<a href="/login.html" id="login" class="mip-btn mip-btn-primary">登录</a>
|
||||
<a href="/register.html" id="register" class="mip-btn mip-btn-default m-l ">注册</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- <div class="chunlian_box">
|
||||
<div class="chunlian">
|
||||
</div>
|
||||
<div class="dl_r">
|
||||
<div class="dl_l">
|
||||
<div class="top_pendant"></div>
|
||||
<div class="top"></div>
|
||||
<div class="con" style="height: 0px;"></div>
|
||||
<div class="bottom"></div>
|
||||
<div class="bottom_pendant"></div>
|
||||
<div class="top_pendant"></div>
|
||||
<div class="top"></div>
|
||||
<div class="con" style="height: 0px;"></div>
|
||||
<div class="bottom"></div>
|
||||
<div class="bottom_pendant"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<style>
|
||||
.bt_invite_tips{
|
||||
height:220px;
|
||||
background: #20a53a;
|
||||
display: none;
|
||||
}
|
||||
.bt_invite_tips .tips_username{
|
||||
padding-top: 50px;
|
||||
}
|
||||
.bt_invite_tips .tips_username,
|
||||
.bt_invite_tips .tips_package,
|
||||
.bt_invite_tips .tips_btn{
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.bt_invite_tips .tips_username{
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.bt_invite_tips .tips_package{
|
||||
font-size: 16px;
|
||||
}
|
||||
.bt_invite_tips .tips_package span{
|
||||
font-size: 26px;
|
||||
margin: 0 2px;
|
||||
color:#ff0;
|
||||
font-weight: 600px;
|
||||
}
|
||||
.bt_invite_tips .tips_btn span{
|
||||
display: inline-block;
|
||||
width: 180px;
|
||||
color: red;
|
||||
padding: 10px;
|
||||
font-size: 15px;
|
||||
background: #ff0;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.tips_btn span{
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
<div class="bt_invite_tips" style="height:220px;background: #20a53a;">
|
||||
<div class="tips_username">宝塔邀请大使<span></span>赠送您</div>
|
||||
<div class="tips_package">¥<span>3188</span>元礼包</div>
|
||||
<div class="tips_btn"><span>立即领取</span></div>
|
||||
</div>
|
||||
<div class="bttip_box">
|
||||
<div class="layout">
|
||||
<div class="banner">
|
||||
<h3 class="title" style="width:570px"><font style="letter-spacing:2px">简单好用的服务器运维面板</font><span style="border: 1px solid red;right:-15px">永久免费</span></h3>
|
||||
<div class="downBtn">
|
||||
<span class="on">Linux 版</span>
|
||||
<span>Windows 版</span>
|
||||
</div>
|
||||
<div class="downInfo">
|
||||
<p><span class="version">6.9免费版</span>|<span class="update">2019/6/12·每月更新</span>|<a class="download" href="https://github.com/aaPanel/BaoTa"
|
||||
target="_blank" style="margin-right:5px">GitHub</a>|<a class="download" href="http://27.50.161.190:8888/login"
|
||||
target="_blank" style="margin-right:5px">演示</a>|<a class="download" href="/bbs/thread-19376-1-1.html">立即安装</a></p>
|
||||
<p style="margin-bottom:7px;display:none"><span class="version">5.5.1测试版</span>|<span class="update">2017/11/22·每周更新</span>|<a
|
||||
class="download" href="http://27.50.161.190:8888/login" target="_blank" style="margin-right:5px">查看演示</a>|<a class="download"
|
||||
href="/bbs/thread-5195-1-1.html">查看安装</a></p>
|
||||
</div>
|
||||
<div class="softtxt">
|
||||
Linux版请确保纯净系统安装(支持CentOS、Ubuntu、Debian、Fedora、deepin),Web端管理,QQ群及论坛技术支持<br>一键创建网站、FTP、数据库、SSL;安全管理,计划任务,文件管理,PHP多版本共存及切换;自带LNMP与LAMP
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="preview">
|
||||
<div class="linux"><img src="/Public/images/linux_pc_free.png"></div>
|
||||
<div class="windows" style="display:none"><img src="/Public/images/windows_web.png">
|
||||
<!-- <div class="WSoft-min"><img src="/Public/images/windows-soft.png" width="100%"></div> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="linex"></div>
|
||||
<div class="yaoqing"><p>免费加入宝塔邀请大使,帮助他人同时还能赚钱</p><a href="https://www.bt.cn/invite" target="_blank">立即免费加入</a></div>
|
||||
<div class="layout" style="padding-bottom: 30px;">
|
||||
<div class="zunad" onclick="javascript:window.open('http://www.zun.com/alllist.html','_blank')">
|
||||
尊云,价格厚道的云服务器,<span>6核10G,99元</span>
|
||||
</div>
|
||||
<div class="zunad" onclick="javascript:window.open('http://www.zun.com/tiyan.html','_blank')" style="display:none">
|
||||
尊云9元福利云,预装宝塔面板,<span>9元</span>最高能用<span style='margin-left:5px'>45天</span>,宝塔极力推荐!
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="box pro1 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1" onclick="javascript:window.location.href='/Download/btmstsc.html'">远程桌面连接工具</h3>
|
||||
<p><a href="/update/net/Bt_Mstsc.exe">下载</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro2 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1" onclick="javascript:window.location.href='/btcode.html'">Linux面板命令大全</h3>
|
||||
<p><a href="https://www.bt.cn/btcode.html">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro3 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1">IDC推荐</h3>
|
||||
<p><a href="https://www.bt.cn/partner">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div style="float:left;width:333px">
|
||||
<div class="box pro4 fl" style="height:115px;margin-bottom:20px;background-color:#f0f0f0">
|
||||
<div class="text">
|
||||
<h3 class="p1">宝塔币商城</h3>
|
||||
<p><a href="https://www.bt.cn/integral">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro5 fl" style="height:115px;background-color:#f0f0f0">
|
||||
<div class="text">
|
||||
<h3 class="p1">宝塔跑分排行榜</h3>
|
||||
<p><a href="https://www.bt.cn/score">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="news yunwei center" style="margin: 0 20px">
|
||||
<img src="Public/images/ico_yunwei.png">
|
||||
<div class="yunwei-font">
|
||||
<span style="font-size: 21px;">宝塔运维</span>
|
||||
<span style="font-size: 16px;margin-top: 17px;color:#454545;">付费运维已停止接单,论坛可免费求助</span>
|
||||
</div>
|
||||
<a href="https://www.bt.cn/yunwei" style="margin-top: 15px;">点击查看</a>
|
||||
</div>
|
||||
<div class="news yunwei center">
|
||||
<img src="Public/images/ico_other.png" />
|
||||
<div class="yunwei-font">
|
||||
<span style="font-size: 21px;">开发者中心</span>
|
||||
<span style="font-size: 16px;margin-top: 17px;color:red;">诚邀开发者入驻,让创作更有价值</span>
|
||||
</div>
|
||||
<a href="https://www.bt.cn/developer" style="margin-top: 15px;">点击查看</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="linex"></div>
|
||||
<div class="layout">
|
||||
<style type="text/css">
|
||||
.row .news {
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
.news h4 {
|
||||
font-size: 21px;
|
||||
margin-top: 30px;
|
||||
font-weight: normal;
|
||||
font-weight: inherit;
|
||||
}
|
||||
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.news>a,
|
||||
.conterRight>a {
|
||||
width: 100px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
color: #646472;
|
||||
border: 1px solid #CACAD9;
|
||||
border-radius: 4px;
|
||||
margin: 0 auto;
|
||||
margin-top: 30px;
|
||||
background: #fff;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.news>a:hover,
|
||||
.conterRight>a:hover {
|
||||
background-color: #20A53A;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.conterLeft {
|
||||
float: left;
|
||||
position: relative;
|
||||
top: -16px;
|
||||
}
|
||||
|
||||
.conterRight {
|
||||
float: right;
|
||||
width: 180px;
|
||||
}
|
||||
|
||||
.conterTop {
|
||||
height: 50%;
|
||||
overflow: hidden;
|
||||
border-bottom: 1px solid #dedede;
|
||||
}
|
||||
|
||||
.conterTop img {
|
||||
float: left;
|
||||
margin-left: 25px;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.conterTop h4 {
|
||||
float: right;
|
||||
margin-top: 45px;
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
.hz-tit {
|
||||
font-size: 26px;
|
||||
color: #454545;
|
||||
text-align: center;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
.hz-con a {
|
||||
background-color: #fafafa;
|
||||
border: #ddd 1px solid;
|
||||
float: left;
|
||||
width: 219px;
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
text-align: center;
|
||||
margin-bottom: 40px;
|
||||
margin-right: 50px;
|
||||
}
|
||||
|
||||
.hz-con a:hover {
|
||||
box-shadow: 0 0 6px #dedede;
|
||||
}
|
||||
|
||||
.hz-con a img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.yunwei img {
|
||||
width: 70px;
|
||||
margin-top: 22px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.yunwei span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.yaoqing{
|
||||
height:90px;
|
||||
width:1040px;
|
||||
line-height:88px;
|
||||
text-align:center;
|
||||
background-color:#20a53a;
|
||||
margin:20px auto 30px;
|
||||
}
|
||||
.yaoqing p{
|
||||
font-family:"微软雅黑";
|
||||
font-size:25px;
|
||||
color:#fff;
|
||||
display:inline-block;
|
||||
margin-right:30px;
|
||||
}
|
||||
.yaoqing a{
|
||||
display:inline-block;
|
||||
height:36px;
|
||||
width:150px;
|
||||
background-color:#FFFF00;
|
||||
text-align:center;
|
||||
line-height:36px;
|
||||
color:#FF2626;
|
||||
font-size:16px;
|
||||
border-radius:3px;
|
||||
vertical-align:3px;
|
||||
}
|
||||
.yaoqing a:hover{
|
||||
background-color:#FFe000;
|
||||
}
|
||||
</style>
|
||||
<div class="row">
|
||||
<div class="hz-tit">
|
||||
<p>合作伙伴</p>
|
||||
<p><a href="https://www.bt.cn/partner" style="color:#20a53a;font-size:14px" target="_blank">申请IDC定制版合作</a></p>
|
||||
</div>
|
||||
<div class="hz-con">
|
||||
<a href="https://www.zun.com" target="_blank"><img src="/Public/images/p-zun.png" alt="尊云"></a>
|
||||
<a href="https://www.wy.cn" target="_blank"><img src="/Public/images/p-wy.png" alt="唯一网络"></a>
|
||||
<a href="https://www.dns.com" target="_blank"><img src="/Public/images/p-dns.png" alt="DNS"></a>
|
||||
<!--<a href="https://www.ddos.com" target="_blank" style="margin-right:0"><img src="/Public/images/p-ddos.png" alt="DDOS"></a> -->
|
||||
<a href="https://www.trustasia.com/" target="_blank" style="margin-right:0"><img src="/Public/images/p-yz.png" alt="亚洲诚信"></a>
|
||||
<a href="https://www.aliyun.com" target="_blank"><img src="/Public/images/p-aliyun.png" alt="阿里云"></a>
|
||||
<a href="https://www.jcloud.com" target="_blank"><img src="/Public/images/p-jd.png" alt="京东云"></a>
|
||||
<a href="https://www.upyun.com" target="_blank"><img src="/Public/images/p-up.png" alt="又拍云"></a>
|
||||
<a href="https://www.ddos.com" target="_blank" style="margin-right:0"><img src="/Public/images/p-ddos.png" alt="网堤安全"></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row" style="margin-top:20px">
|
||||
<div class="flink">
|
||||
<span style="float:left">友情链接:</span>
|
||||
<p style="display: inline;">
|
||||
<a href="https://www.bt.cn/Download/btsoftlinux.html" target="_blank" title="LAMP" style="margin: 0px 7px 15px; display: inline-block;">LAMP</a>
|
||||
<a href="https://www.bt.cn/Download/btsoftlinux.html" target="_blank" title="LNMP" style="margin: 0px 7px 15px; display: inline-block;">LNMP</a>
|
||||
<a href="http://www.wy.cn" target="_blank" title="唯一网络" style="margin: 0px 7px 15px; display: inline-block;">唯一网络</a>
|
||||
<a href="http://www.ddun.com" target="_blank" title="CC防护 " style="margin: 0px 7px 15px; display: inline-block;">CC防护</a>
|
||||
<a href="http://www.ddos.com" target="_blank" title="ddos防护" style="margin: 0px 7px 15px; display: inline-block;">ddos防护</a>
|
||||
<a href="http://www.dns.com" target="_blank" title="dns解析" style="margin: 0px 7px 15px; display: inline-block;">dns解析</a>
|
||||
<a href="http://www.wcloud.com" target="_blank" title="云主机" style="margin: 0px 7px 15px; display: inline-block;">云主机</a>
|
||||
<a href="http://www.om.cn" target="_blank" title="3dmax模型免费下载,设计模型,3d模型下载" style="margin: 0px 7px 15px; display: inline-block;">3D模型</a>
|
||||
<a href="http://www.yunsuo.com.cn" target="_blank" title="云锁-服务器安全" style="margin: 0px 7px 15px; display: inline-block;">云锁-服务器安全</a>
|
||||
<a href="http://www.xmirror.cn" target="_blank" title="悬镜-服务器安全" style="margin: 0px 7px 15px; display: inline-block;">悬镜-服务器安全</a>
|
||||
<a href="http://kodcloud.com" target="_blank" title="可道私有云" style="margin: 0px 7px 15px; display: inline-block;">可道私有云</a>
|
||||
<a href="http://www.jieqi.com" target="_blank" title="杰奇" style="margin: 0px 7px 15px; display: inline-block;">杰奇</a>
|
||||
<a href="https://www.tipask.com" target="_blank" title="Tipask" style="margin: 0px 7px 15px; display: inline-block;">Tipask</a>
|
||||
<a href="http://www.maccms.com" target="_blank" title="苹果CMS" style="margin: 0px 7px 15px; display: inline-block;">苹果CMS</a>
|
||||
<a href="http://www.zhujiwu.com" target="_blank" title="主机屋" style="margin: 0px 7px 15px; display: inline-block;">主机屋</a>
|
||||
<a href="https://www.mituo.cn" target="_blank" title="米托网站制作" style="margin: 0px 7px 15px; display: inline-block;">建网站</a>
|
||||
<a href="https://www.dscmall.cn" target="_blank" title="大商创b2b2c" style="margin: 0px 7px 15px; display: inline-block;">大商创b2b2c</a>
|
||||
<a href="https://www.59dun.com/" target="_blank" title="高防服务器" style="margin: 0px 7px 15px; display: inline-block;">高防服务器</a>
|
||||
<a href="https://www.huzhan.com" target="_blank" title="互站网" style="margin: 0px 7px 15px; display: inline-block;">互站网</a>
|
||||
<a href="https://www.zhongjie.com" target="_blank" title="中介网" style="margin: 0px 7px 15px; display: inline-block;">中介网</a>
|
||||
<a href="http://www.qy.cn" target="_blank" title="云服务器" style="margin: 0px 7px 15px; display: inline-block;">云服务器</a>
|
||||
<a href="https://www.51.la" target="_blank" title="51la网站统计" style="margin: 0px 7px 15px; display: inline-block;">51la网站统计</a>
|
||||
<a href="http://www.35hw.com/" target="_blank" title="东莞网站建设" style="margin: 0px 7px 15px; display: inline-block;">东莞网站建设</a>
|
||||
<a href="http://www.vpn.cn" target="_blank" title="国内200+城市线路VPN" style="margin: 0px 7px 15px; display: inline-block;">国内200+城市线路VPN</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="btfooter">
|
||||
<div class="footer_nav layout">
|
||||
<div class="nav_groud">
|
||||
<ul class="nav_list ">
|
||||
<li class="item">常用文档</li>
|
||||
<li ><a href="http://docs.bt.cn/424204">宝塔使用手册</a></li>
|
||||
<li ><a href="https://www.bt.cn/btcode.html">Linux面板命令</a></li>
|
||||
<li ><a href="https://www.bt.cn/bbs/thread-20376-1-1.html" target="_blank">API接口文档</a></li>
|
||||
<li><a href="http://www.bt.cn/kyxy.html" target="_blank">宝塔开源协议</a></li>
|
||||
</ul>
|
||||
<ul class="nav_list ">
|
||||
<li class="item">快捷入口</li>
|
||||
<li><a href="https://www.bt.cn/about.html">公司简介</a></li>
|
||||
<li><a href="https://www.bt.cn/about.html#job">加入我们</a></li>
|
||||
<li><a href="https://www.bt.cn/invite">邀请大使</a></li>
|
||||
<li><a href="https://github.com/aaPanel/BaoTa" target="_blank">GitHub</a></li>
|
||||
</ul>
|
||||
<ul class="nav_list ">
|
||||
<li class="item">联系我们</li>
|
||||
<li><span>周一至周六,节假日除外</span></li>
|
||||
<li><span>9:15~12:30,14:00~18:15</span></li>
|
||||
<li><span>客服咨询QQ:<a href="http://q.url.cn/abvgP3?_type=wpa&qidian=true" target="_blank">800176556</a></span></li>
|
||||
<li><span>投诉建议QQ:<a href="tencent://message/?uin=394030111">394030111</a></span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="nav_logo">
|
||||
<img src="/Public/images/bt_logo.png" alt="" title="这是宝塔吉祥物【小河妖】"/>
|
||||
<span>宝塔,让运维简单高效</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyright">
|
||||
<p>Copyright © 2014-2019 <a href="http://www.bt.cn/" title="宝塔面板">宝塔面板</a>|让运维简单高效(www.bt.cn) 东莞市百塔网络科技有限公司 All
|
||||
Rights Reserved</p>
|
||||
<p><a href="http://www.beian.miit.gov.cn" target="_blank" style="margin-right:15px">粤ICP备17030143号</a> <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44190002003211">粤公网安备
|
||||
44190002003211号</a> <span style="margin-left:15px">宝塔论坛正在使用宝塔Linux面板维护管理并由<a href="https://www.zun.com" target="_blank">尊云云服务器</a>提供支持</span></p>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<script type="text/javascript" src="/Public/js/jquery.js"></script>
|
||||
<script type="text/javascript" src="/Public/js/tongji.js"></script><!--统计js-->
|
||||
|
||||
<script type="text/javascript" src="/Public/layer/layer.js"></script>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
var index = {
|
||||
userStatus:'',
|
||||
invite_code:'',
|
||||
init: function () {
|
||||
var _this = this;
|
||||
this.userStatus = localStorage.getItem('userStatus');
|
||||
this.invite_code = this.to_query_params.call(window.location.search);
|
||||
this.invite_code = this.invite_code.invite_code == undefined?'':this.invite_code.invite_code;
|
||||
if(this.invite_code != '') this.set_cookie('invite_code',this.invite_code, 1)
|
||||
if(this.userStatus) this.add_user_agent_detail(function(){});//加入代理
|
||||
//获取礼包信息
|
||||
this.get_package_info(function(res){
|
||||
var info = res.info.mobile;
|
||||
$('.bt_invite_tips').show().find('.tips_username span').html(info);
|
||||
$('.yaoqing').hide();
|
||||
$('.tips_btn span').click(function(){
|
||||
if(_this.userStatus){
|
||||
//领取礼包
|
||||
_this.get_package_byuser(res.data.id,function(res){
|
||||
layer.msg(res.msg,{icon:res.status?1:2});
|
||||
setTimeout(function(){window.location = '/admin/profe'},2000);
|
||||
});
|
||||
}else{
|
||||
window.location = '/login';
|
||||
}
|
||||
});
|
||||
});
|
||||
$('.bttip_colse').click(function () {
|
||||
$('.bttip,.bttip_box').addClass('top');
|
||||
setTimeout(function () {
|
||||
$('.bttip').css('display', 'none');
|
||||
$('.bttip_box').removeClass('top');
|
||||
}, 1000);
|
||||
});
|
||||
$(".downBtn span").click(function () {
|
||||
var i = $(this).index();
|
||||
$(this).addClass("on").siblings().removeClass("on");
|
||||
$(".preview > div").hide().eq(i).show();
|
||||
if (i == 0) {
|
||||
$(".downInfo").html('<p><span class="version">6.9免费版</span>|<span class="update">2019/6/12·每月更新</span>|<a class="download" href="https://github.com/aaPanel/BaoTa" target="_blank" style="margin-right:5px">GitHub</a>|<a class="download" href="http://27.50.161.190:8888/login" target="_blank" style="margin-right:5px">演示</a>|<a class="download" href="/bbs/thread-19376-1-1.html">立即安装</a></p><p style="margin-bottom:7px;display:none"><span class="version">5.5.1测试版</span>|<span class="update">2017/11/22·每周更新</span>|<a class="download" href="/bbs/thread-5195-1-1.html">查看安装</a></p>');
|
||||
$(".softtxt").html("Linux版请确保纯净系统安装(支持CentOS、Ubuntu、Debian、Fedora),Web端管理,QQ群及论坛技术支持<br> 一键创建网站、FTP、数据库、SSL;安全管理,计划任务,文件管理,PHP多版本共存及切换;自带LNMP与LAMP");
|
||||
} else {
|
||||
$(".downInfo").html('<span class="version">6.2免费版</span>|<span class="update">2019/06/12·每月更新</span>|<a class="download" href="http://download.bt.cn/win/panel/BtSoft.zip">立即安装</a>');
|
||||
$(".softtxt").html("Windows版支持2008/2012/2016/2019,64位系统,支持Web端管理,QQ群及论坛技术支持</br>一键创建网站、FTP、数据库;安全管理,文件管理,PHP多版本共存及切换;</br>环境支持:ASP+ASPX+PHP+MYSQL5.5/5.6/5.7+MSSQL05/08/12/14/17+mariaDB+FTP+Apache,<font style='color:red'>目前暂不支持Nginx,正在开发中</font>");
|
||||
}
|
||||
});
|
||||
},
|
||||
// 设置cookie
|
||||
set_cookie: function (name, value, time) {
|
||||
if (time == undefined) time = 30;
|
||||
var exp = new Date();
|
||||
exp.setTime(exp.getTime() + time * 24 * 60 * 60 * 1000);
|
||||
document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString();
|
||||
},
|
||||
//读取cookies
|
||||
getCookie:function(name){
|
||||
var arr,reg=new RegExp("(^| )"+name+"=([^;]*)(;|$)");
|
||||
if(arr=document.cookie.match(reg)){
|
||||
return unescape(arr[2]);
|
||||
}else{
|
||||
return null;
|
||||
}
|
||||
},
|
||||
get_package_info:function(callback){
|
||||
if(this.invite_code == '') return false;
|
||||
$.post('/api/Btparter/get_bt_packages',{userCode:this.invite_code},function(res){
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
get_package_byuser:function(id,callback){
|
||||
$.post('/api/Btparter/get_package_byuser',{package_id:id},function(res){
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
// 登录设置邀请用户
|
||||
add_user_agent_detail:function (callback){
|
||||
var invite_code = this.getCookie('invite_code');
|
||||
if(invite_code == '') callback();
|
||||
$.post('/api/Btparter/add_user_agent_detail', {
|
||||
userCode:invite_code,
|
||||
}, function (res) {
|
||||
console.log(invite_code)
|
||||
console.log(res);
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
// 序列化
|
||||
to_query_params: function () {
|
||||
var search = this.replace(/^\s+/, '').replace(/\s+$/, '').match(/([^?#]*)(#.*)?$/); //提取location.search中'?'后面的部分
|
||||
if (!search) return {}
|
||||
var searchStr = search[1];
|
||||
var searchHash = searchStr.split('&');
|
||||
var ret = {};
|
||||
for (var i = 0, len = searchHash.length; i < len; i++) { //这里可以调用each方法
|
||||
var pair = searchHash[i];
|
||||
if ((pair = pair.split('='))[0]) {
|
||||
var key = decodeURIComponent(pair.shift());
|
||||
var value = pair.length > 1 ? pair.join('=') : pair[0];
|
||||
if (value != undefined) {
|
||||
value = decodeURIComponent(value);
|
||||
}
|
||||
if (key in ret) {
|
||||
if (ret[key].constructor != Array) {
|
||||
ret[key] = [ret[key]];
|
||||
}
|
||||
ret[key].push(value);
|
||||
} else {
|
||||
ret[key] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
index.init();
|
||||
console.log(index);
|
||||
})
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
Before Width: | Height: | Size: 9.1 KiB |
|
Before Width: | Height: | Size: 7.1 KiB |
|
Before Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 162 KiB |
@@ -1,562 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="applicable-device" content="pc">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="referrer" content="always">
|
||||
<meta name="description" content="宝塔,让运维简单高效。面板支持Linux与Windows系统。一键配置:LAMP/LNMP、网站、数据库、FTP、SSL,通过Web端轻松管理服务器。">
|
||||
<meta name="keywords" content="LAMP/LNMP一键安装包,运维,服务器运维,免费主机管理系统,linux面板,windows面板">
|
||||
<title>宝塔面板 - 简单好用的Linux/Windows服务器运维管理面板</title>
|
||||
<link href="https://www.bt.cn/favicon.ico" rel="shortcut icon" type="image/x-icon" />
|
||||
<link href="https://www.bt.cn/" rel="canonical">
|
||||
<link href="/Public/css/bt/reset.css" rel="stylesheet" type="text/css">
|
||||
<link href="/Public/css/bt/common.css?4.0149" rel="stylesheet" type="text/css">
|
||||
<link href="/Public/css/bt/login.css?2.1" rel="stylesheet" type="text/css">
|
||||
|
||||
<link href="/Public/css/bt/css.css?1.91" rel="stylesheet" type="text/css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="main">
|
||||
|
||||
<div class="head" style="background-color:rgba(0,0,0,0.80);">
|
||||
<div class="layout">
|
||||
<div class="logo fl"><a href="/"><img src="/Public/images/logo.png" alt="宝塔面板"></a></div>
|
||||
<div class="menu fl">
|
||||
<ul>
|
||||
<li><a class="active" href="/" >首页</a></li>
|
||||
<li><a href="/download/linuxpro.html" >Linux专业版</a></li>
|
||||
<li><a href="/download/linux.html" >Linux免费版</a></li>
|
||||
<li><a href="/download/windows.html" >Windows免费版</a></li>
|
||||
<li><a href="/partner" >IDC推荐</a></li>
|
||||
<li><a href="/invite" >邀请大使</a></li>
|
||||
<li><a href="/bbs/portal.php" target="_blank" >论坛</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="login fr">
|
||||
<div class="loginr">
|
||||
<div class="pull-right m-t-sm">
|
||||
<a href="/login.html" id="login" class="mip-btn mip-btn-primary">登录</a>
|
||||
<a href="/register.html" id="register" class="mip-btn mip-btn-default m-l ">注册</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- <div class="chunlian_box">
|
||||
<div class="chunlian">
|
||||
</div>
|
||||
<div class="dl_r">
|
||||
<div class="dl_l">
|
||||
<div class="top_pendant"></div>
|
||||
<div class="top"></div>
|
||||
<div class="con" style="height: 0px;"></div>
|
||||
<div class="bottom"></div>
|
||||
<div class="bottom_pendant"></div>
|
||||
<div class="top_pendant"></div>
|
||||
<div class="top"></div>
|
||||
<div class="con" style="height: 0px;"></div>
|
||||
<div class="bottom"></div>
|
||||
<div class="bottom_pendant"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<style>
|
||||
.bt_invite_tips{
|
||||
height:220px;
|
||||
background: #20a53a;
|
||||
display: none;
|
||||
}
|
||||
.bt_invite_tips .tips_username{
|
||||
padding-top: 50px;
|
||||
}
|
||||
.bt_invite_tips .tips_username,
|
||||
.bt_invite_tips .tips_package,
|
||||
.bt_invite_tips .tips_btn{
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.bt_invite_tips .tips_username{
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.bt_invite_tips .tips_package{
|
||||
font-size: 16px;
|
||||
}
|
||||
.bt_invite_tips .tips_package span{
|
||||
font-size: 26px;
|
||||
margin: 0 2px;
|
||||
color:#ff0;
|
||||
font-weight: 600px;
|
||||
}
|
||||
.bt_invite_tips .tips_btn span{
|
||||
display: inline-block;
|
||||
width: 180px;
|
||||
color: red;
|
||||
padding: 10px;
|
||||
font-size: 15px;
|
||||
background: #ff0;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.tips_btn span{
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
<div class="bt_invite_tips" style="height:220px;background: #20a53a;">
|
||||
<div class="tips_username">宝塔邀请大使<span></span>赠送您</div>
|
||||
<div class="tips_package">¥<span>3188</span>元礼包</div>
|
||||
<div class="tips_btn"><span>立即领取</span></div>
|
||||
</div>
|
||||
<div class="bttip_box">
|
||||
<div class="layout">
|
||||
<div class="banner">
|
||||
<h3 class="title" style="width:570px"><font style="letter-spacing:2px">简单好用的服务器运维面板</font><span style="border: 1px solid red;right:-15px">永久免费</span></h3>
|
||||
<div class="downBtn">
|
||||
<span class="on">Linux 版</span>
|
||||
<span>Windows 版</span>
|
||||
</div>
|
||||
<div class="downInfo">
|
||||
<p><span class="version">6.9免费版</span>|<span class="update">2019/6/12·每月更新</span>|<a class="download" href="https://github.com/aaPanel/BaoTa"
|
||||
target="_blank" style="margin-right:5px">GitHub</a>|<a class="download" href="http://27.50.161.190:8888/login"
|
||||
target="_blank" style="margin-right:5px">演示</a>|<a class="download" href="/bbs/thread-19376-1-1.html">立即安装</a></p>
|
||||
<p style="margin-bottom:7px;display:none"><span class="version">5.5.1测试版</span>|<span class="update">2017/11/22·每周更新</span>|<a
|
||||
class="download" href="http://27.50.161.190:8888/login" target="_blank" style="margin-right:5px">查看演示</a>|<a class="download"
|
||||
href="/bbs/thread-5195-1-1.html">查看安装</a></p>
|
||||
</div>
|
||||
<div class="softtxt">
|
||||
Linux版请确保纯净系统安装(支持CentOS、Ubuntu、Debian、Fedora、deepin),Web端管理,QQ群及论坛技术支持<br>一键创建网站、FTP、数据库、SSL;安全管理,计划任务,文件管理,PHP多版本共存及切换;自带LNMP与LAMP
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="preview">
|
||||
<div class="linux"><img src="/Public/images/linux_pc_free.png"></div>
|
||||
<div class="windows" style="display:none"><img src="/Public/images/windows_web.png">
|
||||
<!-- <div class="WSoft-min"><img src="/Public/images/windows-soft.png" width="100%"></div> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="linex"></div>
|
||||
<div class="yaoqing"><p>免费加入宝塔邀请大使,帮助他人同时还能赚钱</p><a href="https://www.bt.cn/invite" target="_blank">立即免费加入</a></div>
|
||||
<div class="layout" style="padding-bottom: 30px;">
|
||||
<div class="zunad" onclick="javascript:window.open('http://www.zun.com/alllist.html','_blank')">
|
||||
尊云,价格厚道的云服务器,<span>6核10G,99元</span>
|
||||
</div>
|
||||
<div class="zunad" onclick="javascript:window.open('http://www.zun.com/tiyan.html','_blank')" style="display:none">
|
||||
尊云9元福利云,预装宝塔面板,<span>9元</span>最高能用<span style='margin-left:5px'>45天</span>,宝塔极力推荐!
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="box pro1 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1" onclick="javascript:window.location.href='/Download/btmstsc.html'">远程桌面连接工具</h3>
|
||||
<p><a href="/update/net/Bt_Mstsc.exe">下载</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro2 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1" onclick="javascript:window.location.href='/btcode.html'">Linux面板命令大全</h3>
|
||||
<p><a href="https://www.bt.cn/btcode.html">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro3 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1">IDC推荐</h3>
|
||||
<p><a href="https://www.bt.cn/partner">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div style="float:left;width:333px">
|
||||
<div class="box pro4 fl" style="height:115px;margin-bottom:20px;background-color:#f0f0f0">
|
||||
<div class="text">
|
||||
<h3 class="p1">宝塔币商城</h3>
|
||||
<p><a href="https://www.bt.cn/integral">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro5 fl" style="height:115px;background-color:#f0f0f0">
|
||||
<div class="text">
|
||||
<h3 class="p1">宝塔跑分排行榜</h3>
|
||||
<p><a href="https://www.bt.cn/score">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="news yunwei center" style="margin: 0 20px">
|
||||
<img src="Public/images/ico_yunwei.png">
|
||||
<div class="yunwei-font">
|
||||
<span style="font-size: 21px;">宝塔运维</span>
|
||||
<span style="font-size: 16px;margin-top: 17px;color:#454545;">付费运维已停止接单,论坛可免费求助</span>
|
||||
</div>
|
||||
<a href="https://www.bt.cn/yunwei" style="margin-top: 15px;">点击查看</a>
|
||||
</div>
|
||||
<div class="news yunwei center">
|
||||
<img src="Public/images/ico_other.png" />
|
||||
<div class="yunwei-font">
|
||||
<span style="font-size: 21px;">开发者中心</span>
|
||||
<span style="font-size: 16px;margin-top: 17px;color:red;">诚邀开发者入驻,让创作更有价值</span>
|
||||
</div>
|
||||
<a href="https://www.bt.cn/developer" style="margin-top: 15px;">点击查看</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="linex"></div>
|
||||
<div class="layout">
|
||||
<style type="text/css">
|
||||
.row .news {
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
.news h4 {
|
||||
font-size: 21px;
|
||||
margin-top: 30px;
|
||||
font-weight: normal;
|
||||
font-weight: inherit;
|
||||
}
|
||||
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.news>a,
|
||||
.conterRight>a {
|
||||
width: 100px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
color: #646472;
|
||||
border: 1px solid #CACAD9;
|
||||
border-radius: 4px;
|
||||
margin: 0 auto;
|
||||
margin-top: 30px;
|
||||
background: #fff;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.news>a:hover,
|
||||
.conterRight>a:hover {
|
||||
background-color: #20A53A;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.conterLeft {
|
||||
float: left;
|
||||
position: relative;
|
||||
top: -16px;
|
||||
}
|
||||
|
||||
.conterRight {
|
||||
float: right;
|
||||
width: 180px;
|
||||
}
|
||||
|
||||
.conterTop {
|
||||
height: 50%;
|
||||
overflow: hidden;
|
||||
border-bottom: 1px solid #dedede;
|
||||
}
|
||||
|
||||
.conterTop img {
|
||||
float: left;
|
||||
margin-left: 25px;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.conterTop h4 {
|
||||
float: right;
|
||||
margin-top: 45px;
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
.hz-tit {
|
||||
font-size: 26px;
|
||||
color: #454545;
|
||||
text-align: center;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
.hz-con a {
|
||||
background-color: #fafafa;
|
||||
border: #ddd 1px solid;
|
||||
float: left;
|
||||
width: 219px;
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
text-align: center;
|
||||
margin-bottom: 40px;
|
||||
margin-right: 50px;
|
||||
}
|
||||
|
||||
.hz-con a:hover {
|
||||
box-shadow: 0 0 6px #dedede;
|
||||
}
|
||||
|
||||
.hz-con a img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.yunwei img {
|
||||
width: 70px;
|
||||
margin-top: 22px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.yunwei span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.yaoqing{
|
||||
height:90px;
|
||||
width:1040px;
|
||||
line-height:88px;
|
||||
text-align:center;
|
||||
background-color:#20a53a;
|
||||
margin:20px auto 30px;
|
||||
}
|
||||
.yaoqing p{
|
||||
font-family:"微软雅黑";
|
||||
font-size:25px;
|
||||
color:#fff;
|
||||
display:inline-block;
|
||||
margin-right:30px;
|
||||
}
|
||||
.yaoqing a{
|
||||
display:inline-block;
|
||||
height:36px;
|
||||
width:150px;
|
||||
background-color:#FFFF00;
|
||||
text-align:center;
|
||||
line-height:36px;
|
||||
color:#FF2626;
|
||||
font-size:16px;
|
||||
border-radius:3px;
|
||||
vertical-align:3px;
|
||||
}
|
||||
.yaoqing a:hover{
|
||||
background-color:#FFe000;
|
||||
}
|
||||
</style>
|
||||
<div class="row">
|
||||
<div class="hz-tit">
|
||||
<p>合作伙伴</p>
|
||||
<p><a href="https://www.bt.cn/partner" style="color:#20a53a;font-size:14px" target="_blank">申请IDC定制版合作</a></p>
|
||||
</div>
|
||||
<div class="hz-con">
|
||||
<a href="https://www.zun.com" target="_blank"><img src="/Public/images/p-zun.png" alt="尊云"></a>
|
||||
<a href="https://www.wy.cn" target="_blank"><img src="/Public/images/p-wy.png" alt="唯一网络"></a>
|
||||
<a href="https://www.dns.com" target="_blank"><img src="/Public/images/p-dns.png" alt="DNS"></a>
|
||||
<!--<a href="https://www.ddos.com" target="_blank" style="margin-right:0"><img src="/Public/images/p-ddos.png" alt="DDOS"></a> -->
|
||||
<a href="https://www.trustasia.com/" target="_blank" style="margin-right:0"><img src="/Public/images/p-yz.png" alt="亚洲诚信"></a>
|
||||
<a href="https://www.aliyun.com" target="_blank"><img src="/Public/images/p-aliyun.png" alt="阿里云"></a>
|
||||
<a href="https://www.jcloud.com" target="_blank"><img src="/Public/images/p-jd.png" alt="京东云"></a>
|
||||
<a href="https://www.upyun.com" target="_blank"><img src="/Public/images/p-up.png" alt="又拍云"></a>
|
||||
<a href="https://www.ddos.com" target="_blank" style="margin-right:0"><img src="/Public/images/p-ddos.png" alt="网堤安全"></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row" style="margin-top:20px">
|
||||
<div class="flink">
|
||||
<span style="float:left">友情链接:</span>
|
||||
<p style="display: inline;">
|
||||
<a href="https://www.bt.cn/Download/btsoftlinux.html" target="_blank" title="LAMP" style="margin: 0px 7px 15px; display: inline-block;">LAMP</a>
|
||||
<a href="https://www.bt.cn/Download/btsoftlinux.html" target="_blank" title="LNMP" style="margin: 0px 7px 15px; display: inline-block;">LNMP</a>
|
||||
<a href="http://www.wy.cn" target="_blank" title="唯一网络" style="margin: 0px 7px 15px; display: inline-block;">唯一网络</a>
|
||||
<a href="http://www.ddun.com" target="_blank" title="CC防护 " style="margin: 0px 7px 15px; display: inline-block;">CC防护</a>
|
||||
<a href="http://www.ddos.com" target="_blank" title="ddos防护" style="margin: 0px 7px 15px; display: inline-block;">ddos防护</a>
|
||||
<a href="http://www.dns.com" target="_blank" title="dns解析" style="margin: 0px 7px 15px; display: inline-block;">dns解析</a>
|
||||
<a href="http://www.wcloud.com" target="_blank" title="云主机" style="margin: 0px 7px 15px; display: inline-block;">云主机</a>
|
||||
<a href="http://www.om.cn" target="_blank" title="3dmax模型免费下载,设计模型,3d模型下载" style="margin: 0px 7px 15px; display: inline-block;">3D模型</a>
|
||||
<a href="http://www.yunsuo.com.cn" target="_blank" title="云锁-服务器安全" style="margin: 0px 7px 15px; display: inline-block;">云锁-服务器安全</a>
|
||||
<a href="http://www.xmirror.cn" target="_blank" title="悬镜-服务器安全" style="margin: 0px 7px 15px; display: inline-block;">悬镜-服务器安全</a>
|
||||
<a href="http://kodcloud.com" target="_blank" title="可道私有云" style="margin: 0px 7px 15px; display: inline-block;">可道私有云</a>
|
||||
<a href="http://www.jieqi.com" target="_blank" title="杰奇" style="margin: 0px 7px 15px; display: inline-block;">杰奇</a>
|
||||
<a href="https://www.tipask.com" target="_blank" title="Tipask" style="margin: 0px 7px 15px; display: inline-block;">Tipask</a>
|
||||
<a href="http://www.maccms.com" target="_blank" title="苹果CMS" style="margin: 0px 7px 15px; display: inline-block;">苹果CMS</a>
|
||||
<a href="http://www.zhujiwu.com" target="_blank" title="主机屋" style="margin: 0px 7px 15px; display: inline-block;">主机屋</a>
|
||||
<a href="https://www.mituo.cn" target="_blank" title="米托网站制作" style="margin: 0px 7px 15px; display: inline-block;">建网站</a>
|
||||
<a href="https://www.dscmall.cn" target="_blank" title="大商创b2b2c" style="margin: 0px 7px 15px; display: inline-block;">大商创b2b2c</a>
|
||||
<a href="https://www.59dun.com/" target="_blank" title="高防服务器" style="margin: 0px 7px 15px; display: inline-block;">高防服务器</a>
|
||||
<a href="https://www.huzhan.com" target="_blank" title="互站网" style="margin: 0px 7px 15px; display: inline-block;">互站网</a>
|
||||
<a href="https://www.zhongjie.com" target="_blank" title="中介网" style="margin: 0px 7px 15px; display: inline-block;">中介网</a>
|
||||
<a href="http://www.qy.cn" target="_blank" title="云服务器" style="margin: 0px 7px 15px; display: inline-block;">云服务器</a>
|
||||
<a href="https://www.51.la" target="_blank" title="51la网站统计" style="margin: 0px 7px 15px; display: inline-block;">51la网站统计</a>
|
||||
<a href="http://www.35hw.com/" target="_blank" title="东莞网站建设" style="margin: 0px 7px 15px; display: inline-block;">东莞网站建设</a>
|
||||
<a href="http://www.vpn.cn" target="_blank" title="国内200+城市线路VPN" style="margin: 0px 7px 15px; display: inline-block;">国内200+城市线路VPN</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="btfooter">
|
||||
<div class="footer_nav layout">
|
||||
<div class="nav_groud">
|
||||
<ul class="nav_list ">
|
||||
<li class="item">常用文档</li>
|
||||
<li ><a href="http://docs.bt.cn/424204">宝塔使用手册</a></li>
|
||||
<li ><a href="https://www.bt.cn/btcode.html">Linux面板命令</a></li>
|
||||
<li ><a href="https://www.bt.cn/bbs/thread-20376-1-1.html" target="_blank">API接口文档</a></li>
|
||||
<li><a href="http://www.bt.cn/kyxy.html" target="_blank">宝塔开源协议</a></li>
|
||||
</ul>
|
||||
<ul class="nav_list ">
|
||||
<li class="item">快捷入口</li>
|
||||
<li><a href="https://www.bt.cn/about.html">公司简介</a></li>
|
||||
<li><a href="https://www.bt.cn/about.html#job">加入我们</a></li>
|
||||
<li><a href="https://www.bt.cn/invite">邀请大使</a></li>
|
||||
<li><a href="https://github.com/aaPanel/BaoTa" target="_blank">GitHub</a></li>
|
||||
</ul>
|
||||
<ul class="nav_list ">
|
||||
<li class="item">联系我们</li>
|
||||
<li><span>周一至周六,节假日除外</span></li>
|
||||
<li><span>9:15~12:30,14:00~18:15</span></li>
|
||||
<li><span>客服咨询QQ:<a href="http://q.url.cn/abvgP3?_type=wpa&qidian=true" target="_blank">800176556</a></span></li>
|
||||
<li><span>投诉建议QQ:<a href="tencent://message/?uin=394030111">394030111</a></span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="nav_logo">
|
||||
<img src="/Public/images/bt_logo.png" alt="" title="这是宝塔吉祥物【小河妖】"/>
|
||||
<span>宝塔,让运维简单高效</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyright">
|
||||
<p>Copyright © 2014-2019 <a href="http://www.bt.cn/" title="宝塔面板">宝塔面板</a>|让运维简单高效(www.bt.cn) 东莞市百塔网络科技有限公司 All
|
||||
Rights Reserved</p>
|
||||
<p><a href="http://www.beian.miit.gov.cn" target="_blank" style="margin-right:15px">粤ICP备17030143号</a> <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44190002003211">粤公网安备
|
||||
44190002003211号</a> <span style="margin-left:15px">宝塔论坛正在使用宝塔Linux面板维护管理并由<a href="https://www.zun.com" target="_blank">尊云云服务器</a>提供支持</span></p>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<script type="text/javascript" src="/Public/js/jquery.js"></script>
|
||||
<script type="text/javascript" src="/Public/js/tongji.js"></script><!--统计js-->
|
||||
|
||||
<script type="text/javascript" src="/Public/layer/layer.js"></script>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
var index = {
|
||||
userStatus:'',
|
||||
invite_code:'',
|
||||
init: function () {
|
||||
var _this = this;
|
||||
this.userStatus = localStorage.getItem('userStatus');
|
||||
this.invite_code = this.to_query_params.call(window.location.search);
|
||||
this.invite_code = this.invite_code.invite_code == undefined?'':this.invite_code.invite_code;
|
||||
if(this.invite_code != '') this.set_cookie('invite_code',this.invite_code, 1)
|
||||
if(this.userStatus) this.add_user_agent_detail(function(){});//加入代理
|
||||
//获取礼包信息
|
||||
this.get_package_info(function(res){
|
||||
var info = res.info.mobile;
|
||||
$('.bt_invite_tips').show().find('.tips_username span').html(info);
|
||||
$('.yaoqing').hide();
|
||||
$('.tips_btn span').click(function(){
|
||||
if(_this.userStatus){
|
||||
//领取礼包
|
||||
_this.get_package_byuser(res.data.id,function(res){
|
||||
layer.msg(res.msg,{icon:res.status?1:2});
|
||||
setTimeout(function(){window.location = '/admin/profe'},2000);
|
||||
});
|
||||
}else{
|
||||
window.location = '/login';
|
||||
}
|
||||
});
|
||||
});
|
||||
$('.bttip_colse').click(function () {
|
||||
$('.bttip,.bttip_box').addClass('top');
|
||||
setTimeout(function () {
|
||||
$('.bttip').css('display', 'none');
|
||||
$('.bttip_box').removeClass('top');
|
||||
}, 1000);
|
||||
});
|
||||
$(".downBtn span").click(function () {
|
||||
var i = $(this).index();
|
||||
$(this).addClass("on").siblings().removeClass("on");
|
||||
$(".preview > div").hide().eq(i).show();
|
||||
if (i == 0) {
|
||||
$(".downInfo").html('<p><span class="version">6.9免费版</span>|<span class="update">2019/6/12·每月更新</span>|<a class="download" href="https://github.com/aaPanel/BaoTa" target="_blank" style="margin-right:5px">GitHub</a>|<a class="download" href="http://27.50.161.190:8888/login" target="_blank" style="margin-right:5px">演示</a>|<a class="download" href="/bbs/thread-19376-1-1.html">立即安装</a></p><p style="margin-bottom:7px;display:none"><span class="version">5.5.1测试版</span>|<span class="update">2017/11/22·每周更新</span>|<a class="download" href="/bbs/thread-5195-1-1.html">查看安装</a></p>');
|
||||
$(".softtxt").html("Linux版请确保纯净系统安装(支持CentOS、Ubuntu、Debian、Fedora),Web端管理,QQ群及论坛技术支持<br> 一键创建网站、FTP、数据库、SSL;安全管理,计划任务,文件管理,PHP多版本共存及切换;自带LNMP与LAMP");
|
||||
} else {
|
||||
$(".downInfo").html('<span class="version">6.2免费版</span>|<span class="update">2019/06/12·每月更新</span>|<a class="download" href="http://download.bt.cn/win/panel/BtSoft.zip">立即安装</a>');
|
||||
$(".softtxt").html("Windows版支持2008/2012/2016/2019,64位系统,支持Web端管理,QQ群及论坛技术支持</br>一键创建网站、FTP、数据库;安全管理,文件管理,PHP多版本共存及切换;</br>环境支持:ASP+ASPX+PHP+MYSQL5.5/5.6/5.7+MSSQL05/08/12/14/17+mariaDB+FTP+Apache,<font style='color:red'>目前暂不支持Nginx,正在开发中</font>");
|
||||
}
|
||||
});
|
||||
},
|
||||
// 设置cookie
|
||||
set_cookie: function (name, value, time) {
|
||||
if (time == undefined) time = 30;
|
||||
var exp = new Date();
|
||||
exp.setTime(exp.getTime() + time * 24 * 60 * 60 * 1000);
|
||||
document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString();
|
||||
},
|
||||
//读取cookies
|
||||
getCookie:function(name){
|
||||
var arr,reg=new RegExp("(^| )"+name+"=([^;]*)(;|$)");
|
||||
if(arr=document.cookie.match(reg)){
|
||||
return unescape(arr[2]);
|
||||
}else{
|
||||
return null;
|
||||
}
|
||||
},
|
||||
get_package_info:function(callback){
|
||||
if(this.invite_code == '') return false;
|
||||
$.post('/api/Btparter/get_bt_packages',{userCode:this.invite_code},function(res){
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
get_package_byuser:function(id,callback){
|
||||
$.post('/api/Btparter/get_package_byuser',{package_id:id},function(res){
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
// 登录设置邀请用户
|
||||
add_user_agent_detail:function (callback){
|
||||
var invite_code = this.getCookie('invite_code');
|
||||
if(invite_code == '') callback();
|
||||
$.post('/api/Btparter/add_user_agent_detail', {
|
||||
userCode:invite_code,
|
||||
}, function (res) {
|
||||
console.log(invite_code)
|
||||
console.log(res);
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
// 序列化
|
||||
to_query_params: function () {
|
||||
var search = this.replace(/^\s+/, '').replace(/\s+$/, '').match(/([^?#]*)(#.*)?$/); //提取location.search中'?'后面的部分
|
||||
if (!search) return {}
|
||||
var searchStr = search[1];
|
||||
var searchHash = searchStr.split('&');
|
||||
var ret = {};
|
||||
for (var i = 0, len = searchHash.length; i < len; i++) { //这里可以调用each方法
|
||||
var pair = searchHash[i];
|
||||
if ((pair = pair.split('='))[0]) {
|
||||
var key = decodeURIComponent(pair.shift());
|
||||
var value = pair.length > 1 ? pair.join('=') : pair[0];
|
||||
if (value != undefined) {
|
||||
value = decodeURIComponent(value);
|
||||
}
|
||||
if (key in ret) {
|
||||
if (ret[key].constructor != Array) {
|
||||
ret[key] = [ret[key]];
|
||||
}
|
||||
ret[key].push(value);
|
||||
} else {
|
||||
ret[key] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
index.init();
|
||||
console.log(index);
|
||||
})
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -1,561 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="applicable-device" content="pc">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="referrer" content="always">
|
||||
<meta name="description" content="宝塔,让运维简单高效。面板支持Linux与Windows系统。一键配置:LAMP/LNMP、网站、数据库、FTP、SSL,通过Web端轻松管理服务器。">
|
||||
<meta name="keywords" content="LAMP/LNMP一键安装包,运维,服务器运维,免费主机管理系统,linux面板,windows面板">
|
||||
<title>宝塔面板 - 简单好用的Linux/Windows服务器运维管理面板</title>
|
||||
<link href="http://www.bt.cn/favicon.ico" rel="shortcut icon" type="image/x-icon" />
|
||||
<link href="http://www.bt.cn/" rel="canonical">
|
||||
<link href="/Public/css/bt/reset.css" rel="stylesheet" type="text/css">
|
||||
<link href="/Public/css/bt/common.css?4.0149" rel="stylesheet" type="text/css">
|
||||
<link href="/Public/css/bt/login.css?2.1" rel="stylesheet" type="text/css">
|
||||
|
||||
<link href="/Public/css/bt/css.css?1.91" rel="stylesheet" type="text/css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="main">
|
||||
|
||||
<div class="head" style="background-color:rgba(0,0,0,0.80);">
|
||||
<div class="layout">
|
||||
<div class="logo fl"><a href="/"><img src="/Public/images/logo.png" alt="宝塔面板"></a></div>
|
||||
<div class="menu fl">
|
||||
<ul>
|
||||
<li><a class="active" href="/" >首页</a></li>
|
||||
<li><a href="/download/linuxpro.html" >Linux专业版</a></li>
|
||||
<li><a href="/download/linux.html" >Linux免费版</a></li>
|
||||
<li><a href="/download/windows.html" >Windows免费版</a></li>
|
||||
<li><a href="/partner" >IDC推荐</a></li>
|
||||
<li><a href="/invite" >邀请大使</a></li>
|
||||
<li><a href="/bbs/portal.php" target="_blank" >论坛</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="login fr">
|
||||
<div class="loginr">
|
||||
<div class="pull-right m-t-sm">
|
||||
<a href="/login.html" id="login" class="mip-btn mip-btn-primary">登录</a>
|
||||
<a href="/register.html" id="register" class="mip-btn mip-btn-default m-l ">注册</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- <div class="chunlian_box">
|
||||
<div class="chunlian">
|
||||
</div>
|
||||
<div class="dl_r">
|
||||
<div class="dl_l">
|
||||
<div class="top_pendant"></div>
|
||||
<div class="top"></div>
|
||||
<div class="con" style="height: 0px;"></div>
|
||||
<div class="bottom"></div>
|
||||
<div class="bottom_pendant"></div>
|
||||
<div class="top_pendant"></div>
|
||||
<div class="top"></div>
|
||||
<div class="con" style="height: 0px;"></div>
|
||||
<div class="bottom"></div>
|
||||
<div class="bottom_pendant"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<style>
|
||||
.bt_invite_tips{
|
||||
height:220px;
|
||||
background: #20a53a;
|
||||
display: none;
|
||||
}
|
||||
.bt_invite_tips .tips_username{
|
||||
padding-top: 50px;
|
||||
}
|
||||
.bt_invite_tips .tips_username,
|
||||
.bt_invite_tips .tips_package,
|
||||
.bt_invite_tips .tips_btn{
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.bt_invite_tips .tips_username{
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.bt_invite_tips .tips_package{
|
||||
font-size: 16px;
|
||||
}
|
||||
.bt_invite_tips .tips_package span{
|
||||
font-size: 26px;
|
||||
margin: 0 2px;
|
||||
color:#ff0;
|
||||
font-weight: 600px;
|
||||
}
|
||||
.bt_invite_tips .tips_btn span{
|
||||
display: inline-block;
|
||||
width: 180px;
|
||||
color: red;
|
||||
padding: 10px;
|
||||
font-size: 15px;
|
||||
background: #ff0;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.tips_btn span{
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
<div class="bt_invite_tips" style="height:220px;background: #20a53a;">
|
||||
<div class="tips_username">宝塔邀请大使<span></span>赠送您</div>
|
||||
<div class="tips_package">¥<span>3188</span>元礼包</div>
|
||||
<div class="tips_btn"><span>立即领取</span></div>
|
||||
</div>
|
||||
<div class="bttip_box">
|
||||
<div class="layout">
|
||||
<div class="yaoqing"><p>免费加入宝塔邀请大使,帮助他人同时还能赚钱</p><a href="https://www.bt.cn/invite" target="_blank">立即免费加入</a></div>
|
||||
<div class="banner">
|
||||
<h3 class="title" style="width:570px">简单好用的 Linux/Windows 面板<span style="border: 1px solid red;">永久免费</span></h3>
|
||||
<div class="downBtn">
|
||||
<span class="on">Linux 版</span>
|
||||
<span>Windows 版</span>
|
||||
</div>
|
||||
<div class="downInfo">
|
||||
<p><span class="version">6.9免费版</span>|<span class="update">2019/6/12·每月更新</span>|<a class="download" href="http://docs.bt.cn/424204"
|
||||
target="_blank" style="margin-right:5px">使用手册</a>|<a class="download" href="/bbs/thread-19376-1-1.html">立即安装</a></p>
|
||||
<p style="margin-bottom:7px;display:none"><span class="version">5.5.1测试版</span>|<span class="update">2017/11/22·每周更新</span>|<a
|
||||
class="download" href="http://docs.bt.cn/424204" target="_blank" style="margin-right:5px">使用手册</a>|<a class="download"
|
||||
href="/bbs/thread-5195-1-1.html">查看安装</a></p>
|
||||
</div>
|
||||
<div class="softtxt">
|
||||
Linux版请确保纯净系统安装(支持CentOS、Ubuntu、Debian、Fedora、deepin),Web端管理,QQ群及论坛技术支持<br>一键创建网站、FTP、数据库、SSL;安全管理,计划任务,文件管理,PHP多版本共存及切换;自带LNMP与LAMP
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="preview">
|
||||
<div class="linux"><img src="/Public/images/linux_pc_free.png"></div>
|
||||
<div class="windows" style="display:none"><img src="/Public/images/windows_web.png">
|
||||
<!-- <div class="WSoft-min"><img src="/Public/images/windows-soft.png" width="100%"></div> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="linex"></div>
|
||||
<div class="layout" style="padding-bottom: 30px;">
|
||||
<div class="zunad" onclick="javascript:window.open('http://www.zun.com/alllist.html','_blank')">
|
||||
尊云,价格厚道的云服务器,<span>6核10G,99元</span>
|
||||
</div>
|
||||
<div class="zunad" onclick="javascript:window.open('http://www.zun.com/tiyan.html','_blank')" style="display:none">
|
||||
尊云9元福利云,预装宝塔面板,<span>9元</span>最高能用<span style='margin-left:5px'>45天</span>,宝塔极力推荐!
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="box pro1 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1" onclick="javascript:window.location.href='/Download/btmstsc.html'">远程桌面连接工具</h3>
|
||||
<p><a href="/update/net/BtMstsc.exe">下载</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro2 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1" onclick="javascript:window.location.href='/btcode.html'">Linux面板命令大全</h3>
|
||||
<p><a href="https://www.bt.cn/btcode.html">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro3 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1">IDC推荐</h3>
|
||||
<p><a href="https://www.bt.cn/partner">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div style="float:left;width:333px">
|
||||
<div class="box pro4 fl" style="height:115px;margin-bottom:20px;background-color:#f0f0f0">
|
||||
<div class="text">
|
||||
<h3 class="p1">宝塔币商城</h3>
|
||||
<p><a href="https://www.bt.cn/integral">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro5 fl" style="height:115px;background-color:#f0f0f0">
|
||||
<div class="text">
|
||||
<h3 class="p1">宝塔跑分排行榜</h3>
|
||||
<p><a href="https://www.bt.cn/score">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="news yunwei center" style="margin: 0 20px">
|
||||
<img src="Public/images/ico_yunwei.png">
|
||||
<div class="yunwei-font">
|
||||
<span style="font-size: 21px;">宝塔运维</span>
|
||||
<span style="font-size: 16px;margin-top: 17px;color:#454545;">付费运维已停止接单,论坛可免费求助</span>
|
||||
</div>
|
||||
<a href="https://www.bt.cn/yunwei" style="margin-top: 15px;">点击查看</a>
|
||||
</div>
|
||||
<div class="news yunwei center">
|
||||
<img src="Public/images/ico_other.png" />
|
||||
<div class="yunwei-font">
|
||||
<span style="font-size: 21px;">开发者中心</span>
|
||||
<span style="font-size: 16px;margin-top: 17px;color:red;">诚邀开发者入驻,让创作更有价值</span>
|
||||
</div>
|
||||
<a href="https://www.bt.cn/developer" style="margin-top: 15px;">点击查看</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="linex"></div>
|
||||
<div class="layout">
|
||||
<style type="text/css">
|
||||
.row .news {
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
.news h4 {
|
||||
font-size: 21px;
|
||||
margin-top: 30px;
|
||||
font-weight: normal;
|
||||
font-weight: inherit;
|
||||
}
|
||||
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.news>a,
|
||||
.conterRight>a {
|
||||
width: 100px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
color: #646472;
|
||||
border: 1px solid #CACAD9;
|
||||
border-radius: 4px;
|
||||
margin: 0 auto;
|
||||
margin-top: 30px;
|
||||
background: #fff;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.news>a:hover,
|
||||
.conterRight>a:hover {
|
||||
background-color: #20A53A;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.conterLeft {
|
||||
float: left;
|
||||
position: relative;
|
||||
top: -16px;
|
||||
}
|
||||
|
||||
.conterRight {
|
||||
float: right;
|
||||
width: 180px;
|
||||
}
|
||||
|
||||
.conterTop {
|
||||
height: 50%;
|
||||
overflow: hidden;
|
||||
border-bottom: 1px solid #dedede;
|
||||
}
|
||||
|
||||
.conterTop img {
|
||||
float: left;
|
||||
margin-left: 25px;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.conterTop h4 {
|
||||
float: right;
|
||||
margin-top: 45px;
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
.hz-tit {
|
||||
font-size: 26px;
|
||||
color: #454545;
|
||||
text-align: center;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
.hz-con a {
|
||||
background-color: #fafafa;
|
||||
border: #ddd 1px solid;
|
||||
float: left;
|
||||
width: 219px;
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
text-align: center;
|
||||
margin-bottom: 40px;
|
||||
margin-right: 50px;
|
||||
}
|
||||
|
||||
.hz-con a:hover {
|
||||
box-shadow: 0 0 6px #dedede;
|
||||
}
|
||||
|
||||
.hz-con a img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.yunwei img {
|
||||
width: 70px;
|
||||
margin-top: 22px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.yunwei span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.yaoqing{
|
||||
height:90px;
|
||||
width:100%;
|
||||
line-height:88px;
|
||||
text-align:center;
|
||||
background-color:#20a53a;
|
||||
margin:30px 0 0px;
|
||||
}
|
||||
.yaoqing p{
|
||||
font-family:"微软雅黑";
|
||||
font-size:25px;
|
||||
color:#fff;
|
||||
display:inline-block;
|
||||
margin-right:30px;
|
||||
}
|
||||
.yaoqing a{
|
||||
display:inline-block;
|
||||
height:36px;
|
||||
width:150px;
|
||||
background-color:#FFFF00;
|
||||
text-align:center;
|
||||
line-height:36px;
|
||||
color:#FF2626;
|
||||
font-size:16px;
|
||||
border-radius:3px;
|
||||
vertical-align:3px;
|
||||
}
|
||||
.yaoqing a:hover{
|
||||
background-color:#FFe000;
|
||||
}
|
||||
</style>
|
||||
<div class="row">
|
||||
<div class="hz-tit">
|
||||
<p>合作伙伴</p>
|
||||
<p><a href="https://www.bt.cn/partner" style="color:#20a53a;font-size:14px" target="_blank">申请IDC定制版合作</a></p>
|
||||
</div>
|
||||
<div class="hz-con">
|
||||
<a href="https://www.zun.com" target="_blank"><img src="/Public/images/p-zun.png" alt="尊云"></a>
|
||||
<a href="https://www.wy.cn" target="_blank"><img src="/Public/images/p-wy.png" alt="唯一网络"></a>
|
||||
<a href="https://www.dns.com" target="_blank"><img src="/Public/images/p-dns.png" alt="DNS"></a>
|
||||
<!--<a href="https://www.ddos.com" target="_blank" style="margin-right:0"><img src="/Public/images/p-ddos.png" alt="DDOS"></a> -->
|
||||
<a href="https://www.trustasia.com/" target="_blank" style="margin-right:0"><img src="/Public/images/p-yz.png" alt="亚洲诚信"></a>
|
||||
<a href="https://www.aliyun.com" target="_blank"><img src="/Public/images/p-aliyun.png" alt="阿里云"></a>
|
||||
<a href="https://www.jcloud.com" target="_blank"><img src="/Public/images/p-jd.png" alt="京东云"></a>
|
||||
<a href="https://www.upyun.com" target="_blank"><img src="/Public/images/p-up.png" alt="又拍云"></a>
|
||||
<a href="https://www.ddos.com" target="_blank" style="margin-right:0"><img src="/Public/images/p-ddos.png" alt="网堤安全"></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row" style="margin-top:20px">
|
||||
<div class="flink">
|
||||
<span style="float:left">友情链接:</span>
|
||||
<p style="display: inline;">
|
||||
<a href="https://www.bt.cn/Download/btsoftlinux.html" target="_blank" title="LAMP" style="margin: 0px 7px 15px; display: inline-block;">LAMP</a>
|
||||
<a href="https://www.bt.cn/Download/btsoftlinux.html" target="_blank" title="LNMP" style="margin: 0px 7px 15px; display: inline-block;">LNMP</a>
|
||||
<a href="http://www.wy.cn" target="_blank" title="唯一网络" style="margin: 0px 7px 15px; display: inline-block;">唯一网络</a>
|
||||
<a href="http://www.ddun.com" target="_blank" title="CC防护 " style="margin: 0px 7px 15px; display: inline-block;">CC防护</a>
|
||||
<a href="http://www.ddos.com" target="_blank" title="ddos防护" style="margin: 0px 7px 15px; display: inline-block;">ddos防护</a>
|
||||
<a href="http://www.dns.com" target="_blank" title="dns解析" style="margin: 0px 7px 15px; display: inline-block;">dns解析</a>
|
||||
<a href="http://www.wcloud.com" target="_blank" title="云主机" style="margin: 0px 7px 15px; display: inline-block;">云主机</a>
|
||||
<a href="http://www.om.cn" target="_blank" title="3dmax模型免费下载,设计模型,3d模型下载" style="margin: 0px 7px 15px; display: inline-block;">3D模型</a>
|
||||
<a href="http://www.yunsuo.com.cn" target="_blank" title="云锁-服务器安全" style="margin: 0px 7px 15px; display: inline-block;">云锁-服务器安全</a>
|
||||
<a href="http://www.xmirror.cn" target="_blank" title="悬镜-服务器安全" style="margin: 0px 7px 15px; display: inline-block;">悬镜-服务器安全</a>
|
||||
<a href="http://kodcloud.com" target="_blank" title="可道私有云" style="margin: 0px 7px 15px; display: inline-block;">可道私有云</a>
|
||||
<a href="http://www.jieqi.com" target="_blank" title="杰奇" style="margin: 0px 7px 15px; display: inline-block;">杰奇</a>
|
||||
<a href="https://www.tipask.com" target="_blank" title="Tipask" style="margin: 0px 7px 15px; display: inline-block;">Tipask</a>
|
||||
<a href="http://www.maccms.com" target="_blank" title="苹果CMS" style="margin: 0px 7px 15px; display: inline-block;">苹果CMS</a>
|
||||
<a href="http://www.zhujiwu.com" target="_blank" title="主机屋" style="margin: 0px 7px 15px; display: inline-block;">主机屋</a>
|
||||
<a href="https://www.mituo.cn" target="_blank" title="米托网站制作" style="margin: 0px 7px 15px; display: inline-block;">建网站</a>
|
||||
<a href="https://www.dscmall.cn" target="_blank" title="大商创b2b2c" style="margin: 0px 7px 15px; display: inline-block;">大商创b2b2c</a>
|
||||
<a href="https://www.59dun.com/" target="_blank" title="高防服务器" style="margin: 0px 7px 15px; display: inline-block;">高防服务器</a>
|
||||
<a href="https://www.huzhan.com" target="_blank" title="互站网" style="margin: 0px 7px 15px; display: inline-block;">互站网</a>
|
||||
<a href="https://www.zhongjie.com" target="_blank" title="中介网" style="margin: 0px 7px 15px; display: inline-block;">中介网</a>
|
||||
<a href="http://www.qy.cn" target="_blank" title="云服务器" style="margin: 0px 7px 15px; display: inline-block;">云服务器</a>
|
||||
<a href="https://www.51.la" target="_blank" title="51la网站统计" style="margin: 0px 7px 15px; display: inline-block;">51la网站统计</a>
|
||||
<a href="http://www.35hw.com/" target="_blank" title="东莞网站建设" style="margin: 0px 7px 15px; display: inline-block;">东莞网站建设</a>
|
||||
<a href="http://www.vpn.cn" target="_blank" title="国内200+城市线路VPN" style="margin: 0px 7px 15px; display: inline-block;">国内200+城市线路VPN</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="btfooter">
|
||||
<div class="footer_nav layout">
|
||||
<div class="nav_groud">
|
||||
<ul class="nav_list ">
|
||||
<li class="item">常用文档</li>
|
||||
<li ><a href="http://docs.bt.cn/424204">宝塔使用手册</a></li>
|
||||
<li ><a href="https://www.bt.cn/btcode.html">Linux面板命令</a></li>
|
||||
<li ><a href="https://www.bt.cn/bbs/thread-20376-1-1.html" target="_blank">API接口文档</a></li>
|
||||
<li><a href="http://www.bt.cn/bbs/thread-1384-1-1.html" target="_blank">隐私声明</a></li>
|
||||
</ul>
|
||||
<ul class="nav_list ">
|
||||
<li class="item">快捷入口</li>
|
||||
<li><a href="https://www.bt.cn/about.html">公司简介</a></li>
|
||||
<li><a href="https://www.bt.cn/about.html#job">加入我们</a></li>
|
||||
<li><a href="https://www.bt.cn/invite">邀请大使</a></li>
|
||||
<li><a href="https://www.bt.cn/integral">宝塔币商城</a></li>
|
||||
</ul>
|
||||
<ul class="nav_list ">
|
||||
<li class="item">联系我们</li>
|
||||
<li><span>周一至周六,节假日除外</span></li>
|
||||
<li><span>9:15~12:30,14:00~18:15</span></li>
|
||||
<li><span>客服咨询QQ:<a href="http://q.url.cn/abvgP3?_type=wpa&qidian=true" target="_blank">800176556</a></span></li>
|
||||
<li><span>投诉建议QQ:<a href="tencent://message/?uin=394030111">394030111</a></span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="nav_logo">
|
||||
<img src="/Public/images/bt_logo.png" alt="" title="这是宝塔吉祥物【小河妖】"/>
|
||||
<span>宝塔,让运维简单高效</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyright">
|
||||
<p>Copyright © 2014-2019 <a href="http://www.bt.cn/" title="宝塔面板">宝塔面板</a>|让运维简单高效(www.bt.cn) 东莞市百塔网络科技有限公司 All
|
||||
Rights Reserved</p>
|
||||
<p><a href="http://www.beian.miit.gov.cn" target="_blank" style="margin-right:15px">粤ICP备17030143号</a> <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44190002003211">粤公网安备
|
||||
44190002003211号</a> <span style="margin-left:15px">宝塔论坛正在使用宝塔Linux面板维护管理并由<a href="https://www.zun.com" target="_blank">尊云云服务器</a>提供支持</span></p>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<script type="text/javascript" src="/Public/js/jquery.js"></script>
|
||||
<script type="text/javascript" src="/Public/js/tongji.js"></script><!--统计js-->
|
||||
|
||||
<script type="text/javascript" src="/Public/layer/layer.js"></script>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
var index = {
|
||||
userStatus:'',
|
||||
invite_code:'',
|
||||
init: function () {
|
||||
var _this = this;
|
||||
this.userStatus = localStorage.getItem('userStatus');
|
||||
this.invite_code = this.to_query_params.call(window.location.search);
|
||||
this.invite_code = this.invite_code.invite_code == undefined?'':this.invite_code.invite_code;
|
||||
if(this.invite_code != '') this.set_cookie('invite_code',this.invite_code, 1)
|
||||
if(this.userStatus) this.add_user_agent_detail(function(){});//加入代理
|
||||
//获取礼包信息
|
||||
this.get_package_info(function(res){
|
||||
var info = res.info.mobile;
|
||||
$('.bt_invite_tips').show().find('.tips_username span').html(info);
|
||||
$('.yaoqing').hide();
|
||||
$('.tips_btn span').click(function(){
|
||||
if(_this.userStatus){
|
||||
//领取礼包
|
||||
_this.get_package_byuser(res.data.id,function(res){
|
||||
layer.msg(res.msg,{icon:res.status?1:2});
|
||||
setTimeout(function(){window.location = '/admin/profe'},2000);
|
||||
});
|
||||
}else{
|
||||
window.location = '/login';
|
||||
}
|
||||
});
|
||||
});
|
||||
$('.bttip_colse').click(function () {
|
||||
$('.bttip,.bttip_box').addClass('top');
|
||||
setTimeout(function () {
|
||||
$('.bttip').css('display', 'none');
|
||||
$('.bttip_box').removeClass('top');
|
||||
}, 1000);
|
||||
});
|
||||
$(".downBtn span").click(function () {
|
||||
var i = $(this).index();
|
||||
$(this).addClass("on").siblings().removeClass("on");
|
||||
$(".preview > div").hide().eq(i).show();
|
||||
if (i == 0) {
|
||||
$(".downInfo").html('<p><span class="version">6.9免费版</span>|<span class="update">2019/6/12·每月更新</span>|<a class="download" href="http://docs.bt.cn/424204" target="_blank" style="margin-right:5px">使用手册</a>|<a class="download" href="/bbs/thread-19376-1-1.html">立即安装</a></p><p style="margin-bottom:7px;display:none"><span class="version">5.5.1测试版</span>|<span class="update">2017/11/22·每周更新</span>|<a class="download" href="/bbs/thread-5195-1-1.html">查看安装</a></p>');
|
||||
$(".softtxt").html("Linux版请确保纯净系统安装(支持CentOS、Ubuntu、Debian、Fedora),Web端管理,QQ群及论坛技术支持<br>一键创建网站、FTP、数据库、SSL;安全管理,计划任务,文件管理,PHP多版本共存及切换;自带LNMP与LAMP");
|
||||
} else {
|
||||
$(".downInfo").html('<span class="version">6.0免费版</span>|<span class="update">2019/04/17·每月更新</span>|<a class="download" href="http://download.bt.cn/win/panel/BtSoft.zip">立即安装</a>');
|
||||
$(".softtxt").html("Windows版支持2008/2012/2016/2019,64位系统,支持Web端管理,QQ群及论坛技术支持</br>一键创建网站、FTP、数据库;安全管理,文件管理,PHP多版本共存及切换;</br>环境支持:ASP+ASPX+PHP+MYSQL5.5/5.6/5.7+MSSQL05/08/12/14/17+mariaDB+FTP+Apache,<font style='color:red'>目前暂不支持Nginx,正在开发中</font>");
|
||||
}
|
||||
});
|
||||
},
|
||||
// 设置cookie
|
||||
set_cookie: function (name, value, time) {
|
||||
if (time == undefined) time = 30;
|
||||
var exp = new Date();
|
||||
exp.setTime(exp.getTime() + time * 24 * 60 * 60 * 1000);
|
||||
document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString();
|
||||
},
|
||||
//读取cookies
|
||||
getCookie:function(name){
|
||||
var arr,reg=new RegExp("(^| )"+name+"=([^;]*)(;|$)");
|
||||
if(arr=document.cookie.match(reg)){
|
||||
return unescape(arr[2]);
|
||||
}else{
|
||||
return null;
|
||||
}
|
||||
},
|
||||
get_package_info:function(callback){
|
||||
if(this.invite_code == '') return false;
|
||||
$.post('/api/Btparter/get_bt_packages',{userCode:this.invite_code},function(res){
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
get_package_byuser:function(id,callback){
|
||||
$.post('/api/Btparter/get_package_byuser',{package_id:id},function(res){
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
// 登录设置邀请用户
|
||||
add_user_agent_detail:function (callback){
|
||||
var invite_code = this.getCookie('invite_code');
|
||||
if(invite_code == '') callback();
|
||||
$.post('/api/Btparter/add_user_agent_detail', {
|
||||
userCode:invite_code,
|
||||
}, function (res) {
|
||||
console.log(invite_code)
|
||||
console.log(res);
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
// 序列化
|
||||
to_query_params: function () {
|
||||
var search = this.replace(/^\s+/, '').replace(/\s+$/, '').match(/([^?#]*)(#.*)?$/); //提取location.search中'?'后面的部分
|
||||
if (!search) return {}
|
||||
var searchStr = search[1];
|
||||
var searchHash = searchStr.split('&');
|
||||
var ret = {};
|
||||
for (var i = 0, len = searchHash.length; i < len; i++) { //这里可以调用each方法
|
||||
var pair = searchHash[i];
|
||||
if ((pair = pair.split('='))[0]) {
|
||||
var key = decodeURIComponent(pair.shift());
|
||||
var value = pair.length > 1 ? pair.join('=') : pair[0];
|
||||
if (value != undefined) {
|
||||
value = decodeURIComponent(value);
|
||||
}
|
||||
if (key in ret) {
|
||||
if (ret[key].constructor != Array) {
|
||||
ret[key] = [ret[key]];
|
||||
}
|
||||
ret[key].push(value);
|
||||
} else {
|
||||
ret[key] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
index.init();
|
||||
console.log(index);
|
||||
})
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
Before Width: | Height: | Size: 66 KiB |
|
Before Width: | Height: | Size: 5.9 KiB |
|
Before Width: | Height: | Size: 7.6 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
@@ -1,563 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="applicable-device" content="pc">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="referrer" content="always">
|
||||
<meta name="description" content="宝塔,让运维简单高效。面板支持Linux与Windows系统。一键配置:LAMP/LNMP、网站、数据库、FTP、SSL,通过Web端轻松管理服务器。">
|
||||
<meta name="keywords" content="LAMP/LNMP一键安装包,运维,服务器运维,免费主机管理系统,linux面板,windows面板">
|
||||
<title>宝塔面板 - 简单好用的Linux/Windows服务器运维管理面板</title>
|
||||
<link href="https://www.bt.cn/favicon.ico" rel="shortcut icon" type="image/x-icon" />
|
||||
<link href="https://www.bt.cn/" rel="canonical">
|
||||
<link href="/Public/css/bt/reset.css" rel="stylesheet" type="text/css">
|
||||
<link href="/Public/css/bt/common.css?4.0149" rel="stylesheet" type="text/css">
|
||||
<link href="/Public/css/bt/login.css?2.1" rel="stylesheet" type="text/css">
|
||||
|
||||
<link href="/Public/css/bt/css.css?1.91" rel="stylesheet" type="text/css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="main">
|
||||
|
||||
<div class="head" style="background-color:rgba(0,0,0,0.80);">
|
||||
<div class="layout">
|
||||
<div class="logo fl"><a href="/"><img src="/Public/images/logo.png" alt="宝塔面板"></a></div>
|
||||
<div class="menu fl">
|
||||
<ul>
|
||||
<li><a class="active" href="/" >首页</a></li>
|
||||
<li><a href="/download/linuxpro.html" >Linux专业版</a></li>
|
||||
<li><a href="/download/linux.html" >Linux免费版</a></li>
|
||||
<li><a href="/download/windows.html" >Windows免费版</a></li>
|
||||
<li><a href="/partner" >IDC推荐</a></li>
|
||||
<li><a href="/invite" >邀请大使</a></li>
|
||||
<li><a href="/bbs/portal.php" target="_blank" >论坛</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="login fr">
|
||||
<div class="loginr">
|
||||
<div class="pull-right m-t-sm">
|
||||
<a href="/login.html" id="login" class="mip-btn mip-btn-primary">登录</a>
|
||||
<a href="/register.html" id="register" class="mip-btn mip-btn-default m-l ">注册</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- <div class="chunlian_box">
|
||||
<div class="chunlian">
|
||||
</div>
|
||||
<div class="dl_r">
|
||||
<div class="dl_l">
|
||||
<div class="top_pendant"></div>
|
||||
<div class="top"></div>
|
||||
<div class="con" style="height: 0px;"></div>
|
||||
<div class="bottom"></div>
|
||||
<div class="bottom_pendant"></div>
|
||||
<div class="top_pendant"></div>
|
||||
<div class="top"></div>
|
||||
<div class="con" style="height: 0px;"></div>
|
||||
<div class="bottom"></div>
|
||||
<div class="bottom_pendant"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<style>
|
||||
.bt_invite_tips{
|
||||
height:220px;
|
||||
background: #20a53a;
|
||||
display: none;
|
||||
}
|
||||
.bt_invite_tips .tips_username{
|
||||
padding-top: 50px;
|
||||
}
|
||||
.bt_invite_tips .tips_username,
|
||||
.bt_invite_tips .tips_package,
|
||||
.bt_invite_tips .tips_btn{
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.bt_invite_tips .tips_username{
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.bt_invite_tips .tips_package{
|
||||
font-size: 16px;
|
||||
}
|
||||
.bt_invite_tips .tips_package span{
|
||||
font-size: 26px;
|
||||
margin: 0 2px;
|
||||
color:#ff0;
|
||||
font-weight: 600px;
|
||||
}
|
||||
.bt_invite_tips .tips_btn span{
|
||||
display: inline-block;
|
||||
width: 180px;
|
||||
color: red;
|
||||
padding: 10px;
|
||||
font-size: 15px;
|
||||
background: #ff0;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.tips_btn span{
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
<div class="bt_invite_tips" style="height:220px;background: #20a53a;">
|
||||
<div class="tips_username">宝塔邀请大使<span></span>赠送您</div>
|
||||
<div class="tips_package">¥<span>3188</span>元礼包</div>
|
||||
<div class="tips_btn"><span>立即领取</span></div>
|
||||
</div>
|
||||
<div class="bttip_box">
|
||||
<div class="layout">
|
||||
<div class="banner">
|
||||
<h3 class="title" style="width:570px"><font style="letter-spacing:2px">简单好用的服务器运维面板</font><span style="border: 1px solid red;right:-15px">永久免费</span></h3>
|
||||
<div class="downBtn">
|
||||
<span class="on">Linux 版</span>
|
||||
<span>Windows 版</span>
|
||||
</div>
|
||||
<div class="downInfo">
|
||||
<p><span class="version">6.9免费版</span>|<span class="update">2019/6/12·每月更新</span>|<a class="download" href="https://github.com/aaPanel/BaoTa"
|
||||
target="_blank" style="margin-right:5px">GitHub</a>|<a class="download" href="http://27.50.161.190:8888/login"
|
||||
target="_blank" style="margin-right:5px">演示</a>|<a class="download" href="/bbs/thread-19376-1-1.html">立即安装</a></p>
|
||||
<p style="margin-bottom:7px;display:none"><span class="version">5.5.1测试版</span>|<span class="update">2017/11/22·每周更新</span>|<a
|
||||
class="download" href="http://27.50.161.190:8888/login" target="_blank" style="margin-right:5px">查看演示</a>|<a class="download"
|
||||
href="/bbs/thread-5195-1-1.html">查看安装</a></p>
|
||||
</div>
|
||||
<div class="softtxt">
|
||||
Linux版请确保纯净系统安装(支持CentOS、Ubuntu、Debian、Fedora、deepin),Web端管理,QQ群及论坛技术支持<br>一键创建网站、FTP、数据库、SSL;安全管理,计划任务,文件管理,PHP多版本共存及切换;自带LNMP与LAMP
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="preview">
|
||||
<div class="linux"><img src="/Public/images/linux_pc_free.png"></div>
|
||||
<div class="windows" style="display:none"><img src="/Public/images/windows_web.png">
|
||||
<!-- <div class="WSoft-min"><img src="/Public/images/windows-soft.png" width="100%"></div> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="linex"></div>
|
||||
<div class="yaoqing"><p>免费加入宝塔邀请大使,帮助他人同时还能赚钱</p><a href="https://www.bt.cn/invite" target="_blank">立即免费加入</a></div>
|
||||
<div class="layout" style="padding-bottom: 30px;">
|
||||
<div class="zunad" onclick="javascript:window.open('http://www.zun.com/alllist.html','_blank')">
|
||||
尊云,价格厚道的云服务器,<span>6核10G,99元</span>
|
||||
</div>
|
||||
<div class="zunad" onclick="javascript:window.open('http://www.zun.com/tiyan.html','_blank')" style="display:none">
|
||||
尊云9元福利云,预装宝塔面板,<span>9元</span>最高能用<span style='margin-left:5px'>45天</span>,宝塔极力推荐!
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="box pro1 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1" onclick="javascript:window.location.href='/Download/btmstsc.html'">远程桌面连接工具</h3>
|
||||
<p><a href="/update/net/Bt_Mstsc.exe">下载</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro2 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1" onclick="javascript:window.location.href='/btcode.html'">Linux面板命令大全</h3>
|
||||
<p><a href="https://www.bt.cn/btcode.html">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro3 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1">IDC推荐</h3>
|
||||
<p><a href="https://www.bt.cn/partner">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div style="float:left;width:333px">
|
||||
<div class="box pro4 fl" style="height:115px;margin-bottom:20px;background-color:#f0f0f0">
|
||||
<div class="text">
|
||||
<h3 class="p1">宝塔币商城</h3>
|
||||
<p><a href="https://www.bt.cn/integral">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro5 fl" style="height:115px;background-color:#f0f0f0">
|
||||
<div class="text">
|
||||
<h3 class="p1">宝塔跑分排行榜</h3>
|
||||
<p><a href="https://www.bt.cn/score">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="news yunwei center" style="margin: 0 20px">
|
||||
<img src="Public/images/ico_yunwei.png">
|
||||
<div class="yunwei-font">
|
||||
<span style="font-size: 21px;">宝塔运维</span>
|
||||
<span style="font-size: 16px;margin-top: 17px;color:#454545;">付费运维已停止接单,论坛可免费求助</span>
|
||||
</div>
|
||||
<a href="https://www.bt.cn/yunwei" style="margin-top: 15px;">点击查看</a>
|
||||
</div>
|
||||
<div class="news yunwei center">
|
||||
<img src="Public/images/ico_other.png" />
|
||||
<div class="yunwei-font">
|
||||
<span style="font-size: 21px;">开发者中心</span>
|
||||
<span style="font-size: 16px;margin-top: 17px;color:red;">诚邀开发者入驻,让创作更有价值</span>
|
||||
</div>
|
||||
<a href="https://www.bt.cn/developer" style="margin-top: 15px;">点击查看</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="linex"></div>
|
||||
<div class="layout">
|
||||
<style type="text/css">
|
||||
.row .news {
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
.news h4 {
|
||||
font-size: 21px;
|
||||
margin-top: 30px;
|
||||
font-weight: normal;
|
||||
font-weight: inherit;
|
||||
}
|
||||
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.news>a,
|
||||
.conterRight>a {
|
||||
width: 100px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
color: #646472;
|
||||
border: 1px solid #CACAD9;
|
||||
border-radius: 4px;
|
||||
margin: 0 auto;
|
||||
margin-top: 30px;
|
||||
background: #fff;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.news>a:hover,
|
||||
.conterRight>a:hover {
|
||||
background-color: #20A53A;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.conterLeft {
|
||||
float: left;
|
||||
position: relative;
|
||||
top: -16px;
|
||||
}
|
||||
|
||||
.conterRight {
|
||||
float: right;
|
||||
width: 180px;
|
||||
}
|
||||
|
||||
.conterTop {
|
||||
height: 50%;
|
||||
overflow: hidden;
|
||||
border-bottom: 1px solid #dedede;
|
||||
}
|
||||
|
||||
.conterTop img {
|
||||
float: left;
|
||||
margin-left: 25px;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.conterTop h4 {
|
||||
float: right;
|
||||
margin-top: 45px;
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
.hz-tit {
|
||||
font-size: 26px;
|
||||
color: #454545;
|
||||
text-align: center;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
.hz-con a {
|
||||
background-color: #fafafa;
|
||||
border: #ddd 1px solid;
|
||||
float: left;
|
||||
width: 219px;
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
text-align: center;
|
||||
margin-bottom: 40px;
|
||||
margin-right: 50px;
|
||||
}
|
||||
|
||||
.hz-con a:hover {
|
||||
box-shadow: 0 0 6px #dedede;
|
||||
}
|
||||
|
||||
.hz-con a img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.yunwei img {
|
||||
width: 70px;
|
||||
margin-top: 22px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.yunwei span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.yaoqing{
|
||||
height:90px;
|
||||
width:1040px;
|
||||
line-height:88px;
|
||||
text-align:center;
|
||||
background-color:#20a53a;
|
||||
margin:20px auto 30px;
|
||||
}
|
||||
.yaoqing p{
|
||||
font-family:"微软雅黑";
|
||||
font-size:25px;
|
||||
color:#fff;
|
||||
display:inline-block;
|
||||
margin-right:30px;
|
||||
}
|
||||
.yaoqing a{
|
||||
display:inline-block;
|
||||
height:36px;
|
||||
width:150px;
|
||||
background-color:#FFFF00;
|
||||
text-align:center;
|
||||
line-height:36px;
|
||||
color:#FF2626;
|
||||
font-size:16px;
|
||||
border-radius:3px;
|
||||
vertical-align:3px;
|
||||
}
|
||||
.yaoqing a:hover{
|
||||
background-color:#FFe000;
|
||||
}
|
||||
</style>
|
||||
<div class="row">
|
||||
<div class="hz-tit">
|
||||
<p>合作伙伴</p>
|
||||
<p><a href="https://www.bt.cn/partner" style="color:#20a53a;font-size:14px" target="_blank">申请IDC定制版合作</a></p>
|
||||
</div>
|
||||
<div class="hz-con">
|
||||
<a href="https://www.zun.com" target="_blank"><img src="/Public/images/p-zun.png" alt="尊云"></a>
|
||||
<a href="https://www.wy.cn" target="_blank"><img src="/Public/images/p-wy.png" alt="唯一网络"></a>
|
||||
<a href="https://www.dns.com" target="_blank"><img src="/Public/images/p-dns.png" alt="DNS"></a>
|
||||
<!--<a href="https://www.ddos.com" target="_blank" style="margin-right:0"><img src="/Public/images/p-ddos.png" alt="DDOS"></a> -->
|
||||
<a href="https://www.trustasia.com/" target="_blank" style="margin-right:0"><img src="/Public/images/p-yz.png" alt="亚洲诚信"></a>
|
||||
<a href="https://www.aliyun.com" target="_blank"><img src="/Public/images/p-aliyun.png" alt="阿里云"></a>
|
||||
<a href="https://www.jcloud.com" target="_blank"><img src="/Public/images/p-jd.png" alt="京东云"></a>
|
||||
<a href="https://www.upyun.com" target="_blank"><img src="/Public/images/p-up.png" alt="又拍云"></a>
|
||||
<a href="https://www.ddos.com" target="_blank" style="margin-right:0"><img src="/Public/images/p-ddos.png" alt="网堤安全"></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row" style="margin-top:20px">
|
||||
<div class="flink">
|
||||
<span style="float:left">友情链接:</span>
|
||||
<p style="display: inline;">
|
||||
<a href="https://www.aapanel.com/" target="_blank" style="margin: 0px 7px 15px; display: inline-block">Hosting control panel</a>
|
||||
<a href="https://www.bt.cn/Download/btsoftlinux.html" target="_blank" title="LAMP" style="margin: 0px 7px 15px; display: inline-block;">LAMP</a>
|
||||
<a href="https://www.bt.cn/Download/btsoftlinux.html" target="_blank" title="LNMP" style="margin: 0px 7px 15px; display: inline-block;">LNMP</a>
|
||||
<a href="http://www.wy.cn" target="_blank" title="唯一网络" style="margin: 0px 7px 15px; display: inline-block;">唯一网络</a>
|
||||
<a href="http://www.ddun.com" target="_blank" title="CC防护 " style="margin: 0px 7px 15px; display: inline-block;">CC防护</a>
|
||||
<a href="http://www.ddos.com" target="_blank" title="ddos防护" style="margin: 0px 7px 15px; display: inline-block;">ddos防护</a>
|
||||
<a href="http://www.dns.com" target="_blank" title="dns解析" style="margin: 0px 7px 15px; display: inline-block;">dns解析</a>
|
||||
<a href="http://www.wcloud.com" target="_blank" title="云主机" style="margin: 0px 7px 15px; display: inline-block;">云主机</a>
|
||||
<a href="http://www.om.cn" target="_blank" title="3dmax模型免费下载,设计模型,3d模型下载" style="margin: 0px 7px 15px; display: inline-block;">3D模型</a>
|
||||
<a href="http://www.yunsuo.com.cn" target="_blank" title="云锁-服务器安全" style="margin: 0px 7px 15px; display: inline-block;">云锁-服务器安全</a>
|
||||
<a href="http://www.xmirror.cn" target="_blank" title="悬镜-服务器安全" style="margin: 0px 7px 15px; display: inline-block;">悬镜-服务器安全</a>
|
||||
<a href="http://kodcloud.com" target="_blank" title="可道私有云" style="margin: 0px 7px 15px; display: inline-block;">可道私有云</a>
|
||||
<a href="http://www.jieqi.com" target="_blank" title="杰奇" style="margin: 0px 7px 15px; display: inline-block;">杰奇</a>
|
||||
<a href="https://www.tipask.com" target="_blank" title="Tipask" style="margin: 0px 7px 15px; display: inline-block;">Tipask</a>
|
||||
<a href="http://www.maccms.com" target="_blank" title="苹果CMS" style="margin: 0px 7px 15px; display: inline-block;">苹果CMS</a>
|
||||
<a href="http://www.zhujiwu.com" target="_blank" title="主机屋" style="margin: 0px 7px 15px; display: inline-block;">主机屋</a>
|
||||
<a href="https://www.mituo.cn" target="_blank" title="米托网站制作" style="margin: 0px 7px 15px; display: inline-block;">建网站</a>
|
||||
<a href="https://www.dscmall.cn" target="_blank" title="大商创b2b2c" style="margin: 0px 7px 15px; display: inline-block;">大商创b2b2c</a>
|
||||
<a href="https://www.59dun.com/" target="_blank" title="高防服务器" style="margin: 0px 7px 15px; display: inline-block;">高防服务器</a>
|
||||
<a href="https://www.huzhan.com" target="_blank" title="互站网" style="margin: 0px 7px 15px; display: inline-block;">互站网</a>
|
||||
<a href="https://www.zhongjie.com" target="_blank" title="中介网" style="margin: 0px 7px 15px; display: inline-block;">中介网</a>
|
||||
<a href="http://www.qy.cn" target="_blank" title="云服务器" style="margin: 0px 7px 15px; display: inline-block;">云服务器</a>
|
||||
<a href="https://www.51.la" target="_blank" title="51la网站统计" style="margin: 0px 7px 15px; display: inline-block;">51la网站统计</a>
|
||||
<a href="http://www.35hw.com/" target="_blank" title="东莞网站建设" style="margin: 0px 7px 15px; display: inline-block;">东莞网站建设</a>
|
||||
<a href="http://www.vpn.cn" target="_blank" title="国内200+城市线路VPN" style="margin: 0px 7px 15px; display: inline-block;">国内200+城市线路VPN</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="btfooter">
|
||||
<div class="footer_nav layout">
|
||||
<div class="nav_groud">
|
||||
<ul class="nav_list ">
|
||||
<li class="item">常用文档</li>
|
||||
<li ><a href="http://docs.bt.cn/424204">宝塔使用手册</a></li>
|
||||
<li ><a href="https://www.bt.cn/btcode.html">Linux面板命令</a></li>
|
||||
<li ><a href="https://www.bt.cn/bbs/thread-20376-1-1.html" target="_blank">API接口文档</a></li>
|
||||
<li><a href="http://www.bt.cn/kyxy.html" target="_blank">宝塔开源协议</a></li>
|
||||
</ul>
|
||||
<ul class="nav_list ">
|
||||
<li class="item">快捷入口</li>
|
||||
<li><a href="https://www.bt.cn/about.html">公司简介</a></li>
|
||||
<li><a href="https://www.bt.cn/about.html#job">加入我们</a></li>
|
||||
<li><a href="https://www.bt.cn/invite">邀请大使</a></li>
|
||||
<li><a href="https://github.com/aaPanel/BaoTa" target="_blank">GitHub</a></li>
|
||||
</ul>
|
||||
<ul class="nav_list ">
|
||||
<li class="item">联系我们</li>
|
||||
<li><span>周一至周六,节假日除外</span></li>
|
||||
<li><span>9:15~12:30,14:00~18:15</span></li>
|
||||
<li><span>客服咨询QQ:<a href="http://q.url.cn/abvgP3?_type=wpa&qidian=true" target="_blank">800176556</a></span></li>
|
||||
<li><span>投诉建议QQ:<a href="tencent://message/?uin=394030111">394030111</a></span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="nav_logo">
|
||||
<img src="/Public/images/bt_logo.png" alt="" title="这是宝塔吉祥物【小河妖】"/>
|
||||
<span>宝塔,让运维简单高效</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyright">
|
||||
<p>Copyright © 2014-2019 <a href="http://www.bt.cn/" title="宝塔面板">宝塔面板</a>|让运维简单高效(www.bt.cn) 东莞市百塔网络科技有限公司 All
|
||||
Rights Reserved</p>
|
||||
<p><a href="http://www.beian.miit.gov.cn" target="_blank" style="margin-right:15px">粤ICP备17030143号</a> <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44190002003211">粤公网安备
|
||||
44190002003211号</a> <span style="margin-left:15px">宝塔论坛正在使用宝塔Linux面板维护管理并由<a href="https://www.zun.com" target="_blank">尊云云服务器</a>提供支持</span></p>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<script type="text/javascript" src="/Public/js/jquery.js"></script>
|
||||
<script type="text/javascript" src="/Public/js/tongji.js"></script><!--统计js-->
|
||||
|
||||
<script type="text/javascript" src="/Public/layer/layer.js"></script>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
var index = {
|
||||
userStatus:'',
|
||||
invite_code:'',
|
||||
init: function () {
|
||||
var _this = this;
|
||||
this.userStatus = localStorage.getItem('userStatus');
|
||||
this.invite_code = this.to_query_params.call(window.location.search);
|
||||
this.invite_code = this.invite_code.invite_code == undefined?'':this.invite_code.invite_code;
|
||||
if(this.invite_code != '') this.set_cookie('invite_code',this.invite_code, 1)
|
||||
if(this.userStatus) this.add_user_agent_detail(function(){});//加入代理
|
||||
//获取礼包信息
|
||||
this.get_package_info(function(res){
|
||||
var info = res.info.mobile;
|
||||
$('.bt_invite_tips').show().find('.tips_username span').html(info);
|
||||
$('.yaoqing').hide();
|
||||
$('.tips_btn span').click(function(){
|
||||
if(_this.userStatus){
|
||||
//领取礼包
|
||||
_this.get_package_byuser(res.data.id,function(res){
|
||||
layer.msg(res.msg,{icon:res.status?1:2});
|
||||
setTimeout(function(){window.location = '/admin/profe'},2000);
|
||||
});
|
||||
}else{
|
||||
window.location = '/login';
|
||||
}
|
||||
});
|
||||
});
|
||||
$('.bttip_colse').click(function () {
|
||||
$('.bttip,.bttip_box').addClass('top');
|
||||
setTimeout(function () {
|
||||
$('.bttip').css('display', 'none');
|
||||
$('.bttip_box').removeClass('top');
|
||||
}, 1000);
|
||||
});
|
||||
$(".downBtn span").click(function () {
|
||||
var i = $(this).index();
|
||||
$(this).addClass("on").siblings().removeClass("on");
|
||||
$(".preview > div").hide().eq(i).show();
|
||||
if (i == 0) {
|
||||
$(".downInfo").html('<p><span class="version">6.9免费版</span>|<span class="update">2019/6/12·每月更新</span>|<a class="download" href="https://github.com/aaPanel/BaoTa" target="_blank" style="margin-right:5px">GitHub</a>|<a class="download" href="http://27.50.161.190:8888/login" target="_blank" style="margin-right:5px">演示</a>|<a class="download" href="/bbs/thread-19376-1-1.html">立即安装</a></p><p style="margin-bottom:7px;display:none"><span class="version">5.5.1测试版</span>|<span class="update">2017/11/22·每周更新</span>|<a class="download" href="/bbs/thread-5195-1-1.html">查看安装</a></p>');
|
||||
$(".softtxt").html("Linux版请确保纯净系统安装(支持CentOS、Ubuntu、Debian、Fedora),Web端管理,QQ群及论坛技术支持<br> 一键创建网站、FTP、数据库、SSL;安全管理,计划任务,文件管理,PHP多版本共存及切换;自带LNMP与LAMP");
|
||||
} else {
|
||||
$(".downInfo").html('<span class="version">6.2免费版</span>|<span class="update">2019/06/12·每月更新</span>|<a class="download" href="http://download.bt.cn/win/panel/BtSoft.zip">立即安装</a>');
|
||||
$(".softtxt").html("Windows版支持2008/2012/2016/2019,64位系统,支持Web端管理,QQ群及论坛技术支持</br>一键创建网站、FTP、数据库;安全管理,文件管理,PHP多版本共存及切换;</br>环境支持:ASP+ASPX+PHP+MYSQL5.5/5.6/5.7+MSSQL05/08/12/14/17+mariaDB+FTP+Apache,<font style='color:red'>目前暂不支持Nginx,正在开发中</font>");
|
||||
}
|
||||
});
|
||||
},
|
||||
// 设置cookie
|
||||
set_cookie: function (name, value, time) {
|
||||
if (time == undefined) time = 30;
|
||||
var exp = new Date();
|
||||
exp.setTime(exp.getTime() + time * 24 * 60 * 60 * 1000);
|
||||
document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString();
|
||||
},
|
||||
//读取cookies
|
||||
getCookie:function(name){
|
||||
var arr,reg=new RegExp("(^| )"+name+"=([^;]*)(;|$)");
|
||||
if(arr=document.cookie.match(reg)){
|
||||
return unescape(arr[2]);
|
||||
}else{
|
||||
return null;
|
||||
}
|
||||
},
|
||||
get_package_info:function(callback){
|
||||
if(this.invite_code == '') return false;
|
||||
$.post('/api/Btparter/get_bt_packages',{userCode:this.invite_code},function(res){
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
get_package_byuser:function(id,callback){
|
||||
$.post('/api/Btparter/get_package_byuser',{package_id:id},function(res){
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
// 登录设置邀请用户
|
||||
add_user_agent_detail:function (callback){
|
||||
var invite_code = this.getCookie('invite_code');
|
||||
if(invite_code == '') callback();
|
||||
$.post('/api/Btparter/add_user_agent_detail', {
|
||||
userCode:invite_code,
|
||||
}, function (res) {
|
||||
console.log(invite_code)
|
||||
console.log(res);
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
// 序列化
|
||||
to_query_params: function () {
|
||||
var search = this.replace(/^\s+/, '').replace(/\s+$/, '').match(/([^?#]*)(#.*)?$/); //提取location.search中'?'后面的部分
|
||||
if (!search) return {}
|
||||
var searchStr = search[1];
|
||||
var searchHash = searchStr.split('&');
|
||||
var ret = {};
|
||||
for (var i = 0, len = searchHash.length; i < len; i++) { //这里可以调用each方法
|
||||
var pair = searchHash[i];
|
||||
if ((pair = pair.split('='))[0]) {
|
||||
var key = decodeURIComponent(pair.shift());
|
||||
var value = pair.length > 1 ? pair.join('=') : pair[0];
|
||||
if (value != undefined) {
|
||||
value = decodeURIComponent(value);
|
||||
}
|
||||
if (key in ret) {
|
||||
if (ret[key].constructor != Array) {
|
||||
ret[key] = [ret[key]];
|
||||
}
|
||||
ret[key].push(value);
|
||||
} else {
|
||||
ret[key] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
index.init();
|
||||
console.log(index);
|
||||
})
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
Before Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 14 KiB |
@@ -1,563 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="applicable-device" content="pc">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="referrer" content="always">
|
||||
<meta name="description" content="宝塔,让运维简单高效。面板支持Linux与Windows系统。一键配置:LAMP/LNMP、网站、数据库、FTP、SSL,通过Web端轻松管理服务器。">
|
||||
<meta name="keywords" content="LAMP/LNMP一键安装包,运维,服务器运维,免费主机管理系统,linux面板,windows面板">
|
||||
<title>宝塔面板 - 简单好用的Linux/Windows服务器运维管理面板</title>
|
||||
<link href="https://www.bt.cn/favicon.ico" rel="shortcut icon" type="image/x-icon" />
|
||||
<link href="https://www.bt.cn/" rel="canonical">
|
||||
<link href="/Public/css/bt/reset.css" rel="stylesheet" type="text/css">
|
||||
<link href="/Public/css/bt/common.css?4.0149" rel="stylesheet" type="text/css">
|
||||
<link href="/Public/css/bt/login.css?2.1" rel="stylesheet" type="text/css">
|
||||
|
||||
<link href="/Public/css/bt/css.css?1.91" rel="stylesheet" type="text/css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="main">
|
||||
|
||||
<div class="head" style="background-color:rgba(0,0,0,0.80);">
|
||||
<div class="layout">
|
||||
<div class="logo fl"><a href="/"><img src="/Public/images/logo.png" alt="宝塔面板"></a></div>
|
||||
<div class="menu fl">
|
||||
<ul>
|
||||
<li><a class="active" href="/" >首页</a></li>
|
||||
<li><a href="/download/linuxpro.html" >Linux专业版</a></li>
|
||||
<li><a href="/download/linux.html" >Linux免费版</a></li>
|
||||
<li><a href="/download/windows.html" >Windows免费版</a></li>
|
||||
<li><a href="/partner" >IDC推荐</a></li>
|
||||
<li><a href="/invite" >邀请大使</a></li>
|
||||
<li><a href="/bbs/portal.php" target="_blank" >论坛</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="login fr">
|
||||
<div class="loginr">
|
||||
<div class="pull-right m-t-sm">
|
||||
<a href="/login.html" id="login" class="mip-btn mip-btn-primary">登录</a>
|
||||
<a href="/register.html" id="register" class="mip-btn mip-btn-default m-l ">注册</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- <div class="chunlian_box">
|
||||
<div class="chunlian">
|
||||
</div>
|
||||
<div class="dl_r">
|
||||
<div class="dl_l">
|
||||
<div class="top_pendant"></div>
|
||||
<div class="top"></div>
|
||||
<div class="con" style="height: 0px;"></div>
|
||||
<div class="bottom"></div>
|
||||
<div class="bottom_pendant"></div>
|
||||
<div class="top_pendant"></div>
|
||||
<div class="top"></div>
|
||||
<div class="con" style="height: 0px;"></div>
|
||||
<div class="bottom"></div>
|
||||
<div class="bottom_pendant"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<style>
|
||||
.bt_invite_tips{
|
||||
height:220px;
|
||||
background: #20a53a;
|
||||
display: none;
|
||||
}
|
||||
.bt_invite_tips .tips_username{
|
||||
padding-top: 50px;
|
||||
}
|
||||
.bt_invite_tips .tips_username,
|
||||
.bt_invite_tips .tips_package,
|
||||
.bt_invite_tips .tips_btn{
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.bt_invite_tips .tips_username{
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.bt_invite_tips .tips_package{
|
||||
font-size: 16px;
|
||||
}
|
||||
.bt_invite_tips .tips_package span{
|
||||
font-size: 26px;
|
||||
margin: 0 2px;
|
||||
color:#ff0;
|
||||
font-weight: 600px;
|
||||
}
|
||||
.bt_invite_tips .tips_btn span{
|
||||
display: inline-block;
|
||||
width: 180px;
|
||||
color: red;
|
||||
padding: 10px;
|
||||
font-size: 15px;
|
||||
background: #ff0;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.tips_btn span{
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
<div class="bt_invite_tips" style="height:220px;background: #20a53a;">
|
||||
<div class="tips_username">宝塔邀请大使<span></span>赠送您</div>
|
||||
<div class="tips_package">¥<span>3188</span>元礼包</div>
|
||||
<div class="tips_btn"><span>立即领取</span></div>
|
||||
</div>
|
||||
<div class="bttip_box">
|
||||
<div class="layout">
|
||||
<div class="banner">
|
||||
<h3 class="title" style="width:570px"><font style="letter-spacing:2px">简单好用的服务器运维面板</font><span style="border: 1px solid red;right:-15px">永久免费</span></h3>
|
||||
<div class="downBtn">
|
||||
<span class="on">Linux 版</span>
|
||||
<span>Windows 版</span>
|
||||
</div>
|
||||
<div class="downInfo">
|
||||
<p><span class="version">6.9免费版</span>|<span class="update">2019/6/12·每月更新</span>|<a class="download" href="https://github.com/aaPanel/BaoTa"
|
||||
target="_blank" style="margin-right:5px">GitHub</a>|<a class="download" href="http://27.50.161.190:8888/login"
|
||||
target="_blank" style="margin-right:5px">演示</a>|<a class="download" href="/bbs/thread-19376-1-1.html">立即安装</a></p>
|
||||
<p style="margin-bottom:7px;display:none"><span class="version">5.5.1测试版</span>|<span class="update">2017/11/22·每周更新</span>|<a
|
||||
class="download" href="http://27.50.161.190:8888/login" target="_blank" style="margin-right:5px">查看演示</a>|<a class="download"
|
||||
href="/bbs/thread-5195-1-1.html">查看安装</a></p>
|
||||
</div>
|
||||
<div class="softtxt">
|
||||
Linux版请确保纯净系统安装(支持CentOS、Ubuntu、Debian、Fedora、deepin),Web端管理,QQ群及论坛技术支持<br>一键创建网站、FTP、数据库、SSL;安全管理,计划任务,文件管理,PHP多版本共存及切换;自带LNMP与LAMP
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="preview">
|
||||
<div class="linux"><img src="/Public/images/linux_pc_free.png"></div>
|
||||
<div class="windows" style="display:none"><img src="/Public/images/windows_web.png">
|
||||
<!-- <div class="WSoft-min"><img src="/Public/images/windows-soft.png" width="100%"></div> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="linex"></div>
|
||||
<div class="yaoqing"><p>免费加入宝塔邀请大使,帮助他人同时还能赚钱</p><a href="https://www.bt.cn/invite" target="_blank">立即免费加入</a></div>
|
||||
<div class="layout" style="padding-bottom: 30px;">
|
||||
<div class="zunad" onclick="javascript:window.open('http://www.zun.com/alllist.html','_blank')">
|
||||
尊云,价格厚道的云服务器,<span>6核10G,99元</span>
|
||||
</div>
|
||||
<div class="zunad" onclick="javascript:window.open('http://www.zun.com/tiyan.html','_blank')" style="display:none">
|
||||
尊云9元福利云,预装宝塔面板,<span>9元</span>最高能用<span style='margin-left:5px'>45天</span>,宝塔极力推荐!
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="box pro1 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1" onclick="javascript:window.location.href='/Download/btmstsc.html'">远程桌面连接工具</h3>
|
||||
<p><a href="/update/net/Bt_Mstsc.exe">下载</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro2 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1" onclick="javascript:window.location.href='/btcode.html'">Linux面板命令大全</h3>
|
||||
<p><a href="https://www.bt.cn/btcode.html">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro3 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1">IDC推荐</h3>
|
||||
<p><a href="https://www.bt.cn/partner">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div style="float:left;width:333px">
|
||||
<div class="box pro4 fl" style="height:115px;margin-bottom:20px;background-color:#f0f0f0">
|
||||
<div class="text">
|
||||
<h3 class="p1">宝塔币商城</h3>
|
||||
<p><a href="https://www.bt.cn/integral">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro5 fl" style="height:115px;background-color:#f0f0f0">
|
||||
<div class="text">
|
||||
<h3 class="p1">宝塔跑分排行榜</h3>
|
||||
<p><a href="https://www.bt.cn/score">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="news yunwei center" style="margin: 0 20px">
|
||||
<img src="Public/images/ico_yunwei.png">
|
||||
<div class="yunwei-font">
|
||||
<span style="font-size: 21px;">宝塔运维</span>
|
||||
<span style="font-size: 16px;margin-top: 17px;color:#454545;">付费运维已停止接单,论坛可免费求助</span>
|
||||
</div>
|
||||
<a href="https://www.bt.cn/yunwei" style="margin-top: 15px;">点击查看</a>
|
||||
</div>
|
||||
<div class="news yunwei center">
|
||||
<img src="Public/images/ico_other.png" />
|
||||
<div class="yunwei-font">
|
||||
<span style="font-size: 21px;">开发者中心</span>
|
||||
<span style="font-size: 16px;margin-top: 17px;color:red;">诚邀开发者入驻,让创作更有价值</span>
|
||||
</div>
|
||||
<a href="https://www.bt.cn/developer" style="margin-top: 15px;">点击查看</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="linex"></div>
|
||||
<div class="layout">
|
||||
<style type="text/css">
|
||||
.row .news {
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
.news h4 {
|
||||
font-size: 21px;
|
||||
margin-top: 30px;
|
||||
font-weight: normal;
|
||||
font-weight: inherit;
|
||||
}
|
||||
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.news>a,
|
||||
.conterRight>a {
|
||||
width: 100px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
color: #646472;
|
||||
border: 1px solid #CACAD9;
|
||||
border-radius: 4px;
|
||||
margin: 0 auto;
|
||||
margin-top: 30px;
|
||||
background: #fff;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.news>a:hover,
|
||||
.conterRight>a:hover {
|
||||
background-color: #20A53A;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.conterLeft {
|
||||
float: left;
|
||||
position: relative;
|
||||
top: -16px;
|
||||
}
|
||||
|
||||
.conterRight {
|
||||
float: right;
|
||||
width: 180px;
|
||||
}
|
||||
|
||||
.conterTop {
|
||||
height: 50%;
|
||||
overflow: hidden;
|
||||
border-bottom: 1px solid #dedede;
|
||||
}
|
||||
|
||||
.conterTop img {
|
||||
float: left;
|
||||
margin-left: 25px;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.conterTop h4 {
|
||||
float: right;
|
||||
margin-top: 45px;
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
.hz-tit {
|
||||
font-size: 26px;
|
||||
color: #454545;
|
||||
text-align: center;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
.hz-con a {
|
||||
background-color: #fafafa;
|
||||
border: #ddd 1px solid;
|
||||
float: left;
|
||||
width: 219px;
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
text-align: center;
|
||||
margin-bottom: 40px;
|
||||
margin-right: 50px;
|
||||
}
|
||||
|
||||
.hz-con a:hover {
|
||||
box-shadow: 0 0 6px #dedede;
|
||||
}
|
||||
|
||||
.hz-con a img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.yunwei img {
|
||||
width: 70px;
|
||||
margin-top: 22px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.yunwei span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.yaoqing{
|
||||
height:90px;
|
||||
width:1040px;
|
||||
line-height:88px;
|
||||
text-align:center;
|
||||
background-color:#20a53a;
|
||||
margin:20px auto 30px;
|
||||
}
|
||||
.yaoqing p{
|
||||
font-family:"微软雅黑";
|
||||
font-size:25px;
|
||||
color:#fff;
|
||||
display:inline-block;
|
||||
margin-right:30px;
|
||||
}
|
||||
.yaoqing a{
|
||||
display:inline-block;
|
||||
height:36px;
|
||||
width:150px;
|
||||
background-color:#FFFF00;
|
||||
text-align:center;
|
||||
line-height:36px;
|
||||
color:#FF2626;
|
||||
font-size:16px;
|
||||
border-radius:3px;
|
||||
vertical-align:3px;
|
||||
}
|
||||
.yaoqing a:hover{
|
||||
background-color:#FFe000;
|
||||
}
|
||||
</style>
|
||||
<div class="row">
|
||||
<div class="hz-tit">
|
||||
<p>合作伙伴</p>
|
||||
<p><a href="https://www.bt.cn/partner" style="color:#20a53a;font-size:14px" target="_blank">申请IDC定制版合作</a></p>
|
||||
</div>
|
||||
<div class="hz-con">
|
||||
<a href="https://www.zun.com" target="_blank"><img src="/Public/images/p-zun.png" alt="尊云"></a>
|
||||
<a href="https://www.wy.cn" target="_blank"><img src="/Public/images/p-wy.png" alt="唯一网络"></a>
|
||||
<a href="https://www.dns.com" target="_blank"><img src="/Public/images/p-dns.png" alt="DNS"></a>
|
||||
<!--<a href="https://www.ddos.com" target="_blank" style="margin-right:0"><img src="/Public/images/p-ddos.png" alt="DDOS"></a> -->
|
||||
<a href="https://www.trustasia.com/" target="_blank" style="margin-right:0"><img src="/Public/images/p-yz.png" alt="亚洲诚信"></a>
|
||||
<a href="https://www.aliyun.com" target="_blank"><img src="/Public/images/p-aliyun.png" alt="阿里云"></a>
|
||||
<a href="https://www.jcloud.com" target="_blank"><img src="/Public/images/p-jd.png" alt="京东云"></a>
|
||||
<a href="https://www.upyun.com" target="_blank"><img src="/Public/images/p-up.png" alt="又拍云"></a>
|
||||
<a href="https://www.ddos.com" target="_blank" style="margin-right:0"><img src="/Public/images/p-ddos.png" alt="网堤安全"></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row" style="margin-top:20px">
|
||||
<div class="flink">
|
||||
<span style="float:left">友情链接:</span>
|
||||
<p style="display: inline;">
|
||||
<a href="https://www.aapanel.com/" target="_blank" style="margin: 0px 7px 15px; display: inline-block">Hosting control panel</a>
|
||||
<a href="https://www.bt.cn/Download/btsoftlinux.html" target="_blank" title="LAMP" style="margin: 0px 7px 15px; display: inline-block;">LAMP</a>
|
||||
<a href="https://www.bt.cn/Download/btsoftlinux.html" target="_blank" title="LNMP" style="margin: 0px 7px 15px; display: inline-block;">LNMP</a>
|
||||
<a href="http://www.wy.cn" target="_blank" title="唯一网络" style="margin: 0px 7px 15px; display: inline-block;">唯一网络</a>
|
||||
<a href="http://www.ddun.com" target="_blank" title="CC防护 " style="margin: 0px 7px 15px; display: inline-block;">CC防护</a>
|
||||
<a href="http://www.ddos.com" target="_blank" title="ddos防护" style="margin: 0px 7px 15px; display: inline-block;">ddos防护</a>
|
||||
<a href="http://www.dns.com" target="_blank" title="dns解析" style="margin: 0px 7px 15px; display: inline-block;">dns解析</a>
|
||||
<a href="http://www.wcloud.com" target="_blank" title="云主机" style="margin: 0px 7px 15px; display: inline-block;">云主机</a>
|
||||
<a href="http://www.om.cn" target="_blank" title="3dmax模型免费下载,设计模型,3d模型下载" style="margin: 0px 7px 15px; display: inline-block;">3D模型</a>
|
||||
<a href="http://www.yunsuo.com.cn" target="_blank" title="云锁-服务器安全" style="margin: 0px 7px 15px; display: inline-block;">云锁-服务器安全</a>
|
||||
<a href="http://www.xmirror.cn" target="_blank" title="悬镜-服务器安全" style="margin: 0px 7px 15px; display: inline-block;">悬镜-服务器安全</a>
|
||||
<a href="http://kodcloud.com" target="_blank" title="可道私有云" style="margin: 0px 7px 15px; display: inline-block;">可道私有云</a>
|
||||
<a href="http://www.jieqi.com" target="_blank" title="杰奇" style="margin: 0px 7px 15px; display: inline-block;">杰奇</a>
|
||||
<a href="https://www.tipask.com" target="_blank" title="Tipask" style="margin: 0px 7px 15px; display: inline-block;">Tipask</a>
|
||||
<a href="http://www.maccms.com" target="_blank" title="苹果CMS" style="margin: 0px 7px 15px; display: inline-block;">苹果CMS</a>
|
||||
<a href="http://www.zhujiwu.com" target="_blank" title="主机屋" style="margin: 0px 7px 15px; display: inline-block;">主机屋</a>
|
||||
<a href="https://www.mituo.cn" target="_blank" title="米托网站制作" style="margin: 0px 7px 15px; display: inline-block;">建网站</a>
|
||||
<a href="https://www.dscmall.cn" target="_blank" title="大商创b2b2c" style="margin: 0px 7px 15px; display: inline-block;">大商创b2b2c</a>
|
||||
<a href="https://www.59dun.com/" target="_blank" title="高防服务器" style="margin: 0px 7px 15px; display: inline-block;">高防服务器</a>
|
||||
<a href="https://www.huzhan.com" target="_blank" title="互站网" style="margin: 0px 7px 15px; display: inline-block;">互站网</a>
|
||||
<a href="https://www.zhongjie.com" target="_blank" title="中介网" style="margin: 0px 7px 15px; display: inline-block;">中介网</a>
|
||||
<a href="http://www.qy.cn" target="_blank" title="云服务器" style="margin: 0px 7px 15px; display: inline-block;">云服务器</a>
|
||||
<a href="https://www.51.la" target="_blank" title="51la网站统计" style="margin: 0px 7px 15px; display: inline-block;">51la网站统计</a>
|
||||
<a href="http://www.35hw.com/" target="_blank" title="东莞网站建设" style="margin: 0px 7px 15px; display: inline-block;">东莞网站建设</a>
|
||||
<a href="http://www.vpn.cn" target="_blank" title="国内200+城市线路VPN" style="margin: 0px 7px 15px; display: inline-block;">国内200+城市线路VPN</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="btfooter">
|
||||
<div class="footer_nav layout">
|
||||
<div class="nav_groud">
|
||||
<ul class="nav_list ">
|
||||
<li class="item">常用文档</li>
|
||||
<li ><a href="http://docs.bt.cn/424204">宝塔使用手册</a></li>
|
||||
<li ><a href="https://www.bt.cn/btcode.html">Linux面板命令</a></li>
|
||||
<li ><a href="https://www.bt.cn/bbs/thread-20376-1-1.html" target="_blank">API接口文档</a></li>
|
||||
<li><a href="http://www.bt.cn/kyxy.html" target="_blank">宝塔开源协议</a></li>
|
||||
</ul>
|
||||
<ul class="nav_list ">
|
||||
<li class="item">快捷入口</li>
|
||||
<li><a href="https://www.bt.cn/about.html">公司简介</a></li>
|
||||
<li><a href="https://www.bt.cn/about.html#job">加入我们</a></li>
|
||||
<li><a href="https://www.bt.cn/invite">邀请大使</a></li>
|
||||
<li><a href="https://github.com/aaPanel/BaoTa" target="_blank">GitHub</a></li>
|
||||
</ul>
|
||||
<ul class="nav_list ">
|
||||
<li class="item">联系我们</li>
|
||||
<li><span>周一至周六,节假日除外</span></li>
|
||||
<li><span>9:15~12:30,14:00~18:15</span></li>
|
||||
<li><span>客服咨询QQ:<a href="http://q.url.cn/abvgP3?_type=wpa&qidian=true" target="_blank">800176556</a></span></li>
|
||||
<li><span>投诉建议QQ:<a href="tencent://message/?uin=394030111">394030111</a></span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="nav_logo">
|
||||
<img src="/Public/images/bt_logo.png" alt="" title="这是宝塔吉祥物【小河妖】"/>
|
||||
<span>宝塔,让运维简单高效</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyright">
|
||||
<p>Copyright © 2014-2019 <a href="http://www.bt.cn/" title="宝塔面板">宝塔面板</a>|让运维简单高效(www.bt.cn) 东莞市百塔网络科技有限公司 All
|
||||
Rights Reserved</p>
|
||||
<p><a href="http://www.beian.miit.gov.cn" target="_blank" style="margin-right:15px">粤ICP备17030143号</a> <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44190002003211">粤公网安备
|
||||
44190002003211号</a> <span style="margin-left:15px">宝塔论坛正在使用宝塔Linux面板维护管理并由<a href="https://www.zun.com" target="_blank">尊云云服务器</a>提供支持</span></p>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<script type="text/javascript" src="/Public/js/jquery.js"></script>
|
||||
<script type="text/javascript" src="/Public/js/tongji.js"></script><!--统计js-->
|
||||
|
||||
<script type="text/javascript" src="/Public/layer/layer.js"></script>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
var index = {
|
||||
userStatus:'',
|
||||
invite_code:'',
|
||||
init: function () {
|
||||
var _this = this;
|
||||
this.userStatus = localStorage.getItem('userStatus');
|
||||
this.invite_code = this.to_query_params.call(window.location.search);
|
||||
this.invite_code = this.invite_code.invite_code == undefined?'':this.invite_code.invite_code;
|
||||
if(this.invite_code != '') this.set_cookie('invite_code',this.invite_code, 1)
|
||||
if(this.userStatus) this.add_user_agent_detail(function(){});//加入代理
|
||||
//获取礼包信息
|
||||
this.get_package_info(function(res){
|
||||
var info = res.info.mobile;
|
||||
$('.bt_invite_tips').show().find('.tips_username span').html(info);
|
||||
$('.yaoqing').hide();
|
||||
$('.tips_btn span').click(function(){
|
||||
if(_this.userStatus){
|
||||
//领取礼包
|
||||
_this.get_package_byuser(res.data.id,function(res){
|
||||
layer.msg(res.msg,{icon:res.status?1:2});
|
||||
setTimeout(function(){window.location = '/admin/profe'},2000);
|
||||
});
|
||||
}else{
|
||||
window.location = '/login';
|
||||
}
|
||||
});
|
||||
});
|
||||
$('.bttip_colse').click(function () {
|
||||
$('.bttip,.bttip_box').addClass('top');
|
||||
setTimeout(function () {
|
||||
$('.bttip').css('display', 'none');
|
||||
$('.bttip_box').removeClass('top');
|
||||
}, 1000);
|
||||
});
|
||||
$(".downBtn span").click(function () {
|
||||
var i = $(this).index();
|
||||
$(this).addClass("on").siblings().removeClass("on");
|
||||
$(".preview > div").hide().eq(i).show();
|
||||
if (i == 0) {
|
||||
$(".downInfo").html('<p><span class="version">6.9免费版</span>|<span class="update">2019/6/12·每月更新</span>|<a class="download" href="https://github.com/aaPanel/BaoTa" target="_blank" style="margin-right:5px">GitHub</a>|<a class="download" href="http://27.50.161.190:8888/login" target="_blank" style="margin-right:5px">演示</a>|<a class="download" href="/bbs/thread-19376-1-1.html">立即安装</a></p><p style="margin-bottom:7px;display:none"><span class="version">5.5.1测试版</span>|<span class="update">2017/11/22·每周更新</span>|<a class="download" href="/bbs/thread-5195-1-1.html">查看安装</a></p>');
|
||||
$(".softtxt").html("Linux版请确保纯净系统安装(支持CentOS、Ubuntu、Debian、Fedora),Web端管理,QQ群及论坛技术支持<br> 一键创建网站、FTP、数据库、SSL;安全管理,计划任务,文件管理,PHP多版本共存及切换;自带LNMP与LAMP");
|
||||
} else {
|
||||
$(".downInfo").html('<span class="version">6.2免费版</span>|<span class="update">2019/06/12·每月更新</span>|<a class="download" href="http://download.bt.cn/win/panel/BtSoft.zip">立即安装</a>');
|
||||
$(".softtxt").html("Windows版支持2008/2012/2016/2019,64位系统,支持Web端管理,QQ群及论坛技术支持</br>一键创建网站、FTP、数据库;安全管理,文件管理,PHP多版本共存及切换;</br>环境支持:ASP+ASPX+PHP+MYSQL5.5/5.6/5.7+MSSQL05/08/12/14/17+mariaDB+FTP+Apache,<font style='color:red'>目前暂不支持Nginx,正在开发中</font>");
|
||||
}
|
||||
});
|
||||
},
|
||||
// 设置cookie
|
||||
set_cookie: function (name, value, time) {
|
||||
if (time == undefined) time = 30;
|
||||
var exp = new Date();
|
||||
exp.setTime(exp.getTime() + time * 24 * 60 * 60 * 1000);
|
||||
document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString();
|
||||
},
|
||||
//读取cookies
|
||||
getCookie:function(name){
|
||||
var arr,reg=new RegExp("(^| )"+name+"=([^;]*)(;|$)");
|
||||
if(arr=document.cookie.match(reg)){
|
||||
return unescape(arr[2]);
|
||||
}else{
|
||||
return null;
|
||||
}
|
||||
},
|
||||
get_package_info:function(callback){
|
||||
if(this.invite_code == '') return false;
|
||||
$.post('/api/Btparter/get_bt_packages',{userCode:this.invite_code},function(res){
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
get_package_byuser:function(id,callback){
|
||||
$.post('/api/Btparter/get_package_byuser',{package_id:id},function(res){
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
// 登录设置邀请用户
|
||||
add_user_agent_detail:function (callback){
|
||||
var invite_code = this.getCookie('invite_code');
|
||||
if(invite_code == '') callback();
|
||||
$.post('/api/Btparter/add_user_agent_detail', {
|
||||
userCode:invite_code,
|
||||
}, function (res) {
|
||||
console.log(invite_code)
|
||||
console.log(res);
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
// 序列化
|
||||
to_query_params: function () {
|
||||
var search = this.replace(/^\s+/, '').replace(/\s+$/, '').match(/([^?#]*)(#.*)?$/); //提取location.search中'?'后面的部分
|
||||
if (!search) return {}
|
||||
var searchStr = search[1];
|
||||
var searchHash = searchStr.split('&');
|
||||
var ret = {};
|
||||
for (var i = 0, len = searchHash.length; i < len; i++) { //这里可以调用each方法
|
||||
var pair = searchHash[i];
|
||||
if ((pair = pair.split('='))[0]) {
|
||||
var key = decodeURIComponent(pair.shift());
|
||||
var value = pair.length > 1 ? pair.join('=') : pair[0];
|
||||
if (value != undefined) {
|
||||
value = decodeURIComponent(value);
|
||||
}
|
||||
if (key in ret) {
|
||||
if (ret[key].constructor != Array) {
|
||||
ret[key] = [ret[key]];
|
||||
}
|
||||
ret[key].push(value);
|
||||
} else {
|
||||
ret[key] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
index.init();
|
||||
console.log(index);
|
||||
})
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -1,562 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="applicable-device" content="pc">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="referrer" content="always">
|
||||
<meta name="description" content="宝塔,让运维简单高效。面板支持Linux与Windows系统。一键配置:LAMP/LNMP、网站、数据库、FTP、SSL,通过Web端轻松管理服务器。">
|
||||
<meta name="keywords" content="LAMP/LNMP一键安装包,运维,服务器运维,免费主机管理系统,linux面板,windows面板">
|
||||
<title>宝塔面板 - 简单好用的Linux/Windows服务器运维管理面板</title>
|
||||
<link href="https://www.bt.cn/favicon.ico" rel="shortcut icon" type="image/x-icon" />
|
||||
<link href="https://www.bt.cn/" rel="canonical">
|
||||
<link href="/Public/css/bt/reset.css" rel="stylesheet" type="text/css">
|
||||
<link href="/Public/css/bt/common.css?4.0149" rel="stylesheet" type="text/css">
|
||||
<link href="/Public/css/bt/login.css?2.1" rel="stylesheet" type="text/css">
|
||||
|
||||
<link href="/Public/css/bt/css.css?1.91" rel="stylesheet" type="text/css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="main">
|
||||
|
||||
<div class="head" style="background-color:rgba(0,0,0,0.80);">
|
||||
<div class="layout">
|
||||
<div class="logo fl"><a href="/"><img src="/Public/images/logo.png" alt="宝塔面板"></a></div>
|
||||
<div class="menu fl">
|
||||
<ul>
|
||||
<li><a class="active" href="/" >首页</a></li>
|
||||
<li><a href="/download/linuxpro.html" >Linux专业版</a></li>
|
||||
<li><a href="/download/linux.html" >Linux免费版</a></li>
|
||||
<li><a href="/download/windows.html" >Windows免费版</a></li>
|
||||
<li><a href="/partner" >IDC推荐</a></li>
|
||||
<li><a href="/invite" >邀请大使</a></li>
|
||||
<li><a href="/bbs/portal.php" target="_blank" >论坛</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="login fr">
|
||||
<div class="loginr">
|
||||
<div class="pull-right m-t-sm">
|
||||
<a href="/login.html" id="login" class="mip-btn mip-btn-primary">登录</a>
|
||||
<a href="/register.html" id="register" class="mip-btn mip-btn-default m-l ">注册</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- <div class="chunlian_box">
|
||||
<div class="chunlian">
|
||||
</div>
|
||||
<div class="dl_r">
|
||||
<div class="dl_l">
|
||||
<div class="top_pendant"></div>
|
||||
<div class="top"></div>
|
||||
<div class="con" style="height: 0px;"></div>
|
||||
<div class="bottom"></div>
|
||||
<div class="bottom_pendant"></div>
|
||||
<div class="top_pendant"></div>
|
||||
<div class="top"></div>
|
||||
<div class="con" style="height: 0px;"></div>
|
||||
<div class="bottom"></div>
|
||||
<div class="bottom_pendant"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<style>
|
||||
.bt_invite_tips{
|
||||
height:220px;
|
||||
background: #20a53a;
|
||||
display: none;
|
||||
}
|
||||
.bt_invite_tips .tips_username{
|
||||
padding-top: 50px;
|
||||
}
|
||||
.bt_invite_tips .tips_username,
|
||||
.bt_invite_tips .tips_package,
|
||||
.bt_invite_tips .tips_btn{
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.bt_invite_tips .tips_username{
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.bt_invite_tips .tips_package{
|
||||
font-size: 16px;
|
||||
}
|
||||
.bt_invite_tips .tips_package span{
|
||||
font-size: 26px;
|
||||
margin: 0 2px;
|
||||
color:#ff0;
|
||||
font-weight: 600px;
|
||||
}
|
||||
.bt_invite_tips .tips_btn span{
|
||||
display: inline-block;
|
||||
width: 180px;
|
||||
color: red;
|
||||
padding: 10px;
|
||||
font-size: 15px;
|
||||
background: #ff0;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.tips_btn span{
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
<div class="bt_invite_tips" style="height:220px;background: #20a53a;">
|
||||
<div class="tips_username">宝塔邀请大使<span></span>赠送您</div>
|
||||
<div class="tips_package">¥<span>3188</span>元礼包</div>
|
||||
<div class="tips_btn"><span>立即领取</span></div>
|
||||
</div>
|
||||
<div class="bttip_box">
|
||||
<div class="layout">
|
||||
<div class="banner">
|
||||
<h3 class="title" style="width:570px"><font style="letter-spacing:2px">简单好用的服务器运维面板</font><span style="border: 1px solid red;right:-15px">永久免费</span></h3>
|
||||
<div class="downBtn">
|
||||
<span class="on">Linux 版</span>
|
||||
<span>Windows 版</span>
|
||||
</div>
|
||||
<div class="downInfo">
|
||||
<p><span class="version">6.9免费版</span>|<span class="update">2019/6/12·每月更新</span>|<a class="download" href="https://github.com/aaPanel/BaoTa"
|
||||
target="_blank" style="margin-right:5px">GitHub</a>|<a class="download" href="http://27.50.161.190:8888/login"
|
||||
target="_blank" style="margin-right:5px">演示</a>|<a class="download" href="/bbs/thread-19376-1-1.html">立即安装</a></p>
|
||||
<p style="margin-bottom:7px;display:none"><span class="version">5.5.1测试版</span>|<span class="update">2017/11/22·每周更新</span>|<a
|
||||
class="download" href="http://27.50.161.190:8888/login" target="_blank" style="margin-right:5px">查看演示</a>|<a class="download"
|
||||
href="/bbs/thread-5195-1-1.html">查看安装</a></p>
|
||||
</div>
|
||||
<div class="softtxt">
|
||||
Linux版请确保纯净系统安装(支持CentOS、Ubuntu、Debian、Fedora、deepin),Web端管理,QQ群及论坛技术支持<br>一键创建网站、FTP、数据库、SSL;安全管理,计划任务,文件管理,PHP多版本共存及切换;自带LNMP与LAMP
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="preview">
|
||||
<div class="linux"><img src="/Public/images/linux_pc_free.png"></div>
|
||||
<div class="windows" style="display:none"><img src="/Public/images/windows_web.png">
|
||||
<!-- <div class="WSoft-min"><img src="/Public/images/windows-soft.png" width="100%"></div> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="linex"></div>
|
||||
<div class="yaoqing"><p>免费加入宝塔邀请大使,帮助他人同时还能赚钱</p><a href="https://www.bt.cn/invite" target="_blank">立即免费加入</a></div>
|
||||
<div class="layout" style="padding-bottom: 30px;">
|
||||
<div class="zunad" onclick="javascript:window.open('http://www.zun.com/alllist.html','_blank')">
|
||||
尊云,价格厚道的云服务器,<span>6核10G,99元</span>
|
||||
</div>
|
||||
<div class="zunad" onclick="javascript:window.open('http://www.zun.com/tiyan.html','_blank')" style="display:none">
|
||||
尊云9元福利云,预装宝塔面板,<span>9元</span>最高能用<span style='margin-left:5px'>45天</span>,宝塔极力推荐!
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="box pro1 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1" onclick="javascript:window.location.href='/Download/btmstsc.html'">远程桌面连接工具</h3>
|
||||
<p><a href="/update/net/Bt_Mstsc.exe">下载</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro2 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1" onclick="javascript:window.location.href='/btcode.html'">Linux面板命令大全</h3>
|
||||
<p><a href="https://www.bt.cn/btcode.html">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro3 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1">IDC推荐</h3>
|
||||
<p><a href="https://www.bt.cn/partner">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div style="float:left;width:333px">
|
||||
<div class="box pro4 fl" style="height:115px;margin-bottom:20px;background-color:#f0f0f0">
|
||||
<div class="text">
|
||||
<h3 class="p1">宝塔币商城</h3>
|
||||
<p><a href="https://www.bt.cn/integral">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro5 fl" style="height:115px;background-color:#f0f0f0">
|
||||
<div class="text">
|
||||
<h3 class="p1">宝塔跑分排行榜</h3>
|
||||
<p><a href="https://www.bt.cn/score">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="news yunwei center" style="margin: 0 20px">
|
||||
<img src="Public/images/ico_yunwei.png">
|
||||
<div class="yunwei-font">
|
||||
<span style="font-size: 21px;">宝塔运维</span>
|
||||
<span style="font-size: 16px;margin-top: 17px;color:#454545;">付费运维已停止接单,论坛可免费求助</span>
|
||||
</div>
|
||||
<a href="https://www.bt.cn/yunwei" style="margin-top: 15px;">点击查看</a>
|
||||
</div>
|
||||
<div class="news yunwei center">
|
||||
<img src="Public/images/ico_other.png" />
|
||||
<div class="yunwei-font">
|
||||
<span style="font-size: 21px;">开发者中心</span>
|
||||
<span style="font-size: 16px;margin-top: 17px;color:red;">诚邀开发者入驻,让创作更有价值</span>
|
||||
</div>
|
||||
<a href="https://www.bt.cn/developer" style="margin-top: 15px;">点击查看</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="linex"></div>
|
||||
<div class="layout">
|
||||
<style type="text/css">
|
||||
.row .news {
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
.news h4 {
|
||||
font-size: 21px;
|
||||
margin-top: 30px;
|
||||
font-weight: normal;
|
||||
font-weight: inherit;
|
||||
}
|
||||
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.news>a,
|
||||
.conterRight>a {
|
||||
width: 100px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
color: #646472;
|
||||
border: 1px solid #CACAD9;
|
||||
border-radius: 4px;
|
||||
margin: 0 auto;
|
||||
margin-top: 30px;
|
||||
background: #fff;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.news>a:hover,
|
||||
.conterRight>a:hover {
|
||||
background-color: #20A53A;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.conterLeft {
|
||||
float: left;
|
||||
position: relative;
|
||||
top: -16px;
|
||||
}
|
||||
|
||||
.conterRight {
|
||||
float: right;
|
||||
width: 180px;
|
||||
}
|
||||
|
||||
.conterTop {
|
||||
height: 50%;
|
||||
overflow: hidden;
|
||||
border-bottom: 1px solid #dedede;
|
||||
}
|
||||
|
||||
.conterTop img {
|
||||
float: left;
|
||||
margin-left: 25px;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.conterTop h4 {
|
||||
float: right;
|
||||
margin-top: 45px;
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
.hz-tit {
|
||||
font-size: 26px;
|
||||
color: #454545;
|
||||
text-align: center;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
.hz-con a {
|
||||
background-color: #fafafa;
|
||||
border: #ddd 1px solid;
|
||||
float: left;
|
||||
width: 219px;
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
text-align: center;
|
||||
margin-bottom: 40px;
|
||||
margin-right: 50px;
|
||||
}
|
||||
|
||||
.hz-con a:hover {
|
||||
box-shadow: 0 0 6px #dedede;
|
||||
}
|
||||
|
||||
.hz-con a img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.yunwei img {
|
||||
width: 70px;
|
||||
margin-top: 22px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.yunwei span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.yaoqing{
|
||||
height:90px;
|
||||
width:1040px;
|
||||
line-height:88px;
|
||||
text-align:center;
|
||||
background-color:#20a53a;
|
||||
margin:20px auto 30px;
|
||||
}
|
||||
.yaoqing p{
|
||||
font-family:"微软雅黑";
|
||||
font-size:25px;
|
||||
color:#fff;
|
||||
display:inline-block;
|
||||
margin-right:30px;
|
||||
}
|
||||
.yaoqing a{
|
||||
display:inline-block;
|
||||
height:36px;
|
||||
width:150px;
|
||||
background-color:#FFFF00;
|
||||
text-align:center;
|
||||
line-height:36px;
|
||||
color:#FF2626;
|
||||
font-size:16px;
|
||||
border-radius:3px;
|
||||
vertical-align:3px;
|
||||
}
|
||||
.yaoqing a:hover{
|
||||
background-color:#FFe000;
|
||||
}
|
||||
</style>
|
||||
<div class="row">
|
||||
<div class="hz-tit">
|
||||
<p>合作伙伴</p>
|
||||
<p><a href="https://www.bt.cn/partner" style="color:#20a53a;font-size:14px" target="_blank">申请IDC定制版合作</a></p>
|
||||
</div>
|
||||
<div class="hz-con">
|
||||
<a href="https://www.zun.com" target="_blank"><img src="/Public/images/p-zun.png" alt="尊云"></a>
|
||||
<a href="https://www.wy.cn" target="_blank"><img src="/Public/images/p-wy.png" alt="唯一网络"></a>
|
||||
<a href="https://www.dns.com" target="_blank"><img src="/Public/images/p-dns.png" alt="DNS"></a>
|
||||
<!--<a href="https://www.ddos.com" target="_blank" style="margin-right:0"><img src="/Public/images/p-ddos.png" alt="DDOS"></a> -->
|
||||
<a href="https://www.trustasia.com/" target="_blank" style="margin-right:0"><img src="/Public/images/p-yz.png" alt="亚洲诚信"></a>
|
||||
<a href="https://www.aliyun.com" target="_blank"><img src="/Public/images/p-aliyun.png" alt="阿里云"></a>
|
||||
<a href="https://www.jcloud.com" target="_blank"><img src="/Public/images/p-jd.png" alt="京东云"></a>
|
||||
<a href="https://www.upyun.com" target="_blank"><img src="/Public/images/p-up.png" alt="又拍云"></a>
|
||||
<a href="https://www.ddos.com" target="_blank" style="margin-right:0"><img src="/Public/images/p-ddos.png" alt="网堤安全"></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row" style="margin-top:20px">
|
||||
<div class="flink">
|
||||
<span style="float:left">友情链接:</span>
|
||||
<p style="display: inline;">
|
||||
<a href="https://www.bt.cn/Download/btsoftlinux.html" target="_blank" title="LAMP" style="margin: 0px 7px 15px; display: inline-block;">LAMP</a>
|
||||
<a href="https://www.bt.cn/Download/btsoftlinux.html" target="_blank" title="LNMP" style="margin: 0px 7px 15px; display: inline-block;">LNMP</a>
|
||||
<a href="http://www.wy.cn" target="_blank" title="唯一网络" style="margin: 0px 7px 15px; display: inline-block;">唯一网络</a>
|
||||
<a href="http://www.ddun.com" target="_blank" title="CC防护 " style="margin: 0px 7px 15px; display: inline-block;">CC防护</a>
|
||||
<a href="http://www.ddos.com" target="_blank" title="ddos防护" style="margin: 0px 7px 15px; display: inline-block;">ddos防护</a>
|
||||
<a href="http://www.dns.com" target="_blank" title="dns解析" style="margin: 0px 7px 15px; display: inline-block;">dns解析</a>
|
||||
<a href="http://www.wcloud.com" target="_blank" title="云主机" style="margin: 0px 7px 15px; display: inline-block;">云主机</a>
|
||||
<a href="http://www.om.cn" target="_blank" title="3dmax模型免费下载,设计模型,3d模型下载" style="margin: 0px 7px 15px; display: inline-block;">3D模型</a>
|
||||
<a href="http://www.yunsuo.com.cn" target="_blank" title="云锁-服务器安全" style="margin: 0px 7px 15px; display: inline-block;">云锁-服务器安全</a>
|
||||
<a href="http://www.xmirror.cn" target="_blank" title="悬镜-服务器安全" style="margin: 0px 7px 15px; display: inline-block;">悬镜-服务器安全</a>
|
||||
<a href="http://kodcloud.com" target="_blank" title="可道私有云" style="margin: 0px 7px 15px; display: inline-block;">可道私有云</a>
|
||||
<a href="http://www.jieqi.com" target="_blank" title="杰奇" style="margin: 0px 7px 15px; display: inline-block;">杰奇</a>
|
||||
<a href="https://www.tipask.com" target="_blank" title="Tipask" style="margin: 0px 7px 15px; display: inline-block;">Tipask</a>
|
||||
<a href="http://www.maccms.com" target="_blank" title="苹果CMS" style="margin: 0px 7px 15px; display: inline-block;">苹果CMS</a>
|
||||
<a href="http://www.zhujiwu.com" target="_blank" title="主机屋" style="margin: 0px 7px 15px; display: inline-block;">主机屋</a>
|
||||
<a href="https://www.mituo.cn" target="_blank" title="米托网站制作" style="margin: 0px 7px 15px; display: inline-block;">建网站</a>
|
||||
<a href="https://www.dscmall.cn" target="_blank" title="大商创b2b2c" style="margin: 0px 7px 15px; display: inline-block;">大商创b2b2c</a>
|
||||
<a href="https://www.59dun.com/" target="_blank" title="高防服务器" style="margin: 0px 7px 15px; display: inline-block;">高防服务器</a>
|
||||
<a href="https://www.huzhan.com" target="_blank" title="互站网" style="margin: 0px 7px 15px; display: inline-block;">互站网</a>
|
||||
<a href="https://www.zhongjie.com" target="_blank" title="中介网" style="margin: 0px 7px 15px; display: inline-block;">中介网</a>
|
||||
<a href="http://www.qy.cn" target="_blank" title="云服务器" style="margin: 0px 7px 15px; display: inline-block;">云服务器</a>
|
||||
<a href="https://www.51.la" target="_blank" title="51la网站统计" style="margin: 0px 7px 15px; display: inline-block;">51la网站统计</a>
|
||||
<a href="http://www.35hw.com/" target="_blank" title="东莞网站建设" style="margin: 0px 7px 15px; display: inline-block;">东莞网站建设</a>
|
||||
<a href="http://www.vpn.cn" target="_blank" title="国内200+城市线路VPN" style="margin: 0px 7px 15px; display: inline-block;">国内200+城市线路VPN</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="btfooter">
|
||||
<div class="footer_nav layout">
|
||||
<div class="nav_groud">
|
||||
<ul class="nav_list ">
|
||||
<li class="item">常用文档</li>
|
||||
<li ><a href="http://docs.bt.cn/424204">宝塔使用手册</a></li>
|
||||
<li ><a href="https://www.bt.cn/btcode.html">Linux面板命令</a></li>
|
||||
<li ><a href="https://www.bt.cn/bbs/thread-20376-1-1.html" target="_blank">API接口文档</a></li>
|
||||
<li><a href="http://www.bt.cn/kyxy.html" target="_blank">宝塔开源协议</a></li>
|
||||
</ul>
|
||||
<ul class="nav_list ">
|
||||
<li class="item">快捷入口</li>
|
||||
<li><a href="https://www.bt.cn/about.html">公司简介</a></li>
|
||||
<li><a href="https://www.bt.cn/about.html#job">加入我们</a></li>
|
||||
<li><a href="https://www.bt.cn/invite">邀请大使</a></li>
|
||||
<li><a href="https://github.com/aaPanel/BaoTa" target="_blank">GitHub</a></li>
|
||||
</ul>
|
||||
<ul class="nav_list ">
|
||||
<li class="item">联系我们</li>
|
||||
<li><span>周一至周六,节假日除外</span></li>
|
||||
<li><span>9:15~12:30,14:00~18:15</span></li>
|
||||
<li><span>客服咨询QQ:<a href="http://q.url.cn/abvgP3?_type=wpa&qidian=true" target="_blank">800176556</a></span></li>
|
||||
<li><span>投诉建议QQ:<a href="tencent://message/?uin=394030111">394030111</a></span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="nav_logo">
|
||||
<img src="/Public/images/bt_logo.png" alt="" title="这是宝塔吉祥物【小河妖】"/>
|
||||
<span>宝塔,让运维简单高效</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyright">
|
||||
<p>Copyright © 2014-2019 <a href="http://www.bt.cn/" title="宝塔面板">宝塔面板</a>|让运维简单高效(www.bt.cn) 东莞市百塔网络科技有限公司 All
|
||||
Rights Reserved</p>
|
||||
<p><a href="http://www.beian.miit.gov.cn" target="_blank" style="margin-right:15px">粤ICP备17030143号</a> <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44190002003211">粤公网安备
|
||||
44190002003211号</a> <span style="margin-left:15px">宝塔论坛正在使用宝塔Linux面板维护管理并由<a href="https://www.zun.com" target="_blank">尊云云服务器</a>提供支持</span></p>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<script type="text/javascript" src="/Public/js/jquery.js"></script>
|
||||
<script type="text/javascript" src="/Public/js/tongji.js"></script><!--统计js-->
|
||||
|
||||
<script type="text/javascript" src="/Public/layer/layer.js"></script>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
var index = {
|
||||
userStatus:'',
|
||||
invite_code:'',
|
||||
init: function () {
|
||||
var _this = this;
|
||||
this.userStatus = localStorage.getItem('userStatus');
|
||||
this.invite_code = this.to_query_params.call(window.location.search);
|
||||
this.invite_code = this.invite_code.invite_code == undefined?'':this.invite_code.invite_code;
|
||||
if(this.invite_code != '') this.set_cookie('invite_code',this.invite_code, 1)
|
||||
if(this.userStatus) this.add_user_agent_detail(function(){});//加入代理
|
||||
//获取礼包信息
|
||||
this.get_package_info(function(res){
|
||||
var info = res.info.mobile;
|
||||
$('.bt_invite_tips').show().find('.tips_username span').html(info);
|
||||
$('.yaoqing').hide();
|
||||
$('.tips_btn span').click(function(){
|
||||
if(_this.userStatus){
|
||||
//领取礼包
|
||||
_this.get_package_byuser(res.data.id,function(res){
|
||||
layer.msg(res.msg,{icon:res.status?1:2});
|
||||
setTimeout(function(){window.location = '/admin/profe'},2000);
|
||||
});
|
||||
}else{
|
||||
window.location = '/login';
|
||||
}
|
||||
});
|
||||
});
|
||||
$('.bttip_colse').click(function () {
|
||||
$('.bttip,.bttip_box').addClass('top');
|
||||
setTimeout(function () {
|
||||
$('.bttip').css('display', 'none');
|
||||
$('.bttip_box').removeClass('top');
|
||||
}, 1000);
|
||||
});
|
||||
$(".downBtn span").click(function () {
|
||||
var i = $(this).index();
|
||||
$(this).addClass("on").siblings().removeClass("on");
|
||||
$(".preview > div").hide().eq(i).show();
|
||||
if (i == 0) {
|
||||
$(".downInfo").html('<p><span class="version">6.9免费版</span>|<span class="update">2019/6/12·每月更新</span>|<a class="download" href="https://github.com/aaPanel/BaoTa" target="_blank" style="margin-right:5px">GitHub</a>|<a class="download" href="http://27.50.161.190:8888/login" target="_blank" style="margin-right:5px">演示</a>|<a class="download" href="/bbs/thread-19376-1-1.html">立即安装</a></p><p style="margin-bottom:7px;display:none"><span class="version">5.5.1测试版</span>|<span class="update">2017/11/22·每周更新</span>|<a class="download" href="/bbs/thread-5195-1-1.html">查看安装</a></p>');
|
||||
$(".softtxt").html("Linux版请确保纯净系统安装(支持CentOS、Ubuntu、Debian、Fedora),Web端管理,QQ群及论坛技术支持<br> 一键创建网站、FTP、数据库、SSL;安全管理,计划任务,文件管理,PHP多版本共存及切换;自带LNMP与LAMP");
|
||||
} else {
|
||||
$(".downInfo").html('<span class="version">6.2免费版</span>|<span class="update">2019/06/12·每月更新</span>|<a class="download" href="http://download.bt.cn/win/panel/BtSoft.zip">立即安装</a>');
|
||||
$(".softtxt").html("Windows版支持2008/2012/2016/2019,64位系统,支持Web端管理,QQ群及论坛技术支持</br>一键创建网站、FTP、数据库;安全管理,文件管理,PHP多版本共存及切换;</br>环境支持:ASP+ASPX+PHP+MYSQL5.5/5.6/5.7+MSSQL05/08/12/14/17+mariaDB+FTP+Apache,<font style='color:red'>目前暂不支持Nginx,正在开发中</font>");
|
||||
}
|
||||
});
|
||||
},
|
||||
// 设置cookie
|
||||
set_cookie: function (name, value, time) {
|
||||
if (time == undefined) time = 30;
|
||||
var exp = new Date();
|
||||
exp.setTime(exp.getTime() + time * 24 * 60 * 60 * 1000);
|
||||
document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString();
|
||||
},
|
||||
//读取cookies
|
||||
getCookie:function(name){
|
||||
var arr,reg=new RegExp("(^| )"+name+"=([^;]*)(;|$)");
|
||||
if(arr=document.cookie.match(reg)){
|
||||
return unescape(arr[2]);
|
||||
}else{
|
||||
return null;
|
||||
}
|
||||
},
|
||||
get_package_info:function(callback){
|
||||
if(this.invite_code == '') return false;
|
||||
$.post('/api/Btparter/get_bt_packages',{userCode:this.invite_code},function(res){
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
get_package_byuser:function(id,callback){
|
||||
$.post('/api/Btparter/get_package_byuser',{package_id:id},function(res){
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
// 登录设置邀请用户
|
||||
add_user_agent_detail:function (callback){
|
||||
var invite_code = this.getCookie('invite_code');
|
||||
if(invite_code == '') callback();
|
||||
$.post('/api/Btparter/add_user_agent_detail', {
|
||||
userCode:invite_code,
|
||||
}, function (res) {
|
||||
console.log(invite_code)
|
||||
console.log(res);
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
// 序列化
|
||||
to_query_params: function () {
|
||||
var search = this.replace(/^\s+/, '').replace(/\s+$/, '').match(/([^?#]*)(#.*)?$/); //提取location.search中'?'后面的部分
|
||||
if (!search) return {}
|
||||
var searchStr = search[1];
|
||||
var searchHash = searchStr.split('&');
|
||||
var ret = {};
|
||||
for (var i = 0, len = searchHash.length; i < len; i++) { //这里可以调用each方法
|
||||
var pair = searchHash[i];
|
||||
if ((pair = pair.split('='))[0]) {
|
||||
var key = decodeURIComponent(pair.shift());
|
||||
var value = pair.length > 1 ? pair.join('=') : pair[0];
|
||||
if (value != undefined) {
|
||||
value = decodeURIComponent(value);
|
||||
}
|
||||
if (key in ret) {
|
||||
if (ret[key].constructor != Array) {
|
||||
ret[key] = [ret[key]];
|
||||
}
|
||||
ret[key].push(value);
|
||||
} else {
|
||||
ret[key] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
index.init();
|
||||
console.log(index);
|
||||
})
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -1,562 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="applicable-device" content="pc">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="referrer" content="always">
|
||||
<meta name="description" content="宝塔,让运维简单高效。面板支持Linux与Windows系统。一键配置:LAMP/LNMP、网站、数据库、FTP、SSL,通过Web端轻松管理服务器。">
|
||||
<meta name="keywords" content="LAMP/LNMP一键安装包,运维,服务器运维,免费主机管理系统,linux面板,windows面板">
|
||||
<title>宝塔面板 - 简单好用的Linux/Windows服务器运维管理面板</title>
|
||||
<link href="https://www.bt.cn/favicon.ico" rel="shortcut icon" type="image/x-icon" />
|
||||
<link href="https://www.bt.cn/" rel="canonical">
|
||||
<link href="/Public/css/bt/reset.css" rel="stylesheet" type="text/css">
|
||||
<link href="/Public/css/bt/common.css?4.0149" rel="stylesheet" type="text/css">
|
||||
<link href="/Public/css/bt/login.css?2.1" rel="stylesheet" type="text/css">
|
||||
|
||||
<link href="/Public/css/bt/css.css?1.91" rel="stylesheet" type="text/css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="main">
|
||||
|
||||
<div class="head" style="background-color:rgba(0,0,0,0.80);">
|
||||
<div class="layout">
|
||||
<div class="logo fl"><a href="/"><img src="/Public/images/logo.png" alt="宝塔面板"></a></div>
|
||||
<div class="menu fl">
|
||||
<ul>
|
||||
<li><a class="active" href="/" >首页</a></li>
|
||||
<li><a href="/download/linuxpro.html" >Linux专业版</a></li>
|
||||
<li><a href="/download/linux.html" >Linux免费版</a></li>
|
||||
<li><a href="/download/windows.html" >Windows免费版</a></li>
|
||||
<li><a href="/partner" >IDC推荐</a></li>
|
||||
<li><a href="/invite" >邀请大使</a></li>
|
||||
<li><a href="/bbs/portal.php" target="_blank" >论坛</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="login fr">
|
||||
<div class="loginr">
|
||||
<div class="pull-right m-t-sm">
|
||||
<a href="/login.html" id="login" class="mip-btn mip-btn-primary">登录</a>
|
||||
<a href="/register.html" id="register" class="mip-btn mip-btn-default m-l ">注册</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- <div class="chunlian_box">
|
||||
<div class="chunlian">
|
||||
</div>
|
||||
<div class="dl_r">
|
||||
<div class="dl_l">
|
||||
<div class="top_pendant"></div>
|
||||
<div class="top"></div>
|
||||
<div class="con" style="height: 0px;"></div>
|
||||
<div class="bottom"></div>
|
||||
<div class="bottom_pendant"></div>
|
||||
<div class="top_pendant"></div>
|
||||
<div class="top"></div>
|
||||
<div class="con" style="height: 0px;"></div>
|
||||
<div class="bottom"></div>
|
||||
<div class="bottom_pendant"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<style>
|
||||
.bt_invite_tips{
|
||||
height:220px;
|
||||
background: #20a53a;
|
||||
display: none;
|
||||
}
|
||||
.bt_invite_tips .tips_username{
|
||||
padding-top: 50px;
|
||||
}
|
||||
.bt_invite_tips .tips_username,
|
||||
.bt_invite_tips .tips_package,
|
||||
.bt_invite_tips .tips_btn{
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.bt_invite_tips .tips_username{
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.bt_invite_tips .tips_package{
|
||||
font-size: 16px;
|
||||
}
|
||||
.bt_invite_tips .tips_package span{
|
||||
font-size: 26px;
|
||||
margin: 0 2px;
|
||||
color:#ff0;
|
||||
font-weight: 600px;
|
||||
}
|
||||
.bt_invite_tips .tips_btn span{
|
||||
display: inline-block;
|
||||
width: 180px;
|
||||
color: red;
|
||||
padding: 10px;
|
||||
font-size: 15px;
|
||||
background: #ff0;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.tips_btn span{
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
<div class="bt_invite_tips" style="height:220px;background: #20a53a;">
|
||||
<div class="tips_username">宝塔邀请大使<span></span>赠送您</div>
|
||||
<div class="tips_package">¥<span>3188</span>元礼包</div>
|
||||
<div class="tips_btn"><span>立即领取</span></div>
|
||||
</div>
|
||||
<div class="bttip_box">
|
||||
<div class="layout">
|
||||
<div class="banner">
|
||||
<h3 class="title" style="width:570px"><font style="letter-spacing:2px">简单好用的服务器运维面板</font><span style="border: 1px solid red;right:-15px">永久免费</span></h3>
|
||||
<div class="downBtn">
|
||||
<span class="on">Linux 版</span>
|
||||
<span>Windows 版</span>
|
||||
</div>
|
||||
<div class="downInfo">
|
||||
<p><span class="version">6.9免费版</span>|<span class="update">2019/6/12·每月更新</span>|<a class="download" href="https://github.com/aaPanel/BaoTa"
|
||||
target="_blank" style="margin-right:5px">GitHub</a>|<a class="download" href="http://27.50.161.190:8888/login"
|
||||
target="_blank" style="margin-right:5px">演示</a>|<a class="download" href="/bbs/thread-19376-1-1.html">立即安装</a></p>
|
||||
<p style="margin-bottom:7px;display:none"><span class="version">5.5.1测试版</span>|<span class="update">2017/11/22·每周更新</span>|<a
|
||||
class="download" href="http://27.50.161.190:8888/login" target="_blank" style="margin-right:5px">查看演示</a>|<a class="download"
|
||||
href="/bbs/thread-5195-1-1.html">查看安装</a></p>
|
||||
</div>
|
||||
<div class="softtxt">
|
||||
Linux版请确保纯净系统安装(支持CentOS、Ubuntu、Debian、Fedora、deepin),Web端管理,QQ群及论坛技术支持<br>一键创建网站、FTP、数据库、SSL;安全管理,计划任务,文件管理,PHP多版本共存及切换;自带LNMP与LAMP
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="preview">
|
||||
<div class="linux"><img src="/Public/images/linux_pc_free.png"></div>
|
||||
<div class="windows" style="display:none"><img src="/Public/images/windows_web.png">
|
||||
<!-- <div class="WSoft-min"><img src="/Public/images/windows-soft.png" width="100%"></div> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="linex"></div>
|
||||
<div class="yaoqing"><p>免费加入宝塔邀请大使,帮助他人同时还能赚钱</p><a href="https://www.bt.cn/invite" target="_blank">立即免费加入</a></div>
|
||||
<div class="layout" style="padding-bottom: 30px;">
|
||||
<div class="zunad" onclick="javascript:window.open('http://www.zun.com/alllist.html','_blank')">
|
||||
尊云,价格厚道的云服务器,<span>6核10G,99元</span>
|
||||
</div>
|
||||
<div class="zunad" onclick="javascript:window.open('http://www.zun.com/tiyan.html','_blank')" style="display:none">
|
||||
尊云9元福利云,预装宝塔面板,<span>9元</span>最高能用<span style='margin-left:5px'>45天</span>,宝塔极力推荐!
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="box pro1 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1" onclick="javascript:window.location.href='/Download/btmstsc.html'">远程桌面连接工具</h3>
|
||||
<p><a href="/update/net/Bt_Mstsc.exe">下载</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro2 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1" onclick="javascript:window.location.href='/btcode.html'">Linux面板命令大全</h3>
|
||||
<p><a href="https://www.bt.cn/btcode.html">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro3 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1">IDC推荐</h3>
|
||||
<p><a href="https://www.bt.cn/partner">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div style="float:left;width:333px">
|
||||
<div class="box pro4 fl" style="height:115px;margin-bottom:20px;background-color:#f0f0f0">
|
||||
<div class="text">
|
||||
<h3 class="p1">宝塔币商城</h3>
|
||||
<p><a href="https://www.bt.cn/integral">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro5 fl" style="height:115px;background-color:#f0f0f0">
|
||||
<div class="text">
|
||||
<h3 class="p1">宝塔跑分排行榜</h3>
|
||||
<p><a href="https://www.bt.cn/score">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="news yunwei center" style="margin: 0 20px">
|
||||
<img src="Public/images/ico_yunwei.png">
|
||||
<div class="yunwei-font">
|
||||
<span style="font-size: 21px;">宝塔运维</span>
|
||||
<span style="font-size: 16px;margin-top: 17px;color:#454545;">付费运维已停止接单,论坛可免费求助</span>
|
||||
</div>
|
||||
<a href="https://www.bt.cn/yunwei" style="margin-top: 15px;">点击查看</a>
|
||||
</div>
|
||||
<div class="news yunwei center">
|
||||
<img src="Public/images/ico_other.png" />
|
||||
<div class="yunwei-font">
|
||||
<span style="font-size: 21px;">开发者中心</span>
|
||||
<span style="font-size: 16px;margin-top: 17px;color:red;">诚邀开发者入驻,让创作更有价值</span>
|
||||
</div>
|
||||
<a href="https://www.bt.cn/developer" style="margin-top: 15px;">点击查看</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="linex"></div>
|
||||
<div class="layout">
|
||||
<style type="text/css">
|
||||
.row .news {
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
.news h4 {
|
||||
font-size: 21px;
|
||||
margin-top: 30px;
|
||||
font-weight: normal;
|
||||
font-weight: inherit;
|
||||
}
|
||||
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.news>a,
|
||||
.conterRight>a {
|
||||
width: 100px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
color: #646472;
|
||||
border: 1px solid #CACAD9;
|
||||
border-radius: 4px;
|
||||
margin: 0 auto;
|
||||
margin-top: 30px;
|
||||
background: #fff;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.news>a:hover,
|
||||
.conterRight>a:hover {
|
||||
background-color: #20A53A;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.conterLeft {
|
||||
float: left;
|
||||
position: relative;
|
||||
top: -16px;
|
||||
}
|
||||
|
||||
.conterRight {
|
||||
float: right;
|
||||
width: 180px;
|
||||
}
|
||||
|
||||
.conterTop {
|
||||
height: 50%;
|
||||
overflow: hidden;
|
||||
border-bottom: 1px solid #dedede;
|
||||
}
|
||||
|
||||
.conterTop img {
|
||||
float: left;
|
||||
margin-left: 25px;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.conterTop h4 {
|
||||
float: right;
|
||||
margin-top: 45px;
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
.hz-tit {
|
||||
font-size: 26px;
|
||||
color: #454545;
|
||||
text-align: center;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
.hz-con a {
|
||||
background-color: #fafafa;
|
||||
border: #ddd 1px solid;
|
||||
float: left;
|
||||
width: 219px;
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
text-align: center;
|
||||
margin-bottom: 40px;
|
||||
margin-right: 50px;
|
||||
}
|
||||
|
||||
.hz-con a:hover {
|
||||
box-shadow: 0 0 6px #dedede;
|
||||
}
|
||||
|
||||
.hz-con a img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.yunwei img {
|
||||
width: 70px;
|
||||
margin-top: 22px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.yunwei span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.yaoqing{
|
||||
height:90px;
|
||||
width:1040px;
|
||||
line-height:88px;
|
||||
text-align:center;
|
||||
background-color:#20a53a;
|
||||
margin:20px auto 30px;
|
||||
}
|
||||
.yaoqing p{
|
||||
font-family:"微软雅黑";
|
||||
font-size:25px;
|
||||
color:#fff;
|
||||
display:inline-block;
|
||||
margin-right:30px;
|
||||
}
|
||||
.yaoqing a{
|
||||
display:inline-block;
|
||||
height:36px;
|
||||
width:150px;
|
||||
background-color:#FFFF00;
|
||||
text-align:center;
|
||||
line-height:36px;
|
||||
color:#FF2626;
|
||||
font-size:16px;
|
||||
border-radius:3px;
|
||||
vertical-align:3px;
|
||||
}
|
||||
.yaoqing a:hover{
|
||||
background-color:#FFe000;
|
||||
}
|
||||
</style>
|
||||
<div class="row">
|
||||
<div class="hz-tit">
|
||||
<p>合作伙伴</p>
|
||||
<p><a href="https://www.bt.cn/partner" style="color:#20a53a;font-size:14px" target="_blank">申请IDC定制版合作</a></p>
|
||||
</div>
|
||||
<div class="hz-con">
|
||||
<a href="https://www.zun.com" target="_blank"><img src="/Public/images/p-zun.png" alt="尊云"></a>
|
||||
<a href="https://www.wy.cn" target="_blank"><img src="/Public/images/p-wy.png" alt="唯一网络"></a>
|
||||
<a href="https://www.dns.com" target="_blank"><img src="/Public/images/p-dns.png" alt="DNS"></a>
|
||||
<!--<a href="https://www.ddos.com" target="_blank" style="margin-right:0"><img src="/Public/images/p-ddos.png" alt="DDOS"></a> -->
|
||||
<a href="https://www.trustasia.com/" target="_blank" style="margin-right:0"><img src="/Public/images/p-yz.png" alt="亚洲诚信"></a>
|
||||
<a href="https://www.aliyun.com" target="_blank"><img src="/Public/images/p-aliyun.png" alt="阿里云"></a>
|
||||
<a href="https://www.jcloud.com" target="_blank"><img src="/Public/images/p-jd.png" alt="京东云"></a>
|
||||
<a href="https://www.upyun.com" target="_blank"><img src="/Public/images/p-up.png" alt="又拍云"></a>
|
||||
<a href="https://www.ddos.com" target="_blank" style="margin-right:0"><img src="/Public/images/p-ddos.png" alt="网堤安全"></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row" style="margin-top:20px">
|
||||
<div class="flink">
|
||||
<span style="float:left">友情链接:</span>
|
||||
<p style="display: inline;">
|
||||
<a href="https://www.bt.cn/Download/btsoftlinux.html" target="_blank" title="LAMP" style="margin: 0px 7px 15px; display: inline-block;">LAMP</a>
|
||||
<a href="https://www.bt.cn/Download/btsoftlinux.html" target="_blank" title="LNMP" style="margin: 0px 7px 15px; display: inline-block;">LNMP</a>
|
||||
<a href="http://www.wy.cn" target="_blank" title="唯一网络" style="margin: 0px 7px 15px; display: inline-block;">唯一网络</a>
|
||||
<a href="http://www.ddun.com" target="_blank" title="CC防护 " style="margin: 0px 7px 15px; display: inline-block;">CC防护</a>
|
||||
<a href="http://www.ddos.com" target="_blank" title="ddos防护" style="margin: 0px 7px 15px; display: inline-block;">ddos防护</a>
|
||||
<a href="http://www.dns.com" target="_blank" title="dns解析" style="margin: 0px 7px 15px; display: inline-block;">dns解析</a>
|
||||
<a href="http://www.wcloud.com" target="_blank" title="云主机" style="margin: 0px 7px 15px; display: inline-block;">云主机</a>
|
||||
<a href="http://www.om.cn" target="_blank" title="3dmax模型免费下载,设计模型,3d模型下载" style="margin: 0px 7px 15px; display: inline-block;">3D模型</a>
|
||||
<a href="http://www.yunsuo.com.cn" target="_blank" title="云锁-服务器安全" style="margin: 0px 7px 15px; display: inline-block;">云锁-服务器安全</a>
|
||||
<a href="http://www.xmirror.cn" target="_blank" title="悬镜-服务器安全" style="margin: 0px 7px 15px; display: inline-block;">悬镜-服务器安全</a>
|
||||
<a href="http://kodcloud.com" target="_blank" title="可道私有云" style="margin: 0px 7px 15px; display: inline-block;">可道私有云</a>
|
||||
<a href="http://www.jieqi.com" target="_blank" title="杰奇" style="margin: 0px 7px 15px; display: inline-block;">杰奇</a>
|
||||
<a href="https://www.tipask.com" target="_blank" title="Tipask" style="margin: 0px 7px 15px; display: inline-block;">Tipask</a>
|
||||
<a href="http://www.maccms.com" target="_blank" title="苹果CMS" style="margin: 0px 7px 15px; display: inline-block;">苹果CMS</a>
|
||||
<a href="http://www.zhujiwu.com" target="_blank" title="主机屋" style="margin: 0px 7px 15px; display: inline-block;">主机屋</a>
|
||||
<a href="https://www.mituo.cn" target="_blank" title="米托网站制作" style="margin: 0px 7px 15px; display: inline-block;">建网站</a>
|
||||
<a href="https://www.dscmall.cn" target="_blank" title="大商创b2b2c" style="margin: 0px 7px 15px; display: inline-block;">大商创b2b2c</a>
|
||||
<a href="https://www.59dun.com/" target="_blank" title="高防服务器" style="margin: 0px 7px 15px; display: inline-block;">高防服务器</a>
|
||||
<a href="https://www.huzhan.com" target="_blank" title="互站网" style="margin: 0px 7px 15px; display: inline-block;">互站网</a>
|
||||
<a href="https://www.zhongjie.com" target="_blank" title="中介网" style="margin: 0px 7px 15px; display: inline-block;">中介网</a>
|
||||
<a href="http://www.qy.cn" target="_blank" title="云服务器" style="margin: 0px 7px 15px; display: inline-block;">云服务器</a>
|
||||
<a href="https://www.51.la" target="_blank" title="51la网站统计" style="margin: 0px 7px 15px; display: inline-block;">51la网站统计</a>
|
||||
<a href="http://www.35hw.com/" target="_blank" title="东莞网站建设" style="margin: 0px 7px 15px; display: inline-block;">东莞网站建设</a>
|
||||
<a href="http://www.vpn.cn" target="_blank" title="国内200+城市线路VPN" style="margin: 0px 7px 15px; display: inline-block;">国内200+城市线路VPN</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="btfooter">
|
||||
<div class="footer_nav layout">
|
||||
<div class="nav_groud">
|
||||
<ul class="nav_list ">
|
||||
<li class="item">常用文档</li>
|
||||
<li ><a href="http://docs.bt.cn/424204">宝塔使用手册</a></li>
|
||||
<li ><a href="https://www.bt.cn/btcode.html">Linux面板命令</a></li>
|
||||
<li ><a href="https://www.bt.cn/bbs/thread-20376-1-1.html" target="_blank">API接口文档</a></li>
|
||||
<li><a href="http://www.bt.cn/kyxy.html" target="_blank">宝塔开源协议</a></li>
|
||||
</ul>
|
||||
<ul class="nav_list ">
|
||||
<li class="item">快捷入口</li>
|
||||
<li><a href="https://www.bt.cn/about.html">公司简介</a></li>
|
||||
<li><a href="https://www.bt.cn/about.html#job">加入我们</a></li>
|
||||
<li><a href="https://www.bt.cn/invite">邀请大使</a></li>
|
||||
<li><a href="https://github.com/aaPanel/BaoTa" target="_blank">GitHub</a></li>
|
||||
</ul>
|
||||
<ul class="nav_list ">
|
||||
<li class="item">联系我们</li>
|
||||
<li><span>周一至周六,节假日除外</span></li>
|
||||
<li><span>9:15~12:30,14:00~18:15</span></li>
|
||||
<li><span>客服咨询QQ:<a href="http://q.url.cn/abvgP3?_type=wpa&qidian=true" target="_blank">800176556</a></span></li>
|
||||
<li><span>投诉建议QQ:<a href="tencent://message/?uin=394030111">394030111</a></span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="nav_logo">
|
||||
<img src="/Public/images/bt_logo.png" alt="" title="这是宝塔吉祥物【小河妖】"/>
|
||||
<span>宝塔,让运维简单高效</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyright">
|
||||
<p>Copyright © 2014-2019 <a href="http://www.bt.cn/" title="宝塔面板">宝塔面板</a>|让运维简单高效(www.bt.cn) 东莞市百塔网络科技有限公司 All
|
||||
Rights Reserved</p>
|
||||
<p><a href="http://www.beian.miit.gov.cn" target="_blank" style="margin-right:15px">粤ICP备17030143号</a> <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44190002003211">粤公网安备
|
||||
44190002003211号</a> <span style="margin-left:15px">宝塔论坛正在使用宝塔Linux面板维护管理并由<a href="https://www.zun.com" target="_blank">尊云云服务器</a>提供支持</span></p>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<script type="text/javascript" src="/Public/js/jquery.js"></script>
|
||||
<script type="text/javascript" src="/Public/js/tongji.js"></script><!--统计js-->
|
||||
|
||||
<script type="text/javascript" src="/Public/layer/layer.js"></script>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
var index = {
|
||||
userStatus:'',
|
||||
invite_code:'',
|
||||
init: function () {
|
||||
var _this = this;
|
||||
this.userStatus = localStorage.getItem('userStatus');
|
||||
this.invite_code = this.to_query_params.call(window.location.search);
|
||||
this.invite_code = this.invite_code.invite_code == undefined?'':this.invite_code.invite_code;
|
||||
if(this.invite_code != '') this.set_cookie('invite_code',this.invite_code, 1)
|
||||
if(this.userStatus) this.add_user_agent_detail(function(){});//加入代理
|
||||
//获取礼包信息
|
||||
this.get_package_info(function(res){
|
||||
var info = res.info.mobile;
|
||||
$('.bt_invite_tips').show().find('.tips_username span').html(info);
|
||||
$('.yaoqing').hide();
|
||||
$('.tips_btn span').click(function(){
|
||||
if(_this.userStatus){
|
||||
//领取礼包
|
||||
_this.get_package_byuser(res.data.id,function(res){
|
||||
layer.msg(res.msg,{icon:res.status?1:2});
|
||||
setTimeout(function(){window.location = '/admin/profe'},2000);
|
||||
});
|
||||
}else{
|
||||
window.location = '/login';
|
||||
}
|
||||
});
|
||||
});
|
||||
$('.bttip_colse').click(function () {
|
||||
$('.bttip,.bttip_box').addClass('top');
|
||||
setTimeout(function () {
|
||||
$('.bttip').css('display', 'none');
|
||||
$('.bttip_box').removeClass('top');
|
||||
}, 1000);
|
||||
});
|
||||
$(".downBtn span").click(function () {
|
||||
var i = $(this).index();
|
||||
$(this).addClass("on").siblings().removeClass("on");
|
||||
$(".preview > div").hide().eq(i).show();
|
||||
if (i == 0) {
|
||||
$(".downInfo").html('<p><span class="version">6.9免费版</span>|<span class="update">2019/6/12·每月更新</span>|<a class="download" href="https://github.com/aaPanel/BaoTa" target="_blank" style="margin-right:5px">GitHub</a>|<a class="download" href="http://27.50.161.190:8888/login" target="_blank" style="margin-right:5px">演示</a>|<a class="download" href="/bbs/thread-19376-1-1.html">立即安装</a></p><p style="margin-bottom:7px;display:none"><span class="version">5.5.1测试版</span>|<span class="update">2017/11/22·每周更新</span>|<a class="download" href="/bbs/thread-5195-1-1.html">查看安装</a></p>');
|
||||
$(".softtxt").html("Linux版请确保纯净系统安装(支持CentOS、Ubuntu、Debian、Fedora),Web端管理,QQ群及论坛技术支持<br> 一键创建网站、FTP、数据库、SSL;安全管理,计划任务,文件管理,PHP多版本共存及切换;自带LNMP与LAMP");
|
||||
} else {
|
||||
$(".downInfo").html('<span class="version">6.2免费版</span>|<span class="update">2019/06/12·每月更新</span>|<a class="download" href="http://download.bt.cn/win/panel/BtSoft.zip">立即安装</a>');
|
||||
$(".softtxt").html("Windows版支持2008/2012/2016/2019,64位系统,支持Web端管理,QQ群及论坛技术支持</br>一键创建网站、FTP、数据库;安全管理,文件管理,PHP多版本共存及切换;</br>环境支持:ASP+ASPX+PHP+MYSQL5.5/5.6/5.7+MSSQL05/08/12/14/17+mariaDB+FTP+Apache,<font style='color:red'>目前暂不支持Nginx,正在开发中</font>");
|
||||
}
|
||||
});
|
||||
},
|
||||
// 设置cookie
|
||||
set_cookie: function (name, value, time) {
|
||||
if (time == undefined) time = 30;
|
||||
var exp = new Date();
|
||||
exp.setTime(exp.getTime() + time * 24 * 60 * 60 * 1000);
|
||||
document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString();
|
||||
},
|
||||
//读取cookies
|
||||
getCookie:function(name){
|
||||
var arr,reg=new RegExp("(^| )"+name+"=([^;]*)(;|$)");
|
||||
if(arr=document.cookie.match(reg)){
|
||||
return unescape(arr[2]);
|
||||
}else{
|
||||
return null;
|
||||
}
|
||||
},
|
||||
get_package_info:function(callback){
|
||||
if(this.invite_code == '') return false;
|
||||
$.post('/api/Btparter/get_bt_packages',{userCode:this.invite_code},function(res){
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
get_package_byuser:function(id,callback){
|
||||
$.post('/api/Btparter/get_package_byuser',{package_id:id},function(res){
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
// 登录设置邀请用户
|
||||
add_user_agent_detail:function (callback){
|
||||
var invite_code = this.getCookie('invite_code');
|
||||
if(invite_code == '') callback();
|
||||
$.post('/api/Btparter/add_user_agent_detail', {
|
||||
userCode:invite_code,
|
||||
}, function (res) {
|
||||
console.log(invite_code)
|
||||
console.log(res);
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
// 序列化
|
||||
to_query_params: function () {
|
||||
var search = this.replace(/^\s+/, '').replace(/\s+$/, '').match(/([^?#]*)(#.*)?$/); //提取location.search中'?'后面的部分
|
||||
if (!search) return {}
|
||||
var searchStr = search[1];
|
||||
var searchHash = searchStr.split('&');
|
||||
var ret = {};
|
||||
for (var i = 0, len = searchHash.length; i < len; i++) { //这里可以调用each方法
|
||||
var pair = searchHash[i];
|
||||
if ((pair = pair.split('='))[0]) {
|
||||
var key = decodeURIComponent(pair.shift());
|
||||
var value = pair.length > 1 ? pair.join('=') : pair[0];
|
||||
if (value != undefined) {
|
||||
value = decodeURIComponent(value);
|
||||
}
|
||||
if (key in ret) {
|
||||
if (ret[key].constructor != Array) {
|
||||
ret[key] = [ret[key]];
|
||||
}
|
||||
ret[key].push(value);
|
||||
} else {
|
||||
ret[key] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
index.init();
|
||||
console.log(index);
|
||||
})
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
Before Width: | Height: | Size: 1.2 KiB |
@@ -1,562 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="applicable-device" content="pc">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="referrer" content="always">
|
||||
<meta name="description" content="宝塔,让运维简单高效。面板支持Linux与Windows系统。一键配置:LAMP/LNMP、网站、数据库、FTP、SSL,通过Web端轻松管理服务器。">
|
||||
<meta name="keywords" content="LAMP/LNMP一键安装包,运维,服务器运维,免费主机管理系统,linux面板,windows面板">
|
||||
<title>宝塔面板 - 简单好用的Linux/Windows服务器运维管理面板</title>
|
||||
<link href="http://www.bt.cn/favicon.ico" rel="shortcut icon" type="image/x-icon" />
|
||||
<link href="http://www.bt.cn/" rel="canonical">
|
||||
<link href="/Public/css/bt/reset.css" rel="stylesheet" type="text/css">
|
||||
<link href="/Public/css/bt/common.css?4.0149" rel="stylesheet" type="text/css">
|
||||
<link href="/Public/css/bt/login.css?2.1" rel="stylesheet" type="text/css">
|
||||
|
||||
<link href="/Public/css/bt/css.css?1.91" rel="stylesheet" type="text/css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="main">
|
||||
|
||||
<div class="head" style="background-color:rgba(0,0,0,0.80);">
|
||||
<div class="layout">
|
||||
<div class="logo fl"><a href="/"><img src="/Public/images/logo.png" alt="宝塔面板"></a></div>
|
||||
<div class="menu fl">
|
||||
<ul>
|
||||
<li><a class="active" href="/" >首页</a></li>
|
||||
<li><a href="/download/linuxpro.html" >Linux专业版</a></li>
|
||||
<li><a href="/download/linux.html" >Linux免费版</a></li>
|
||||
<li><a href="/download/windows.html" >Windows免费版</a></li>
|
||||
<li><a href="/partner" >IDC推荐</a></li>
|
||||
<li><a href="/invite" >邀请大使</a></li>
|
||||
<li><a href="/bbs/portal.php" target="_blank" >论坛</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="login fr">
|
||||
<div class="loginr">
|
||||
<div class="pull-right m-t-sm">
|
||||
<a href="/login.html" id="login" class="mip-btn mip-btn-primary">登录</a>
|
||||
<a href="/register.html" id="register" class="mip-btn mip-btn-default m-l ">注册</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- <div class="chunlian_box">
|
||||
<div class="chunlian">
|
||||
</div>
|
||||
<div class="dl_r">
|
||||
<div class="dl_l">
|
||||
<div class="top_pendant"></div>
|
||||
<div class="top"></div>
|
||||
<div class="con" style="height: 0px;"></div>
|
||||
<div class="bottom"></div>
|
||||
<div class="bottom_pendant"></div>
|
||||
<div class="top_pendant"></div>
|
||||
<div class="top"></div>
|
||||
<div class="con" style="height: 0px;"></div>
|
||||
<div class="bottom"></div>
|
||||
<div class="bottom_pendant"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<style>
|
||||
.bt_invite_tips{
|
||||
height:220px;
|
||||
background: #20a53a;
|
||||
display: none;
|
||||
}
|
||||
.bt_invite_tips .tips_username{
|
||||
padding-top: 50px;
|
||||
}
|
||||
.bt_invite_tips .tips_username,
|
||||
.bt_invite_tips .tips_package,
|
||||
.bt_invite_tips .tips_btn{
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.bt_invite_tips .tips_username{
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.bt_invite_tips .tips_package{
|
||||
font-size: 16px;
|
||||
}
|
||||
.bt_invite_tips .tips_package span{
|
||||
font-size: 26px;
|
||||
margin: 0 2px;
|
||||
color:#ff0;
|
||||
font-weight: 600px;
|
||||
}
|
||||
.bt_invite_tips .tips_btn span{
|
||||
display: inline-block;
|
||||
width: 180px;
|
||||
color: red;
|
||||
padding: 10px;
|
||||
font-size: 15px;
|
||||
background: #ff0;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.tips_btn span{
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
<div class="bt_invite_tips" style="height:220px;background: #20a53a;">
|
||||
<div class="tips_username">宝塔邀请大使<span></span>赠送您</div>
|
||||
<div class="tips_package">¥<span>3188</span>元礼包</div>
|
||||
<div class="tips_btn"><span>立即领取</span></div>
|
||||
</div>
|
||||
<div class="bttip_box">
|
||||
<div class="layout">
|
||||
<div class="banner">
|
||||
<h3 class="title" style="width:570px"><font style="letter-spacing:2px">简单好用的服务器运维面板</font><span style="border: 1px solid red;right:-15px">永久免费</span></h3>
|
||||
<div class="downBtn">
|
||||
<span class="on">Linux 版</span>
|
||||
<span>Windows 版</span>
|
||||
</div>
|
||||
<div class="downInfo">
|
||||
<p><span class="version">6.9免费版</span>|<span class="update">2019/6/12·每月更新</span>|<a class="download" href="https://github.com/aaPanel/BaoTa"
|
||||
target="_blank" style="margin-right:5px">GitHub</a>|<a class="download" href="http://27.50.161.190:8888/login"
|
||||
target="_blank" style="margin-right:5px">演示</a>|<a class="download" href="/bbs/thread-19376-1-1.html">立即安装</a></p>
|
||||
<p style="margin-bottom:7px;display:none"><span class="version">5.5.1测试版</span>|<span class="update">2017/11/22·每周更新</span>|<a
|
||||
class="download" href="http://27.50.161.190:8888/login" target="_blank" style="margin-right:5px">查看演示</a>|<a class="download"
|
||||
href="/bbs/thread-5195-1-1.html">查看安装</a></p>
|
||||
</div>
|
||||
<div class="softtxt">
|
||||
Linux版请确保纯净系统安装(支持CentOS、Ubuntu、Debian、Fedora、deepin),Web端管理,QQ群及论坛技术支持<br>一键创建网站、FTP、数据库、SSL;安全管理,计划任务,文件管理,PHP多版本共存及切换;自带LNMP与LAMP
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="preview">
|
||||
<div class="linux"><img src="/Public/images/linux_pc_free.png"></div>
|
||||
<div class="windows" style="display:none"><img src="/Public/images/windows_web.png">
|
||||
<!-- <div class="WSoft-min"><img src="/Public/images/windows-soft.png" width="100%"></div> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="linex"></div>
|
||||
<div class="yaoqing"><p>免费加入宝塔邀请大使,帮助他人同时还能赚钱</p><a href="https://www.bt.cn/invite" target="_blank">立即免费加入</a></div>
|
||||
<div class="layout" style="padding-bottom: 30px;">
|
||||
<div class="zunad" onclick="javascript:window.open('http://www.zun.com/alllist.html','_blank')">
|
||||
尊云,价格厚道的云服务器,<span>6核10G,99元</span>
|
||||
</div>
|
||||
<div class="zunad" onclick="javascript:window.open('http://www.zun.com/tiyan.html','_blank')" style="display:none">
|
||||
尊云9元福利云,预装宝塔面板,<span>9元</span>最高能用<span style='margin-left:5px'>45天</span>,宝塔极力推荐!
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="box pro1 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1" onclick="javascript:window.location.href='/Download/btmstsc.html'">远程桌面连接工具</h3>
|
||||
<p><a href="/update/net/Bt_Mstsc.exe">下载</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro2 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1" onclick="javascript:window.location.href='/btcode.html'">Linux面板命令大全</h3>
|
||||
<p><a href="https://www.bt.cn/btcode.html">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro3 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1">IDC推荐</h3>
|
||||
<p><a href="https://www.bt.cn/partner">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div style="float:left;width:333px">
|
||||
<div class="box pro4 fl" style="height:115px;margin-bottom:20px;background-color:#f0f0f0">
|
||||
<div class="text">
|
||||
<h3 class="p1">宝塔币商城</h3>
|
||||
<p><a href="https://www.bt.cn/integral">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro5 fl" style="height:115px;background-color:#f0f0f0">
|
||||
<div class="text">
|
||||
<h3 class="p1">宝塔跑分排行榜</h3>
|
||||
<p><a href="https://www.bt.cn/score">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="news yunwei center" style="margin: 0 20px">
|
||||
<img src="Public/images/ico_yunwei.png">
|
||||
<div class="yunwei-font">
|
||||
<span style="font-size: 21px;">宝塔运维</span>
|
||||
<span style="font-size: 16px;margin-top: 17px;color:#454545;">付费运维已停止接单,论坛可免费求助</span>
|
||||
</div>
|
||||
<a href="https://www.bt.cn/yunwei" style="margin-top: 15px;">点击查看</a>
|
||||
</div>
|
||||
<div class="news yunwei center">
|
||||
<img src="Public/images/ico_other.png" />
|
||||
<div class="yunwei-font">
|
||||
<span style="font-size: 21px;">开发者中心</span>
|
||||
<span style="font-size: 16px;margin-top: 17px;color:red;">诚邀开发者入驻,让创作更有价值</span>
|
||||
</div>
|
||||
<a href="https://www.bt.cn/developer" style="margin-top: 15px;">点击查看</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="linex"></div>
|
||||
<div class="layout">
|
||||
<style type="text/css">
|
||||
.row .news {
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
.news h4 {
|
||||
font-size: 21px;
|
||||
margin-top: 30px;
|
||||
font-weight: normal;
|
||||
font-weight: inherit;
|
||||
}
|
||||
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.news>a,
|
||||
.conterRight>a {
|
||||
width: 100px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
color: #646472;
|
||||
border: 1px solid #CACAD9;
|
||||
border-radius: 4px;
|
||||
margin: 0 auto;
|
||||
margin-top: 30px;
|
||||
background: #fff;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.news>a:hover,
|
||||
.conterRight>a:hover {
|
||||
background-color: #20A53A;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.conterLeft {
|
||||
float: left;
|
||||
position: relative;
|
||||
top: -16px;
|
||||
}
|
||||
|
||||
.conterRight {
|
||||
float: right;
|
||||
width: 180px;
|
||||
}
|
||||
|
||||
.conterTop {
|
||||
height: 50%;
|
||||
overflow: hidden;
|
||||
border-bottom: 1px solid #dedede;
|
||||
}
|
||||
|
||||
.conterTop img {
|
||||
float: left;
|
||||
margin-left: 25px;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.conterTop h4 {
|
||||
float: right;
|
||||
margin-top: 45px;
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
.hz-tit {
|
||||
font-size: 26px;
|
||||
color: #454545;
|
||||
text-align: center;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
.hz-con a {
|
||||
background-color: #fafafa;
|
||||
border: #ddd 1px solid;
|
||||
float: left;
|
||||
width: 219px;
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
text-align: center;
|
||||
margin-bottom: 40px;
|
||||
margin-right: 50px;
|
||||
}
|
||||
|
||||
.hz-con a:hover {
|
||||
box-shadow: 0 0 6px #dedede;
|
||||
}
|
||||
|
||||
.hz-con a img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.yunwei img {
|
||||
width: 70px;
|
||||
margin-top: 22px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.yunwei span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.yaoqing{
|
||||
height:90px;
|
||||
width:1040px;
|
||||
line-height:88px;
|
||||
text-align:center;
|
||||
background-color:#20a53a;
|
||||
margin:20px auto 30px;
|
||||
}
|
||||
.yaoqing p{
|
||||
font-family:"微软雅黑";
|
||||
font-size:25px;
|
||||
color:#fff;
|
||||
display:inline-block;
|
||||
margin-right:30px;
|
||||
}
|
||||
.yaoqing a{
|
||||
display:inline-block;
|
||||
height:36px;
|
||||
width:150px;
|
||||
background-color:#FFFF00;
|
||||
text-align:center;
|
||||
line-height:36px;
|
||||
color:#FF2626;
|
||||
font-size:16px;
|
||||
border-radius:3px;
|
||||
vertical-align:3px;
|
||||
}
|
||||
.yaoqing a:hover{
|
||||
background-color:#FFe000;
|
||||
}
|
||||
</style>
|
||||
<div class="row">
|
||||
<div class="hz-tit">
|
||||
<p>合作伙伴</p>
|
||||
<p><a href="https://www.bt.cn/partner" style="color:#20a53a;font-size:14px" target="_blank">申请IDC定制版合作</a></p>
|
||||
</div>
|
||||
<div class="hz-con">
|
||||
<a href="https://www.zun.com" target="_blank"><img src="/Public/images/p-zun.png" alt="尊云"></a>
|
||||
<a href="https://www.wy.cn" target="_blank"><img src="/Public/images/p-wy.png" alt="唯一网络"></a>
|
||||
<a href="https://www.dns.com" target="_blank"><img src="/Public/images/p-dns.png" alt="DNS"></a>
|
||||
<!--<a href="https://www.ddos.com" target="_blank" style="margin-right:0"><img src="/Public/images/p-ddos.png" alt="DDOS"></a> -->
|
||||
<a href="https://www.trustasia.com/" target="_blank" style="margin-right:0"><img src="/Public/images/p-yz.png" alt="亚洲诚信"></a>
|
||||
<a href="https://www.aliyun.com" target="_blank"><img src="/Public/images/p-aliyun.png" alt="阿里云"></a>
|
||||
<a href="https://www.jcloud.com" target="_blank"><img src="/Public/images/p-jd.png" alt="京东云"></a>
|
||||
<a href="https://www.upyun.com" target="_blank"><img src="/Public/images/p-up.png" alt="又拍云"></a>
|
||||
<a href="https://www.ddos.com" target="_blank" style="margin-right:0"><img src="/Public/images/p-ddos.png" alt="网堤安全"></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row" style="margin-top:20px">
|
||||
<div class="flink">
|
||||
<span style="float:left">友情链接:</span>
|
||||
<p style="display: inline;">
|
||||
<a href="https://www.bt.cn/Download/btsoftlinux.html" target="_blank" title="LAMP" style="margin: 0px 7px 15px; display: inline-block;">LAMP</a>
|
||||
<a href="https://www.bt.cn/Download/btsoftlinux.html" target="_blank" title="LNMP" style="margin: 0px 7px 15px; display: inline-block;">LNMP</a>
|
||||
<a href="http://www.wy.cn" target="_blank" title="唯一网络" style="margin: 0px 7px 15px; display: inline-block;">唯一网络</a>
|
||||
<a href="http://www.ddun.com" target="_blank" title="CC防护 " style="margin: 0px 7px 15px; display: inline-block;">CC防护</a>
|
||||
<a href="http://www.ddos.com" target="_blank" title="ddos防护" style="margin: 0px 7px 15px; display: inline-block;">ddos防护</a>
|
||||
<a href="http://www.dns.com" target="_blank" title="dns解析" style="margin: 0px 7px 15px; display: inline-block;">dns解析</a>
|
||||
<a href="http://www.wcloud.com" target="_blank" title="云主机" style="margin: 0px 7px 15px; display: inline-block;">云主机</a>
|
||||
<a href="http://www.om.cn" target="_blank" title="3dmax模型免费下载,设计模型,3d模型下载" style="margin: 0px 7px 15px; display: inline-block;">3D模型</a>
|
||||
<a href="http://www.yunsuo.com.cn" target="_blank" title="云锁-服务器安全" style="margin: 0px 7px 15px; display: inline-block;">云锁-服务器安全</a>
|
||||
<a href="http://www.xmirror.cn" target="_blank" title="悬镜-服务器安全" style="margin: 0px 7px 15px; display: inline-block;">悬镜-服务器安全</a>
|
||||
<a href="http://kodcloud.com" target="_blank" title="可道私有云" style="margin: 0px 7px 15px; display: inline-block;">可道私有云</a>
|
||||
<a href="http://www.jieqi.com" target="_blank" title="杰奇" style="margin: 0px 7px 15px; display: inline-block;">杰奇</a>
|
||||
<a href="https://www.tipask.com" target="_blank" title="Tipask" style="margin: 0px 7px 15px; display: inline-block;">Tipask</a>
|
||||
<a href="http://www.maccms.com" target="_blank" title="苹果CMS" style="margin: 0px 7px 15px; display: inline-block;">苹果CMS</a>
|
||||
<a href="http://www.zhujiwu.com" target="_blank" title="主机屋" style="margin: 0px 7px 15px; display: inline-block;">主机屋</a>
|
||||
<a href="https://www.mituo.cn" target="_blank" title="米托网站制作" style="margin: 0px 7px 15px; display: inline-block;">建网站</a>
|
||||
<a href="https://www.dscmall.cn" target="_blank" title="大商创b2b2c" style="margin: 0px 7px 15px; display: inline-block;">大商创b2b2c</a>
|
||||
<a href="https://www.59dun.com/" target="_blank" title="高防服务器" style="margin: 0px 7px 15px; display: inline-block;">高防服务器</a>
|
||||
<a href="https://www.huzhan.com" target="_blank" title="互站网" style="margin: 0px 7px 15px; display: inline-block;">互站网</a>
|
||||
<a href="https://www.zhongjie.com" target="_blank" title="中介网" style="margin: 0px 7px 15px; display: inline-block;">中介网</a>
|
||||
<a href="http://www.qy.cn" target="_blank" title="云服务器" style="margin: 0px 7px 15px; display: inline-block;">云服务器</a>
|
||||
<a href="https://www.51.la" target="_blank" title="51la网站统计" style="margin: 0px 7px 15px; display: inline-block;">51la网站统计</a>
|
||||
<a href="http://www.35hw.com/" target="_blank" title="东莞网站建设" style="margin: 0px 7px 15px; display: inline-block;">东莞网站建设</a>
|
||||
<a href="http://www.vpn.cn" target="_blank" title="国内200+城市线路VPN" style="margin: 0px 7px 15px; display: inline-block;">国内200+城市线路VPN</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="btfooter">
|
||||
<div class="footer_nav layout">
|
||||
<div class="nav_groud">
|
||||
<ul class="nav_list ">
|
||||
<li class="item">常用文档</li>
|
||||
<li ><a href="http://docs.bt.cn/424204">宝塔使用手册</a></li>
|
||||
<li ><a href="https://www.bt.cn/btcode.html">Linux面板命令</a></li>
|
||||
<li ><a href="https://www.bt.cn/bbs/thread-20376-1-1.html" target="_blank">API接口文档</a></li>
|
||||
<li><a href="http://www.bt.cn/bbs/thread-1384-1-1.html" target="_blank">隐私声明</a></li>
|
||||
</ul>
|
||||
<ul class="nav_list ">
|
||||
<li class="item">快捷入口</li>
|
||||
<li><a href="https://www.bt.cn/about.html">公司简介</a></li>
|
||||
<li><a href="https://www.bt.cn/about.html#job">加入我们</a></li>
|
||||
<li><a href="https://www.bt.cn/invite">邀请大使</a></li>
|
||||
<li><a href="https://github.com/aaPanel/BaoTa" target="_blank">GitHub</a></li>
|
||||
</ul>
|
||||
<ul class="nav_list ">
|
||||
<li class="item">联系我们</li>
|
||||
<li><span>周一至周六,节假日除外</span></li>
|
||||
<li><span>9:15~12:30,14:00~18:15</span></li>
|
||||
<li><span>客服咨询QQ:<a href="http://q.url.cn/abvgP3?_type=wpa&qidian=true" target="_blank">800176556</a></span></li>
|
||||
<li><span>投诉建议QQ:<a href="tencent://message/?uin=394030111">394030111</a></span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="nav_logo">
|
||||
<img src="/Public/images/bt_logo.png" alt="" title="这是宝塔吉祥物【小河妖】"/>
|
||||
<span>宝塔,让运维简单高效</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyright">
|
||||
<p>Copyright © 2014-2019 <a href="http://www.bt.cn/" title="宝塔面板">宝塔面板</a>|让运维简单高效(www.bt.cn) 东莞市百塔网络科技有限公司 All
|
||||
Rights Reserved</p>
|
||||
<p><a href="http://www.beian.miit.gov.cn" target="_blank" style="margin-right:15px">粤ICP备17030143号</a> <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44190002003211">粤公网安备
|
||||
44190002003211号</a> <span style="margin-left:15px">宝塔论坛正在使用宝塔Linux面板维护管理并由<a href="https://www.zun.com" target="_blank">尊云云服务器</a>提供支持</span></p>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<script type="text/javascript" src="/Public/js/jquery.js"></script>
|
||||
<script type="text/javascript" src="/Public/js/tongji.js"></script><!--统计js-->
|
||||
|
||||
<script type="text/javascript" src="/Public/layer/layer.js"></script>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
var index = {
|
||||
userStatus:'',
|
||||
invite_code:'',
|
||||
init: function () {
|
||||
var _this = this;
|
||||
this.userStatus = localStorage.getItem('userStatus');
|
||||
this.invite_code = this.to_query_params.call(window.location.search);
|
||||
this.invite_code = this.invite_code.invite_code == undefined?'':this.invite_code.invite_code;
|
||||
if(this.invite_code != '') this.set_cookie('invite_code',this.invite_code, 1)
|
||||
if(this.userStatus) this.add_user_agent_detail(function(){});//加入代理
|
||||
//获取礼包信息
|
||||
this.get_package_info(function(res){
|
||||
var info = res.info.mobile;
|
||||
$('.bt_invite_tips').show().find('.tips_username span').html(info);
|
||||
$('.yaoqing').hide();
|
||||
$('.tips_btn span').click(function(){
|
||||
if(_this.userStatus){
|
||||
//领取礼包
|
||||
_this.get_package_byuser(res.data.id,function(res){
|
||||
layer.msg(res.msg,{icon:res.status?1:2});
|
||||
setTimeout(function(){window.location = '/admin/profe'},2000);
|
||||
});
|
||||
}else{
|
||||
window.location = '/login';
|
||||
}
|
||||
});
|
||||
});
|
||||
$('.bttip_colse').click(function () {
|
||||
$('.bttip,.bttip_box').addClass('top');
|
||||
setTimeout(function () {
|
||||
$('.bttip').css('display', 'none');
|
||||
$('.bttip_box').removeClass('top');
|
||||
}, 1000);
|
||||
});
|
||||
$(".downBtn span").click(function () {
|
||||
var i = $(this).index();
|
||||
$(this).addClass("on").siblings().removeClass("on");
|
||||
$(".preview > div").hide().eq(i).show();
|
||||
if (i == 0) {
|
||||
$(".downInfo").html('<p><span class="version">6.9免费版</span>|<span class="update">2019/6/12·每月更新</span>|<a class="download" href="http://27.50.161.190:8888/login" target="_blank" style="margin-right:5px">查看演示</a>|<a class="download" href="/bbs/thread-19376-1-1.html">立即安装</a></p><p style="margin-bottom:7px;display:none"><span class="version">5.5.1测试版</span>|<span class="update">2017/11/22·每周更新</span>|<a class="download" href="/bbs/thread-5195-1-1.html">查看安装</a></p>');
|
||||
$(".softtxt").html("Linux版请确保纯净系统安装(支持CentOS、Ubuntu、Debian、Fedora),Web端管理,QQ群及论坛技术支持<br>一键创建网站、FTP、数据库、SSL;安全管理,计划任务,文件管理,PHP多版本共存及切换;自带LNMP与LAMP");
|
||||
} else {
|
||||
$(".downInfo").html('<span class="version">6.2免费版</span>|<span class="update">2019/06/12·每月更新</span>|<a class="download" href="http://download.bt.cn/win/panel/BtSoft.zip">立即安装</a>');
|
||||
$(".softtxt").html("Windows版支持2008/2012/2016/2019,64位系统,支持Web端管理,QQ群及论坛技术支持</br>一键创建网站、FTP、数据库;安全管理,文件管理,PHP多版本共存及切换;</br>环境支持:ASP+ASPX+PHP+MYSQL5.5/5.6/5.7+MSSQL05/08/12/14/17+mariaDB+FTP+Apache,<font style='color:red'>目前暂不支持Nginx,正在开发中</font>");
|
||||
}
|
||||
});
|
||||
},
|
||||
// 设置cookie
|
||||
set_cookie: function (name, value, time) {
|
||||
if (time == undefined) time = 30;
|
||||
var exp = new Date();
|
||||
exp.setTime(exp.getTime() + time * 24 * 60 * 60 * 1000);
|
||||
document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString();
|
||||
},
|
||||
//读取cookies
|
||||
getCookie:function(name){
|
||||
var arr,reg=new RegExp("(^| )"+name+"=([^;]*)(;|$)");
|
||||
if(arr=document.cookie.match(reg)){
|
||||
return unescape(arr[2]);
|
||||
}else{
|
||||
return null;
|
||||
}
|
||||
},
|
||||
get_package_info:function(callback){
|
||||
if(this.invite_code == '') return false;
|
||||
$.post('/api/Btparter/get_bt_packages',{userCode:this.invite_code},function(res){
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
get_package_byuser:function(id,callback){
|
||||
$.post('/api/Btparter/get_package_byuser',{package_id:id},function(res){
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
// 登录设置邀请用户
|
||||
add_user_agent_detail:function (callback){
|
||||
var invite_code = this.getCookie('invite_code');
|
||||
if(invite_code == '') callback();
|
||||
$.post('/api/Btparter/add_user_agent_detail', {
|
||||
userCode:invite_code,
|
||||
}, function (res) {
|
||||
console.log(invite_code)
|
||||
console.log(res);
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
// 序列化
|
||||
to_query_params: function () {
|
||||
var search = this.replace(/^\s+/, '').replace(/\s+$/, '').match(/([^?#]*)(#.*)?$/); //提取location.search中'?'后面的部分
|
||||
if (!search) return {}
|
||||
var searchStr = search[1];
|
||||
var searchHash = searchStr.split('&');
|
||||
var ret = {};
|
||||
for (var i = 0, len = searchHash.length; i < len; i++) { //这里可以调用each方法
|
||||
var pair = searchHash[i];
|
||||
if ((pair = pair.split('='))[0]) {
|
||||
var key = decodeURIComponent(pair.shift());
|
||||
var value = pair.length > 1 ? pair.join('=') : pair[0];
|
||||
if (value != undefined) {
|
||||
value = decodeURIComponent(value);
|
||||
}
|
||||
if (key in ret) {
|
||||
if (ret[key].constructor != Array) {
|
||||
ret[key] = [ret[key]];
|
||||
}
|
||||
ret[key].push(value);
|
||||
} else {
|
||||
ret[key] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
index.init();
|
||||
console.log(index);
|
||||
})
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -1,563 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="applicable-device" content="pc">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="referrer" content="always">
|
||||
<meta name="description" content="宝塔,让运维简单高效。面板支持Linux与Windows系统。一键配置:LAMP/LNMP、网站、数据库、FTP、SSL,通过Web端轻松管理服务器。">
|
||||
<meta name="keywords" content="LAMP/LNMP一键安装包,运维,服务器运维,免费主机管理系统,linux面板,windows面板">
|
||||
<title>宝塔面板 - 简单好用的Linux/Windows服务器运维管理面板</title>
|
||||
<link href="https://www.bt.cn/favicon.ico" rel="shortcut icon" type="image/x-icon" />
|
||||
<link href="https://www.bt.cn/" rel="canonical">
|
||||
<link href="/Public/css/bt/reset.css" rel="stylesheet" type="text/css">
|
||||
<link href="/Public/css/bt/common.css?4.0149" rel="stylesheet" type="text/css">
|
||||
<link href="/Public/css/bt/login.css?2.1" rel="stylesheet" type="text/css">
|
||||
|
||||
<link href="/Public/css/bt/css.css?1.91" rel="stylesheet" type="text/css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="main">
|
||||
|
||||
<div class="head" style="background-color:rgba(0,0,0,0.80);">
|
||||
<div class="layout">
|
||||
<div class="logo fl"><a href="/"><img src="/Public/images/logo.png" alt="宝塔面板"></a></div>
|
||||
<div class="menu fl">
|
||||
<ul>
|
||||
<li><a class="active" href="/" >首页</a></li>
|
||||
<li><a href="/download/linuxpro.html" >Linux专业版</a></li>
|
||||
<li><a href="/download/linux.html" >Linux免费版</a></li>
|
||||
<li><a href="/download/windows.html" >Windows免费版</a></li>
|
||||
<li><a href="/partner" >IDC推荐</a></li>
|
||||
<li><a href="/invite" >邀请大使</a></li>
|
||||
<li><a href="/bbs/portal.php" target="_blank" >论坛</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="login fr">
|
||||
<div class="loginr">
|
||||
<div class="pull-right m-t-sm">
|
||||
<a href="/login.html" id="login" class="mip-btn mip-btn-primary">登录</a>
|
||||
<a href="/register.html" id="register" class="mip-btn mip-btn-default m-l ">注册</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- <div class="chunlian_box">
|
||||
<div class="chunlian">
|
||||
</div>
|
||||
<div class="dl_r">
|
||||
<div class="dl_l">
|
||||
<div class="top_pendant"></div>
|
||||
<div class="top"></div>
|
||||
<div class="con" style="height: 0px;"></div>
|
||||
<div class="bottom"></div>
|
||||
<div class="bottom_pendant"></div>
|
||||
<div class="top_pendant"></div>
|
||||
<div class="top"></div>
|
||||
<div class="con" style="height: 0px;"></div>
|
||||
<div class="bottom"></div>
|
||||
<div class="bottom_pendant"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<style>
|
||||
.bt_invite_tips{
|
||||
height:220px;
|
||||
background: #20a53a;
|
||||
display: none;
|
||||
}
|
||||
.bt_invite_tips .tips_username{
|
||||
padding-top: 50px;
|
||||
}
|
||||
.bt_invite_tips .tips_username,
|
||||
.bt_invite_tips .tips_package,
|
||||
.bt_invite_tips .tips_btn{
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.bt_invite_tips .tips_username{
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.bt_invite_tips .tips_package{
|
||||
font-size: 16px;
|
||||
}
|
||||
.bt_invite_tips .tips_package span{
|
||||
font-size: 26px;
|
||||
margin: 0 2px;
|
||||
color:#ff0;
|
||||
font-weight: 600px;
|
||||
}
|
||||
.bt_invite_tips .tips_btn span{
|
||||
display: inline-block;
|
||||
width: 180px;
|
||||
color: red;
|
||||
padding: 10px;
|
||||
font-size: 15px;
|
||||
background: #ff0;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.tips_btn span{
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
<div class="bt_invite_tips" style="height:220px;background: #20a53a;">
|
||||
<div class="tips_username">宝塔邀请大使<span></span>赠送您</div>
|
||||
<div class="tips_package">¥<span>3188</span>元礼包</div>
|
||||
<div class="tips_btn"><span>立即领取</span></div>
|
||||
</div>
|
||||
<div class="bttip_box">
|
||||
<div class="layout">
|
||||
<div class="banner">
|
||||
<h3 class="title" style="width:570px"><font style="letter-spacing:2px">简单好用的服务器运维面板</font><span style="border: 1px solid red;right:-15px">永久免费</span></h3>
|
||||
<div class="downBtn">
|
||||
<span class="on">Linux 版</span>
|
||||
<span>Windows 版</span>
|
||||
</div>
|
||||
<div class="downInfo">
|
||||
<p><span class="version">6.9免费版</span>|<span class="update">2019/6/12·每月更新</span>|<a class="download" href="https://github.com/aaPanel/BaoTa"
|
||||
target="_blank" style="margin-right:5px">GitHub</a>|<a class="download" href="http://27.50.161.190:8888/login"
|
||||
target="_blank" style="margin-right:5px">演示</a>|<a class="download" href="/bbs/thread-19376-1-1.html">立即安装</a></p>
|
||||
<p style="margin-bottom:7px;display:none"><span class="version">5.5.1测试版</span>|<span class="update">2017/11/22·每周更新</span>|<a
|
||||
class="download" href="http://27.50.161.190:8888/login" target="_blank" style="margin-right:5px">查看演示</a>|<a class="download"
|
||||
href="/bbs/thread-5195-1-1.html">查看安装</a></p>
|
||||
</div>
|
||||
<div class="softtxt">
|
||||
Linux版请确保纯净系统安装(支持CentOS、Ubuntu、Debian、Fedora、deepin),Web端管理,QQ群及论坛技术支持<br>一键创建网站、FTP、数据库、SSL;安全管理,计划任务,文件管理,PHP多版本共存及切换;自带LNMP与LAMP
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="preview">
|
||||
<div class="linux"><img src="/Public/images/linux_pc_free.png"></div>
|
||||
<div class="windows" style="display:none"><img src="/Public/images/windows_web.png">
|
||||
<!-- <div class="WSoft-min"><img src="/Public/images/windows-soft.png" width="100%"></div> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="linex"></div>
|
||||
<div class="yaoqing"><p>免费加入宝塔邀请大使,帮助他人同时还能赚钱</p><a href="https://www.bt.cn/invite" target="_blank">立即免费加入</a></div>
|
||||
<div class="layout" style="padding-bottom: 30px;">
|
||||
<div class="zunad" onclick="javascript:window.open('http://www.zun.com/alllist.html','_blank')">
|
||||
尊云,价格厚道的云服务器,<span>6核10G,99元</span>
|
||||
</div>
|
||||
<div class="zunad" onclick="javascript:window.open('http://www.zun.com/tiyan.html','_blank')" style="display:none">
|
||||
尊云9元福利云,预装宝塔面板,<span>9元</span>最高能用<span style='margin-left:5px'>45天</span>,宝塔极力推荐!
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="box pro1 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1" onclick="javascript:window.location.href='/Download/btmstsc.html'">远程桌面连接工具</h3>
|
||||
<p><a href="/update/net/Bt_Mstsc.exe">下载</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro2 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1" onclick="javascript:window.location.href='/btcode.html'">Linux面板命令大全</h3>
|
||||
<p><a href="https://www.bt.cn/btcode.html">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro3 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1">IDC推荐</h3>
|
||||
<p><a href="https://www.bt.cn/partner">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div style="float:left;width:333px">
|
||||
<div class="box pro4 fl" style="height:115px;margin-bottom:20px;background-color:#f0f0f0">
|
||||
<div class="text">
|
||||
<h3 class="p1">宝塔币商城</h3>
|
||||
<p><a href="https://www.bt.cn/integral">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro5 fl" style="height:115px;background-color:#f0f0f0">
|
||||
<div class="text">
|
||||
<h3 class="p1">宝塔跑分排行榜</h3>
|
||||
<p><a href="https://www.bt.cn/score">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="news yunwei center" style="margin: 0 20px">
|
||||
<img src="Public/images/ico_yunwei.png">
|
||||
<div class="yunwei-font">
|
||||
<span style="font-size: 21px;">宝塔运维</span>
|
||||
<span style="font-size: 16px;margin-top: 17px;color:#454545;">付费运维已停止接单,论坛可免费求助</span>
|
||||
</div>
|
||||
<a href="https://www.bt.cn/yunwei" style="margin-top: 15px;">点击查看</a>
|
||||
</div>
|
||||
<div class="news yunwei center">
|
||||
<img src="Public/images/ico_other.png" />
|
||||
<div class="yunwei-font">
|
||||
<span style="font-size: 21px;">开发者中心</span>
|
||||
<span style="font-size: 16px;margin-top: 17px;color:red;">诚邀开发者入驻,让创作更有价值</span>
|
||||
</div>
|
||||
<a href="https://www.bt.cn/developer" style="margin-top: 15px;">点击查看</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="linex"></div>
|
||||
<div class="layout">
|
||||
<style type="text/css">
|
||||
.row .news {
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
.news h4 {
|
||||
font-size: 21px;
|
||||
margin-top: 30px;
|
||||
font-weight: normal;
|
||||
font-weight: inherit;
|
||||
}
|
||||
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.news>a,
|
||||
.conterRight>a {
|
||||
width: 100px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
color: #646472;
|
||||
border: 1px solid #CACAD9;
|
||||
border-radius: 4px;
|
||||
margin: 0 auto;
|
||||
margin-top: 30px;
|
||||
background: #fff;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.news>a:hover,
|
||||
.conterRight>a:hover {
|
||||
background-color: #20A53A;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.conterLeft {
|
||||
float: left;
|
||||
position: relative;
|
||||
top: -16px;
|
||||
}
|
||||
|
||||
.conterRight {
|
||||
float: right;
|
||||
width: 180px;
|
||||
}
|
||||
|
||||
.conterTop {
|
||||
height: 50%;
|
||||
overflow: hidden;
|
||||
border-bottom: 1px solid #dedede;
|
||||
}
|
||||
|
||||
.conterTop img {
|
||||
float: left;
|
||||
margin-left: 25px;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.conterTop h4 {
|
||||
float: right;
|
||||
margin-top: 45px;
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
.hz-tit {
|
||||
font-size: 26px;
|
||||
color: #454545;
|
||||
text-align: center;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
.hz-con a {
|
||||
background-color: #fafafa;
|
||||
border: #ddd 1px solid;
|
||||
float: left;
|
||||
width: 219px;
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
text-align: center;
|
||||
margin-bottom: 40px;
|
||||
margin-right: 50px;
|
||||
}
|
||||
|
||||
.hz-con a:hover {
|
||||
box-shadow: 0 0 6px #dedede;
|
||||
}
|
||||
|
||||
.hz-con a img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.yunwei img {
|
||||
width: 70px;
|
||||
margin-top: 22px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.yunwei span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.yaoqing{
|
||||
height:90px;
|
||||
width:1040px;
|
||||
line-height:88px;
|
||||
text-align:center;
|
||||
background-color:#20a53a;
|
||||
margin:20px auto 30px;
|
||||
}
|
||||
.yaoqing p{
|
||||
font-family:"微软雅黑";
|
||||
font-size:25px;
|
||||
color:#fff;
|
||||
display:inline-block;
|
||||
margin-right:30px;
|
||||
}
|
||||
.yaoqing a{
|
||||
display:inline-block;
|
||||
height:36px;
|
||||
width:150px;
|
||||
background-color:#FFFF00;
|
||||
text-align:center;
|
||||
line-height:36px;
|
||||
color:#FF2626;
|
||||
font-size:16px;
|
||||
border-radius:3px;
|
||||
vertical-align:3px;
|
||||
}
|
||||
.yaoqing a:hover{
|
||||
background-color:#FFe000;
|
||||
}
|
||||
</style>
|
||||
<div class="row">
|
||||
<div class="hz-tit">
|
||||
<p>合作伙伴</p>
|
||||
<p><a href="https://www.bt.cn/partner" style="color:#20a53a;font-size:14px" target="_blank">申请IDC定制版合作</a></p>
|
||||
</div>
|
||||
<div class="hz-con">
|
||||
<a href="https://www.zun.com" target="_blank"><img src="/Public/images/p-zun.png" alt="尊云"></a>
|
||||
<a href="https://www.wy.cn" target="_blank"><img src="/Public/images/p-wy.png" alt="唯一网络"></a>
|
||||
<a href="https://www.dns.com" target="_blank"><img src="/Public/images/p-dns.png" alt="DNS"></a>
|
||||
<!--<a href="https://www.ddos.com" target="_blank" style="margin-right:0"><img src="/Public/images/p-ddos.png" alt="DDOS"></a> -->
|
||||
<a href="https://www.trustasia.com/" target="_blank" style="margin-right:0"><img src="/Public/images/p-yz.png" alt="亚洲诚信"></a>
|
||||
<a href="https://www.aliyun.com" target="_blank"><img src="/Public/images/p-aliyun.png" alt="阿里云"></a>
|
||||
<a href="https://www.jcloud.com" target="_blank"><img src="/Public/images/p-jd.png" alt="京东云"></a>
|
||||
<a href="https://www.upyun.com" target="_blank"><img src="/Public/images/p-up.png" alt="又拍云"></a>
|
||||
<a href="https://www.ddos.com" target="_blank" style="margin-right:0"><img src="/Public/images/p-ddos.png" alt="网堤安全"></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row" style="margin-top:20px">
|
||||
<div class="flink">
|
||||
<span style="float:left">友情链接:</span>
|
||||
<p style="display: inline;">
|
||||
<a href="https://www.aapanel.com/" target="_blank" style="margin: 0px 7px 15px; display: inline-block">Hosting control panel</a>
|
||||
<a href="https://www.bt.cn/Download/btsoftlinux.html" target="_blank" title="LAMP" style="margin: 0px 7px 15px; display: inline-block;">LAMP</a>
|
||||
<a href="https://www.bt.cn/Download/btsoftlinux.html" target="_blank" title="LNMP" style="margin: 0px 7px 15px; display: inline-block;">LNMP</a>
|
||||
<a href="http://www.wy.cn" target="_blank" title="唯一网络" style="margin: 0px 7px 15px; display: inline-block;">唯一网络</a>
|
||||
<a href="http://www.ddun.com" target="_blank" title="CC防护 " style="margin: 0px 7px 15px; display: inline-block;">CC防护</a>
|
||||
<a href="http://www.ddos.com" target="_blank" title="ddos防护" style="margin: 0px 7px 15px; display: inline-block;">ddos防护</a>
|
||||
<a href="http://www.dns.com" target="_blank" title="dns解析" style="margin: 0px 7px 15px; display: inline-block;">dns解析</a>
|
||||
<a href="http://www.wcloud.com" target="_blank" title="云主机" style="margin: 0px 7px 15px; display: inline-block;">云主机</a>
|
||||
<a href="http://www.om.cn" target="_blank" title="3dmax模型免费下载,设计模型,3d模型下载" style="margin: 0px 7px 15px; display: inline-block;">3D模型</a>
|
||||
<a href="http://www.yunsuo.com.cn" target="_blank" title="云锁-服务器安全" style="margin: 0px 7px 15px; display: inline-block;">云锁-服务器安全</a>
|
||||
<a href="http://www.xmirror.cn" target="_blank" title="悬镜-服务器安全" style="margin: 0px 7px 15px; display: inline-block;">悬镜-服务器安全</a>
|
||||
<a href="http://kodcloud.com" target="_blank" title="可道私有云" style="margin: 0px 7px 15px; display: inline-block;">可道私有云</a>
|
||||
<a href="http://www.jieqi.com" target="_blank" title="杰奇" style="margin: 0px 7px 15px; display: inline-block;">杰奇</a>
|
||||
<a href="https://www.tipask.com" target="_blank" title="Tipask" style="margin: 0px 7px 15px; display: inline-block;">Tipask</a>
|
||||
<a href="http://www.maccms.com" target="_blank" title="苹果CMS" style="margin: 0px 7px 15px; display: inline-block;">苹果CMS</a>
|
||||
<a href="http://www.zhujiwu.com" target="_blank" title="主机屋" style="margin: 0px 7px 15px; display: inline-block;">主机屋</a>
|
||||
<a href="https://www.mituo.cn" target="_blank" title="米托网站制作" style="margin: 0px 7px 15px; display: inline-block;">建网站</a>
|
||||
<a href="https://www.dscmall.cn" target="_blank" title="大商创b2b2c" style="margin: 0px 7px 15px; display: inline-block;">大商创b2b2c</a>
|
||||
<a href="https://www.59dun.com/" target="_blank" title="高防服务器" style="margin: 0px 7px 15px; display: inline-block;">高防服务器</a>
|
||||
<a href="https://www.huzhan.com" target="_blank" title="互站网" style="margin: 0px 7px 15px; display: inline-block;">互站网</a>
|
||||
<a href="https://www.zhongjie.com" target="_blank" title="中介网" style="margin: 0px 7px 15px; display: inline-block;">中介网</a>
|
||||
<a href="http://www.qy.cn" target="_blank" title="云服务器" style="margin: 0px 7px 15px; display: inline-block;">云服务器</a>
|
||||
<a href="https://www.51.la" target="_blank" title="51la网站统计" style="margin: 0px 7px 15px; display: inline-block;">51la网站统计</a>
|
||||
<a href="http://www.35hw.com/" target="_blank" title="东莞网站建设" style="margin: 0px 7px 15px; display: inline-block;">东莞网站建设</a>
|
||||
<a href="http://www.vpn.cn" target="_blank" title="国内200+城市线路VPN" style="margin: 0px 7px 15px; display: inline-block;">国内200+城市线路VPN</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="btfooter">
|
||||
<div class="footer_nav layout">
|
||||
<div class="nav_groud">
|
||||
<ul class="nav_list ">
|
||||
<li class="item">常用文档</li>
|
||||
<li ><a href="http://docs.bt.cn/424204">宝塔使用手册</a></li>
|
||||
<li ><a href="https://www.bt.cn/btcode.html">Linux面板命令</a></li>
|
||||
<li ><a href="https://www.bt.cn/bbs/thread-20376-1-1.html" target="_blank">API接口文档</a></li>
|
||||
<li><a href="http://www.bt.cn/kyxy.html" target="_blank">宝塔开源协议</a></li>
|
||||
</ul>
|
||||
<ul class="nav_list ">
|
||||
<li class="item">快捷入口</li>
|
||||
<li><a href="https://www.bt.cn/about.html">公司简介</a></li>
|
||||
<li><a href="https://www.bt.cn/about.html#job">加入我们</a></li>
|
||||
<li><a href="https://www.bt.cn/invite">邀请大使</a></li>
|
||||
<li><a href="https://github.com/aaPanel/BaoTa" target="_blank">GitHub</a></li>
|
||||
</ul>
|
||||
<ul class="nav_list ">
|
||||
<li class="item">联系我们</li>
|
||||
<li><span>周一至周六,节假日除外</span></li>
|
||||
<li><span>9:15~12:30,14:00~18:15</span></li>
|
||||
<li><span>客服咨询QQ:<a href="http://q.url.cn/abvgP3?_type=wpa&qidian=true" target="_blank">800176556</a></span></li>
|
||||
<li><span>投诉建议QQ:<a href="tencent://message/?uin=394030111">394030111</a></span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="nav_logo">
|
||||
<img src="/Public/images/bt_logo.png" alt="" title="这是宝塔吉祥物【小河妖】"/>
|
||||
<span>宝塔,让运维简单高效</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyright">
|
||||
<p>Copyright © 2014-2019 <a href="http://www.bt.cn/" title="宝塔面板">宝塔面板</a>|让运维简单高效(www.bt.cn) 东莞市百塔网络科技有限公司 All
|
||||
Rights Reserved</p>
|
||||
<p><a href="http://www.beian.miit.gov.cn" target="_blank" style="margin-right:15px">粤ICP备17030143号</a> <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44190002003211">粤公网安备
|
||||
44190002003211号</a> <span style="margin-left:15px">宝塔论坛正在使用宝塔Linux面板维护管理并由<a href="https://www.zun.com" target="_blank">尊云云服务器</a>提供支持</span></p>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<script type="text/javascript" src="/Public/js/jquery.js"></script>
|
||||
<script type="text/javascript" src="/Public/js/tongji.js"></script><!--统计js-->
|
||||
|
||||
<script type="text/javascript" src="/Public/layer/layer.js"></script>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
var index = {
|
||||
userStatus:'',
|
||||
invite_code:'',
|
||||
init: function () {
|
||||
var _this = this;
|
||||
this.userStatus = localStorage.getItem('userStatus');
|
||||
this.invite_code = this.to_query_params.call(window.location.search);
|
||||
this.invite_code = this.invite_code.invite_code == undefined?'':this.invite_code.invite_code;
|
||||
if(this.invite_code != '') this.set_cookie('invite_code',this.invite_code, 1)
|
||||
if(this.userStatus) this.add_user_agent_detail(function(){});//加入代理
|
||||
//获取礼包信息
|
||||
this.get_package_info(function(res){
|
||||
var info = res.info.mobile;
|
||||
$('.bt_invite_tips').show().find('.tips_username span').html(info);
|
||||
$('.yaoqing').hide();
|
||||
$('.tips_btn span').click(function(){
|
||||
if(_this.userStatus){
|
||||
//领取礼包
|
||||
_this.get_package_byuser(res.data.id,function(res){
|
||||
layer.msg(res.msg,{icon:res.status?1:2});
|
||||
setTimeout(function(){window.location = '/admin/profe'},2000);
|
||||
});
|
||||
}else{
|
||||
window.location = '/login';
|
||||
}
|
||||
});
|
||||
});
|
||||
$('.bttip_colse').click(function () {
|
||||
$('.bttip,.bttip_box').addClass('top');
|
||||
setTimeout(function () {
|
||||
$('.bttip').css('display', 'none');
|
||||
$('.bttip_box').removeClass('top');
|
||||
}, 1000);
|
||||
});
|
||||
$(".downBtn span").click(function () {
|
||||
var i = $(this).index();
|
||||
$(this).addClass("on").siblings().removeClass("on");
|
||||
$(".preview > div").hide().eq(i).show();
|
||||
if (i == 0) {
|
||||
$(".downInfo").html('<p><span class="version">6.9免费版</span>|<span class="update">2019/6/12·每月更新</span>|<a class="download" href="https://github.com/aaPanel/BaoTa" target="_blank" style="margin-right:5px">GitHub</a>|<a class="download" href="http://27.50.161.190:8888/login" target="_blank" style="margin-right:5px">演示</a>|<a class="download" href="/bbs/thread-19376-1-1.html">立即安装</a></p><p style="margin-bottom:7px;display:none"><span class="version">5.5.1测试版</span>|<span class="update">2017/11/22·每周更新</span>|<a class="download" href="/bbs/thread-5195-1-1.html">查看安装</a></p>');
|
||||
$(".softtxt").html("Linux版请确保纯净系统安装(支持CentOS、Ubuntu、Debian、Fedora),Web端管理,QQ群及论坛技术支持<br> 一键创建网站、FTP、数据库、SSL;安全管理,计划任务,文件管理,PHP多版本共存及切换;自带LNMP与LAMP");
|
||||
} else {
|
||||
$(".downInfo").html('<span class="version">6.2免费版</span>|<span class="update">2019/06/12·每月更新</span>|<a class="download" href="http://download.bt.cn/win/panel/BtSoft.zip">立即安装</a>');
|
||||
$(".softtxt").html("Windows版支持2008/2012/2016/2019,64位系统,支持Web端管理,QQ群及论坛技术支持</br>一键创建网站、FTP、数据库;安全管理,文件管理,PHP多版本共存及切换;</br>环境支持:ASP+ASPX+PHP+MYSQL5.5/5.6/5.7+MSSQL05/08/12/14/17+mariaDB+FTP+Apache,<font style='color:red'>目前暂不支持Nginx,正在开发中</font>");
|
||||
}
|
||||
});
|
||||
},
|
||||
// 设置cookie
|
||||
set_cookie: function (name, value, time) {
|
||||
if (time == undefined) time = 30;
|
||||
var exp = new Date();
|
||||
exp.setTime(exp.getTime() + time * 24 * 60 * 60 * 1000);
|
||||
document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString();
|
||||
},
|
||||
//读取cookies
|
||||
getCookie:function(name){
|
||||
var arr,reg=new RegExp("(^| )"+name+"=([^;]*)(;|$)");
|
||||
if(arr=document.cookie.match(reg)){
|
||||
return unescape(arr[2]);
|
||||
}else{
|
||||
return null;
|
||||
}
|
||||
},
|
||||
get_package_info:function(callback){
|
||||
if(this.invite_code == '') return false;
|
||||
$.post('/api/Btparter/get_bt_packages',{userCode:this.invite_code},function(res){
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
get_package_byuser:function(id,callback){
|
||||
$.post('/api/Btparter/get_package_byuser',{package_id:id},function(res){
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
// 登录设置邀请用户
|
||||
add_user_agent_detail:function (callback){
|
||||
var invite_code = this.getCookie('invite_code');
|
||||
if(invite_code == '') callback();
|
||||
$.post('/api/Btparter/add_user_agent_detail', {
|
||||
userCode:invite_code,
|
||||
}, function (res) {
|
||||
console.log(invite_code)
|
||||
console.log(res);
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
// 序列化
|
||||
to_query_params: function () {
|
||||
var search = this.replace(/^\s+/, '').replace(/\s+$/, '').match(/([^?#]*)(#.*)?$/); //提取location.search中'?'后面的部分
|
||||
if (!search) return {}
|
||||
var searchStr = search[1];
|
||||
var searchHash = searchStr.split('&');
|
||||
var ret = {};
|
||||
for (var i = 0, len = searchHash.length; i < len; i++) { //这里可以调用each方法
|
||||
var pair = searchHash[i];
|
||||
if ((pair = pair.split('='))[0]) {
|
||||
var key = decodeURIComponent(pair.shift());
|
||||
var value = pair.length > 1 ? pair.join('=') : pair[0];
|
||||
if (value != undefined) {
|
||||
value = decodeURIComponent(value);
|
||||
}
|
||||
if (key in ret) {
|
||||
if (ret[key].constructor != Array) {
|
||||
ret[key] = [ret[key]];
|
||||
}
|
||||
ret[key].push(value);
|
||||
} else {
|
||||
ret[key] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
index.init();
|
||||
console.log(index);
|
||||
})
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
Before Width: | Height: | Size: 555 B |
|
Before Width: | Height: | Size: 22 KiB |
@@ -1,562 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="applicable-device" content="pc">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="referrer" content="always">
|
||||
<meta name="description" content="宝塔,让运维简单高效。面板支持Linux与Windows系统。一键配置:LAMP/LNMP、网站、数据库、FTP、SSL,通过Web端轻松管理服务器。">
|
||||
<meta name="keywords" content="LAMP/LNMP一键安装包,运维,服务器运维,免费主机管理系统,linux面板,windows面板">
|
||||
<title>宝塔面板 - 简单好用的Linux/Windows服务器运维管理面板</title>
|
||||
<link href="http://www.bt.cn/favicon.ico" rel="shortcut icon" type="image/x-icon" />
|
||||
<link href="http://www.bt.cn/" rel="canonical">
|
||||
<link href="/Public/css/bt/reset.css" rel="stylesheet" type="text/css">
|
||||
<link href="/Public/css/bt/common.css?4.0149" rel="stylesheet" type="text/css">
|
||||
<link href="/Public/css/bt/login.css?2.1" rel="stylesheet" type="text/css">
|
||||
|
||||
<link href="/Public/css/bt/css.css?1.91" rel="stylesheet" type="text/css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="main">
|
||||
|
||||
<div class="head" style="background-color:rgba(0,0,0,0.80);">
|
||||
<div class="layout">
|
||||
<div class="logo fl"><a href="/"><img src="/Public/images/logo.png" alt="宝塔面板"></a></div>
|
||||
<div class="menu fl">
|
||||
<ul>
|
||||
<li><a class="active" href="/" >首页</a></li>
|
||||
<li><a href="/download/linuxpro.html" >Linux专业版</a></li>
|
||||
<li><a href="/download/linux.html" >Linux免费版</a></li>
|
||||
<li><a href="/download/windows.html" >Windows免费版</a></li>
|
||||
<li><a href="/partner" >IDC推荐</a></li>
|
||||
<li><a href="/invite" >邀请大使</a></li>
|
||||
<li><a href="/bbs/portal.php" target="_blank" >论坛</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="login fr">
|
||||
<div class="loginr">
|
||||
<div class="pull-right m-t-sm">
|
||||
<a href="/login.html" id="login" class="mip-btn mip-btn-primary">登录</a>
|
||||
<a href="/register.html" id="register" class="mip-btn mip-btn-default m-l ">注册</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- <div class="chunlian_box">
|
||||
<div class="chunlian">
|
||||
</div>
|
||||
<div class="dl_r">
|
||||
<div class="dl_l">
|
||||
<div class="top_pendant"></div>
|
||||
<div class="top"></div>
|
||||
<div class="con" style="height: 0px;"></div>
|
||||
<div class="bottom"></div>
|
||||
<div class="bottom_pendant"></div>
|
||||
<div class="top_pendant"></div>
|
||||
<div class="top"></div>
|
||||
<div class="con" style="height: 0px;"></div>
|
||||
<div class="bottom"></div>
|
||||
<div class="bottom_pendant"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<style>
|
||||
.bt_invite_tips{
|
||||
height:220px;
|
||||
background: #20a53a;
|
||||
display: none;
|
||||
}
|
||||
.bt_invite_tips .tips_username{
|
||||
padding-top: 50px;
|
||||
}
|
||||
.bt_invite_tips .tips_username,
|
||||
.bt_invite_tips .tips_package,
|
||||
.bt_invite_tips .tips_btn{
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.bt_invite_tips .tips_username{
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.bt_invite_tips .tips_package{
|
||||
font-size: 16px;
|
||||
}
|
||||
.bt_invite_tips .tips_package span{
|
||||
font-size: 26px;
|
||||
margin: 0 2px;
|
||||
color:#ff0;
|
||||
font-weight: 600px;
|
||||
}
|
||||
.bt_invite_tips .tips_btn span{
|
||||
display: inline-block;
|
||||
width: 180px;
|
||||
color: red;
|
||||
padding: 10px;
|
||||
font-size: 15px;
|
||||
background: #ff0;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.tips_btn span{
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
<div class="bt_invite_tips" style="height:220px;background: #20a53a;">
|
||||
<div class="tips_username">宝塔邀请大使<span></span>赠送您</div>
|
||||
<div class="tips_package">¥<span>3188</span>元礼包</div>
|
||||
<div class="tips_btn"><span>立即领取</span></div>
|
||||
</div>
|
||||
<div class="bttip_box">
|
||||
<div class="layout">
|
||||
<div class="yaoqing"><p>免费加入宝塔邀请大使,帮助他人同时还能赚钱</p><a href="https://www.bt.cn/invite" target="_blank">立即免费加入</a></div>
|
||||
<div class="banner">
|
||||
<h3 class="title" style="width:570px">简单好用的 Linux/Windows 面板<span style="border: 1px solid red;">永久免费</span></h3>
|
||||
<div class="downBtn">
|
||||
<span class="on">Linux 版</span>
|
||||
<span>Windows 版</span>
|
||||
</div>
|
||||
<div class="downInfo">
|
||||
<p><span class="version">6.9免费版</span>|<span class="update">2019/4/24·每月更新</span>|<a class="download" href="http://docs.bt.cn/424204"
|
||||
target="_blank" style="margin-right:5px">使用手册</a>|<a class="download" href="/bbs/thread-19376-1-1.html">立即安装</a></p>
|
||||
<p style="margin-bottom:7px;display:none"><span class="version">5.5.1测试版</span>|<span class="update">2017/11/22·每周更新</span>|<a
|
||||
class="download" href="http://docs.bt.cn/424204" target="_blank" style="margin-right:5px">使用手册</a>|<a class="download"
|
||||
href="/bbs/thread-5195-1-1.html">查看安装</a></p>
|
||||
</div>
|
||||
<div class="softtxt">
|
||||
Linux版请确保纯净系统安装(支持CentOS、Ubuntu、Debian、Fedora、deepin),Web端管理,QQ群及论坛技术支持<br>一键创建网站、FTP、数据库、SSL;安全管理,计划任务,文件管理,PHP多版本共存及切换;自带LNMP与LAMP
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="preview">
|
||||
<div class="linux"><img src="/Public/images/linux_pc_free.png"></div>
|
||||
<div class="windows" style="display:none"><img src="/Public/images/windows_web.png">
|
||||
<!-- <div class="WSoft-min"><img src="/Public/images/windows-soft.png" width="100%"></div> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="linex"></div>
|
||||
<div class="layout" style="padding-bottom: 30px;">
|
||||
<div class="zunad" onclick="javascript:window.open('http://www.zun.com/alllist.html','_blank')">
|
||||
尊云,价格厚道的云服务器,<span>6核10G,99元</span>
|
||||
</div>
|
||||
<div class="zunad" onclick="javascript:window.open('http://www.zun.com/tiyan.html','_blank')" style="display:none">
|
||||
尊云9元福利云,预装宝塔面板,<span>9元</span>最高能用<span style='margin-left:5px'>45天</span>,宝塔极力推荐!
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="box pro1 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1" onclick="javascript:window.location.href='/Download/btmstsc.html'">远程桌面连接工具</h3>
|
||||
<p><a href="/update/net/BtMstsc.exe">下载</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro2 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1" onclick="javascript:window.location.href='/btcode.html'">Linux面板命令大全</h3>
|
||||
<p><a href="https://www.bt.cn/btcode.html">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro3 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1">IDC推荐</h3>
|
||||
<p><a href="https://www.bt.cn/partner">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div style="float:left;width:333px">
|
||||
<div class="box pro4 fl" style="height:115px;margin-bottom:20px;background-color:#f0f0f0">
|
||||
<div class="text">
|
||||
<h3 class="p1">宝塔币商城</h3>
|
||||
<p><a href="https://www.bt.cn/integral">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro5 fl" style="height:115px;background-color:#f0f0f0">
|
||||
<div class="text">
|
||||
<h3 class="p1">宝塔跑分排行榜</h3>
|
||||
<p><a href="https://www.bt.cn/score">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="news yunwei center" style="margin: 0 20px">
|
||||
<img src="Public/images/ico_yunwei.png">
|
||||
<div class="yunwei-font">
|
||||
<span style="font-size: 21px;">宝塔运维</span>
|
||||
<span style="font-size: 16px;margin-top: 17px;color:#454545;">付费运维已停止接单,论坛可免费求助</span>
|
||||
</div>
|
||||
<a href="https://www.bt.cn/yunwei" style="margin-top: 15px;">点击查看</a>
|
||||
</div>
|
||||
<div class="news yunwei center">
|
||||
<img src="Public/images/ico_other.png" />
|
||||
<div class="yunwei-font">
|
||||
<span style="font-size: 21px;">开发者中心</span>
|
||||
<span style="font-size: 16px;margin-top: 17px;color:red;">诚邀开发者入驻,让创作更有价值</span>
|
||||
</div>
|
||||
<a href="https://www.bt.cn/developer" style="margin-top: 15px;">点击查看</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="linex"></div>
|
||||
<div class="layout">
|
||||
<style type="text/css">
|
||||
.row .news {
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
.news h4 {
|
||||
font-size: 21px;
|
||||
margin-top: 30px;
|
||||
font-weight: normal;
|
||||
font-weight: inherit;
|
||||
}
|
||||
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.news>a,
|
||||
.conterRight>a {
|
||||
width: 100px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
color: #646472;
|
||||
border: 1px solid #CACAD9;
|
||||
border-radius: 4px;
|
||||
margin: 0 auto;
|
||||
margin-top: 30px;
|
||||
background: #fff;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.news>a:hover,
|
||||
.conterRight>a:hover {
|
||||
background-color: #20A53A;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.conterLeft {
|
||||
float: left;
|
||||
position: relative;
|
||||
top: -16px;
|
||||
}
|
||||
|
||||
.conterRight {
|
||||
float: right;
|
||||
width: 180px;
|
||||
}
|
||||
|
||||
.conterTop {
|
||||
height: 50%;
|
||||
overflow: hidden;
|
||||
border-bottom: 1px solid #dedede;
|
||||
}
|
||||
|
||||
.conterTop img {
|
||||
float: left;
|
||||
margin-left: 25px;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.conterTop h4 {
|
||||
float: right;
|
||||
margin-top: 45px;
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
.hz-tit {
|
||||
font-size: 26px;
|
||||
color: #454545;
|
||||
text-align: center;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
.hz-con a {
|
||||
background-color: #fafafa;
|
||||
border: #ddd 1px solid;
|
||||
float: left;
|
||||
width: 219px;
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
text-align: center;
|
||||
margin-bottom: 40px;
|
||||
margin-right: 50px;
|
||||
}
|
||||
|
||||
.hz-con a:hover {
|
||||
box-shadow: 0 0 6px #dedede;
|
||||
}
|
||||
|
||||
.hz-con a img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.yunwei img {
|
||||
width: 70px;
|
||||
margin-top: 22px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.yunwei span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.yaoqing{
|
||||
height:90px;
|
||||
width:100%;
|
||||
line-height:88px;
|
||||
text-align:center;
|
||||
background-color:#20a53a;
|
||||
margin:30px 0 0px;
|
||||
}
|
||||
.yaoqing p{
|
||||
font-family:"微软雅黑";
|
||||
font-size:25px;
|
||||
color:#fff;
|
||||
display:inline-block;
|
||||
margin-right:30px;
|
||||
}
|
||||
.yaoqing a{
|
||||
display:inline-block;
|
||||
height:36px;
|
||||
width:150px;
|
||||
background-color:#FFFF00;
|
||||
text-align:center;
|
||||
line-height:36px;
|
||||
color:#FF2626;
|
||||
font-size:16px;
|
||||
border-radius:3px;
|
||||
vertical-align:3px;
|
||||
}
|
||||
.yaoqing a:hover{
|
||||
background-color:#FFe000;
|
||||
}
|
||||
</style>
|
||||
<div class="row">
|
||||
<div class="hz-tit">
|
||||
<p>合作伙伴</p>
|
||||
<p><a href="https://www.bt.cn/partner" style="color:#20a53a;font-size:14px" target="_blank">申请IDC定制版合作</a></p>
|
||||
</div>
|
||||
<div class="hz-con">
|
||||
<a href="https://www.zun.com" target="_blank"><img src="/Public/images/p-zun.png" alt="尊云"></a>
|
||||
<a href="https://www.wy.cn" target="_blank"><img src="/Public/images/p-wy.png" alt="唯一网络"></a>
|
||||
<a href="https://www.dns.com" target="_blank"><img src="/Public/images/p-dns.png" alt="DNS"></a>
|
||||
<!--<a href="https://www.ddos.com" target="_blank" style="margin-right:0"><img src="/Public/images/p-ddos.png" alt="DDOS"></a> -->
|
||||
<a href="https://www.trustasia.com/" target="_blank" style="margin-right:0"><img src="/Public/images/p-yz.png" alt="亚洲诚信"></a>
|
||||
<a href="https://www.aliyun.com" target="_blank"><img src="/Public/images/p-aliyun.png" alt="阿里云"></a>
|
||||
<a href="https://www.jcloud.com" target="_blank"><img src="/Public/images/p-jd.png" alt="京东云"></a>
|
||||
<a href="https://www.upyun.com" target="_blank"><img src="/Public/images/p-up.png" alt="又拍云"></a>
|
||||
<a href="https://www.ddos.com" target="_blank" style="margin-right:0"><img src="/Public/images/p-ddos.png" alt="网堤安全"></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row" style="margin-top:20px">
|
||||
<div class="flink">
|
||||
<span style="float:left">友情链接:</span>
|
||||
<p style="display: inline;">
|
||||
<a href="https://www.bt.cn/Download/btsoftlinux.html" target="_blank" title="LAMP" style="margin: 0px 7px 15px; display: inline-block;">LAMP</a>
|
||||
<a href="https://www.bt.cn/Download/btsoftlinux.html" target="_blank" title="LNMP" style="margin: 0px 7px 15px; display: inline-block;">LNMP</a>
|
||||
<a href="http://www.wy.cn" target="_blank" title="唯一网络" style="margin: 0px 7px 15px; display: inline-block;">唯一网络</a>
|
||||
<a href="http://www.ddun.com" target="_blank" title="CC防护 " style="margin: 0px 7px 15px; display: inline-block;">CC防护</a>
|
||||
<a href="http://www.ddos.com" target="_blank" title="ddos防护" style="margin: 0px 7px 15px; display: inline-block;">ddos防护</a>
|
||||
<a href="http://www.dns.com" target="_blank" title="dns解析" style="margin: 0px 7px 15px; display: inline-block;">dns解析</a>
|
||||
<a href="http://www.wcloud.com" target="_blank" title="云主机" style="margin: 0px 7px 15px; display: inline-block;">云主机</a>
|
||||
<a href="http://www.om.cn" target="_blank" title="3dmax模型免费下载,设计模型,3d模型下载" style="margin: 0px 7px 15px; display: inline-block;">3D模型</a>
|
||||
<a href="http://www.yunsuo.com.cn" target="_blank" title="云锁-服务器安全" style="margin: 0px 7px 15px; display: inline-block;">云锁-服务器安全</a>
|
||||
<a href="http://www.xmirror.cn" target="_blank" title="悬镜-服务器安全" style="margin: 0px 7px 15px; display: inline-block;">悬镜-服务器安全</a>
|
||||
<a href="http://kodcloud.com" target="_blank" title="可道私有云" style="margin: 0px 7px 15px; display: inline-block;">可道私有云</a>
|
||||
<a href="http://www.jieqi.com" target="_blank" title="杰奇" style="margin: 0px 7px 15px; display: inline-block;">杰奇</a>
|
||||
<a href="https://www.tipask.com" target="_blank" title="Tipask" style="margin: 0px 7px 15px; display: inline-block;">Tipask</a>
|
||||
<a href="http://www.maccms.com" target="_blank" title="苹果CMS" style="margin: 0px 7px 15px; display: inline-block;">苹果CMS</a>
|
||||
<a href="http://www.zhujiwu.com" target="_blank" title="主机屋" style="margin: 0px 7px 15px; display: inline-block;">主机屋</a>
|
||||
<a href="https://www.mituo.cn" target="_blank" title="米托网站制作" style="margin: 0px 7px 15px; display: inline-block;">建网站</a>
|
||||
<a href="https://www.dscmall.cn" target="_blank" title="大商创b2b2c" style="margin: 0px 7px 15px; display: inline-block;">大商创b2b2c</a>
|
||||
<a href="https://www.59dun.com/" target="_blank" title="高防服务器" style="margin: 0px 7px 15px; display: inline-block;">高防服务器</a>
|
||||
<a href="https://www.huzhan.com" target="_blank" title="互站网" style="margin: 0px 7px 15px; display: inline-block;">互站网</a>
|
||||
<a href="https://www.zhongjie.com" target="_blank" title="中介网" style="margin: 0px 7px 15px; display: inline-block;">中介网</a>
|
||||
<a href="http://www.qy.cn" target="_blank" title="云服务器" style="margin: 0px 7px 15px; display: inline-block;">云服务器</a>
|
||||
<a href="https://www.51.la" target="_blank" title="51la网站统计" style="margin: 0px 7px 15px; display: inline-block;">51la网站统计</a>
|
||||
<a href="http://www.35hw.com/" target="_blank" title="东莞网站建设" style="margin: 0px 7px 15px; display: inline-block;">东莞网站建设</a>
|
||||
<a href="http://www.vpn.cn" target="_blank" title="国内200+城市线路VPN" style="margin: 0px 7px 15px; display: inline-block;">国内200+城市线路VPN</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="btfooter">
|
||||
<div class="footer_nav layout">
|
||||
<div class="nav_groud">
|
||||
<ul class="nav_list ">
|
||||
<li class="item">常用文档</li>
|
||||
<li ><a href="http://docs.bt.cn/424204">宝塔使用手册</a></li>
|
||||
<li ><a href="https://www.bt.cn/btcode.html">Linux面板命令</a></li>
|
||||
<li ><a href="https://www.bt.cn/bbs/thread-20376-1-1.html" target="_blank">API接口文档</a></li>
|
||||
<li><a href="http://www.bt.cn/bbs/thread-1384-1-1.html" target="_blank">隐私声明</a></li>
|
||||
</ul>
|
||||
<ul class="nav_list ">
|
||||
<li class="item">快捷入口</li>
|
||||
<li><a href="https://www.bt.cn/about.html">公司简介</a></li>
|
||||
<li><a href="https://www.bt.cn/about.html#job">加入我们</a></li>
|
||||
<li><a href="https://www.bt.cn/invite">邀请大使</a></li>
|
||||
<li><a href="https://www.bt.cn/integral">宝塔币商城</a></li>
|
||||
</ul>
|
||||
<ul class="nav_list ">
|
||||
<li class="item">联系我们</li>
|
||||
<li><span>周一至周六,节假日除外</span></li>
|
||||
<li><span>9:15~12:30,14:00~18:15</span></li>
|
||||
<li><span>客服咨询QQ:<a href="http://q.url.cn/abvgP3?_type=wpa&qidian=true" target="_blank">800176556</a></span></li>
|
||||
<li><span>投诉建议QQ:<a href="tencent://message/?uin=394030111">394030111</a></span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="nav_logo">
|
||||
<img src="/Public/images/bt_logo.png" alt="" title="这是宝塔吉祥物【小河妖】"/>
|
||||
<span>宝塔,让运维简单高效</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyright">
|
||||
<p>Copyright © 2014-2019 <a href="http://www.bt.cn/" itle="宝塔面板">宝塔面板</a>|让运维简单高效(www.bt.cn) 东莞市百塔网络科技有限公司 All
|
||||
Rights Reserved</p>
|
||||
<p><a href="http://www.miitbeian.gov.cn/publish/query/indexFirst.action"
|
||||
target="_blank" style="margin-right:15px">粤ICP备17030143号</a> <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44190002003211">粤公网安备
|
||||
44190002003211号</a> <span style="margin-left:15px">宝塔论坛正在使用宝塔Linux面板维护管理并由<a href="https://www.zun.com" target="_blank">尊云云服务器</a>提供支持</span></p>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<script type="text/javascript" src="/Public/js/jquery.js"></script>
|
||||
<script type="text/javascript" src="/Public/js/tongji.js"></script><!--统计js-->
|
||||
|
||||
<script type="text/javascript" src="/Public/layer/layer.js"></script>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
var index = {
|
||||
userStatus:'',
|
||||
invite_code:'',
|
||||
init: function () {
|
||||
var _this = this;
|
||||
this.userStatus = localStorage.getItem('userStatus');
|
||||
this.invite_code = this.to_query_params.call(window.location.search);
|
||||
this.invite_code = this.invite_code.invite_code == undefined?'':this.invite_code.invite_code;
|
||||
if(this.invite_code != '') this.set_cookie('invite_code',this.invite_code, 1)
|
||||
if(this.userStatus) this.add_user_agent_detail(function(){});//加入代理
|
||||
//获取礼包信息
|
||||
this.get_package_info(function(res){
|
||||
var info = res.info.mobile;
|
||||
$('.bt_invite_tips').show().find('.tips_username span').html(info);
|
||||
$('.yaoqing').hide();
|
||||
$('.tips_btn span').click(function(){
|
||||
if(_this.userStatus){
|
||||
//领取礼包
|
||||
_this.get_package_byuser(res.data.id,function(res){
|
||||
layer.msg(res.msg,{icon:res.status?1:2});
|
||||
setTimeout(function(){window.location = '/admin/profe'},2000);
|
||||
});
|
||||
}else{
|
||||
window.location = '/login';
|
||||
}
|
||||
});
|
||||
});
|
||||
$('.bttip_colse').click(function () {
|
||||
$('.bttip,.bttip_box').addClass('top');
|
||||
setTimeout(function () {
|
||||
$('.bttip').css('display', 'none');
|
||||
$('.bttip_box').removeClass('top');
|
||||
}, 1000);
|
||||
});
|
||||
$(".downBtn span").click(function () {
|
||||
var i = $(this).index();
|
||||
$(this).addClass("on").siblings().removeClass("on");
|
||||
$(".preview > div").hide().eq(i).show();
|
||||
if (i == 0) {
|
||||
$(".downInfo").html('<p><span class="version">6.9免费版</span>|<span class="update">2019/4/24·每月更新</span>|<a class="download" href="http://docs.bt.cn/424204" target="_blank" style="margin-right:5px">使用手册</a>|<a class="download" href="/bbs/thread-19376-1-1.html">立即安装</a></p><p style="margin-bottom:7px;display:none"><span class="version">5.5.1测试版</span>|<span class="update">2017/11/22·每周更新</span>|<a class="download" href="/bbs/thread-5195-1-1.html">查看安装</a></p>');
|
||||
$(".softtxt").html("Linux版请确保纯净系统安装(支持CentOS、Ubuntu、Debian、Fedora),Web端管理,QQ群及论坛技术支持<br>一键创建网站、FTP、数据库、SSL;安全管理,计划任务,文件管理,PHP多版本共存及切换;自带LNMP与LAMP");
|
||||
} else {
|
||||
$(".downInfo").html('<span class="version">6.0免费版</span>|<span class="update">2019/04/17·每月更新</span>|<a class="download" href="http://download.bt.cn/win/panel/BtSoft.zip">立即安装</a>');
|
||||
$(".softtxt").html("Windows版支持2008/2012/2016/2019,64位系统,支持Web端管理,QQ群及论坛技术支持</br>一键创建网站、FTP、数据库;安全管理,文件管理,PHP多版本共存及切换;</br>环境支持:ASP+ASPX+PHP+MYSQL5.5/5.6/5.7+MSSQL05/08/12/14/17+mariaDB+FTP+Apache,<font style='color:red'>目前暂不支持Nginx,正在开发中</font>");
|
||||
}
|
||||
});
|
||||
},
|
||||
// 设置cookie
|
||||
set_cookie: function (name, value, time) {
|
||||
if (time == undefined) time = 30;
|
||||
var exp = new Date();
|
||||
exp.setTime(exp.getTime() + time * 24 * 60 * 60 * 1000);
|
||||
document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString();
|
||||
},
|
||||
//读取cookies
|
||||
getCookie:function(name){
|
||||
var arr,reg=new RegExp("(^| )"+name+"=([^;]*)(;|$)");
|
||||
if(arr=document.cookie.match(reg)){
|
||||
return unescape(arr[2]);
|
||||
}else{
|
||||
return null;
|
||||
}
|
||||
},
|
||||
get_package_info:function(callback){
|
||||
if(this.invite_code == '') return false;
|
||||
$.post('/api/Btparter/get_bt_packages',{userCode:this.invite_code},function(res){
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
get_package_byuser:function(id,callback){
|
||||
$.post('/api/Btparter/get_package_byuser',{package_id:id},function(res){
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
// 登录设置邀请用户
|
||||
add_user_agent_detail:function (callback){
|
||||
var invite_code = this.getCookie('invite_code');
|
||||
if(invite_code == '') callback();
|
||||
$.post('/api/Btparter/add_user_agent_detail', {
|
||||
userCode:invite_code,
|
||||
}, function (res) {
|
||||
console.log(invite_code)
|
||||
console.log(res);
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
// 序列化
|
||||
to_query_params: function () {
|
||||
var search = this.replace(/^\s+/, '').replace(/\s+$/, '').match(/([^?#]*)(#.*)?$/); //提取location.search中'?'后面的部分
|
||||
if (!search) return {}
|
||||
var searchStr = search[1];
|
||||
var searchHash = searchStr.split('&');
|
||||
var ret = {};
|
||||
for (var i = 0, len = searchHash.length; i < len; i++) { //这里可以调用each方法
|
||||
var pair = searchHash[i];
|
||||
if ((pair = pair.split('='))[0]) {
|
||||
var key = decodeURIComponent(pair.shift());
|
||||
var value = pair.length > 1 ? pair.join('=') : pair[0];
|
||||
if (value != undefined) {
|
||||
value = decodeURIComponent(value);
|
||||
}
|
||||
if (key in ret) {
|
||||
if (ret[key].constructor != Array) {
|
||||
ret[key] = [ret[key]];
|
||||
}
|
||||
ret[key].push(value);
|
||||
} else {
|
||||
ret[key] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
index.init();
|
||||
console.log(index);
|
||||
})
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -1,561 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="applicable-device" content="pc">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="referrer" content="always">
|
||||
<meta name="description" content="宝塔,让运维简单高效。面板支持Linux与Windows系统。一键配置:LAMP/LNMP、网站、数据库、FTP、SSL,通过Web端轻松管理服务器。">
|
||||
<meta name="keywords" content="LAMP/LNMP一键安装包,运维,服务器运维,免费主机管理系统,linux面板,windows面板">
|
||||
<title>宝塔面板 - 简单好用的Linux/Windows服务器运维管理面板</title>
|
||||
<link href="http://www.bt.cn/favicon.ico" rel="shortcut icon" type="image/x-icon" />
|
||||
<link href="http://www.bt.cn/" rel="canonical">
|
||||
<link href="/Public/css/bt/reset.css" rel="stylesheet" type="text/css">
|
||||
<link href="/Public/css/bt/common.css?4.0149" rel="stylesheet" type="text/css">
|
||||
<link href="/Public/css/bt/login.css?2.1" rel="stylesheet" type="text/css">
|
||||
|
||||
<link href="/Public/css/bt/css.css?1.91" rel="stylesheet" type="text/css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="main">
|
||||
|
||||
<div class="head" style="background-color:rgba(0,0,0,0.80);">
|
||||
<div class="layout">
|
||||
<div class="logo fl"><a href="/"><img src="/Public/images/logo.png" alt="宝塔面板"></a></div>
|
||||
<div class="menu fl">
|
||||
<ul>
|
||||
<li><a class="active" href="/" >首页</a></li>
|
||||
<li><a href="/download/linuxpro.html" >Linux专业版</a></li>
|
||||
<li><a href="/download/linux.html" >Linux免费版</a></li>
|
||||
<li><a href="/download/windows.html" >Windows免费版</a></li>
|
||||
<li><a href="/partner" >IDC推荐</a></li>
|
||||
<li><a href="/invite" >邀请大使</a></li>
|
||||
<li><a href="/bbs/portal.php" target="_blank" >论坛</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="login fr">
|
||||
<div class="loginr">
|
||||
<div class="pull-right m-t-sm">
|
||||
<a href="/login.html" id="login" class="mip-btn mip-btn-primary">登录</a>
|
||||
<a href="/register.html" id="register" class="mip-btn mip-btn-default m-l ">注册</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- <div class="chunlian_box">
|
||||
<div class="chunlian">
|
||||
</div>
|
||||
<div class="dl_r">
|
||||
<div class="dl_l">
|
||||
<div class="top_pendant"></div>
|
||||
<div class="top"></div>
|
||||
<div class="con" style="height: 0px;"></div>
|
||||
<div class="bottom"></div>
|
||||
<div class="bottom_pendant"></div>
|
||||
<div class="top_pendant"></div>
|
||||
<div class="top"></div>
|
||||
<div class="con" style="height: 0px;"></div>
|
||||
<div class="bottom"></div>
|
||||
<div class="bottom_pendant"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<style>
|
||||
.bt_invite_tips{
|
||||
height:220px;
|
||||
background: #20a53a;
|
||||
display: none;
|
||||
}
|
||||
.bt_invite_tips .tips_username{
|
||||
padding-top: 50px;
|
||||
}
|
||||
.bt_invite_tips .tips_username,
|
||||
.bt_invite_tips .tips_package,
|
||||
.bt_invite_tips .tips_btn{
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.bt_invite_tips .tips_username{
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.bt_invite_tips .tips_package{
|
||||
font-size: 16px;
|
||||
}
|
||||
.bt_invite_tips .tips_package span{
|
||||
font-size: 26px;
|
||||
margin: 0 2px;
|
||||
color:#ff0;
|
||||
font-weight: 600px;
|
||||
}
|
||||
.bt_invite_tips .tips_btn span{
|
||||
display: inline-block;
|
||||
width: 180px;
|
||||
color: red;
|
||||
padding: 10px;
|
||||
font-size: 15px;
|
||||
background: #ff0;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.tips_btn span{
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
<div class="bt_invite_tips" style="height:220px;background: #20a53a;">
|
||||
<div class="tips_username">宝塔邀请大使<span></span>赠送您</div>
|
||||
<div class="tips_package">¥<span>3188</span>元礼包</div>
|
||||
<div class="tips_btn"><span>立即领取</span></div>
|
||||
</div>
|
||||
<div class="bttip_box">
|
||||
<div class="layout">
|
||||
<div class="yaoqing"><p>免费加入宝塔邀请大使,帮助他人同时还能赚钱</p><a href="https://www.bt.cn/invite" target="_blank">立即免费加入</a></div>
|
||||
<div class="banner">
|
||||
<h3 class="title" style="width:570px">简单好用的 Linux/Windows 面板<span style="border: 1px solid red;">永久免费</span></h3>
|
||||
<div class="downBtn">
|
||||
<span class="on">Linux 版</span>
|
||||
<span>Windows 版</span>
|
||||
</div>
|
||||
<div class="downInfo">
|
||||
<p><span class="version">6.9免费版</span>|<span class="update">2019/4/24·每月更新</span>|<a class="download" href="http://docs.bt.cn/424204"
|
||||
target="_blank" style="margin-right:5px">使用手册</a>|<a class="download" href="/bbs/thread-19376-1-1.html">立即安装</a></p>
|
||||
<p style="margin-bottom:7px;display:none"><span class="version">5.5.1测试版</span>|<span class="update">2017/11/22·每周更新</span>|<a
|
||||
class="download" href="http://docs.bt.cn/424204" target="_blank" style="margin-right:5px">使用手册</a>|<a class="download"
|
||||
href="/bbs/thread-5195-1-1.html">查看安装</a></p>
|
||||
</div>
|
||||
<div class="softtxt">
|
||||
Linux版请确保纯净系统安装(支持CentOS、Ubuntu、Debian、Fedora、deepin),Web端管理,QQ群及论坛技术支持<br>一键创建网站、FTP、数据库、SSL;安全管理,计划任务,文件管理,PHP多版本共存及切换;自带LNMP与LAMP
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="preview">
|
||||
<div class="linux"><img src="/Public/images/linux_pc_free.png"></div>
|
||||
<div class="windows" style="display:none"><img src="/Public/images/windows_web.png">
|
||||
<!-- <div class="WSoft-min"><img src="/Public/images/windows-soft.png" width="100%"></div> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="linex"></div>
|
||||
<div class="layout" style="padding-bottom: 30px;">
|
||||
<div class="zunad" onclick="javascript:window.open('http://www.zun.com/alllist.html','_blank')">
|
||||
尊云,价格厚道的云服务器,<span>6核10G,99元</span>
|
||||
</div>
|
||||
<div class="zunad" onclick="javascript:window.open('http://www.zun.com/tiyan.html','_blank')" style="display:none">
|
||||
尊云9元福利云,预装宝塔面板,<span>9元</span>最高能用<span style='margin-left:5px'>45天</span>,宝塔极力推荐!
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="box pro1 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1" onclick="javascript:window.location.href='/Download/btmstsc.html'">远程桌面连接工具</h3>
|
||||
<p><a href="/update/net/BtMstsc.exe">下载</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro2 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1" onclick="javascript:window.location.href='/btcode.html'">Linux面板命令大全</h3>
|
||||
<p><a href="https://www.bt.cn/btcode.html">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro3 fl">
|
||||
<div class="text">
|
||||
<h3 class="p1">IDC推荐</h3>
|
||||
<p><a href="https://www.bt.cn/partner">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div style="float:left;width:333px">
|
||||
<div class="box pro4 fl" style="height:115px;margin-bottom:20px;background-color:#f0f0f0">
|
||||
<div class="text">
|
||||
<h3 class="p1">宝塔币商城</h3>
|
||||
<p><a href="https://www.bt.cn/integral">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box pro5 fl" style="height:115px;background-color:#f0f0f0">
|
||||
<div class="text">
|
||||
<h3 class="p1">宝塔跑分排行榜</h3>
|
||||
<p><a href="https://www.bt.cn/score">查看</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="news yunwei center" style="margin: 0 20px">
|
||||
<img src="Public/images/ico_yunwei.png">
|
||||
<div class="yunwei-font">
|
||||
<span style="font-size: 21px;">宝塔运维</span>
|
||||
<span style="font-size: 16px;margin-top: 17px;color:#454545;">付费运维已停止接单,论坛可免费求助</span>
|
||||
</div>
|
||||
<a href="https://www.bt.cn/yunwei" style="margin-top: 15px;">点击查看</a>
|
||||
</div>
|
||||
<div class="news yunwei center">
|
||||
<img src="Public/images/ico_other.png" />
|
||||
<div class="yunwei-font">
|
||||
<span style="font-size: 21px;">开发者中心</span>
|
||||
<span style="font-size: 16px;margin-top: 17px;color:red;">诚邀开发者入驻,让创作更有价值</span>
|
||||
</div>
|
||||
<a href="https://www.bt.cn/developer" style="margin-top: 15px;">点击查看</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="linex"></div>
|
||||
<div class="layout">
|
||||
<style type="text/css">
|
||||
.row .news {
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
.news h4 {
|
||||
font-size: 21px;
|
||||
margin-top: 30px;
|
||||
font-weight: normal;
|
||||
font-weight: inherit;
|
||||
}
|
||||
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.news>a,
|
||||
.conterRight>a {
|
||||
width: 100px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
color: #646472;
|
||||
border: 1px solid #CACAD9;
|
||||
border-radius: 4px;
|
||||
margin: 0 auto;
|
||||
margin-top: 30px;
|
||||
background: #fff;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.news>a:hover,
|
||||
.conterRight>a:hover {
|
||||
background-color: #20A53A;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.conterLeft {
|
||||
float: left;
|
||||
position: relative;
|
||||
top: -16px;
|
||||
}
|
||||
|
||||
.conterRight {
|
||||
float: right;
|
||||
width: 180px;
|
||||
}
|
||||
|
||||
.conterTop {
|
||||
height: 50%;
|
||||
overflow: hidden;
|
||||
border-bottom: 1px solid #dedede;
|
||||
}
|
||||
|
||||
.conterTop img {
|
||||
float: left;
|
||||
margin-left: 25px;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.conterTop h4 {
|
||||
float: right;
|
||||
margin-top: 45px;
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
.hz-tit {
|
||||
font-size: 26px;
|
||||
color: #454545;
|
||||
text-align: center;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
.hz-con a {
|
||||
background-color: #fafafa;
|
||||
border: #ddd 1px solid;
|
||||
float: left;
|
||||
width: 219px;
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
text-align: center;
|
||||
margin-bottom: 40px;
|
||||
margin-right: 50px;
|
||||
}
|
||||
|
||||
.hz-con a:hover {
|
||||
box-shadow: 0 0 6px #dedede;
|
||||
}
|
||||
|
||||
.hz-con a img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.yunwei img {
|
||||
width: 70px;
|
||||
margin-top: 22px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.yunwei span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.yaoqing{
|
||||
height:90px;
|
||||
width:100%;
|
||||
line-height:88px;
|
||||
text-align:center;
|
||||
background-color:#20a53a;
|
||||
margin:30px 0 0px;
|
||||
}
|
||||
.yaoqing p{
|
||||
font-family:"微软雅黑";
|
||||
font-size:25px;
|
||||
color:#fff;
|
||||
display:inline-block;
|
||||
margin-right:30px;
|
||||
}
|
||||
.yaoqing a{
|
||||
display:inline-block;
|
||||
height:36px;
|
||||
width:150px;
|
||||
background-color:#FFFF00;
|
||||
text-align:center;
|
||||
line-height:36px;
|
||||
color:#FF2626;
|
||||
font-size:16px;
|
||||
border-radius:3px;
|
||||
vertical-align:3px;
|
||||
}
|
||||
.yaoqing a:hover{
|
||||
background-color:#FFe000;
|
||||
}
|
||||
</style>
|
||||
<div class="row">
|
||||
<div class="hz-tit">
|
||||
<p>合作伙伴</p>
|
||||
<p><a href="https://www.bt.cn/partner" style="color:#20a53a;font-size:14px" target="_blank">申请IDC定制版合作</a></p>
|
||||
</div>
|
||||
<div class="hz-con">
|
||||
<a href="https://www.zun.com" target="_blank"><img src="/Public/images/p-zun.png" alt="尊云"></a>
|
||||
<a href="https://www.wy.cn" target="_blank"><img src="/Public/images/p-wy.png" alt="唯一网络"></a>
|
||||
<a href="https://www.dns.com" target="_blank"><img src="/Public/images/p-dns.png" alt="DNS"></a>
|
||||
<!--<a href="https://www.ddos.com" target="_blank" style="margin-right:0"><img src="/Public/images/p-ddos.png" alt="DDOS"></a> -->
|
||||
<a href="https://www.trustasia.com/" target="_blank" style="margin-right:0"><img src="/Public/images/p-yz.png" alt="亚洲诚信"></a>
|
||||
<a href="https://www.aliyun.com" target="_blank"><img src="/Public/images/p-aliyun.png" alt="阿里云"></a>
|
||||
<a href="https://www.jcloud.com" target="_blank"><img src="/Public/images/p-jd.png" alt="京东云"></a>
|
||||
<a href="https://www.upyun.com" target="_blank"><img src="/Public/images/p-up.png" alt="又拍云"></a>
|
||||
<a href="https://www.ddos.com" target="_blank" style="margin-right:0"><img src="/Public/images/p-ddos.png" alt="网堤安全"></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row" style="margin-top:20px">
|
||||
<div class="flink">
|
||||
<span style="float:left">友情链接:</span>
|
||||
<p style="display: inline;">
|
||||
<a href="https://www.bt.cn/Download/btsoftlinux.html" target="_blank" title="LAMP" style="margin: 0px 7px 15px; display: inline-block;">LAMP</a>
|
||||
<a href="https://www.bt.cn/Download/btsoftlinux.html" target="_blank" title="LNMP" style="margin: 0px 7px 15px; display: inline-block;">LNMP</a>
|
||||
<a href="http://www.wy.cn" target="_blank" title="唯一网络" style="margin: 0px 7px 15px; display: inline-block;">唯一网络</a>
|
||||
<a href="http://www.ddun.com" target="_blank" title="CC防护 " style="margin: 0px 7px 15px; display: inline-block;">CC防护</a>
|
||||
<a href="http://www.ddos.com" target="_blank" title="ddos防护" style="margin: 0px 7px 15px; display: inline-block;">ddos防护</a>
|
||||
<a href="http://www.dns.com" target="_blank" title="dns解析" style="margin: 0px 7px 15px; display: inline-block;">dns解析</a>
|
||||
<a href="http://www.wcloud.com" target="_blank" title="云主机" style="margin: 0px 7px 15px; display: inline-block;">云主机</a>
|
||||
<a href="http://www.om.cn" target="_blank" title="3dmax模型免费下载,设计模型,3d模型下载" style="margin: 0px 7px 15px; display: inline-block;">3D模型</a>
|
||||
<a href="http://www.yunsuo.com.cn" target="_blank" title="云锁-服务器安全" style="margin: 0px 7px 15px; display: inline-block;">云锁-服务器安全</a>
|
||||
<a href="http://www.xmirror.cn" target="_blank" title="悬镜-服务器安全" style="margin: 0px 7px 15px; display: inline-block;">悬镜-服务器安全</a>
|
||||
<a href="http://kodcloud.com" target="_blank" title="可道私有云" style="margin: 0px 7px 15px; display: inline-block;">可道私有云</a>
|
||||
<a href="http://www.jieqi.com" target="_blank" title="杰奇" style="margin: 0px 7px 15px; display: inline-block;">杰奇</a>
|
||||
<a href="https://www.tipask.com" target="_blank" title="Tipask" style="margin: 0px 7px 15px; display: inline-block;">Tipask</a>
|
||||
<a href="http://www.maccms.com" target="_blank" title="苹果CMS" style="margin: 0px 7px 15px; display: inline-block;">苹果CMS</a>
|
||||
<a href="http://www.zhujiwu.com" target="_blank" title="主机屋" style="margin: 0px 7px 15px; display: inline-block;">主机屋</a>
|
||||
<a href="https://www.mituo.cn" target="_blank" title="米托网站制作" style="margin: 0px 7px 15px; display: inline-block;">建网站</a>
|
||||
<a href="https://www.dscmall.cn" target="_blank" title="大商创b2b2c" style="margin: 0px 7px 15px; display: inline-block;">大商创b2b2c</a>
|
||||
<a href="https://www.59dun.com/" target="_blank" title="高防服务器" style="margin: 0px 7px 15px; display: inline-block;">高防服务器</a>
|
||||
<a href="https://www.huzhan.com" target="_blank" title="互站网" style="margin: 0px 7px 15px; display: inline-block;">互站网</a>
|
||||
<a href="https://www.zhongjie.com" target="_blank" title="中介网" style="margin: 0px 7px 15px; display: inline-block;">中介网</a>
|
||||
<a href="http://www.qy.cn" target="_blank" title="云服务器" style="margin: 0px 7px 15px; display: inline-block;">云服务器</a>
|
||||
<a href="https://www.51.la" target="_blank" title="51la网站统计" style="margin: 0px 7px 15px; display: inline-block;">51la网站统计</a>
|
||||
<a href="http://www.35hw.com/" target="_blank" title="东莞网站建设" style="margin: 0px 7px 15px; display: inline-block;">东莞网站建设</a>
|
||||
<a href="http://www.vpn.cn" target="_blank" title="国内200+城市线路VPN" style="margin: 0px 7px 15px; display: inline-block;">国内200+城市线路VPN</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="btfooter">
|
||||
<div class="footer_nav layout">
|
||||
<div class="nav_groud">
|
||||
<ul class="nav_list ">
|
||||
<li class="item">常用文档</li>
|
||||
<li ><a href="http://docs.bt.cn/424204">宝塔使用手册</a></li>
|
||||
<li ><a href="https://www.bt.cn/btcode.html">Linux面板命令</a></li>
|
||||
<li ><a href="https://www.bt.cn/bbs/thread-20376-1-1.html" target="_blank">API接口文档</a></li>
|
||||
<li><a href="http://www.bt.cn/bbs/thread-1384-1-1.html" target="_blank">隐私声明</a></li>
|
||||
</ul>
|
||||
<ul class="nav_list ">
|
||||
<li class="item">快捷入口</li>
|
||||
<li><a href="https://www.bt.cn/about.html">公司简介</a></li>
|
||||
<li><a href="https://www.bt.cn/about.html#job">加入我们</a></li>
|
||||
<li><a href="https://www.bt.cn/invite">邀请大使</a></li>
|
||||
<li><a href="https://www.bt.cn/integral">宝塔币商城</a></li>
|
||||
</ul>
|
||||
<ul class="nav_list ">
|
||||
<li class="item">联系我们</li>
|
||||
<li><span>周一至周六,节假日除外</span></li>
|
||||
<li><span>9:15~12:30,14:00~18:15</span></li>
|
||||
<li><span>客服咨询QQ:<a href="http://q.url.cn/abvgP3?_type=wpa&qidian=true" target="_blank">800176556</a></span></li>
|
||||
<li><span>投诉建议QQ:<a href="tencent://message/?uin=394030111">394030111</a></span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="nav_logo">
|
||||
<img src="/Public/images/bt_logo.png" alt="" title="这是宝塔吉祥物【小河妖】"/>
|
||||
<span>宝塔,让运维简单高效</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyright">
|
||||
<p>Copyright © 2014-2019 <a href="http://www.bt.cn/" title="宝塔面板">宝塔面板</a>|让运维简单高效(www.bt.cn) 东莞市百塔网络科技有限公司 All
|
||||
Rights Reserved</p>
|
||||
<p><a href="http://www.beian.miit.gov.cn" target="_blank" style="margin-right:15px">粤ICP备17030143号</a> <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44190002003211">粤公网安备
|
||||
44190002003211号</a> <span style="margin-left:15px">宝塔论坛正在使用宝塔Linux面板维护管理并由<a href="https://www.zun.com" target="_blank">尊云云服务器</a>提供支持</span></p>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<script type="text/javascript" src="/Public/js/jquery.js"></script>
|
||||
<script type="text/javascript" src="/Public/js/tongji.js"></script><!--统计js-->
|
||||
|
||||
<script type="text/javascript" src="/Public/layer/layer.js"></script>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
var index = {
|
||||
userStatus:'',
|
||||
invite_code:'',
|
||||
init: function () {
|
||||
var _this = this;
|
||||
this.userStatus = localStorage.getItem('userStatus');
|
||||
this.invite_code = this.to_query_params.call(window.location.search);
|
||||
this.invite_code = this.invite_code.invite_code == undefined?'':this.invite_code.invite_code;
|
||||
if(this.invite_code != '') this.set_cookie('invite_code',this.invite_code, 1)
|
||||
if(this.userStatus) this.add_user_agent_detail(function(){});//加入代理
|
||||
//获取礼包信息
|
||||
this.get_package_info(function(res){
|
||||
var info = res.info.mobile;
|
||||
$('.bt_invite_tips').show().find('.tips_username span').html(info);
|
||||
$('.yaoqing').hide();
|
||||
$('.tips_btn span').click(function(){
|
||||
if(_this.userStatus){
|
||||
//领取礼包
|
||||
_this.get_package_byuser(res.data.id,function(res){
|
||||
layer.msg(res.msg,{icon:res.status?1:2});
|
||||
setTimeout(function(){window.location = '/admin/profe'},2000);
|
||||
});
|
||||
}else{
|
||||
window.location = '/login';
|
||||
}
|
||||
});
|
||||
});
|
||||
$('.bttip_colse').click(function () {
|
||||
$('.bttip,.bttip_box').addClass('top');
|
||||
setTimeout(function () {
|
||||
$('.bttip').css('display', 'none');
|
||||
$('.bttip_box').removeClass('top');
|
||||
}, 1000);
|
||||
});
|
||||
$(".downBtn span").click(function () {
|
||||
var i = $(this).index();
|
||||
$(this).addClass("on").siblings().removeClass("on");
|
||||
$(".preview > div").hide().eq(i).show();
|
||||
if (i == 0) {
|
||||
$(".downInfo").html('<p><span class="version">6.9免费版</span>|<span class="update">2019/4/24·每月更新</span>|<a class="download" href="http://docs.bt.cn/424204" target="_blank" style="margin-right:5px">使用手册</a>|<a class="download" href="/bbs/thread-19376-1-1.html">立即安装</a></p><p style="margin-bottom:7px;display:none"><span class="version">5.5.1测试版</span>|<span class="update">2017/11/22·每周更新</span>|<a class="download" href="/bbs/thread-5195-1-1.html">查看安装</a></p>');
|
||||
$(".softtxt").html("Linux版请确保纯净系统安装(支持CentOS、Ubuntu、Debian、Fedora),Web端管理,QQ群及论坛技术支持<br>一键创建网站、FTP、数据库、SSL;安全管理,计划任务,文件管理,PHP多版本共存及切换;自带LNMP与LAMP");
|
||||
} else {
|
||||
$(".downInfo").html('<span class="version">6.0免费版</span>|<span class="update">2019/04/17·每月更新</span>|<a class="download" href="http://download.bt.cn/win/panel/BtSoft.zip">立即安装</a>');
|
||||
$(".softtxt").html("Windows版支持2008/2012/2016/2019,64位系统,支持Web端管理,QQ群及论坛技术支持</br>一键创建网站、FTP、数据库;安全管理,文件管理,PHP多版本共存及切换;</br>环境支持:ASP+ASPX+PHP+MYSQL5.5/5.6/5.7+MSSQL05/08/12/14/17+mariaDB+FTP+Apache,<font style='color:red'>目前暂不支持Nginx,正在开发中</font>");
|
||||
}
|
||||
});
|
||||
},
|
||||
// 设置cookie
|
||||
set_cookie: function (name, value, time) {
|
||||
if (time == undefined) time = 30;
|
||||
var exp = new Date();
|
||||
exp.setTime(exp.getTime() + time * 24 * 60 * 60 * 1000);
|
||||
document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString();
|
||||
},
|
||||
//读取cookies
|
||||
getCookie:function(name){
|
||||
var arr,reg=new RegExp("(^| )"+name+"=([^;]*)(;|$)");
|
||||
if(arr=document.cookie.match(reg)){
|
||||
return unescape(arr[2]);
|
||||
}else{
|
||||
return null;
|
||||
}
|
||||
},
|
||||
get_package_info:function(callback){
|
||||
if(this.invite_code == '') return false;
|
||||
$.post('/api/Btparter/get_bt_packages',{userCode:this.invite_code},function(res){
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
get_package_byuser:function(id,callback){
|
||||
$.post('/api/Btparter/get_package_byuser',{package_id:id},function(res){
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
// 登录设置邀请用户
|
||||
add_user_agent_detail:function (callback){
|
||||
var invite_code = this.getCookie('invite_code');
|
||||
if(invite_code == '') callback();
|
||||
$.post('/api/Btparter/add_user_agent_detail', {
|
||||
userCode:invite_code,
|
||||
}, function (res) {
|
||||
console.log(invite_code)
|
||||
console.log(res);
|
||||
if(callback) callback(res);
|
||||
});
|
||||
},
|
||||
// 序列化
|
||||
to_query_params: function () {
|
||||
var search = this.replace(/^\s+/, '').replace(/\s+$/, '').match(/([^?#]*)(#.*)?$/); //提取location.search中'?'后面的部分
|
||||
if (!search) return {}
|
||||
var searchStr = search[1];
|
||||
var searchHash = searchStr.split('&');
|
||||
var ret = {};
|
||||
for (var i = 0, len = searchHash.length; i < len; i++) { //这里可以调用each方法
|
||||
var pair = searchHash[i];
|
||||
if ((pair = pair.split('='))[0]) {
|
||||
var key = decodeURIComponent(pair.shift());
|
||||
var value = pair.length > 1 ? pair.join('=') : pair[0];
|
||||
if (value != undefined) {
|
||||
value = decodeURIComponent(value);
|
||||
}
|
||||
if (key in ret) {
|
||||
if (ret[key].constructor != Array) {
|
||||
ret[key] = [ret[key]];
|
||||
}
|
||||
ret[key].push(value);
|
||||
} else {
|
||||
ret[key] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
index.init();
|
||||
console.log(index);
|
||||
})
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 555 B |
|
After Width: | Height: | Size: 7.8 KiB |
|
After Width: | Height: | Size: 861 B |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 553 B After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 515 B After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 597 B After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 621 B After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 801 B After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 515 B After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 501 B After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 987 B After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 1017 B After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 996 B After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 608 B After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1007 B After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 556 B After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 455 B After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 805 B After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 659 B After Width: | Height: | Size: 1.4 KiB |
@@ -233,8 +233,16 @@ $('.open_two_verify_view').click(function(){
|
||||
check_two_step(function(res){
|
||||
$('#panel_verification').prop('checked',res.status);
|
||||
});
|
||||
get_three_channel(function(res){
|
||||
$('#channel_auth').val(!res.user_mail.user_name && !res.dingding.dingding ? 'Email is not set':(res.user_mail.user_name? 'Email is set':(res.dingding.dingding? 'dingding is set': '')))
|
||||
});
|
||||
})()
|
||||
|
||||
function get_three_channel(callback){
|
||||
$.post('/config?action=get_settings',function(res){
|
||||
if(callback) callback(res);
|
||||
});
|
||||
}
|
||||
|
||||
function check_two_step(callback){
|
||||
$.post('/config?action=check_two_step',function(res){
|
||||
@@ -780,7 +788,7 @@ $(function () {
|
||||
|
||||
function bt_init() {
|
||||
var btName = $("input[name='btusername']").val();
|
||||
console.log(btName);
|
||||
//console.log(btName);
|
||||
if (!btName) {
|
||||
$('.wxapp_p .inputtxt').val(lan.config.no_bind_bt_account);
|
||||
$('.wxapp_p .modify').attr("onclick", "");
|
||||
@@ -938,12 +946,285 @@ function modify_basic_auth() {
|
||||
}
|
||||
});
|
||||
}
|
||||
function open_three_channel_auth(){
|
||||
get_channel_settings(function(rdata){
|
||||
var isOpen = rdata.dingding.info.msg.isAtAll == 'True' ? 'checked': '';
|
||||
var isDing = rdata.dingding.info.msg == 'No information'? '': rdata.dingding.info.msg.dingding_url;
|
||||
layer.open({
|
||||
type: 1,
|
||||
area: "600px",
|
||||
title: "Setting up a message channel",
|
||||
closeBtn: 2,
|
||||
shift: 5,
|
||||
shadeClose: false,
|
||||
content: '<div class="bt-form mes_channel">\
|
||||
<div class="bt-w-main">\
|
||||
<div class="bt-w-menu">\
|
||||
<p class="bgw">Email</p>\
|
||||
</div>\
|
||||
<div class="bt-w-con pd15">\
|
||||
<div class="plugin_body">\
|
||||
<div class="conter_box active" >\
|
||||
<div class="bt-form">\
|
||||
<div class="line">\
|
||||
<button class="btn btn-success btn-sm" onclick="add_receive_info()">Add recipient</button>\
|
||||
<button class="btn btn-default btn-sm" onclick="sender_info_edit()">Sender settings</button>\
|
||||
</div>\
|
||||
<div class="line">\
|
||||
<div class="divtable">\
|
||||
<table class="table table-hover" width="100%" cellspacing="0" cellpadding="0" border="0"><thead><tr><th>Email</th><th width="80px">Operating</th></tr></thead></table>\
|
||||
<table class="table table-hover"><tbody id="receive_table"></tbody></table>\
|
||||
</div>\
|
||||
</div>\
|
||||
</div>\
|
||||
</div>\
|
||||
<div class="conter_box" style="display:none">\
|
||||
<div class="bt-form">\
|
||||
<div class="line">\
|
||||
<span class="tname">Notice all</span>\
|
||||
<div class="info-r" style="height:28px; margin-left:125px">\
|
||||
<input class="btswitch btswitch-ios" id="panel_alert_all" type="checkbox" '+ isOpen+'>\
|
||||
<label style="position: relative;top: 5px;" class="btswitch-btn" for="panel_alert_all"></label>\
|
||||
</div>\
|
||||
</div>\
|
||||
<div class="line">\
|
||||
<span class="tname">DingDing URL</span>\
|
||||
<div class="info-r">\
|
||||
<textarea name="channel_dingding_value" class="bt-input-text mr5" type="text" style="width: 300px; height:90px; line-height:20px">'+isDing+'</textarea>\
|
||||
</div>\
|
||||
<button class="btn btn-success btn-sm" onclick="SetChannelDing()" style="margin: 10px 0 0 125px;">Save</button>\
|
||||
</div>\
|
||||
</div>\
|
||||
</div>\
|
||||
</div>\
|
||||
</div>\
|
||||
</div>\
|
||||
</div>'
|
||||
})
|
||||
$(".bt-w-menu p").click(function () {
|
||||
var index = $(this).index();
|
||||
$(this).addClass('bgw').siblings().removeClass('bgw');
|
||||
$('.conter_box').eq(index).show().siblings().hide();
|
||||
});
|
||||
get_receive_list();
|
||||
})
|
||||
}
|
||||
function sender_info_edit(){
|
||||
var loadT = layer.msg('Getting profile, please wait...', { icon: 16, time: 0, shade: [0.3, '#000'] });
|
||||
$.post('/config?action=get_settings',function(rdata){
|
||||
layer.close(loadT);
|
||||
var qq_mail = rdata.user_mail.info.msg.qq_mail == undefined ? '' : rdata.user_mail.info.msg.qq_mail,
|
||||
qq_stmp_pwd = rdata.user_mail.info.msg.qq_stmp_pwd == undefined? '' : rdata.user_mail.info.msg.qq_stmp_pwd,
|
||||
hosts = rdata.user_mail.info.msg.hosts == undefined? '' : rdata.user_mail.info.msg.hosts,
|
||||
port = rdata.user_mail.info.msg.port == undefined? '' : rdata.user_mail.info.msg.port;
|
||||
layer.open({
|
||||
type: 1,
|
||||
area: "485px",
|
||||
title: "Set sender email information",
|
||||
closeBtn: 2,
|
||||
shift: 5,
|
||||
shadeClose: false,
|
||||
content: '<div class="bt-form pd20 pb70">\
|
||||
<div class="line">\
|
||||
<span class="tname">Sender email</span>\
|
||||
<div class="info-r">\
|
||||
<input name="channel_email_value" class="bt-input-text mr5" type="text" style="width: 300px" value="'+qq_mail+'">\
|
||||
</div>\
|
||||
</div>\
|
||||
<div class="line">\
|
||||
<span class="tname">smtp password</span>\
|
||||
<div class="info-r">\
|
||||
<input name="channel_email_password" class="bt-input-text mr5" type="password" style="width: 300px" value="'+qq_stmp_pwd+'">\
|
||||
</div>\
|
||||
</div>\
|
||||
<div class="line">\
|
||||
<span class="tname">smtp server</span>\
|
||||
<div class="info-r">\
|
||||
<input name="channel_email_server" class="bt-input-text mr5" type="text" style="width: 300px" value="'+hosts+'">\
|
||||
</div>\
|
||||
</div>\
|
||||
<div class="line">\
|
||||
<span class="tname">smtp port</span>\
|
||||
<div class="info-r">\
|
||||
<select class="bt-input-text mr5" id="port_select" style="width:'+(select_port(port)?'300px':'100px')+'"></select>\
|
||||
<input name="channel_email_port" class="bt-input-text mr5" type="Number" style="display:'+(select_port(port)? 'none':'inline-block')+'; width: 190px" value="'+port+'">\
|
||||
</div>\
|
||||
</div>\
|
||||
<ul class="help-info-text c7">\
|
||||
<li>465 port is recommended, the protocol is SSL/TLS</li>\
|
||||
<li>Port 25 is SMTP protocol, port 587 is STARTTLS protocol</li>\
|
||||
</ul>\
|
||||
<div class="bt-form-submit-btn">\
|
||||
<button type="button" class="btn btn-danger btn-sm smtp_closeBtn">Close</button>\
|
||||
<button class="btn btn-success btn-sm SetChannelEmail">Save</button></div>\
|
||||
</div>',
|
||||
success:function(layers,index){
|
||||
var _option = '';
|
||||
if(select_port(port)){
|
||||
if(port == '465' || port == ''){
|
||||
_option = '<option value="465" selected="selected">465</option><option value="25">25</option><option value="587">587</option><option value="other">Customize</option>'
|
||||
}else if(port == '25'){
|
||||
_option = '<option value="465">465</option><option value="25" selected="selected">25</option><option value="587">587</option><option value="other">Customize</option>'
|
||||
}else{
|
||||
_option = '<option value="465">465</option><option value="25">25</option><option value="587" selected="selected">587</option><option value="other">Customize</option>'
|
||||
}
|
||||
}else{
|
||||
_option = '<option value="465">465</option><option value="25">25</option><option value="587" >587</option><option value="other" selected="selected">Customize</option>'
|
||||
}
|
||||
$("#port_select").html(_option)
|
||||
$("#port_select").change(function(e){
|
||||
if(e.target.value == 'other'){
|
||||
$("#port_select").css("width","100px");
|
||||
$('input[name=channel_email_port]').css("display","inline-block");
|
||||
}else{
|
||||
$("#port_select").css("width","300px");
|
||||
$('input[name=channel_email_port]').css("display","none");
|
||||
}
|
||||
})
|
||||
$(".SetChannelEmail").click(function(){
|
||||
var _email = $('input[name=channel_email_value]').val();
|
||||
var _passW = $('input[name=channel_email_password]').val();
|
||||
var _server = $('input[name=channel_email_server]').val();
|
||||
if($('#port_select').val() == 'other'){
|
||||
_port = $('input[name=channel_email_port]').val();
|
||||
}else{
|
||||
_port = $('#port_select').val()
|
||||
}
|
||||
if(_email == ''){
|
||||
return layer.msg('Email address cannot be empty!',{icon:2});
|
||||
}else if(_passW == ''){
|
||||
return layer.msg('STMP password cannot be empty!',{icon:2});
|
||||
}else if(_server == ''){
|
||||
return layer.msg('STMP server address cannot be empty!',{icon:2});
|
||||
}else if(_port == ''){
|
||||
return layer.msg('STMP server port cannot be empty!',{icon:2});
|
||||
}
|
||||
var loadT = layer.msg('Please wait while generating mailbox channel...', { icon: 16, time: 0, shade: [0.3, '#000'] });
|
||||
layer.close(index)
|
||||
$.post('/config?action=user_mail_send',{email:_email,stmp_pwd:_passW,hosts:_server,port:_port},function(rdata){
|
||||
layer.close(loadT);
|
||||
layer.msg(rdata.msg,{icon:rdata.status?1:2})
|
||||
})
|
||||
})
|
||||
$(".smtp_closeBtn").click(function(){
|
||||
layer.close(index)
|
||||
})
|
||||
}
|
||||
})
|
||||
});
|
||||
}
|
||||
function select_port(port){
|
||||
switch(port){
|
||||
case '25':
|
||||
return true;
|
||||
case '465':
|
||||
return true;
|
||||
case '587':
|
||||
return true;
|
||||
case '':
|
||||
return true;
|
||||
default:
|
||||
return false
|
||||
}
|
||||
}
|
||||
function get_channel_settings(callback){
|
||||
var loadT = layer.msg('Getting profile, please wait...', { icon: 16, time: 0, shade: [0.3, '#000'] });
|
||||
$.post('/config?action=get_settings',function(rdata){
|
||||
layer.close(loadT);
|
||||
if (callback) callback(rdata);
|
||||
})
|
||||
}
|
||||
function add_receive_info(){
|
||||
layer.open({
|
||||
type: 1,
|
||||
area: "400px",
|
||||
title: "Add recipient email",
|
||||
closeBtn: 2,
|
||||
shift: 5,
|
||||
shadeClose: false,
|
||||
content: '<div class="bt-form pd20 pb70">\
|
||||
<div class="line">\
|
||||
<span class="tname">Recipient mailbox</span>\
|
||||
<div class="info-r">\
|
||||
<input name="creater_email_value" class="bt-input-text mr5" type="text" style="width: 240px" value="">\
|
||||
</div>\
|
||||
</div>\
|
||||
<div class="bt-form-submit-btn">\
|
||||
<button type="button" class="btn btn-danger btn-sm smtp_closeBtn">Close</button>\
|
||||
<button class="btn btn-success btn-sm CreaterReceive">Create</button>\
|
||||
</div>\
|
||||
</div>',
|
||||
success:function(layers,index){
|
||||
$(".CreaterReceive").click(function(){
|
||||
var _receive = $('input[name=creater_email_value]').val(),_that = this;
|
||||
if(_receive != ''){
|
||||
var loadT = layer.msg('Please wait while creating recipient list...', { icon: 16, time: 0, shade: [0.3, '#000'] });
|
||||
layer.close(index)
|
||||
$.post('/config?action=add_mail_address',{email:_receive},function(rdata){
|
||||
layer.close(loadT);
|
||||
// 刷新收件列表
|
||||
get_receive_list();
|
||||
layer.msg(rdata.msg,{icon:rdata.status?1:2});
|
||||
})
|
||||
}else{
|
||||
layer.msg('Recipient mailbox cannot be empty!',{icon:2});
|
||||
}
|
||||
})
|
||||
|
||||
$(".smtp_closeBtn").click(function(){
|
||||
layer.close(index)
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
function get_receive_list(){
|
||||
$.post('/config?action=get_settings',function(rdata){
|
||||
var _html = '',_list = rdata.user_mail.mail_list;
|
||||
if(_list.length > 0){
|
||||
for(var i= 0; i<_list.length;i++){
|
||||
_html += '<tr>\
|
||||
<td>'+ _list[i] +'</td>\
|
||||
<td width="80px"><a onclick="del_email(\''+ _list[i] + '\')" href="javascript:;" style="color:#20a53a">Del</a></td>\
|
||||
</tr>'
|
||||
}
|
||||
}else{
|
||||
_html = '<tr>No Data</tr>'
|
||||
}
|
||||
$('#receive_table').html(_html);
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
function del_email(mail){
|
||||
var loadT = layer.msg('Deleting ['+ mail +'], please wait...', { icon: 16, time: 0, shade: [0.3, '#000'] }),_this = this;
|
||||
$.post('/config?action=del_mail_list',{email:mail},function(rdata){
|
||||
layer.close(loadT);
|
||||
layer.msg(rdata.msg,{icon:rdata.status?1:2})
|
||||
_this.get_receive_list()
|
||||
})
|
||||
}
|
||||
// 设置钉钉
|
||||
function SetChannelDing(){
|
||||
var _url = $('textarea[name=channel_dingding_value]').val();
|
||||
var _all = $('#panel_alert_all').prop("checked");
|
||||
if(_url != ''){
|
||||
var loadT = layer.msg('Please wait while generating dingding channel...', { icon: 16, time: 0, shade: [0.3, '#000'] });
|
||||
$.post('/config?action=set_dingding',{url:_url,atall:_all == true? 'True':'False'},function(rdata){
|
||||
layer.close(loadT);
|
||||
layer.msg(rdata.msg,{icon:rdata.status?1:2})
|
||||
})
|
||||
}else{
|
||||
layer.msg('Please enter the dingding URL',{icon:2})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
function show_basic_auth(rdata) {
|
||||
layer.open({
|
||||
type: 1,
|
||||
area: "500px",
|
||||
title: "配置BasicAuth认证",
|
||||
title: "Configure BasicAuth authentication",
|
||||
closeBtn: 2,
|
||||
shift: 5,
|
||||
shadeClose: false,
|
||||
|
||||
@@ -135,6 +135,9 @@ function edit_task_info(id){
|
||||
if(obj.from['backupTo'] == obj['backupsArray'][i]['value']) backupsName = obj['backupsArray'][i]['name'];
|
||||
backupsDom += '<li><a role="menuitem" href="javascript:;" value="'+ obj['backupsArray'][i]['value'] +'">'+ obj['backupsArray'][i]['name'] +'</a></li>';
|
||||
}
|
||||
if(obj.from.sType == 'webshell'){
|
||||
edit_message_channel(obj.from.urladdress)
|
||||
}
|
||||
callback();
|
||||
});
|
||||
}else{
|
||||
@@ -146,7 +149,7 @@ function edit_task_info(id){
|
||||
layer.open({
|
||||
type:1,
|
||||
title:lan.crontab.crontab_edit+'-['+rdata.name+']',
|
||||
area: ['850px','450px'],
|
||||
area: ['866px','500px'],
|
||||
skin:'layer-create-content',
|
||||
shadeClose:false,
|
||||
closeBtn:2,
|
||||
@@ -214,8 +217,8 @@ function edit_task_info(id){
|
||||
</div>\
|
||||
</div>\
|
||||
<div class="clearfix plan ptb10" style="display:'+ ((obj.from.sType == "toShell" || obj.from.sType == 'site' || obj.from.sType == 'path')?'block;':'none') +'">\
|
||||
<span class="typename controls c4 pull-left f14 text-right mr20">'+lan.crontab.shell_content+'</span>\
|
||||
<div style="line-height:34px"><textarea style="line-height:22px" class="txtsjs bt-input-text sBody_create" name="sBody">'+ obj.from.sBody +'</textarea></div>\
|
||||
<span class="typename controls c4 pull-left f14 text-right mr20">'+ (obj.from.sType == "toShell" ?'Script content':'Exclusion rule')+'</span>\
|
||||
<div style="line-height:22px"><textarea style="line-height:22px" class="txtsjs bt-input-text sBody_create" name="sBody">'+ obj.from.sBody +'</textarea></div>\
|
||||
</div>\
|
||||
<div class="clearfix plan ptb10" style="display:'+ (obj.from.sType == "rememory"?'block;':'none') +'">\
|
||||
<span class="typename controls c4 pull-left f14 text-right mr20">'+lan.crontab.tips+'</span>\
|
||||
@@ -228,6 +231,23 @@ function edit_task_info(id){
|
||||
<div class="clearfix plan ptb10">\
|
||||
<div class="bt-submit plan-submits " style="margin-left: 141px;">'+lan.crontab.edit_save+'</div>\
|
||||
</div>\
|
||||
</div>\
|
||||
<div class="clearfix plan ptb10" style="display:'+ (obj.from.sType == "webshell"?'none':'none') +'">\
|
||||
<span class="typename controls c4 pull-left f14 text-right mr20">Scan site</span>\
|
||||
<div class="dropdown pull-left mr20 sName_btn">\
|
||||
<button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown" style="width:auto" disabled="disabled">\
|
||||
<b id="sName" val="'+ obj.from.sName +'">'+ sNameName +'</b>\
|
||||
<span class="caret"></span>\
|
||||
</button>\
|
||||
<ul class="dropdown-menu" role="menu" aria-labelledby="sName">'+ sNameDom +'</ul>\
|
||||
</div>\
|
||||
<p class="clearfix plan">\
|
||||
<div class="textname pull-left mr20" style="margin-left: 63px; font-size: 14px;">Message channel</div>\
|
||||
<div class="dropdown planBackupTo pull-left mr20 message_start" style="line-height: 34px;"></div>\
|
||||
</p>\
|
||||
<div class="clearfix plan ptb10">\
|
||||
<div class="bt-submit plan-submits " style="margin-left: 141px;">'+lan.crontab.edit_save+'</div>\
|
||||
</div>\
|
||||
</div>'
|
||||
});
|
||||
setTimeout(function(){
|
||||
@@ -237,6 +257,8 @@ function edit_task_info(id){
|
||||
$('.site_list').hide();
|
||||
}else if( obj.from.sType == 'toUrl'){
|
||||
$('.site_list').hide();
|
||||
}else if( obj.from.sType == 'webshell'){
|
||||
$('.site_list').hide();
|
||||
}else{
|
||||
$('.site_list').show();
|
||||
}
|
||||
@@ -361,6 +383,8 @@ function edit_task_info(id){
|
||||
}else if(obj.from.type == 'minute-n'){
|
||||
obj.from.where1 = obj.from.minute;
|
||||
obj.from.minute = '';
|
||||
}else if(obj.from.sType == 'webshell'){
|
||||
obj.from.urladdress = $(".message_start input:checked").val()
|
||||
}
|
||||
layer.msg(lan.crontab.saving,{icon:16,time:0,shade: [0.3, '#000']});
|
||||
$.post('/crontab?action=modify_crond',obj.from,function(rdata){
|
||||
@@ -373,13 +397,40 @@ function edit_task_info(id){
|
||||
});
|
||||
});
|
||||
|
||||
}
|
||||
// 修改木马查杀 消息通道
|
||||
function edit_message_channel(type){
|
||||
$.post('/config?action=get_settings',function(res){
|
||||
var tMess = "";
|
||||
if(res.user_mail.user_name && !res.dingding.dingding){
|
||||
tMess = '<div class="check_alert" style="margin-right:20px;display: inline-block;">\
|
||||
<input type="radio" name="alert" title="Email" value="mail" checked="">\
|
||||
<label style="font-weight: normal;font-size: 14px;margin-left: 6px;display: inline;">Email</label>\
|
||||
</div>'
|
||||
}else if(!res.user_mail.user_name && res.dingding.dingding){
|
||||
tMess = '<div class="check_alert" style="display: inline-block;">\
|
||||
<input type="radio" name="alert" title="dingding" value="dingding" checked="">\
|
||||
<label style="font-weight: normal;font-size: 14px;margin-left: 6px;display: inline;">dingding</label>\
|
||||
</div>'
|
||||
}else{
|
||||
tMess ='<div class="check_alert" style="margin-right:20px;display: inline-block;">\
|
||||
<input type="radio" name="alert" title="Email" value="mail" '+ (type == 'mail'? 'checked' : '') +'>\
|
||||
<label style="font-weight: normal;font-size: 14px;margin-left: 6px;display: inline;">Email</label>\
|
||||
</div>\
|
||||
<div class="check_alert" style="display: inline-block;">\
|
||||
<input type="radio" name="alert" title="dingding" value="dingding" '+ (type == 'dingding'? 'checked' : '') +'>\
|
||||
<label style="font-weight: normal;font-size: 14px;margin-left: 6px;display: inline;">dingding</label>\
|
||||
</div>'
|
||||
}
|
||||
$(".message_start").html(tMess);
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
// 设置计划任务状态
|
||||
function set_task_status(id,status){
|
||||
var confirm = layer.confirm(status == '0'?lan.crontab.crontab_stop_will:lan.crontab.disable_change_crontab_start, {title:lan.crontab.tips,icon:3,closeBtn:2},function(index) {
|
||||
if (index > 0) {
|
||||
var loadT = layer.msg(lan.crontab.setting_status,{icon:16,time:0,shade: [0.3, '#000']});
|
||||
$.post('/crontab?action=set_cron_status',{id:id},function(rdata){
|
||||
layer.closeAll();
|
||||
layer.close(confirm);
|
||||
@@ -442,6 +493,25 @@ function allDeleteCron(){
|
||||
syncDeleteCron(dataList,0,'');
|
||||
});
|
||||
}
|
||||
//批量执行和批量清除日志
|
||||
function allCron(type){
|
||||
var message = type=='log' ? 'Confirm to delete the logs of the selected task?' : 'Confirm to execute the selected task?',
|
||||
tit = type=='log' ? 'Confirm Delete' : 'Confirm Execute',
|
||||
url = type=='log' ? '/crontab?action=DelLogs' : '/crontab?action=StartTask',
|
||||
confirm = layer.confirm(message, {title:tit,icon:3,closeBtn:2},function() {
|
||||
var checkList = $("input[name=id]");
|
||||
for(var i=0;i<checkList.length;i++){
|
||||
if(!checkList[i].checked) continue;
|
||||
var data = 'id='+checkList[i].value;
|
||||
$.post(url,data,function(rdata){
|
||||
if(i==checkList.length){
|
||||
layer.close(confirm);
|
||||
layer.msg(rdata.msg,{icon:rdata.status?1:2});
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
//模拟同步开始批量删除数据库
|
||||
function syncDeleteCron(dataList,successCount,errorMsg){
|
||||
@@ -607,6 +677,9 @@ function planAdd(){
|
||||
var data= $("#set-Config").serialize() + '&sBody='+sBody + '&urladdress=' + urladdress_1;
|
||||
if(data.indexOf('sType=path') > -1){
|
||||
data = data.replace('&sName=&','&sName='+ encodeURIComponent($('#inputPath').val()) +'&')
|
||||
}else if(data.indexOf('sType=webshell') > -1){
|
||||
data = $("#set-Config").serialize() + '&urladdress=' + _radiox;
|
||||
data = data.replace('&sName=&','&sName='+ encodeURIComponent($('#filePath').val()) +'&')
|
||||
}
|
||||
|
||||
$.post('/crontab?action=AddCrontab',data,function(rdata){
|
||||
@@ -735,6 +808,9 @@ $(".dropdown ul li a").click(function(){
|
||||
toUrl();
|
||||
$(".controls").html(lan.crontab.url_address);
|
||||
break;
|
||||
case 'webshell':
|
||||
webShell();
|
||||
break;
|
||||
}
|
||||
|
||||
})
|
||||
@@ -767,6 +843,7 @@ function toBackup(type){
|
||||
if(type != 'path'){
|
||||
var sOpt = "",sOptBody = '';
|
||||
if(rdata.data.length == 0){
|
||||
$(".planname input[name='name']").val('');
|
||||
layer.msg(lan.public.list_empty,{icon:2})
|
||||
return
|
||||
}
|
||||
@@ -821,9 +898,9 @@ function toBackup(type){
|
||||
</div>';
|
||||
if (sType == 'sites' && sMsg !== lan.crontab.backup_log) {
|
||||
sBody += '<p class="clearfix plan">\
|
||||
<div class="textname pull-left mr20" style="margin-left: 63px; font-size: 14px;">'+lan.crontab.exclusion_rule+'</div>\
|
||||
<div class="textname pull-left mr20" style="margin-left: 29px; font-size: 14px;">'+lan.crontab.exclusion_rule+'</div>\
|
||||
<div class="dropdown planBackupTo pull-left mr20">\
|
||||
<span><textarea style=" height: 100px;width:300px;line-height:22px;" class="bt-input-text" type="text" name="sBody" id="exclude" placeholder="'+lan.crontab.exclusion_rule_tips+'\ndata/config.php\nstatic/upload\n *.log\n"></textarea></span>\
|
||||
<span><textarea style=" height: 112px;width:300px;line-height:22px;" class="bt-input-text" type="text" name="sBody" id="exclude" placeholder="'+lan.crontab.exclusion_rule_tips+'\ndata/config.php\nstatic/upload\n *.log\n"></textarea></span>\
|
||||
</div>\
|
||||
</p>';
|
||||
}
|
||||
@@ -837,11 +914,24 @@ function toBackup(type){
|
||||
if(type == "path"){
|
||||
$('.planname input').attr('readonly',false).removeAttr('style');
|
||||
}
|
||||
$("#exclude").focus(function(){
|
||||
var _this = $(this), tips = _this.attr('placeholder'),
|
||||
tipss = ''+lan.crontab.exclusion_rule_tips+'</br>data/config.php</br>static/upload</br> *.log</br>';
|
||||
_this.attr('placeholder', '');
|
||||
var loadT = layer.tips(tipss, _this, {
|
||||
tips: [1, '#20a53a'],
|
||||
time: 0,
|
||||
area: _this[0].clientWidth + 'px'
|
||||
});
|
||||
$(this).one('blur', function () {
|
||||
$(this).attr('placeholder', tips);
|
||||
layer.close(loadT);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
//下拉菜单名称
|
||||
function getselectname(){
|
||||
$(".dropdown ul li a").click(function(){
|
||||
@@ -910,13 +1000,116 @@ function toFile(){
|
||||
|
||||
//从脚本
|
||||
function toShell(){
|
||||
var tBody = "<textarea class='txtsjs bt-input-text' name='sBody'></textarea>";
|
||||
var shell_body = '';
|
||||
var shell_name = '';
|
||||
if($("b[val='toShell']").text() === 'synchronised time'){
|
||||
shell_name = 'Periodically synchronize server time';
|
||||
shell_body = 'echo "|-Trying to synchronize time from 0.pool.bt.cn..";\n\
|
||||
ntpdate -u 0.pool.bt.cn\n\
|
||||
if [ $? = 1 ];then\n\
|
||||
echo "|-Trying to synchronize time from 1.pool.bt.cn..";\n\
|
||||
ntpdate -u 1.pool.bt.cn\n\
|
||||
fi\n\
|
||||
if [ $? = 1 ];then\n\
|
||||
echo "|-Trying to sync time from 0.asia.pool.ntp.org..";\n\
|
||||
ntpdate -u 0.asia.pool.ntp.org\n\
|
||||
fi\n\
|
||||
if [ $? = 1 ];then\n\
|
||||
echo "|-Trying to sync time from www.bt.cn..";\n\
|
||||
getBtTime=$(curl -sS --connect-timeout 3 -m 60 http://www.bt.cn/api/index/get_time)\n\
|
||||
if [ "${getBtTime}" ];then \n\
|
||||
date -s "$(date -d @$getBtTime +"%Y-%m-%d %H:%M:%S")"\n\
|
||||
fi\n\
|
||||
fi\n\
|
||||
echo "|-Trying to write current system time to hardware..";\n\
|
||||
hwclock -w\n\
|
||||
date\n\
|
||||
echo "|-Time synchronization completed!";'
|
||||
}
|
||||
var tBody = "<textarea class='txtsjs bt-input-text' name='sBody' style='margin: 0px; width: 445px; height: 90px;line-height: 16px;'>"+shell_body+"</textarea>";
|
||||
$("#implement").html(tBody);
|
||||
$(".planname input[name='name']").removeAttr('readonly style').val("");
|
||||
$(".planname input[name='name']").removeAttr('readonly style').val(shell_name);
|
||||
}
|
||||
|
||||
function toPath() {
|
||||
|
||||
}
|
||||
//木马查杀
|
||||
function webShell(){
|
||||
var sOpt = "",sOptBody = '';
|
||||
$.post('/crontab?action=GetDataList&type=sites',function(rdata){
|
||||
$(".planname input[name='name']").attr('readonly','true').css({"background-color":"#f6f6f6","color":"#666"});
|
||||
if(rdata.data.length == 0){
|
||||
layer.msg(lan.public.list_empty,{icon:2})
|
||||
return
|
||||
}
|
||||
for(var i=0;i<rdata.data.length;i++){
|
||||
if(i==0){
|
||||
$(".planname input[name='name']").val("木马查杀"+'['+rdata.data[i].name+']');
|
||||
}
|
||||
sOpt += '<li><a role="menuitem" tabindex="-1" href="javascript:;" value="'+rdata.data[i].name+'">'+rdata.data[i].name+'['+rdata.data[i].ps+']</a></li>';
|
||||
}
|
||||
sOptBody ='<div class="dropdown pull-left mr20">\
|
||||
<button class="btn btn-default dropdown-toggle" type="button" id="backdata" data-toggle="dropdown" style="width:auto">\
|
||||
<b id="sName" val="'+rdata.data[0].name+'">'+rdata.data[0].name+'['+rdata.data[0].ps+']</b> <span class="caret"></span>\
|
||||
</button>\
|
||||
<ul class="dropdown-menu" role="menu" aria-labelledby="backdata">'+sOpt+'</ul>\
|
||||
</div>'
|
||||
setCookie('default_dir_path','/www/wwwroot/');
|
||||
setCookie('path_dir_change','/www/wwwroot/');
|
||||
setInterval(function(){
|
||||
if(getCookie('path_dir_change') != getCookie('default_dir_path')){
|
||||
var path_dir_change = getCookie('path_dir_change')
|
||||
$(".planname input").val('Trojan kill ['+getCookie('path_dir_change')+']');
|
||||
setCookie('default_dir_path',path_dir_change);
|
||||
}
|
||||
$(".check_alert").click(function(){
|
||||
_radiox = $(this).find("input[name=alert]").val();
|
||||
})
|
||||
},500);
|
||||
sOptBody += '<p class="clearfix plan">\
|
||||
<div class="textname pull-left mr20" style="margin-left: 63px; font-size: 14px;">Message channel</div>\
|
||||
<div class="dropdown planBackupTo pull-left mr20 message_start"></div>\
|
||||
</p>';
|
||||
$("#implement").html(sOptBody);
|
||||
message_channel_start();
|
||||
$("#implement").siblings(".controls").html("Scan site");
|
||||
getselectname();
|
||||
$(".dropdown ul li a").click(function(){
|
||||
var sName = $("#sName").attr("val");
|
||||
if(!sName) return;
|
||||
$(".planname input[name='name']").val("Trojan kill "+'['+sName+']');
|
||||
});
|
||||
})
|
||||
}
|
||||
function message_channel_start(){
|
||||
$.post('/config?action=get_settings',function(res){
|
||||
var wBody = "";
|
||||
if(!res.user_mail.user_name && !res.dingding.dingding){
|
||||
wBody = '<span style="color:red;">No message channel is set, please go to panel settings to add a message channel configuration<a href="https://www.bt.cn/bbs/thread-42312-1-1.html" target="_blank" class="bt-ico-ask" style="cursor: pointer;">?</a></span>';
|
||||
$(".plan-submit").css({"pointer-events":"none","background-color":"#e6e6e6","color":"#333"});
|
||||
}else if(res.user_mail.user_name && !res.dingding.dingding){
|
||||
wBody = '<div class="check_alert" style="margin-right:20px;display: inline-block;">\
|
||||
<input type="radio" name="alert" title="Email" value="mail" checked="">\
|
||||
<label style="font-weight: normal;font-size: 14px;margin-left: 6px;display: inline;">Email</label>\
|
||||
</div>'
|
||||
}else if(!res.user_mail.user_name && res.dingding.dingding){
|
||||
wBody = '<div class="check_alert" style="display: inline-block;">\
|
||||
<input type="radio" name="alert" title="dingding" value="dingding" checked="">\
|
||||
<label style="font-weight: normal;font-size: 14px;margin-left: 6px;display: inline;">dingding</label>\
|
||||
</div>'
|
||||
}else{
|
||||
wBody ='<div class="check_alert" style="margin-right:20px;display: inline-block;">\
|
||||
<input type="radio" name="alert" title="Email" value="mail" checked="">\
|
||||
<label style="font-weight: normal;font-size: 14px;margin-left: 6px;display: inline;">Email</label>\
|
||||
</div>\
|
||||
<div class="check_alert" style="display: inline-block;">\
|
||||
<input type="radio" name="alert" title="dingding" value="dingding">\
|
||||
<label style="font-weight: normal;font-size: 14px;margin-left: 6px;display: inline;">dingding</label>\
|
||||
</div>'
|
||||
}
|
||||
$(".message_start").html(wBody);
|
||||
})
|
||||
}
|
||||
//从url
|
||||
function toUrl(){
|
||||
|
||||
@@ -100,12 +100,12 @@ var database = {
|
||||
layer.open({
|
||||
type: 1,
|
||||
title: lan.database.mysql_tools_box+"【" + db_name + "】",
|
||||
area: ['780px', '580px'],
|
||||
area: ['824px', '580px'],
|
||||
closeBtn: 2,
|
||||
shadeClose: false,
|
||||
content: '<div class="pd15">\
|
||||
content: '<div class="plr15 mt10">\
|
||||
<div class="db_list">\
|
||||
<span><a>'+lan.database.db_name+':'+ db_name + '</a>\
|
||||
<span><a style="width: 205px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;display: inline-block;vertical-align: bottom;margin-right: 11px;" title="'+ db_name + '">'+lan.database.db_name+':'+ db_name + '</a>\
|
||||
<a class="tools_size">'+lan.database.size+':'+ rdata.data_size + '</a></span>\
|
||||
<span id="db_tools" style="float: right;"></span>\
|
||||
</div >\
|
||||
@@ -118,7 +118,7 @@ var database = {
|
||||
<th>'+lan.database.tb_name+'</th>\
|
||||
<th>'+lan.database.engine+'</th>\
|
||||
<th>'+lan.database.character+'</th>\
|
||||
<th>'+lan.database.row_num+'</th>\
|
||||
<th width="80">'+lan.database.row_num+'</th>\
|
||||
<th>'+lan.database.size+'</th>\
|
||||
<th style="text-align: right;">'+lan.database.operation+'</th>\
|
||||
</tr>\
|
||||
@@ -324,6 +324,7 @@ var database = {
|
||||
$('#btn_data_backup').unbind('click').click(function () {
|
||||
bt.database.backup_data(id, dataname, function (rdata) {
|
||||
if (rdata.status) database.database_detail(id, dataname);
|
||||
database.get_list();
|
||||
})
|
||||
})
|
||||
}, 100)
|
||||
|
||||
@@ -127,15 +127,15 @@ var index = {
|
||||
})
|
||||
|
||||
_this.get_data_info(function (loadbox, rdata) {
|
||||
loadbox.hover(function () {
|
||||
loadbox.find('.cicle').hover(function () {
|
||||
var _this = $(this);
|
||||
var d = _this.parents('ul').data('data').load;
|
||||
layer.tips(lan.index.avg_load_atlast_onemin + d.one + '</br>'+ lan.index.avg_load_atlast_fivemin + d.five + '</br>'+ lan.index.avg_load_atlast_fifteenmin + d.fifteen + '', _this.find('.cicle'), { time: 0, tips: [1, '#999'] });
|
||||
layer.tips(lan.index.avg_load_atlast_onemin + d.one + '</br>'+ lan.index.avg_load_atlast_fivemin + d.five + '</br>'+ lan.index.avg_load_atlast_fifteenmin + d.fifteen + '', _this, { time: 0, tips: [1, '#999'] });
|
||||
}, function () {
|
||||
layer.closeAll('tips');
|
||||
})
|
||||
|
||||
$('.cpubox').hover(function () {
|
||||
$('.cpubox').find('.cicle').hover(function () {
|
||||
var _this = $(this);
|
||||
var d = _this.parents('ul').data('data').cpu;
|
||||
var crs = '';
|
||||
@@ -511,7 +511,7 @@ var index = {
|
||||
content: '<div class="setchmod bt-form" style="padding-bottom:50px;">\
|
||||
<div class="update_title"><i class="layui-layer-ico layui-layer-ico0"></i><span>'+lan.index.have_new_version+'</span></div>\
|
||||
<div class="update_conter">\
|
||||
<div class="update_version">'+lan.index.last_version+'<a href="https://forum.aapanel.com/d/9-aapanel-linux-panel-6-1-5-installation-tutorial/36" target="_blank" class="btlink" title="'+lan.index.check_version_log+'">'+lan.index.bt_linux+ (is_beta === 1 ? lan.index.test_version : lan.index.final_version) + rdata.version + '</a> '+lan.index.update_date + (result.msg.is_beta == 1 ? result.msg.beta.uptime : result.msg.uptime) + '</div>\
|
||||
<div class="update_version">'+lan.index.last_version+'<a href="https://forum.aapanel.com/d/9-aapanel-linux-panel-6-1-5-installation-tutorial/36" target="_blank" class="btlink" title="'+lan.index.check_version_log+'">'+lan.index.bt_linux+ (is_beta === 1 ? lan.index.test_version : lan.index.final_version) + rdata.version + '</a></br>'+lan.index.update_date + (result.msg.is_beta == 1 ? result.msg.beta.uptime : result.msg.uptime) + '</div>\
|
||||
<div class="update_logs">'+ rdata.updateMsg + '</div>\
|
||||
</div>\
|
||||
<!--div class="update_conter">\
|
||||
@@ -524,7 +524,7 @@ var index = {
|
||||
</div>\
|
||||
</div>\
|
||||
<style>\
|
||||
.update_title{overflow: hidden;position: relative;vertical-align: middle;margin-top: 10px;}.update_title .layui-layer-ico{display: block;left: 60px !important;top: 1px !important;}.update_title span{display: inline-block;color: #333;height: 30px;margin-left: 105px;margin-top: 3px;font-size: 20px;}.update_conter{background: #f9f9f9;border-radius: 4px;padding: 20px;margin: 15px 37px;margin-top: 15px;}.update_version{font-size: 13.5px; margin-bottom: 10px;font-weight: 600;}.update_logs{margin-bottom:10px;}.update_tips{font-size: 13px;color:#666;}.update_conter span{display: block;font-size:13px;color:#666}\
|
||||
.update_title{overflow: hidden;position: relative;vertical-align: middle;margin-top: 10px;}.update_title .layui-layer-ico{display: block;left: 71px !important;top: 1px !important;}.update_title span{display: inline-block;color: #333;height: 30px;margin-left: 117px;margin-top: 3px;font-size: 20px;}.update_conter{background: #f9f9f9;border-radius: 4px;padding: 20px;margin: 15px 37px;margin-top: 15px;}.update_version{font-size: 13.5px; margin-bottom: 10px;font-weight: 600;}.update_logs{margin-bottom:10px;}.update_tips{font-size: 13px;color:#666;}.update_conter span{display: block;font-size:13px;color:#666}\
|
||||
</style>'
|
||||
});
|
||||
}
|
||||
@@ -534,7 +534,7 @@ var index = {
|
||||
layer.closeAll();
|
||||
bt.system.to_update(function (rdata) {
|
||||
if (rdata.status) {
|
||||
bt.msg({ msg: lan.index.update_ok, icon: 1 })
|
||||
bt.msg({ msg: rdata.msg, icon: 1 })
|
||||
$("#btversion").html(rdata.version);
|
||||
$("#toUpdate").html('');
|
||||
bt.system.reload_panel();
|
||||
|
||||