├── .editorconfig ├── .gitignore ├── .htaccess ├── LICENSE ├── README.md ├── application ├── .htaccess ├── cache │ └── index.html ├── config │ ├── autoload.php │ ├── config.php │ ├── constants.php │ ├── database.php │ ├── doctypes.php │ ├── email.php │ ├── foreign_chars.php │ ├── hooks.php │ ├── index.html │ ├── ion_auth.php │ ├── memcached.php │ ├── migration.php │ ├── mimes.php │ ├── profiler.php │ ├── routes.php │ ├── smileys.php │ └── user_agents.php ├── controllers │ ├── Admin.php │ ├── Api.php │ ├── Auth.php │ ├── Log_model.php │ ├── Main.php │ ├── Setup.php │ ├── StaticPage.php │ ├── Ticket.php │ ├── User.php │ └── index.html ├── core │ └── index.html ├── helpers │ └── index.html ├── hooks │ └── index.html ├── index.html ├── language │ ├── arabic │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── bulgarian │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── catalan │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── croatian │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── czech │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── danish │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── dutch │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── english │ │ ├── auth_lang.php │ │ ├── index.html │ │ └── ion_auth_lang.php │ ├── estonian │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── filipino │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── finnish │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── french │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── german │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── greek │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── hungarian │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── index.html │ ├── indonesian │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── italian │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── japanese │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── korean │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── lithuanian │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── norwegian │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── persian │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── pirate │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── polish │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── portuguese │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── romanian │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── russian │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── slovak │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── slovenian │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── spanish │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── swedish │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── thai │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── turkish │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── ukrainian │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── vietnamese │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php │ ├── zh_cn │ │ ├── auth_lang.php │ │ ├── calendar_lang.php │ │ ├── date_lang.php │ │ ├── db_lang.php │ │ ├── email_lang.php │ │ ├── form_validation_lang.php │ │ ├── ftp_lang.php │ │ ├── imglib_lang.php │ │ ├── index.html │ │ ├── ion_auth_lang.php │ │ ├── migration_lang.php │ │ ├── number_lang.php │ │ ├── profiler_lang.php │ │ ├── unit_test_lang.php │ │ └── upload_lang.php │ └── zh_tw │ │ ├── auth_lang.php │ │ └── ion_auth_lang.php ├── libraries │ ├── Bcrypt.php │ ├── Ciqrcode.php │ ├── Gravatar.php │ ├── Ion_auth.php │ ├── index.html │ └── qrcode │ │ ├── phpqrcode.php │ │ ├── qrbitstream.php │ │ ├── qrconfig.php │ │ ├── qrconst.php │ │ ├── qrencode.php │ │ ├── qrimage.php │ │ ├── qrinput.php │ │ ├── qrlib.php │ │ ├── qrmask.php │ │ ├── qrrscode.php │ │ ├── qrspec.php │ │ ├── qrsplit.php │ │ └── qrtools.php ├── logs │ └── index.html ├── models │ ├── Admin_model.php │ ├── Ion_auth_model.php │ ├── Log_model.php │ ├── Ticket_model.php │ ├── User_model.php │ └── index.html ├── third_party │ └── index.html └── views │ ├── StaticPage │ ├── activate_err.php │ ├── activate_succ.php │ ├── book_no_remain.php │ ├── book_time_err.php │ ├── booked.php │ ├── install_err.php │ └── install_succ.php │ ├── admin │ ├── data.php │ ├── enter.php │ ├── setting.php │ ├── setup.php │ ├── tickets.php │ └── users.php │ ├── auth │ └── email │ │ ├── activate.tpl.php │ │ ├── forgot_password.tpl.php │ │ └── new_password.tpl.php │ ├── errors │ ├── cli │ │ ├── error_404.php │ │ ├── error_db.php │ │ ├── error_exception.php │ │ ├── error_general.php │ │ ├── error_php.php │ │ └── index.html │ ├── html │ │ ├── error_404.php │ │ ├── error_db.php │ │ ├── error_exception.php │ │ ├── error_general.php │ │ ├── error_php.php │ │ └── index.html │ └── index.html │ ├── index.html │ ├── main │ ├── forgot_pwd.php │ ├── login.php │ ├── main.php │ ├── profile.php │ ├── register.php │ └── reset_pwd.php │ ├── ticket │ ├── book.php │ └── myTicket.php │ └── universal │ ├── footer.php │ └── header.php ├── assets ├── css │ ├── admin.css │ ├── bootstrap.min.css │ ├── bootstrap.min.css.map │ ├── font-awesome.css │ ├── font-awesome.min.css │ ├── global.css │ └── notie.min.css ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ ├── fontawesome-webfont.woff2 │ └── fzxh.ttf ├── i │ ├── app-icon72x72@2x.png │ ├── examples │ │ ├── admin-chrome.png │ │ ├── admin-firefox.png │ │ ├── admin-ie.png │ │ ├── admin-opera.png │ │ ├── admin-safari.png │ │ ├── adminPage.png │ │ ├── blogPage.png │ │ ├── landing.png │ │ ├── landingPage.png │ │ ├── loginPage.png │ │ └── sidebarPage.png │ ├── favicon.png │ ├── logo-b.png │ ├── logo-on.png │ ├── logo.png │ ├── startup-640x1096.png │ └── wrench.png ├── img │ ├── cr.jpg │ ├── ie-die.jpg │ ├── ticket-bg.png │ ├── tickets │ │ └── .nomedia │ └── user.png └── js │ ├── admin │ ├── data.js │ ├── enter.js │ ├── instascan.min.js │ ├── setting.js │ ├── tickets.js │ └── users.js │ ├── authenticate.js │ ├── bootstrap.min.js │ ├── bootstrap.min.js.map │ ├── forgot_pwd.js │ ├── global.js │ ├── jquery-3.2.1.min.js │ ├── login.js │ ├── main.js │ ├── myTicket.js │ ├── notie.min.js │ ├── popper.min.js │ ├── profile.js │ ├── register.js │ ├── reset_pwd.js │ └── ticket_book.js ├── index.php ├── robots.txt └── system ├── .htaccess ├── core ├── Benchmark.php ├── CodeIgniter.php ├── Common.php ├── Config.php ├── Controller.php ├── Exceptions.php ├── Hooks.php ├── Input.php ├── Lang.php ├── Loader.php ├── Log.php ├── Model.php ├── Output.php ├── Router.php ├── Security.php ├── URI.php ├── Utf8.php ├── compat │ ├── hash.php │ ├── index.html │ ├── mbstring.php │ ├── password.php │ └── standard.php └── index.html ├── database ├── DB.php ├── DB_cache.php ├── DB_driver.php ├── DB_forge.php ├── DB_query_builder.php ├── DB_result.php ├── DB_utility.php ├── drivers │ ├── cubrid │ │ ├── cubrid_driver.php │ │ ├── cubrid_forge.php │ │ ├── cubrid_result.php │ │ ├── cubrid_utility.php │ │ └── index.html │ ├── ibase │ │ ├── ibase_driver.php │ │ ├── ibase_forge.php │ │ ├── ibase_result.php │ │ ├── ibase_utility.php │ │ └── index.html │ ├── index.html │ ├── mssql │ │ ├── index.html │ │ ├── mssql_driver.php │ │ ├── mssql_forge.php │ │ ├── mssql_result.php │ │ └── mssql_utility.php │ ├── mysql │ │ ├── index.html │ │ ├── mysql_driver.php │ │ ├── mysql_forge.php │ │ ├── mysql_result.php │ │ └── mysql_utility.php │ ├── mysqli │ │ ├── index.html │ │ ├── mysqli_driver.php │ │ ├── mysqli_forge.php │ │ ├── mysqli_result.php │ │ └── mysqli_utility.php │ ├── oci8 │ │ ├── index.html │ │ ├── oci8_driver.php │ │ ├── oci8_forge.php │ │ ├── oci8_result.php │ │ └── oci8_utility.php │ ├── odbc │ │ ├── index.html │ │ ├── odbc_driver.php │ │ ├── odbc_forge.php │ │ ├── odbc_result.php │ │ └── odbc_utility.php │ ├── pdo │ │ ├── index.html │ │ ├── pdo_driver.php │ │ ├── pdo_forge.php │ │ ├── pdo_result.php │ │ ├── pdo_utility.php │ │ └── subdrivers │ │ │ ├── index.html │ │ │ ├── pdo_4d_driver.php │ │ │ ├── pdo_4d_forge.php │ │ │ ├── pdo_cubrid_driver.php │ │ │ ├── pdo_cubrid_forge.php │ │ │ ├── pdo_dblib_driver.php │ │ │ ├── pdo_dblib_forge.php │ │ │ ├── pdo_firebird_driver.php │ │ │ ├── pdo_firebird_forge.php │ │ │ ├── pdo_ibm_driver.php │ │ │ ├── pdo_ibm_forge.php │ │ │ ├── pdo_informix_driver.php │ │ │ ├── pdo_informix_forge.php │ │ │ ├── pdo_mysql_driver.php │ │ │ ├── pdo_mysql_forge.php │ │ │ ├── pdo_oci_driver.php │ │ │ ├── pdo_oci_forge.php │ │ │ ├── pdo_odbc_driver.php │ │ │ ├── pdo_odbc_forge.php │ │ │ ├── pdo_pgsql_driver.php │ │ │ ├── pdo_pgsql_forge.php │ │ │ ├── pdo_sqlite_driver.php │ │ │ ├── pdo_sqlite_forge.php │ │ │ ├── pdo_sqlsrv_driver.php │ │ │ └── pdo_sqlsrv_forge.php │ ├── postgre │ │ ├── index.html │ │ ├── postgre_driver.php │ │ ├── postgre_forge.php │ │ ├── postgre_result.php │ │ └── postgre_utility.php │ ├── sqlite │ │ ├── index.html │ │ ├── sqlite_driver.php │ │ ├── sqlite_forge.php │ │ ├── sqlite_result.php │ │ └── sqlite_utility.php │ ├── sqlite3 │ │ ├── index.html │ │ ├── sqlite3_driver.php │ │ ├── sqlite3_forge.php │ │ ├── sqlite3_result.php │ │ └── sqlite3_utility.php │ └── sqlsrv │ │ ├── index.html │ │ ├── sqlsrv_driver.php │ │ ├── sqlsrv_forge.php │ │ ├── sqlsrv_result.php │ │ └── sqlsrv_utility.php └── index.html ├── fonts ├── index.html └── texb.ttf ├── helpers ├── array_helper.php ├── captcha_helper.php ├── cookie_helper.php ├── date_helper.php ├── directory_helper.php ├── download_helper.php ├── email_helper.php ├── file_helper.php ├── form_helper.php ├── html_helper.php ├── index.html ├── inflector_helper.php ├── language_helper.php ├── number_helper.php ├── path_helper.php ├── security_helper.php ├── smiley_helper.php ├── string_helper.php ├── text_helper.php ├── typography_helper.php ├── url_helper.php └── xml_helper.php ├── index.html ├── language ├── english │ ├── calendar_lang.php │ ├── date_lang.php │ ├── db_lang.php │ ├── email_lang.php │ ├── form_validation_lang.php │ ├── ftp_lang.php │ ├── imglib_lang.php │ ├── index.html │ ├── migration_lang.php │ ├── number_lang.php │ ├── pagination_lang.php │ ├── profiler_lang.php │ ├── unit_test_lang.php │ └── upload_lang.php └── index.html └── libraries ├── Cache ├── Cache.php ├── drivers │ ├── Cache_apc.php │ ├── Cache_dummy.php │ ├── Cache_file.php │ ├── Cache_memcached.php │ ├── Cache_redis.php │ ├── Cache_wincache.php │ └── index.html └── index.html ├── Calendar.php ├── Cart.php ├── Driver.php ├── Email.php ├── Encrypt.php ├── Encryption.php ├── Form_validation.php ├── Ftp.php ├── Image_lib.php ├── Javascript.php ├── Javascript ├── Jquery.php └── index.html ├── Migration.php ├── Pagination.php ├── Parser.php ├── Profiler.php ├── Session ├── Session.php ├── SessionHandlerInterface.php ├── Session_driver.php ├── drivers │ ├── Session_database_driver.php │ ├── Session_files_driver.php │ ├── Session_memcached_driver.php │ ├── Session_redis_driver.php │ └── index.html └── index.html ├── Table.php ├── Trackback.php ├── Typography.php ├── Unit_test.php ├── Upload.php ├── User_agent.php ├── Xmlrpc.php ├── Xmlrpcs.php ├── Zip.php └── index.html /.editorconfig: -------------------------------------------------------------------------------- 1 | # top-most EditorConfig file 2 | root = true 3 | 4 | # Unix-style newlines with a newline ending every file 5 | [*] 6 | end_of_line = lf 7 | insert_final_newline = true 8 | 9 | # Matches multiple files with brace expansion notation 10 | # Set default charset 11 | [*] 12 | charset = utf-8 13 | 14 | # Tab indentation (no size specified) 15 | indent_style = tab 16 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | 3 | pma 4 | 5 | application/cache/* 6 | !application/cache/index.html 7 | 8 | application/logs/* 9 | !application/logs/index.html 10 | 11 | !application/*/.htaccess 12 | 13 | composer.lock 14 | 15 | user_guide_src/build/* 16 | user_guide_src/cilexer/build/* 17 | user_guide_src/cilexer/dist/* 18 | user_guide_src/cilexer/pycilexer.egg-info/* 19 | /vendor/ 20 | 21 | # IDE Files 22 | #------------------------- 23 | /nbproject/ 24 | .idea/* 25 | 26 | ## Sublime Text cache files 27 | *.tmlanguage.cache 28 | *.tmPreferences.cache 29 | *.stTheme.cache 30 | *.sublime-workspace 31 | *.sublime-project 32 | /tests/tests/ 33 | /tests/results/ 34 | -------------------------------------------------------------------------------- /.htaccess: -------------------------------------------------------------------------------- 1 | 2 | RewriteEngine On 3 | # !IMPORTANT! Set your RewriteBase here and don't forget trailing and leading 4 | # slashes. 5 | # If your page resides at 6 | # http://www.example.com/mypage/test1 7 | # then use 8 | # RewriteBase /mypage/test1/ 9 | RewriteBase / 10 | RewriteCond %{REQUEST_FILENAME} !-f 11 | RewriteCond %{REQUEST_FILENAME} !-d 12 | RewriteRule ^(.*)$ index.php?/$1 [L] 13 | 14 | 15 | 16 | # If we don't have mod_rewrite installed, all 404's 17 | # can be sent to index.php, and everything works as normal. 18 | # Submitted by: ElliotHaughin 19 | 20 | ErrorDocument 404 /index.php 21 | 22 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 liwanglin12 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | LTicket 2 | =============== 3 | 一个基于 CodeIgniter 编写的活动预约与检录程序 4 | 5 | 介绍 6 | -- 7 | 不知道咋写文案,大概就是给大型活动用的东西…… 8 | 做出来了的功能差不多就是下面这些: 9 | 10 | - 活动预约 11 | - 检票 12 | - 有一个还算好用的二维码检票功能 13 | - 管理后台 14 | - 挺完善的用户管理 15 | - 以及门票管理 16 | - 另外当然可以设置相关预约参数 17 | - 还可以看到实时的预约和进场数据 18 | - 看起来比较舒服的 UI (基于 BootStrap) 19 | - 安全性不错(比如表单全加了反 CSRF 验证) 20 | 21 | 22 | 安装说明 23 | -- 24 | 1. 下载所有源代码并解压至网站目录 25 | 2. (Nginx 用户)编辑网站的 conf 文件,添加以下代码: 26 | ` location / { 27 | try_files $uri $uri/ /index.php; 28 | }` 29 | 3. 确保网站 application 目录下的 cache 和 config 目录可写,然后访问安装地址:https://your-domain.example/setup (推荐用 HTTPS ,否则二维码扫描会因为浏览器安全策略不可用) 30 | 4. 在安装程序里填写相关信息,然后安装 31 | 5. 然后就可以了 √ 32 | 33 | 使用说明 34 | -- 35 | - 程序的配置文件分散在 application/config,主要的配置文件如下,可以自行编辑 36 | - 数据库相关:database.php 37 | - 邮件相关:email.php 38 | - 程序在 PHP7.0 和 Mysql 5.6 下测试通过,可以自行尝试较低版本,理论上能支持到 PHP 5.4。 39 | 40 | 还有一点点话要说 41 | -- 42 | 代码写的不是很好= =如果能帮到你的话就再好不过啦,也欢迎一起来完善~ 43 | 本程序使用 MIT 协议授权,可以在协议范围内随意使用。 44 | 45 | LTicket 使用了以下开源程序: 46 | - 轻量级 PHP 开发框架 [CodeIgniter](http://codeigniter.com/) 47 | - 强大的前端框架 [Bootstrap](https://getbootstrap.com/) 48 | - 用户系统模块 [ion Auth](https://github.com/benedmunds/CodeIgniter-Ion-Auth) 49 | - Gravatar 头像获取模块 [Codeigniter-Gravatar](https://github.com/ivantcholakov/Codeigniter-Gravatar) 50 | - 二维码生成模块 [Ciqrcode](http://phpqrcode.sourceforge.net/) 51 | - [Jquery](https://jquery.com/) 52 | 53 | 因开发周期有点长所以可能会漏掉一些,如果你的项目被漏掉了请一定要提 issue 告诉我哦,非常抱歉_(:з」∠)_ 54 | 55 | 特别感谢 56 | -- 57 | @METOWOLF @Fly3949 的全程协助 58 | -------------------------------------------------------------------------------- /application/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | Require all denied 3 | 4 | 5 | Deny from all 6 | -------------------------------------------------------------------------------- /application/cache/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/config/database.php: -------------------------------------------------------------------------------- 1 | '', 6 | 'xhtml1-strict' => '', 7 | 'xhtml1-trans' => '', 8 | 'xhtml1-frame' => '', 9 | 'xhtml-basic11' => '', 10 | 'html5' => '', 11 | 'html4-strict' => '', 12 | 'html4-trans' => '', 13 | 'html4-frame' => '', 14 | 'mathml1' => '', 15 | 'mathml2' => '', 16 | 'svg10' => '', 17 | 'svg11' => '', 18 | 'svg11-basic' => '', 19 | 'svg11-tiny' => '', 20 | 'xhtml-math-svg-xh' => '', 21 | 'xhtml-math-svg-sh' => '', 22 | 'xhtml-rdfa-1' => '', 23 | 'xhtml-rdfa-2' => '' 24 | ); 25 | -------------------------------------------------------------------------------- /application/config/email.php: -------------------------------------------------------------------------------- 1 | 'ae', 14 | '/ö|œ/' => 'oe', 15 | '/ü/' => 'ue', 16 | '/Ä/' => 'Ae', 17 | '/Ü/' => 'Ue', 18 | '/Ö/' => 'Oe', 19 | '/À|Á|Â|Ã|Ä|Å|Ǻ|Ā|Ă|Ą|Ǎ|Α|Ά|Ả|Ạ|Ầ|Ẫ|Ẩ|Ậ|Ằ|Ắ|Ẵ|Ẳ|Ặ|А/' => 'A', 20 | '/à|á|â|ã|å|ǻ|ā|ă|ą|ǎ|ª|α|ά|ả|ạ|ầ|ấ|ẫ|ẩ|ậ|ằ|ắ|ẵ|ẳ|ặ|а/' => 'a', 21 | '/Б/' => 'B', 22 | '/б/' => 'b', 23 | '/Ç|Ć|Ĉ|Ċ|Č/' => 'C', 24 | '/ç|ć|ĉ|ċ|č/' => 'c', 25 | '/Д/' => 'D', 26 | '/д/' => 'd', 27 | '/Ð|Ď|Đ|Δ/' => 'Dj', 28 | '/ð|ď|đ|δ/' => 'dj', 29 | '/È|É|Ê|Ë|Ē|Ĕ|Ė|Ę|Ě|Ε|Έ|Ẽ|Ẻ|Ẹ|Ề|Ế|Ễ|Ể|Ệ|Е|Э/' => 'E', 30 | '/è|é|ê|ë|ē|ĕ|ė|ę|ě|έ|ε|ẽ|ẻ|ẹ|ề|ế|ễ|ể|ệ|е|э/' => 'e', 31 | '/Ф/' => 'F', 32 | '/ф/' => 'f', 33 | '/Ĝ|Ğ|Ġ|Ģ|Γ|Г|Ґ/' => 'G', 34 | '/ĝ|ğ|ġ|ģ|γ|г|ґ/' => 'g', 35 | '/Ĥ|Ħ/' => 'H', 36 | '/ĥ|ħ/' => 'h', 37 | '/Ì|Í|Î|Ï|Ĩ|Ī|Ĭ|Ǐ|Į|İ|Η|Ή|Ί|Ι|Ϊ|Ỉ|Ị|И|Ы/' => 'I', 38 | '/ì|í|î|ï|ĩ|ī|ĭ|ǐ|į|ı|η|ή|ί|ι|ϊ|ỉ|ị|и|ы|ї/' => 'i', 39 | '/Ĵ/' => 'J', 40 | '/ĵ/' => 'j', 41 | '/Ķ|Κ|К/' => 'K', 42 | '/ķ|κ|к/' => 'k', 43 | '/Ĺ|Ļ|Ľ|Ŀ|Ł|Λ|Л/' => 'L', 44 | '/ĺ|ļ|ľ|ŀ|ł|λ|л/' => 'l', 45 | '/М/' => 'M', 46 | '/м/' => 'm', 47 | '/Ñ|Ń|Ņ|Ň|Ν|Н/' => 'N', 48 | '/ñ|ń|ņ|ň|ʼn|ν|н/' => 'n', 49 | '/Ò|Ó|Ô|Õ|Ō|Ŏ|Ǒ|Ő|Ơ|Ø|Ǿ|Ο|Ό|Ω|Ώ|Ỏ|Ọ|Ồ|Ố|Ỗ|Ổ|Ộ|Ờ|Ớ|Ỡ|Ở|Ợ|О/' => 'O', 50 | '/ò|ó|ô|õ|ō|ŏ|ǒ|ő|ơ|ø|ǿ|º|ο|ό|ω|ώ|ỏ|ọ|ồ|ố|ỗ|ổ|ộ|ờ|ớ|ỡ|ở|ợ|о/' => 'o', 51 | '/П/' => 'P', 52 | '/п/' => 'p', 53 | '/Ŕ|Ŗ|Ř|Ρ|Р/' => 'R', 54 | '/ŕ|ŗ|ř|ρ|р/' => 'r', 55 | '/Ś|Ŝ|Ş|Ș|Š|Σ|С/' => 'S', 56 | '/ś|ŝ|ş|ș|š|ſ|σ|ς|с/' => 's', 57 | '/Ț|Ţ|Ť|Ŧ|τ|Т/' => 'T', 58 | '/ț|ţ|ť|ŧ|т/' => 't', 59 | '/Þ|þ/' => 'th', 60 | '/Ù|Ú|Û|Ũ|Ū|Ŭ|Ů|Ű|Ų|Ư|Ǔ|Ǖ|Ǘ|Ǚ|Ǜ|Ũ|Ủ|Ụ|Ừ|Ứ|Ữ|Ử|Ự|У/' => 'U', 61 | '/ù|ú|û|ũ|ū|ŭ|ů|ű|ų|ư|ǔ|ǖ|ǘ|ǚ|ǜ|υ|ύ|ϋ|ủ|ụ|ừ|ứ|ữ|ử|ự|у/' => 'u', 62 | '/Ƴ|Ɏ|Ỵ|Ẏ|Ӳ|Ӯ|Ў|Ý|Ÿ|Ŷ|Υ|Ύ|Ϋ|Ỳ|Ỹ|Ỷ|Ỵ|Й/' => 'Y', 63 | '/ẙ|ʏ|ƴ|ɏ|ỵ|ẏ|ӳ|ӯ|ў|ý|ÿ|ŷ|ỳ|ỹ|ỷ|ỵ|й/' => 'y', 64 | '/В/' => 'V', 65 | '/в/' => 'v', 66 | '/Ŵ/' => 'W', 67 | '/ŵ/' => 'w', 68 | '/Ź|Ż|Ž|Ζ|З/' => 'Z', 69 | '/ź|ż|ž|ζ|з/' => 'z', 70 | '/Æ|Ǽ/' => 'AE', 71 | '/ß/' => 'ss', 72 | '/IJ/' => 'IJ', 73 | '/ij/' => 'ij', 74 | '/Œ/' => 'OE', 75 | '/ƒ/' => 'f', 76 | '/ξ/' => 'ks', 77 | '/π/' => 'p', 78 | '/β/' => 'v', 79 | '/μ/' => 'm', 80 | '/ψ/' => 'ps', 81 | '/Ё/' => 'Yo', 82 | '/ё/' => 'yo', 83 | '/Є/' => 'Ye', 84 | '/є/' => 'ye', 85 | '/Ї/' => 'Yi', 86 | '/Ж/' => 'Zh', 87 | '/ж/' => 'zh', 88 | '/Х/' => 'Kh', 89 | '/х/' => 'kh', 90 | '/Ц/' => 'Ts', 91 | '/ц/' => 'ts', 92 | '/Ч/' => 'Ch', 93 | '/ч/' => 'ch', 94 | '/Ш/' => 'Sh', 95 | '/ш/' => 'sh', 96 | '/Щ/' => 'Shch', 97 | '/щ/' => 'shch', 98 | '/Ъ|ъ|Ь|ь/' => '', 99 | '/Ю/' => 'Yu', 100 | '/ю/' => 'yu', 101 | '/Я/' => 'Ya', 102 | '/я/' => 'ya' 103 | ); 104 | -------------------------------------------------------------------------------- /application/config/hooks.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/config/memcached.php: -------------------------------------------------------------------------------- 1 | array( 15 | 'hostname' => '127.0.0.1', 16 | 'port' => '11211', 17 | 'weight' => '1', 18 | ), 19 | ); 20 | -------------------------------------------------------------------------------- /application/config/migration.php: -------------------------------------------------------------------------------- 1 | migration->current() this is the version that schema will 69 | | be upgraded / downgraded to. 70 | | 71 | */ 72 | $config['migration_version'] = 0; 73 | 74 | /* 75 | |-------------------------------------------------------------------------- 76 | | Migrations Path 77 | |-------------------------------------------------------------------------- 78 | | 79 | | Path to your migrations folder. 80 | | Typically, it will be within your application path. 81 | | Also, writing permission is required within the migrations path. 82 | | 83 | */ 84 | $config['migration_path'] = APPPATH.'migrations/'; 85 | -------------------------------------------------------------------------------- /application/config/profiler.php: -------------------------------------------------------------------------------- 1 | my_controller/index 50 | | my-controller/my-method -> my_controller/my_method 51 | */ 52 | $route['default_controller'] = 'main'; 53 | $route['404_override'] = ''; 54 | $route['translate_uri_dashes'] = FALSE; 55 | -------------------------------------------------------------------------------- /application/config/smileys.php: -------------------------------------------------------------------------------- 1 | array('grin.gif', '19', '19', 'grin'), 21 | ':lol:' => array('lol.gif', '19', '19', 'LOL'), 22 | ':cheese:' => array('cheese.gif', '19', '19', 'cheese'), 23 | ':)' => array('smile.gif', '19', '19', 'smile'), 24 | ';-)' => array('wink.gif', '19', '19', 'wink'), 25 | ';)' => array('wink.gif', '19', '19', 'wink'), 26 | ':smirk:' => array('smirk.gif', '19', '19', 'smirk'), 27 | ':roll:' => array('rolleyes.gif', '19', '19', 'rolleyes'), 28 | ':-S' => array('confused.gif', '19', '19', 'confused'), 29 | ':wow:' => array('surprise.gif', '19', '19', 'surprised'), 30 | ':bug:' => array('bigsurprise.gif', '19', '19', 'big surprise'), 31 | ':-P' => array('tongue_laugh.gif', '19', '19', 'tongue laugh'), 32 | '%-P' => array('tongue_rolleye.gif', '19', '19', 'tongue rolleye'), 33 | ';-P' => array('tongue_wink.gif', '19', '19', 'tongue wink'), 34 | ':P' => array('raspberry.gif', '19', '19', 'raspberry'), 35 | ':blank:' => array('blank.gif', '19', '19', 'blank stare'), 36 | ':long:' => array('longface.gif', '19', '19', 'long face'), 37 | ':ohh:' => array('ohh.gif', '19', '19', 'ohh'), 38 | ':grrr:' => array('grrr.gif', '19', '19', 'grrr'), 39 | ':gulp:' => array('gulp.gif', '19', '19', 'gulp'), 40 | '8-/' => array('ohoh.gif', '19', '19', 'oh oh'), 41 | ':down:' => array('downer.gif', '19', '19', 'downer'), 42 | ':red:' => array('embarrassed.gif', '19', '19', 'red face'), 43 | ':sick:' => array('sick.gif', '19', '19', 'sick'), 44 | ':shut:' => array('shuteye.gif', '19', '19', 'shut eye'), 45 | ':-/' => array('hmm.gif', '19', '19', 'hmmm'), 46 | '>:(' => array('mad.gif', '19', '19', 'mad'), 47 | ':mad:' => array('mad.gif', '19', '19', 'mad'), 48 | '>:-(' => array('angry.gif', '19', '19', 'angry'), 49 | ':angry:' => array('angry.gif', '19', '19', 'angry'), 50 | ':zip:' => array('zip.gif', '19', '19', 'zipper'), 51 | ':kiss:' => array('kiss.gif', '19', '19', 'kiss'), 52 | ':ahhh:' => array('shock.gif', '19', '19', 'shock'), 53 | ':coolsmile:' => array('shade_smile.gif', '19', '19', 'cool smile'), 54 | ':coolsmirk:' => array('shade_smirk.gif', '19', '19', 'cool smirk'), 55 | ':coolgrin:' => array('shade_grin.gif', '19', '19', 'cool grin'), 56 | ':coolhmm:' => array('shade_hmm.gif', '19', '19', 'cool hmm'), 57 | ':coolmad:' => array('shade_mad.gif', '19', '19', 'cool mad'), 58 | ':coolcheese:' => array('shade_cheese.gif', '19', '19', 'cool cheese'), 59 | ':vampire:' => array('vampire.gif', '19', '19', 'vampire'), 60 | ':snake:' => array('snake.gif', '19', '19', 'snake'), 61 | ':exclaim:' => array('exclaim.gif', '19', '19', 'exclaim'), 62 | ':question:' => array('question.gif', '19', '19', 'question') 63 | 64 | ); 65 | -------------------------------------------------------------------------------- /application/controllers/Api.php: -------------------------------------------------------------------------------- 1 | load->model('User_model'); 9 | $this->load->library('gravatar'); 10 | if (!$this->ion_auth->logged_in()) { 11 | $this->output->set_status_header(403); 12 | $data = array( 13 | 'status' => '-1', 14 | 'msg' => '请先登录!' 15 | ); 16 | echo json_encode($data); 17 | die(); 18 | } 19 | } 20 | 21 | private function getURL($email) { 22 | return $this->gravatar->get($email); 23 | } 24 | 25 | public function gravatar($email) { 26 | redirect($this->getURL($email)); 27 | } 28 | 29 | public function qrcode($data) { 30 | $this->load->library('ciqrcode'); 31 | 32 | header("Content-Type: image/png"); 33 | $params['data'] = $data; 34 | $params['level'] = 'H'; 35 | $params['size'] = 1024; 36 | $this->ciqrcode->generate($params); 37 | } 38 | 39 | public function getData() { 40 | $this->load->model('Admin_model'); 41 | echo json_encode($this->Admin_model->getData()); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /application/controllers/Log_model.php: -------------------------------------------------------------------------------- 1 | load->library('user_agent'); 5 | $this->load->database(); 6 | } 7 | 8 | public function add_log($action, $p1 = NULL, $p2 = NULL, $p3 = NULL, $user = NULL) { 9 | if (!$this->config->item('enableLog')) return; 10 | 11 | date_default_timezone_set("Asia/Shanghai"); 12 | $ip = $this->input->ip_address(); 13 | $ua = $this->agent->agent_string(); 14 | $ip = $this->security->xss_clean($ip); 15 | $ua = $this->security->xss_clean($ua); 16 | 17 | if (!is_null($user)) $user = $this->ion_auth->user()->row()->id; 18 | 19 | $data = array( 20 | 'action' => $action, 21 | 'p1' => $p1, 22 | 'p2' => $p2, 23 | 'p3' => $p3, 24 | 'ip' => $ip, 25 | 'ua' => $ua, 26 | 'time' => time(), 27 | 'user' => $user 28 | ); 29 | 30 | $this->db->insert('log', $data); 31 | } 32 | } 33 | 34 | /** 35 | * action: 36 | * 0: register 37 | * 1: active user 38 | * 2: login 39 | * 3: auth 40 | * 4: book ticket 41 | * 5: change pw (1:via prifile 2:via email) 42 | * 43 | * 10: edit user 44 | * 11: edit ticket 45 | * 12: send ticket 46 | * 13: enter 47 | * 14: add auth 48 | * 15: remove auth 49 | */ -------------------------------------------------------------------------------- /application/controllers/StaticPage.php: -------------------------------------------------------------------------------- 1 | 20 | * @see https://codeigniter.com/user_guide/general/urls.html 21 | */ 22 | public function __construct() 23 | { 24 | parent::__construct(); 25 | $this->load->model('User_model'); 26 | } 27 | public function activate_succ() 28 | { 29 | $data['add_css'] = $data['add_js'] = array(); 30 | $data['logged'] = $this->ion_auth->logged_in(); 31 | $this->load->view('universal/header', $data); 32 | $this->load->view('StaticPage/activate_succ'); 33 | $this->load->view('universal/footer', $data); 34 | } 35 | public function activate_err() 36 | { 37 | $data['add_css'] = $data['add_js'] = array(); 38 | $data['logged'] = $this->ion_auth->logged_in(); 39 | $this->load->view('universal/header', $data); 40 | $this->load->view('StaticPage/activate_err', $data); 41 | $this->load->view('universal/footer', $data); 42 | } 43 | public function reset_succ() 44 | { 45 | $data['add_css'] = $data['add_js'] = array(); 46 | $data['logged'] = $this->ion_auth->logged_in(); 47 | $this->load->view('universal/header', $data); 48 | $this->load->view('StaticPage/reset_succ'); 49 | $this->load->view('universal/footer', $data); 50 | } 51 | public function reset_err() 52 | { 53 | $data['add_css'] = $data['add_js'] = array(); 54 | $data['logged'] = $this->ion_auth->logged_in(); 55 | $this->load->view('universal/header', $data); 56 | $this->load->view('StaticPage/reset_err', $data); 57 | $this->load->view('universal/footer', $data); 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /application/controllers/Ticket.php: -------------------------------------------------------------------------------- 1 | load->model('User_model'); 9 | $this->load->model('Ticket_model'); 10 | if (!$this->ion_auth->logged_in()) { 11 | $this->output->set_status_header(403); 12 | $data = array( 13 | 'status' => '-1', 14 | 'msg' => '请先登录!' 15 | ); 16 | echo json_encode($data); 17 | die(); 18 | } 19 | } 20 | 21 | public function book() 22 | { 23 | $name = $this->input->post('name'); 24 | $phone = $this->input->post('phone'); 25 | 26 | //check if can book 27 | $userinfo = $this->User_model->userinfo(); 28 | $uid = $userinfo['id']; 29 | 30 | $can = $this->Ticket_model->canbook($uid, $phone); 31 | if ($can['status'] == 1) { 32 | $result = $this->Ticket_model->book($uid, $name, $phone); 33 | echo json_encode($result); 34 | } else { 35 | echo json_encode($can); 36 | return; 37 | } 38 | } 39 | 40 | public function getImg($id) 41 | { 42 | $this->Ticket_model->getImg($id); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /application/controllers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/core/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/helpers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/hooks/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/language/english/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/language/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/language/zh_cn/calendar_lang.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/language/zh_cn/ion_auth_lang.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/libraries/qrcode/qrconfig.php: -------------------------------------------------------------------------------- 1 | 10 | * 11 | * PHP QR Code is distributed under LGPL 3 12 | * Copyright (C) 2010 Dominik Dzienia 13 | * 14 | * This library is free software; you can redistribute it and/or 15 | * modify it under the terms of the GNU Lesser General Public 16 | * License as published by the Free Software Foundation; either 17 | * version 3 of the License, or any later version. 18 | * 19 | * This library is distributed in the hope that it will be useful, 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 22 | * Lesser General Public License for more details. 23 | * 24 | * You should have received a copy of the GNU Lesser General Public 25 | * License along with this library; if not, write to the Free Software 26 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 27 | */ 28 | 29 | // Encoding modes 30 | 31 | define('QR_MODE_NUL', -1); 32 | define('QR_MODE_NUM', 0); 33 | define('QR_MODE_AN', 1); 34 | define('QR_MODE_8', 2); 35 | define('QR_MODE_KANJI', 3); 36 | define('QR_MODE_STRUCTURE', 4); 37 | 38 | // Levels of error correction. 39 | 40 | define('QR_ECLEVEL_L', 0); 41 | define('QR_ECLEVEL_M', 1); 42 | define('QR_ECLEVEL_Q', 2); 43 | define('QR_ECLEVEL_H', 3); 44 | 45 | // Supported output formats 46 | 47 | define('QR_FORMAT_TEXT', 0); 48 | define('QR_FORMAT_PNG', 1); 49 | 50 | class qrstr { 51 | public static function set(&$srctab, $x, $y, $repl, $replLen = false) { 52 | $srctab[$y] = substr_replace($srctab[$y], ($replLen !== false)?substr($repl,0,$replLen):$repl, $x, ($replLen !== false)?$replLen:strlen($repl)); 53 | } 54 | } -------------------------------------------------------------------------------- /application/libraries/qrcode/qrlib.php: -------------------------------------------------------------------------------- 1 | 9 | * 10 | * PHP QR Code is distributed under LGPL 3 11 | * Copyright (C) 2010 Dominik Dzienia 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 3 of the License, or any later version. 17 | * 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | * 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | $QR_BASEDIR = dirname(__FILE__).DIRECTORY_SEPARATOR; 29 | 30 | // Required libs 31 | 32 | include $QR_BASEDIR."qrconst.php"; 33 | include $QR_BASEDIR."qrconfig.php"; 34 | include $QR_BASEDIR."qrtools.php"; 35 | include $QR_BASEDIR."qrspec.php"; 36 | include $QR_BASEDIR."qrimage.php"; 37 | include $QR_BASEDIR."qrinput.php"; 38 | include $QR_BASEDIR."qrbitstream.php"; 39 | include $QR_BASEDIR."qrsplit.php"; 40 | include $QR_BASEDIR."qrrscode.php"; 41 | include $QR_BASEDIR."qrmask.php"; 42 | include $QR_BASEDIR."qrencode.php"; 43 | 44 | -------------------------------------------------------------------------------- /application/logs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/models/Log_model.php: -------------------------------------------------------------------------------- 1 | load->library('user_agent'); 5 | $this->load->database(); 6 | } 7 | 8 | public function add_log($action, $p1 = NULL, $p2 = NULL, $p3 = NULL, $user = NULL) { 9 | if (!$this->config->item('enableLog')) return; 10 | 11 | date_default_timezone_set("Asia/Shanghai"); 12 | $ip = $this->input->ip_address(); 13 | $ua = $this->agent->agent_string(); 14 | $ip = $this->security->xss_clean($ip); 15 | $ua = $this->security->xss_clean($ua); 16 | 17 | if (!is_null($user)) $user = $this->ion_auth->user()->row()->id; 18 | 19 | $data = array( 20 | 'action' => $action, 21 | 'p1' => $p1, 22 | 'p2' => $p2, 23 | 'p3' => $p3, 24 | 'ip' => $ip, 25 | 'ua' => $ua, 26 | 'time' => time(), 27 | 'user' => $user 28 | ); 29 | 30 | $this->db->insert('log', $data); 31 | } 32 | } 33 | 34 | /** 35 | * action: 36 | * 0: register 37 | * 1: active user 38 | * 2: login 39 | * 3: auth 40 | * 4: book ticket 41 | * 5: change pw (1:via porfile 2:via email) 42 | * 43 | * 10: edit user 44 | * 11: edit ticket 45 | * 12: send ticket 46 | * 13: enter 47 | * 14: add auth 48 | * 15: remove auth 49 | */ 50 | -------------------------------------------------------------------------------- /application/models/User_model.php: -------------------------------------------------------------------------------- 1 | load->library('ion_auth'); 9 | $this->load->model('Log_model'); 10 | } 11 | 12 | public function userinfo($id = null) 13 | { 14 | date_default_timezone_set("Asia/Shanghai"); 15 | $user = null; 16 | 17 | if (is_null($id)) { 18 | $user = $this->ion_auth->user()->row(); 19 | } else { 20 | $user = $this->ion_auth->where('id', $id)->users()->row(); 21 | } 22 | 23 | $data = array( 24 | 'id' => $user->id, 25 | 'username' => $this->security->xss_clean($user->username), 26 | 'email' => $user->email, 27 | 'created_on' => date('Y-m-d H:i:s', $user->created_on), 28 | 'last_login' => date('Y-m-d H:i:s', $user->last_login), 29 | 'phone' => $user->phone, 30 | 'admin' => $this->ion_auth->is_admin() 31 | ); 32 | return $data; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /application/models/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/third_party/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/StaticPage/activate_err.php: -------------------------------------------------------------------------------- 1 | 7 | 8 |
9 |

