first commit
This commit is contained in:
4
extend/conf/.htaccess
Normal file
4
extend/conf/.htaccess
Normal file
@@ -0,0 +1,4 @@
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteCond % !^$
|
||||
RewriteRule ^.*\.(php|php3|php4|php5|php7|pht|phtml|asp|aspx|jsp|exe) - [F]
|
||||
</IfModule>
|
||||
BIN
extend/conf/ip/ip2region.db
Normal file
BIN
extend/conf/ip/ip2region.db
Normal file
Binary file not shown.
9
extend/conf/maps/360.html
Normal file
9
extend/conf/maps/360.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<sitemapindex>
|
||||
<volist name="list_map" id="vo">
|
||||
<sitemap>
|
||||
<loc>{$vo.url}</loc>
|
||||
<lastmod>{$vo.createtime}</lastmod>
|
||||
</sitemap>
|
||||
</volist>
|
||||
</sitemapindex>
|
||||
11
extend/conf/maps/baidu.html
Normal file
11
extend/conf/maps/baidu.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset>
|
||||
<volist name="listmap" id="vo">
|
||||
<php>echo '<'.'url'.'>';</php>
|
||||
<loc>{$vo.url}</loc>
|
||||
<lastmod>{$vo.createtime}</lastmod>
|
||||
<changefreq>always</changefreq>
|
||||
<priority>1.0</priority>
|
||||
<php>echo '</'.'url'.'>';</php>
|
||||
</volist>
|
||||
</urlset>
|
||||
17
extend/conf/maps/google.html
Normal file
17
extend/conf/maps/google.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>{$site_http}</loc>
|
||||
<lastmod>{:date('Y-m-d',time())}</lastmod>
|
||||
<changefreq>hourly</changefreq>
|
||||
<priority>1.0</priority>
|
||||
</url>
|
||||
<volist name="list_map" id="vo">
|
||||
<url>
|
||||
<loc>{$vo.url}</loc>
|
||||
<lastmod>{$vo.createtime}</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.8</priority>
|
||||
</url>
|
||||
</volist>
|
||||
</urlset>
|
||||
52
extend/conf/sms/sms.php
Normal file
52
extend/conf/sms/sms.php
Normal file
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
return array(
|
||||
/*
|
||||
* 短信模板配置
|
||||
*/
|
||||
'alisms' => array(
|
||||
'register' => array(
|
||||
'name' => '用户注册',
|
||||
'auto' => true,
|
||||
'template' => 'SMS_206595526'
|
||||
),
|
||||
'forgot' => array(
|
||||
'name' => '找回密码',
|
||||
'auto' => true,
|
||||
'template' => 'SMS_206854581'
|
||||
),
|
||||
'change' => array(
|
||||
'name' => '修改信息',
|
||||
'auto' => true,
|
||||
'template' => 'SMS_206595526'
|
||||
),
|
||||
'notice' => array(
|
||||
'name' => '消息通知',
|
||||
'auto' => false,
|
||||
'template' => 'SMS_206854581'
|
||||
)
|
||||
),
|
||||
'tensms' => array(
|
||||
'register' => array(
|
||||
'name' => '用户注册',
|
||||
'auto' => true,
|
||||
'template' => '1361749'
|
||||
),
|
||||
'forgot' => array(
|
||||
'name' => '找回密码',
|
||||
'auto' => true,
|
||||
'template' => '1361742'
|
||||
),
|
||||
'change' => array(
|
||||
'name' => '修改信息',
|
||||
'auto' => true,
|
||||
'template' => '1401023'
|
||||
),
|
||||
'notice' => array(
|
||||
'name' => '消息通知',
|
||||
'auto' => false,
|
||||
'template' => '901315'
|
||||
)
|
||||
),
|
||||
|
||||
// TODO...
|
||||
);
|
||||
25
extend/conf/tpl/captcha.tpl
Normal file
25
extend/conf/tpl/captcha.tpl
Normal file
@@ -0,0 +1,25 @@
|
||||
<div style="background-color:#ECECEC; padding: 35px;">
|
||||
<table cellpadding="0" align="center" style="width: 80%; margin: 0px auto; text-align: left; position: relative; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; font-size: 14px; font-family:微软雅黑, 黑体; line-height: 1.5; box-shadow: rgb(153, 153, 153) 0px 0px 5px; border-collapse: collapse; background-position: initial initial; background-repeat: initial initial;background:#fff;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th valign="middle" style="height: 25px; line-height: 25px; padding: 15px 35px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #C46200; background-color: #e01b3c; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px;">
|
||||
<font face="微软雅黑" size="5" style="color: rgb(255, 255, 255); ">{site_name}</font></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div style="padding:25px 35px 40px; background-color:#fff;">
|
||||
<h2 style="margin: 5px 0px; ">
|
||||
<font color="#333333" style="line-height: 20px; ">
|
||||
<font style="line-height: 22px; " size="4">亲爱的用户:</font></font>
|
||||
</h2>
|
||||
<p style="font-size:14px;">
|
||||
验证码为 {code}, 10分钟有效<br/>
|
||||
如果不是您自己的操作,请忽略!
|
||||
</p><br/>
|
||||
<p align="right" style="font-size:14px;">{site_name} 官方团队</p>
|
||||
<p align="right" style="font-size:14px;">{time}</p></div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
41
extend/conf/tpl/close.tpl
Normal file
41
extend/conf/tpl/close.tpl
Normal file
@@ -0,0 +1,41 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>您访问的站点已被关闭</title>
|
||||
<meta name="renderer" content="webkit" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no" />
|
||||
<style>
|
||||
*{ padding:0; margin:0; box-sizing: border-box;font-family: "微软雅黑"; }
|
||||
body,html{ width:100%; height:100%; }
|
||||
body {background: #f2f2f2;font-family: -apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;}
|
||||
img{ -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
|
||||
.container{ max-width:90%; margin:10% auto; padding:80px 0px; }
|
||||
.bg{ display:block; max-width:100%; margin:0px auto; text-align: center;}
|
||||
.btn{ width:400px; margin:0 auto; max-width:100%; margin-top:40px; }
|
||||
.btn a{ float:left; text-decoration: none; width:46.5%; border:1px solid #5298ff; background:#5298ff; color:#FFF; display:block; height:46px; line-height:44px; text-align:center; font-size:16px; border-radius:3px; overflow: hidden; }
|
||||
.btn .goindex{ margin-right:7%; }
|
||||
.btn .lx{ border: 1px solid #d8d8d8; background: #ffffff; color: #8c8c8c; }
|
||||
.btn .lx:hover{ border:1px solid #5298ff; background:#5298ff; color:#FFF; }
|
||||
.font {font-size: 50px;font-weight: 600;margin-bottom: 80px;}
|
||||
@media screen and (max-width: 500px) {
|
||||
.btn{ width:85%; }
|
||||
.btn a{ width:100%; font-size:15px; height:42px; line-height:42px; }
|
||||
.btn .goindex{ margin-right:0; margin-bottom:20px; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="bg">
|
||||
<div class="font">网站维护中</div>
|
||||
<div>{text}</div>
|
||||
</div>
|
||||
<div class="btn">
|
||||
<a href="//www.swiftadmin.net" class="goindex" target="_blank">开发者</a>
|
||||
<a href="mailto:#email" title="发送邮件" class="lx">联系站长</a>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
26
extend/conf/tpl/forgot.tpl
Normal file
26
extend/conf/tpl/forgot.tpl
Normal file
@@ -0,0 +1,26 @@
|
||||
<div style="background-color:#ECECEC; padding: 35px;">
|
||||
<table cellpadding="0" align="center" style="width: 80%; margin: 0px auto; text-align: left; position: relative; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; font-size: 14px; font-family:微软雅黑, 黑体; line-height: 1.5; box-shadow: rgb(153, 153, 153) 0px 0px 5px; border-collapse: collapse; background-position: initial initial; background-repeat: initial initial;background:#fff;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th valign="middle" style="height: 25px; line-height: 25px; padding: 15px 35px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #C46200; background-color: #e01b3c; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px;">
|
||||
<font face="微软雅黑" size="5" style="color: rgb(255, 255, 255); ">{site_name}</font></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div style="padding:25px 35px 40px; background-color:#fff;">
|
||||
<h2 style="margin: 5px 0px; ">
|
||||
<font color="#333333" style="line-height: 20px; ">
|
||||
<font style="line-height: 22px; " size="4">亲爱的用户:</font></font>
|
||||
</h2>
|
||||
<p style="font-size:14px;">
|
||||
|
||||
找回密码链接请点击:{url} 10分钟有效<br/>
|
||||
如果您有什么疑问可以联系管理员,Email: {email}。
|
||||
</p><br/>
|
||||
<p align="right" style="font-size:14px;">{site_name} 官方团队</p>
|
||||
<p align="right" style="font-size:14px;">{time}</p></div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
26
extend/conf/tpl/register.tpl
Normal file
26
extend/conf/tpl/register.tpl
Normal file
@@ -0,0 +1,26 @@
|
||||
<div style="background-color:#ECECEC; padding: 35px;">
|
||||
<table cellpadding="0" align="center" style="width: 80%; margin: 0px auto; text-align: left; position: relative; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; font-size: 14px; font-family:微软雅黑, 黑体; line-height: 1.5; box-shadow: rgb(153, 153, 153) 0px 0px 5px; border-collapse: collapse; background-position: initial initial; background-repeat: initial initial;background:#fff;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th valign="middle" style="height: 25px; line-height: 25px; padding: 15px 35px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #C46200; background-color: #e01b3c; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px;">
|
||||
<font face="微软雅黑" size="5" style="color: rgb(255, 255, 255); ">{site_name}</font></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div style="padding:25px 35px 40px; background-color:#fff;">
|
||||
<h2 style="margin: 5px 0px; ">
|
||||
<font color="#333333" style="line-height: 20px; ">
|
||||
<font style="line-height: 22px; " size="5">亲爱的 {username}:</font></font>
|
||||
</h2>
|
||||
<p style="font-size:14px;">
|
||||
感谢您加入{site_name}! 请您在发表言论时,遵守当地法律法规。<br/>
|
||||
请点击链接激活:{url} 10分钟有效<br/>
|
||||
如果您有什么疑问可以联系管理员,Email: {email}。
|
||||
</p><br/>
|
||||
<p align="right" style="font-size:14px;">{site_name} 官方团队</p>
|
||||
<p align="right" style="font-size:14px;">{time}</p></div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
12
extend/conf/tpl/tpl.php
Normal file
12
extend/conf/tpl/tpl.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
return array (
|
||||
'1'=>array(
|
||||
'name'=>'用户注册',
|
||||
'path'=>'extend/conf/tpl/register.tpl'
|
||||
),
|
||||
'2'=>array(
|
||||
'name'=>'找回密码',
|
||||
'path'=>'extend/conf/tpl/forgot.tpl'
|
||||
),
|
||||
// TODO...
|
||||
);
|
||||
1
extend/conf/version.txt
Normal file
1
extend/conf/version.txt
Normal file
@@ -0,0 +1 @@
|
||||
swiftadmin dev
|
||||
Reference in New Issue
Block a user