GithubHelp home page GithubHelp logo

daivad / ss-panel-smarty-edition Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ahref-group/ss-panel-smarty-edition

0.0 2.0 0.0 7.06 MB

Forked from https://github.com/xuanhuan/ss-panel . 加了兑换码功能、商城系统还有服务器信息新界面等等等等。

License: GNU Lesser General Public License v3.0

PHP 47.63% Smarty 7.23% JavaScript 22.57% Python 0.12% CSS 22.45%

ss-panel-smarty-edition's Introduction

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

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 rename the /lib/Ss/Code/config-sample.php to /lib/Ss/Code/config.php. 请重命名 /lib/Ss/Code/config-sample.php/lib/Ss/Code/config.php

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

ss-panel-smarty-edition's People

Contributors

orvice avatar xuanhuan avatar kot4ri avatar c0lacan avatar jason-akw avatar xeonacid avatar acris avatar a1ickgu0 avatar rutenioum avatar prajna0 avatar kaneawk avatar gav1nma avatar leaves615 avatar bitdeli-chef avatar michaelhe avatar arischow avatar hanxu12 avatar zgq354 avatar miuchan avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.