激活失败...

10 |

11 | 请联系管理员处理! 12 |

13 |
14 | -------------------------------------------------------------------------------- /application/views/StaticPage/activate_succ.php: -------------------------------------------------------------------------------- 1 | 7 | 8 |
9 |

激活成功!

10 |

11 | 现在,您可以登录系统了。 12 |

13 | 14 |
15 | -------------------------------------------------------------------------------- /application/views/StaticPage/book_no_remain.php: -------------------------------------------------------------------------------- 1 |
2 |

预约失败

3 |

4 | 很遗憾,预约名额已经发放完毕! 5 |
6 | 您可以通过其他方式参与我们的活动,感谢您的理解和支持! 7 |

8 | 9 |
10 | -------------------------------------------------------------------------------- /application/views/StaticPage/book_time_err.php: -------------------------------------------------------------------------------- 1 |
2 |

预约失败

3 |

4 | 目前还不能进行预约哦~ 请到指定的放票时间再来吧! 5 |

6 | 7 |
8 | -------------------------------------------------------------------------------- /application/views/StaticPage/booked.php: -------------------------------------------------------------------------------- 1 |
2 |

预约失败

3 |

4 | 您拥有的门票已达到上限! 5 |

6 | 7 |
8 | -------------------------------------------------------------------------------- /application/views/StaticPage/install_err.php: -------------------------------------------------------------------------------- 1 | 7 | 8 |
9 |

