├── .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 |
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 |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 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/core/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/helpers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/hooks/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/language/english/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/language/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/language/zh_cn/calendar_lang.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |Directory access is forbidden.
8 | 9 | 10 |