Forked from https://github.com/xuanhuan/ss-panel . 加了兑换码功能、商城系统还有服务器信息新界面等等等等。
PHP JavaScript CSS Smarty Other
Pull request Compare This branch is 311 commits ahead of xuanhuan:smarty.
Latest commit 6cf68ba Dec 1, 2016 @kot4ri kot4ri committed on GitHub Update _resetpwd.php
Permalink
Failed to load latest commit information.
admin
auth Update _resetpwd.php Dec 1, 2016
code the new beginning Jun 19, 2016
lib
public/js_aes remove codemirror Jun 25, 2016
sql
templates/materialize 一点微小的文字*2 Nov 5, 2016
tools
user
.gitignore Update .gitignore Jun 25, 2016
.htaccess
LICENSE Revert "Merge pull request #225 from orvice/smarty" Aug 15, 2015
README.md
ana.php
code.php
composer.json Revert "Merge pull request #225 from orvice/smarty" Aug 15, 2015
favicon1.ico the new beginning Jun 19, 2016
index.php
invite_code.php try to rm sqlite Jun 29, 2016
ocp.php
pwd.php
serverinfo.php
serverinfo.py Update serverinfo.py Aug 29, 2016
tos.php
tpl.conf Create tpl.conf Aug 13, 2015

README.md

A simple front-end of Shadowsocks manyuser. This Version is based on xuanhuan's SS-Panel-smarty.

If there is no serious Bug, then this version will not continue to update the.

如果没有严重的Bug的话,那么这个版本应该不会再继续更新了。

Please check our new project Ahref-Group/SuperPanel.

请移步到我们的新项目Ahref-Group/SuperPanel.

Great thanks to kot4ri xiaoxin and others for their help with fixing bugs and updating functions.

炒鸡感谢 kot4ri xiaoxin 两位大佬不停的给我们这个版本修复Bug和更新内容!!

SS-Panel-smarty-Edition

重要/Important!

This edition requires Chrome or FireFox for compatible functioning and surfing.
为保证兼容性,请使用 Chrome 或 FireFox。

Please edit the file /lib/config-sample.php upon your own need, when you finished, rename the file to /lib/config.php. Set $site_url as your website address, and be sure that it contains a / at the end of your URL.
请按需修改 /lib/config-sample.php 的设置,然后把文件重命名成 /lib/config.php。注意在填写网站网址$site_url的时候在结尾加一个 /

Please make sure that lib/Ss has the permission to read & write. If not, please set it for convenience.
请确保目录 lib/Ss 有读写权限,如果没有请改一下。

Please rename the/tools, or you may be reset to another malicious.
请重命名/tools,否则可能被他人恶意重置流量。

Add SSR support, when the node is added if the agreement and confusion for the original or not, then the output SS QRCode.
添加SSR支持,添加节点时若协议和混淆为原版或不填写,则输出SS二维码。

AdminSystem

Please use the invite code to register and set your account as admin in your database.

新版密码加密方式说明

Please change the encrypted salt in /lib/config.php. We offer「salt sha256」encrytion.

注意/Attention!:

  • The $salt value can not be changed after it has been set!
    $salt在被设置以后不能再次修改!
  • If you are upgrading from v2.4 or earlier version, you have to change pass to 64. 如果原来为 2.4 之前的版本,需要将pass字段的长度修改为64

  • 增加 Nginx 的配置文件 tpl.conf,用于防止直接访问模板文件。 放在当前网站Nginx 配置文件相同目录,然后打开原来的配置文件,找到当前域名的server { } 在里面粘贴:include tpl.conf;

  • 增加Apache 的配置文件 .htaccess,用于防止直接访问模板文件,放在当前目录。

需求/Requirements

  • PHP >= 5.4
  • PDO Extension
  • MCrypt Extension
  • Mysql >= 5.1

安装/Install

  • Import sql/*.sql to your MySQL Database
    sql/*.sql 导入到 MySQL。
  • Rename lib/config-sample.php && lib/Ss/Code/config-sample.php to config.php, and edit the infomation in lib/config.php.

  • IMPORTANT:DON'T MANUALLY change lib/Ss/Code/config.php after doing above!

  • IMPORTANT:DON'T MANUALLY change lib/Ss/Code/config.php after doing above!
  • IMPORTANT:DON'T MANUALLY change lib/Ss/Code/config.php after doing above!

  • Enjoy it.

管理员/Admin

  • The user whose uid is 1 is the admin by default.
    UID 为 1 的用户默认为管理员
  • You can Add User ID into table ss_user_admin
    你可以在 ss_user_admin 表里添加管理员。

节点负载/Load status in Node List

节点列表查看节点负载等信息 The following helps you to show load status in Node List page.

  • For Ubuntu/Debian:
$ apt-get install gcc python-dev
$ pip install psutil
  • For Centos:
$ yum install gcc python-devel
$ pip install psutil
  • /admin/中添加节点
    Add node information in /admin
  • serverinfo.py上传至节点服务器
    Upload serverinfo.py on to your server.
  • 修改serverinfo.pyposturl为你的站点地址,server_id为当前节点对应的ID(/admin/node.php第一列)
    In serverinfo.py, use your website's url as posturl, and use node ID (First column in /admin/node.php) as server_id.
  • 运行
    Run.
$ python serverinfo.py //本脚本可独立于Shadowsocks服务端运行/The script can be used independently of Shadowsocks server.
  • 如运行没有问题,请使用nohup/supervisor/screen等后台守护运行,此处不再详述 If there are no problem running the process, please use nohup/supervisor/screen or similar tools to keep the process running in the background.

到期时间与套餐等相关/Information about plan_end_time && plans (and so on)

参阅:/See:

https://github.com/Ahref-Group/SS-Panel-smarty-Edition/issues/26

使用 mail-gun 发邮件/Send mail using mail-gun

运行/Run:

$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar  install

感谢/Thanks