安装失败...

10 |
11 |
关于此异常的详细信息:

12 | 如您无法排除此故障,请联系 LTicket-Support@lwl12.com 寻求帮助。 13 |
14 |
15 | -------------------------------------------------------------------------------- /application/views/StaticPage/install_succ.php: -------------------------------------------------------------------------------- 1 | 7 | 8 |
9 |

安装成功!

10 |

11 | 现在,您可以开始使用本系统了。 12 |

13 | 14 |
15 | -------------------------------------------------------------------------------- /application/views/admin/data.php: -------------------------------------------------------------------------------- 1 | 8 | 9 |
10 |

11 |

12 | 总用户数: 13 |
14 | 已激活用户数: 15 |

16 | 普通门票数: 17 |
18 | 内部门票数: 19 |
20 |

21 |
22 | -------------------------------------------------------------------------------- /application/views/admin/enter.php: -------------------------------------------------------------------------------- 1 | 8 | 9 |
10 |

入场检票

11 |
12 | 13 | 14 | 15 | 16 |
17 | 18 |

直接输入七位数字,如 0023123,代表票号 0023,校验码 123

19 | 20 |

输入到第七位时自动提交: 21 | 25 |

26 | 27 |
28 | 29 |

扫描二维码

30 | 31 |
32 | 33 |
34 | 35 | 36 | 37 | $this->security->get_csrf_token_name(), 'hash' => $this->security->get_csrf_hash() );?> 38 | 39 | 40 |
41 | -------------------------------------------------------------------------------- /application/views/admin/setting.php: -------------------------------------------------------------------------------- 1 | 8 | 9 |
10 |

参数设置

11 |
12 |
 预约开始时间
13 | 14 |
15 |
16 |
 预约结束时间
17 | 18 |
19 | 20 |
21 |
 总计发行票数
22 | 23 |
24 | 25 |
26 |
 单人持票上限
27 | 28 |
29 | 30 | 31 | 32 | $this->security->get_csrf_token_name(), 'hash' => $this->security->get_csrf_hash() );?> 33 | 34 | 35 |
36 | -------------------------------------------------------------------------------- /application/views/admin/users.php: -------------------------------------------------------------------------------- 1 | 8 | 9 |
10 |

用户管理

11 | 12 |
13 |
14 |
15 | 20 | 21 | 22 | 23 | 24 |
25 |
26 |
27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 |
用户名邮箱操作
39 |
40 | 41 |
42 | 43 | 44 | 78 | 79 | $this->security->get_csrf_token_name(), 'hash' => $this->security->get_csrf_hash() );?> 80 | 81 | 82 | 87 | -------------------------------------------------------------------------------- /application/views/auth/email/new_password.tpl.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | 5 |

6 | 7 | -------------------------------------------------------------------------------- /application/views/errors/cli/error_404.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | An uncaught Exception was encountered 4 | 5 | Type: 6 | Message: 7 | Filename: getFile(), "\n"; ?> 8 | Line Number: getLine(); ?> 9 | 10 | 11 | 12 | Backtrace: 13 | getTrace() as $error): ?> 14 | 15 | File: 16 | Line: 17 | Function: 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /application/views/errors/cli/error_general.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | A PHP Error was encountered 4 | 5 | Severity: 6 | Message: 7 | Filename: 8 | Line Number: 9 | 10 | 11 | 12 | Backtrace: 13 | 14 | 15 | File: 16 | Line: 17 | Function: 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /application/views/errors/cli/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/errors/html/error_404.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 404 Page Not Found 8 | 57 | 58 | 59 |
60 |

61 | 62 |
63 | 64 | -------------------------------------------------------------------------------- /application/views/errors/html/error_db.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Database Error 8 | 57 | 58 | 59 |
60 |

61 | 62 |
63 | 64 | -------------------------------------------------------------------------------- /application/views/errors/html/error_exception.php: -------------------------------------------------------------------------------- 1 | 4 | 5 |
6 | 7 |

An uncaught Exception was encountered

8 | 9 |

Type:

10 |

Message:

11 |

Filename: getFile(); ?>

12 |

Line Number: getLine(); ?>

13 | 14 | 15 | 16 |

Backtrace:

17 | getTrace() as $error): ?> 18 | 19 | 20 | 21 |

22 | File:
23 | Line:
24 | Function: 25 |

26 | 27 | 28 | 29 | 30 | 31 | 32 |
-------------------------------------------------------------------------------- /application/views/errors/html/error_general.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Error 8 | 57 | 58 | 59 |
60 |

61 | 62 |
63 | 64 | -------------------------------------------------------------------------------- /application/views/errors/html/error_php.php: -------------------------------------------------------------------------------- 1 | 4 | 5 |
6 | 7 |

A PHP Error was encountered

8 | 9 |

Severity:

10 |

Message:

11 |

Filename:

12 |

Line Number:

13 | 14 | 15 | 16 |

Backtrace:

17 | 18 | 19 | 20 | 21 |

22 | File:
23 | Line:
24 | Function: 25 |

26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 |
-------------------------------------------------------------------------------- /application/views/errors/html/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/errors/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/main/forgot_pwd.php: -------------------------------------------------------------------------------- 1 | 7 | 8 |
9 |

找回密码 / 激活账号

10 |
11 | 12 |
13 |
14 |
15 |
16 |
17 | 18 |
19 |
20 |
21 |
22 | 23 | 24 | 25 |
26 | 27 |
28 | -------------------------------------------------------------------------------- /application/views/main/login.php: -------------------------------------------------------------------------------- 1 | $this->security->get_csrf_token_name(), 'hash' => $this->security->get_csrf_hash() );?> 2 | 53 | -------------------------------------------------------------------------------- /application/views/main/main.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
8 |

9 | 你好, 10 | 11 |

12 | 13 | 14 |
15 |
16 | 门票发放计划
总计发放门票 张 17 |
18 |
19 | 您可在以下时间段内进行门票预约
20 |
21 | 22 |
23 |
24 | 25 | 26 | 27 | 28 |
29 |

门票剩余:

30 |
31 |
32 | %
33 |
34 |
35 | 36 |
37 | 38 | 39 |
40 | 41 |
42 | -------------------------------------------------------------------------------- /application/views/main/profile.php: -------------------------------------------------------------------------------- 1 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 |
用户名
邮箱
手机号
注册时间
上次登录
35 | 36 |
37 | 38 |
39 |
40 | 41 | $this->security->get_csrf_token_name(), 'hash' => $this->security->get_csrf_hash() );?> 42 | 43 | 44 | 66 | -------------------------------------------------------------------------------- /application/views/main/reset_pwd.php: -------------------------------------------------------------------------------- 1 | 7 | 8 |
9 |

重设密码

10 |
11 |
12 | $this->security->get_csrf_token_name(), 'hash' => $this->security->get_csrf_hash() );?> 13 | 14 |
15 |
16 |
17 |
18 |
19 | 20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 | 28 |
29 |
30 |
31 |
32 | 33 |
34 |
35 |
36 | 37 | 40 | -------------------------------------------------------------------------------- /application/views/ticket/book.php: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 |
10 |

完善信息

11 | 12 | 50 | -------------------------------------------------------------------------------- /application/views/ticket/myTicket.php: -------------------------------------------------------------------------------- 1 | 7 | 8 |
9 |

我的邀请函

10 | 11 |
12 | 13 |
14 | 15 |
  • 点击邀请函,可通过二维码快速入场!
  • 16 |
  • 请妥善保管您的编号和验证码哦!
  • 17 |
    18 |
    19 |
    20 | 无记录,请先预约!

    '; 23 | } else { 24 | foreach ($ticket as $t) { 25 | $id = sprintf("%04d", $t['id']); 26 | $code = $t['checkCode']; 27 | $time = date("Y-m-d H:i:s", $t['time_create']); 28 | $time2 = date("Y-m-d H:i:s", $t['time_use']); 29 | echo '
    '; 30 | echo ''; 31 | echo '

    '; 32 | 33 | if ($t['status'] == 1) echo '未使用'; 34 | if ($t['status'] == 2) echo '已使用'; 35 | if ($t['status'] == -1) echo '已作废'; 36 | 37 | if ($t['class'] == 1) echo '普通座'; 38 | if ($t['class'] == 2) echo 'VIP 座'; 39 | 40 | echo "预约时间 $time"; 41 | if ($t['status'] == 2) echo "使用时间 $time2"; 42 | 43 | echo"


    "; 44 | 45 | } 46 | } 47 | ?> 48 | 49 |
    50 |
    51 | 52 | 53 | 70 | -------------------------------------------------------------------------------- /application/views/universal/footer.php: -------------------------------------------------------------------------------- 1 |
    2 | 7 | 8 | 9 | 10 | 11 | 12 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | ' . PHP_EOL; 25 | } 26 | ?> 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /assets/css/global.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding-bottom: 64px; 3 | background: #f3f3f3; 4 | } 5 | 6 | #topnav { 7 | background-color: #294A85 !important; 8 | } 9 | 10 | .bs-center { 11 | display: block; 12 | margin: auto; 13 | } 14 | .admin-main { 15 | padding-bottom: 20px; 16 | } 17 | 18 | .lwl-content { 19 | background: #fff; 20 | border-radius: 6px; 21 | -webkit-box-shadow: 0 1px 11px rgba(0, 0, 0, 0.1); 22 | box-shadow: 0 1px 11px rgba(0, 0, 0, 0.1); 23 | padding: 30px; 24 | margin-top: 2em; 25 | } 26 | 27 | 28 | .copyright { 29 | margin-top: 2em; 30 | margin-bottom: 2em; 31 | font-size: 12px; 32 | text-align: center; 33 | color: #8f979e; 34 | } 35 | 36 | .copyright a { 37 | color: #8f979e; 38 | } 39 | 40 | 41 | .ticket-box { 42 | display: block; 43 | margin-bottom: 0.5rem; 44 | height: 100%; 45 | } 46 | 47 | .ticket-box .ticket-img { 48 | display: block; 49 | width: 100%; 50 | border-radius: 5px; 51 | } 52 | 53 | .ticket-box .detail { 54 | text-align: center; 55 | } 56 | 57 | .ticket-box .detail .am-badge { 58 | margin: 0 0.5rem 0 0.3rem; 59 | } 60 | 61 | .am-input-group .am-dropdown { 62 | width: 100%; 63 | } 64 | 65 | .am-breadcrumb { 66 | margin-bottom: 0; 67 | margin-top: 0.5rem; 68 | } 69 | 70 | .ie-must-go-die { 71 | min-width: 100%; 72 | min-height: 100%; 73 | border: 0; 74 | margin: 0; 75 | padding: 0 76 | } 77 | 78 | .ie-must-go-die { 79 | position: fixed; 80 | z-index: 23336666; 81 | background: url(../img/ie-die.jpg) no-repeat 50%; 82 | background-size: cover 83 | } 84 | 85 | .ie-must-go-die .ie-container { 86 | position: absolute; 87 | top: 40%; 88 | left: 25%; 89 | text-align: center; 90 | color: #c99 91 | } 92 | 93 | .ie-must-go-die .ie-container h1 { 94 | font-size: 28px; 95 | margin-bottom: 36px 96 | } 97 | 98 | .ie-must-go-die .ie-container p { 99 | font-size: 16px; 100 | line-height: 24px; 101 | margin-bottom: 16px 102 | } 103 | 104 | .ie-must-go-die .ie-container a { 105 | display: block; 106 | color: inherit 107 | } 108 | 109 | .ie-must-go-die .ie-container a:visited { 110 | color: inherit 111 | } 112 | 113 | /* AmazeUI reset */ 114 | .am-topbar-inverse { 115 | background-color: #294A85; 116 | } 117 | 118 | .am-btn-secondary { 119 | color: #fff; 120 | background-color: #758aad; 121 | border-color: #758aad; 122 | } 123 | 124 | .am-btn-secondary:hover, .am-btn-secondary:focus { 125 | background-color: #5574bd; 126 | border-color: #5574bd; 127 | } 128 | 129 | .am-btn-primary { 130 | color: #fff; 131 | background-color: #294A85; 132 | border-color: #294A85; 133 | } 134 | 135 | .am-btn-primary:hover, .am-btn-primary:focus { 136 | background-color: #5574bd; 137 | border-color: #5574bd; 138 | } 139 | 140 | .am-alert-success { 141 | background-color: #446fb7; 142 | border-color: #446fb7; 143 | color: #fff; 144 | } 145 | 146 | .am-btn-primary.am-disabled, .am-btn-primary[disabled], fieldset[disabled] .am-btn-primary, .am-btn-primary.am-disabled:hover, .am-btn-primary[disabled]:hover, fieldset[disabled] .am-btn-primary:hover, .am-btn-primary.am-disabled:focus, .am-btn-primary[disabled]:focus, fieldset[disabled] .am-btn-primary:focus, .am-btn-primary.am-disabled:active, .am-btn-primary[disabled]:active, fieldset[disabled] .am-btn-primary:active, .am-btn-primary.am-disabled.am-active, .am-btn-primary[disabled].am-active, fieldset[disabled] .am-btn-primary.am-active { 147 | background-color: #5574bd; 148 | border-color: #5574bd; 149 | } 150 | -------------------------------------------------------------------------------- /assets/css/notie.min.css: -------------------------------------------------------------------------------- 1 | .notie-container{font-size:1.6rem;height:auto;left:0;position:fixed;text-align:center;width:100%;z-index:200000;box-sizing:border-box;-o-box-shadow:0 0 5px 0 rgba(0,0,0,.5);-ms-box-shadow:0 0 5px 0 rgba(0,0,0,.5);box-shadow:0 0 5px 0 rgba(0,0,0,.5)}@media screen and (max-width:900px){.notie-container{font-size:1.4rem}}@media screen and (max-width:750px){.notie-container{font-size:1.2rem}}@media screen and (max-width:400px){.notie-container{font-size:1rem}}.notie-background-success{background-color:#57bf57}.notie-background-warning{background-color:#d6a14d}.notie-background-error{background-color:#e1715b}.notie-background-info{background-color:#4d82d6}.notie-background-neutral{background-color:#a0a0a0}.notie-background-overlay{background-color:#fff}.notie-textbox{color:#fff;padding:20px}.notie-textbox-inner{margin:0 auto;max-width:900px}.notie-overlay{height:100%;left:0;opacity:0;position:fixed;top:0;width:100%;z-index:100000}.notie-button{cursor:pointer}.notie-button,.notie-element{color:#fff;padding:10px}.notie-element-half{width:50%}.notie-element-half,.notie-element-third{display:inline-block;box-sizing:border-box}.notie-element-third{width:33.3333%}.notie-alert{cursor:pointer}.notie-input-field{background-color:#fff;border:0;font-family:inherit;font-size:inherit;outline:0;padding:10px;text-align:center;width:100%;box-sizing:border-box}.notie-select-choice-repeated{border-bottom:1px solid hsla(0,0%,100%,.2);box-sizing:border-box}.notie-date-selector-inner{margin:0 auto;max-width:900px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.notie-date-selector-inner [contenteditable],.notie-date-selector-inner [contenteditable]:focus{outline:0 solid transparent}.notie-date-selector-up{transform:rotate(180deg)} 2 | -------------------------------------------------------------------------------- /assets/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /assets/fonts/fzxh.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/fonts/fzxh.ttf -------------------------------------------------------------------------------- /assets/i/app-icon72x72@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/i/app-icon72x72@2x.png -------------------------------------------------------------------------------- /assets/i/examples/admin-chrome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/i/examples/admin-chrome.png -------------------------------------------------------------------------------- /assets/i/examples/admin-firefox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/i/examples/admin-firefox.png -------------------------------------------------------------------------------- /assets/i/examples/admin-ie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/i/examples/admin-ie.png -------------------------------------------------------------------------------- /assets/i/examples/admin-opera.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/i/examples/admin-opera.png -------------------------------------------------------------------------------- /assets/i/examples/admin-safari.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/i/examples/admin-safari.png -------------------------------------------------------------------------------- /assets/i/examples/adminPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/i/examples/adminPage.png -------------------------------------------------------------------------------- /assets/i/examples/blogPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/i/examples/blogPage.png -------------------------------------------------------------------------------- /assets/i/examples/landing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/i/examples/landing.png -------------------------------------------------------------------------------- /assets/i/examples/landingPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/i/examples/landingPage.png -------------------------------------------------------------------------------- /assets/i/examples/loginPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/i/examples/loginPage.png -------------------------------------------------------------------------------- /assets/i/examples/sidebarPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/i/examples/sidebarPage.png -------------------------------------------------------------------------------- /assets/i/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/i/favicon.png -------------------------------------------------------------------------------- /assets/i/logo-b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/i/logo-b.png -------------------------------------------------------------------------------- /assets/i/logo-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/i/logo-on.png -------------------------------------------------------------------------------- /assets/i/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/i/logo.png -------------------------------------------------------------------------------- /assets/i/startup-640x1096.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/i/startup-640x1096.png -------------------------------------------------------------------------------- /assets/i/wrench.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/i/wrench.png -------------------------------------------------------------------------------- /assets/img/cr.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/img/cr.jpg -------------------------------------------------------------------------------- /assets/img/ie-die.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/img/ie-die.jpg -------------------------------------------------------------------------------- /assets/img/ticket-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/img/ticket-bg.png -------------------------------------------------------------------------------- /assets/img/tickets/.nomedia: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/img/tickets/.nomedia -------------------------------------------------------------------------------- /assets/img/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/img/user.png -------------------------------------------------------------------------------- /assets/js/admin/data.js: -------------------------------------------------------------------------------- 1 | function getData() { 2 | $.ajax({ 3 | type: "GET", 4 | url: "/admin/api_get_data", 5 | dataType: "json", 6 | success: function (response) { 7 | $('#user-num').html(response.user_num); 8 | $('#active-user-num').html(response.active_user_num); 9 | $('#normal-ticket-num').html(response.normal_ticket_num); 10 | $('#staff-ticket-num').html(response.staff_ticket_num); 11 | } 12 | }); 13 | } 14 | 15 | setInterval(function() { 16 | getData(); 17 | }, 5000) -------------------------------------------------------------------------------- /assets/js/admin/setting.js: -------------------------------------------------------------------------------- 1 | $('#confirmSED').click(function(e) { 2 | $.ajax({ 3 | type: "POST", 4 | url: "/admin/api_setting_update", 5 | data: { 6 | 'startdate': $('#input-startdate').val(), 7 | 'finaldate': $('#input-finaldate').val(), 8 | 'alltnum': $('#input-alltnum').val(), 9 | 'pertnum': $('#input-pertnum').val(), 10 | '_SECSRF-T': $("input[name='_SECSRF-T']").val() 11 | }, 12 | dataType: "json", 13 | success: function(response) { 14 | alert(response.msg); 15 | } 16 | }); 17 | }); 18 | -------------------------------------------------------------------------------- /assets/js/admin/users.js: -------------------------------------------------------------------------------- 1 | var editing_user = 0; 2 | 3 | $('#users-search-btn').click(function() { 4 | do_search(); 5 | }); 6 | $('#users-search-content').bind('keypress', function(event) { 7 | if (event.keyCode == "13") { 8 | do_search(); 9 | } 10 | }); 11 | 12 | function do_search(all, uid) { 13 | key = $('#users-search-key').val(); 14 | txt = $('#users-search-content').val().trim(); 15 | if (all) key = 'username', txt = ''; 16 | if (uid) key = 'id', txt = uid; 17 | 18 | $.ajax({ 19 | type: "POST", 20 | url: "/admin/api_search_users", 21 | data: { 22 | 'key': key, 23 | 'value': txt, 24 | '_SECSRF-T': $("input[name='_SECSRF-T']").val() 25 | }, 26 | dataType: "json", 27 | success: function(response) { 28 | console.log(response.length); 29 | if (response.length == 0) { 30 | $('#users-tbody').html('

    未找到相关用户

    '); 31 | } else { 32 | text = ''; 33 | for (var i = 0; i < response.length; i++) { 34 | text += ' ' + response[i].username + ' ' + response[i].email + ' 查名下票 '; 35 | } 36 | $('#users-tbody').html(text); 37 | bind_all(); 38 | } 39 | } 40 | }); 41 | } 42 | 43 | function bind_all() { 44 | //bind list action btn 45 | $('.users-edit').click(function() { 46 | id = $(this).parents('tr').attr('uid'); 47 | console.log(id); 48 | user_edit(id); 49 | }); 50 | 51 | 52 | } 53 | 54 | function user_edit(id) { 55 | $.ajax({ 56 | type: "GET", 57 | url: "/admin/api_user_info", 58 | data: { 59 | 'id': id 60 | }, 61 | dataType: "json", 62 | success: function(response) { 63 | editing_user = response.id; 64 | $('#edit-email').val(response.email); 65 | $('#edit-username').val(response.username); 66 | $('#edit-phone').val(response.phone); 67 | 68 | $('#edit-modal').modal(); 69 | 70 | $('#confirmUED').click(function(e) { 71 | $.ajax({ 72 | type: "POST", 73 | url: "/admin/api_user_update", 74 | data: { 75 | 'id': editing_user, 76 | 'email': $('#edit-email').val().trim(), 77 | 'username': $('#edit-username').val().trim(), 78 | 'phone': $('#edit-phone').val().trim(), 79 | '_SECSRF-T': $("input[name='_SECSRF-T']").val() 80 | }, 81 | dataType: "json", 82 | success: function(response) { 83 | alert(response.msg); 84 | } 85 | }); 86 | 87 | if ($('#edit-newpw').val().trim() != '') { 88 | $.ajax({ 89 | type: "POST", 90 | url: "/admin/api_user_changepw", 91 | data: { 92 | 'id': editing_user, 93 | 'new_pw': $('#edit-newpw').val().trim(), 94 | '_SECSRF-T': $("input[name='_SECSRF-T']").val() 95 | }, 96 | dataType: "json", 97 | success: function(response) { 98 | alert(response.msg); 99 | } 100 | }); 101 | } 102 | }); 103 | } 104 | }); 105 | } 106 | 107 | if (uid != 0) { 108 | do_search(false, uid); 109 | } else { 110 | //do_search(true) 111 | } 112 | -------------------------------------------------------------------------------- /assets/js/authenticate.js: -------------------------------------------------------------------------------- 1 | function PostForm() { 2 | $('#btn-auth').button('loading'); 3 | njid = $('#select-njid').val(); 4 | name = $('#input-name').val(); 5 | pwd = $('#input-pwd').val(); 6 | if(njid <= 0 || name=='' || pwd=='') { 7 | alert('请填写认证信息!'); 8 | $('#btn-auth').button('reset'); 9 | return; 10 | } 11 | $.ajax({ 12 | type: "POST", 13 | url: "/user/auth", 14 | data: { 15 | 'njid': njid, 16 | 'name': name, 17 | 'pwd': pwd 18 | }, 19 | dataType: "json", 20 | success: function (response) { 21 | if(response.status > 0) { 22 | alert(response.msg); 23 | location.reload() 24 | } else { 25 | alert(response.msg); 26 | } 27 | $('#btn-auth').button('reset'); 28 | } 29 | }); 30 | } 31 | 32 | $('#btn-auth').click(function() { 33 | PostForm(); 34 | }); -------------------------------------------------------------------------------- /assets/js/forgot_pwd.js: -------------------------------------------------------------------------------- 1 | function PostForm() { 2 | $('#btn-forgot').text('处理中...'); 3 | $('#btn-forgot').attr("disabled", "disabled"); 4 | $.ajax({ 5 | type: "POST", 6 | url: "/user/can_not_login", 7 | data: { 8 | 'id': $('#input-email').val().trim(), 9 | '_SECSRF-T': $("input[name='_SECSRF-T']").val() 10 | }, 11 | dataType: "json", 12 | success: function (response) { 13 | if(response.status > 0) { 14 | alert(response.msg); 15 | window.location.href = '/'; 16 | } else { 17 | alert(response.msg); 18 | } 19 | $('#btn-forgot').text('发送邮件'); 20 | $('#btn-forgot').removeAttr('disabled'); 21 | } 22 | }); 23 | } 24 | 25 | $('#btn-forgot').click(function() { 26 | setTimeout(() => { 27 | PostForm(); 28 | }, 100); 29 | }); 30 | -------------------------------------------------------------------------------- /assets/js/global.js: -------------------------------------------------------------------------------- 1 | function _logout() { 2 | $.ajax({ 3 | type: "GET", 4 | url: "user/logout", 5 | dataType: "json", 6 | success: function (response) { 7 | if (response.status > 0) { 8 | window.location.href = "/"; 9 | } else { 10 | alert(response.msg); 11 | }; 12 | } 13 | }); 14 | } 15 | 16 | function _cpw(old_pw,new_pw,callback) { 17 | $.ajax({ 18 | type: "POST", 19 | url: "user/cpw", 20 | data: { 21 | 'old_pw': old_pw, 22 | 'new_pw': new_pw, 23 | '_SECSRF-T': $("input[name='_SECSRF-T']").val() 24 | }, 25 | dataType: "json", 26 | success: function (response) { 27 | if (response.status > 0) { 28 | alert(response.msg); 29 | window.location.href = "/"; 30 | } else { 31 | alert(response.msg); 32 | callback(); 33 | }; 34 | } 35 | }); 36 | } 37 | 38 | $('#a-logout').click(function () { 39 | $(this).html('请稍候'); 40 | _logout(); 41 | }); 42 | -------------------------------------------------------------------------------- /assets/js/login.js: -------------------------------------------------------------------------------- 1 | function login() { 2 | un = $('#input-username').val().trim(); 3 | pw = $('#input-pwd').val().trim(); 4 | rm = false; 5 | if (un == '' || pw == '') { 6 | alert('用户名或密码不能为空!'); 7 | } else { 8 | $('#btn-login').html('登录中'); 9 | $('#btn-login').attr('disabled','true'); 10 | _login(un, pw, rm); 11 | } 12 | } 13 | 14 | function _login(id, pw, rm) { 15 | $.ajax({ 16 | type: "POST", 17 | url: "user/login", 18 | data: { 19 | "id": id, 20 | "pw": pw, 21 | "rm": rm, 22 | '_SECSRF-T': $("input[name='_SECSRF-T']").val() 23 | }, 24 | dataType: "json", 25 | success: function (response) { 26 | if (response.status > 0) { 27 | window.location.href = "/"; 28 | } else { 29 | alert(response.msg); 30 | $('#btn-login').html('登录'); 31 | $('#btn-login').removeAttr('disabled'); 32 | }; 33 | } 34 | }); 35 | } 36 | 37 | $('#btn-login').click(function () { 38 | login(); 39 | }); 40 | $('#input-pwd').unbind().bind('keypress', function (event) { 41 | if (event.keyCode == "13") { 42 | login(); 43 | } 44 | }); 45 | -------------------------------------------------------------------------------- /assets/js/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/assets/js/main.js -------------------------------------------------------------------------------- /assets/js/myTicket.js: -------------------------------------------------------------------------------- 1 | $('.ticket-img').click(function() { 2 | code = $(this).attr('code'); 3 | $('#qrcode-url').attr('src','/api/qrcode/'+code); 4 | $('#qrcode-modal').modal(); 5 | }); -------------------------------------------------------------------------------- /assets/js/profile.js: -------------------------------------------------------------------------------- 1 | function open_cpw_modal() { 2 | $('#cpw-prompt').modal("show"); 3 | $('#confirmCPW').click(function (e) { 4 | old_pw = $('#user-cpw-old-pw').val(); 5 | new_pw = $('#user-cpw-new-pw').val(); 6 | cpw = $('#user-cpw-confirm-pw').val(); 7 | 8 | //var reg = /^[A-Za-z0-9]+$/; 9 | 10 | if (new_pw != cpw) { 11 | alert('两次输入的密码不一致!'); 12 | setTimeout(() => { 13 | open_cpw_modal() 14 | }, 300); 15 | //fucking modal.... 16 | } else if (new_pw.length < 0) { 17 | alert('密码必须大于六位!'); 18 | setTimeout(() => { 19 | open_cpw_modal() 20 | }, 300); 21 | } else { 22 | $('#cpw-prompt-toggle').button('loading'); 23 | _cpw(old_pw, new_pw, function() { 24 | $('#cpw-prompt-toggle').button('reset'); 25 | }); 26 | } 27 | }); 28 | } 29 | $('#cpw-prompt-toggle').click(function () { 30 | open_cpw_modal(); 31 | }); 32 | -------------------------------------------------------------------------------- /assets/js/register.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 'use strict'; 3 | window.addEventListener('load', function() { 4 | // Fetch all the forms we want to apply custom Bootstrap validation styles to 5 | var forms = document.getElementsByClassName('needs-validation'); 6 | // Loop over them and prevent submission 7 | var validation = Array.prototype.filter.call(forms, function(form) { 8 | form.addEventListener('submit', function(event) { 9 | if (form.checkValidity() === false) { 10 | event.preventDefault(); 11 | event.stopPropagation(); 12 | } else { 13 | PostReg(); 14 | } 15 | form.classList.add('was-validated'); 16 | }, false); 17 | }); 18 | }, false); 19 | })(); 20 | 21 | function PostReg() { 22 | $('#btn-reg').text('处理中...'); 23 | $('#btn-reg').attr("disabled", "disabled") 24 | $.ajax({ 25 | type: "POST", 26 | url: "/user/register", 27 | data: { 28 | 'email': $('#input-email').val().trim(), 29 | 'phone': $('#input-phone').val().trim(), 30 | 'username': $('#input-username').val().trim(), 31 | 'passwd': $('#input-pwd').val().trim(), 32 | '_SECSRF-T': $("input[name='_SECSRF-T']").val() 33 | }, 34 | dataType: "json", 35 | success: function (response) { 36 | if(response.status > 0) { 37 | $('.lwl-content').html( 38 | '

    离成功只有一步——

    '+ 39 | '

    '+ 40 | '系统已经发送了一封邮件到您填写的邮箱,请打开您的邮箱,点击激活链接进行激活。'+ 41 | '
    '+ 42 | '如果您迟迟没有收到邮件,您可以尝试点击下面的按钮重新发送。'+ 43 | '

    '+ 44 | ''); 45 | /* 46 | alert(response.msg); 47 | window.location.href = '/'; 48 | */ 49 | } else { 50 | $('#error-disp').css('display', ''); 51 | $('#error-desc').html(response.msg); 52 | } 53 | $('#btn-reg').text('立即注册'); 54 | $('#btn-reg').removeAttr('disabled'); 55 | } 56 | }); 57 | } 58 | -------------------------------------------------------------------------------- /assets/js/reset_pwd.js: -------------------------------------------------------------------------------- 1 | function PostForm() { 2 | $('#btn-reset').text('处理中...'); 3 | $('#btn-reset').attr("disabled", "disabled"); 4 | $.ajax({ 5 | type: "POST", 6 | url: "/user/reset_pwd", 7 | data: { 8 | 'code': code, 9 | 'pw': $('#input-pwd').val().trim(), 10 | '_SECSRF-T': $("input[name='_SECSRF-T']").val() 11 | }, 12 | dataType: "json", 13 | success: function (response) { 14 | if(response.status > 0) { 15 | alert(response.msg); 16 | window.location.href = '/'; 17 | } else { 18 | alert(response.msg); 19 | } 20 | $('#btn-reset').text('修改密码'); 21 | $('#btn-reset').removeAttr('disabled'); 22 | } 23 | }); 24 | } 25 | 26 | $('#btn-reset').click(function() { 27 | setTimeout(() => { 28 | PostForm(); 29 | }, 100); 30 | }); 31 | -------------------------------------------------------------------------------- /assets/js/ticket_book.js: -------------------------------------------------------------------------------- 1 | function PostForm() { 2 | $('#btn-book').text('处理中...'); 3 | $('#btn-book').attr("disabled", "disabled"); 4 | $.ajax({ 5 | type: "POST", 6 | url: "/ticket/book", 7 | data: { 8 | 'name': $('#input-name').val().trim(), 9 | 'phone': $('#input-phone').val().trim(), 10 | '_SECSRF-T': $("input[name='_SECSRF-T']").val() 11 | }, 12 | dataType: "json", 13 | success: function (response) { 14 | if(response.status > 0) { 15 | alert(response.msg); 16 | window.location.href = '/main/myTicket'; 17 | } else { 18 | alert(response.msg); 19 | if(response.status == -2) window.location.reload(); 20 | } 21 | $('#btn-book').text('预约!'); 22 | $('#btn-book').removeAttr('disabled'); 23 | } 24 | }); 25 | } 26 | 27 | $('#btn-book').click(function() { 28 | setTimeout(() => { 29 | PostForm() 30 | }, 100); 31 | }); 32 | -------------------------------------------------------------------------------- /robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: / 3 | -------------------------------------------------------------------------------- /system/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | Require all denied 3 | 4 | 5 | Deny from all 6 | -------------------------------------------------------------------------------- /system/core/Controller.php: -------------------------------------------------------------------------------- 1 | $class) 74 | { 75 | $this->$var =& load_class($class); 76 | } 77 | 78 | $this->load =& load_class('Loader', 'core'); 79 | $this->load->initialize(); 80 | log_message('info', 'Controller Class Initialized'); 81 | } 82 | 83 | // -------------------------------------------------------------------- 84 | 85 | /** 86 | * Get the CI singleton 87 | * 88 | * @static 89 | * @return object 90 | */ 91 | public static function &get_instance() 92 | { 93 | return self::$instance; 94 | } 95 | 96 | } 97 | -------------------------------------------------------------------------------- /system/core/Model.php: -------------------------------------------------------------------------------- 1 | $key; 74 | } 75 | 76 | } 77 | -------------------------------------------------------------------------------- /system/core/compat/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/core/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/cubrid/cubrid_utility.php: -------------------------------------------------------------------------------- 1 | db->data_cache['db_names'])) 57 | { 58 | return $this->db->data_cache['db_names']; 59 | } 60 | 61 | return $this->db->data_cache['db_names'] = cubrid_list_dbs($this->db->conn_id); 62 | } 63 | 64 | // -------------------------------------------------------------------- 65 | 66 | /** 67 | * CUBRID Export 68 | * 69 | * @param array Preferences 70 | * @return mixed 71 | */ 72 | protected function _backup($params = array()) 73 | { 74 | // No SQL based support in CUBRID as of version 8.4.0. Database or 75 | // table backup can be performed using CUBRID Manager 76 | // database administration tool. 77 | return $this->db->display_error('db_unsupported_feature'); 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /system/database/drivers/cubrid/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/ibase/ibase_utility.php: -------------------------------------------------------------------------------- 1 | db->hostname, $this->db->username, $this->db->password)) 58 | { 59 | $res = ibase_backup($service, $this->db->database, $filename.'.fbk'); 60 | 61 | // Close the service connection 62 | ibase_service_detach($service); 63 | return $res; 64 | } 65 | 66 | return FALSE; 67 | } 68 | 69 | } 70 | -------------------------------------------------------------------------------- /system/database/drivers/ibase/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/mssql/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/mssql/mssql_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 75 | } 76 | 77 | } 78 | -------------------------------------------------------------------------------- /system/database/drivers/mysql/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/mysqli/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/oci8/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/oci8/oci8_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 66 | } 67 | 68 | } 69 | -------------------------------------------------------------------------------- /system/database/drivers/odbc/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/odbc/odbc_forge.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 61 | } 62 | 63 | } 64 | -------------------------------------------------------------------------------- /system/database/drivers/pdo/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/pdo/pdo_forge.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 61 | } 62 | 63 | } 64 | -------------------------------------------------------------------------------- /system/database/drivers/pdo/subdrivers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/pdo/subdrivers/pdo_odbc_forge.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/postgre/postgre_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /system/database/drivers/sqlite/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/sqlite/sqlite_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 59 | } 60 | 61 | } 62 | -------------------------------------------------------------------------------- /system/database/drivers/sqlite3/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/sqlite3/sqlite3_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 59 | } 60 | 61 | } 62 | -------------------------------------------------------------------------------- /system/database/drivers/sqlsrv/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/sqlsrv/sqlsrv_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 75 | } 76 | 77 | } 78 | -------------------------------------------------------------------------------- /system/database/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/fonts/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/fonts/texb.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lwl12/LTicket/37f51d0aed58312235561e34ae7e352badddec7e/system/fonts/texb.ttf -------------------------------------------------------------------------------- /system/helpers/email_helper.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/helpers/language_helper.php: -------------------------------------------------------------------------------- 1 | lang->line($line); 67 | 68 | if ($for !== '') 69 | { 70 | $line = ''; 71 | } 72 | 73 | return $line; 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /system/helpers/number_helper.php: -------------------------------------------------------------------------------- 1 | lang->load('number'); 65 | 66 | if ($num >= 1000000000000) 67 | { 68 | $num = round($num / 1099511627776, $precision); 69 | $unit = $CI->lang->line('terabyte_abbr'); 70 | } 71 | elseif ($num >= 1000000000) 72 | { 73 | $num = round($num / 1073741824, $precision); 74 | $unit = $CI->lang->line('gigabyte_abbr'); 75 | } 76 | elseif ($num >= 1000000) 77 | { 78 | $num = round($num / 1048576, $precision); 79 | $unit = $CI->lang->line('megabyte_abbr'); 80 | } 81 | elseif ($num >= 1000) 82 | { 83 | $num = round($num / 1024, $precision); 84 | $unit = $CI->lang->line('kilobyte_abbr'); 85 | } 86 | else 87 | { 88 | $unit = $CI->lang->line('bytes'); 89 | return number_format($num).' '.$unit; 90 | } 91 | 92 | return number_format($num, $precision).' '.$unit; 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /system/helpers/path_helper.php: -------------------------------------------------------------------------------- 1 | ', '"', "'", '-'), 76 | array('&', '<', '>', '"', ''', '-'), 77 | $str 78 | ); 79 | 80 | // Decode the temp markers back to entities 81 | $str = preg_replace('/'.$temp.'(\d+);/', '&#\\1;', $str); 82 | 83 | if ($protect_all === TRUE) 84 | { 85 | return preg_replace('/'.$temp.'(\w+);/', '&\\1;', $str); 86 | } 87 | 88 | return $str; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /system/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/language/english/calendar_lang.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/language/english/migration_lang.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/Cache/drivers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/Cache/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/Javascript/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/Session/SessionHandlerInterface.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/Session/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | --------------------------------------------------------------------------------