├── .DS_Store
├── .htaccess
├── LICENSE
├── README.md
├── application
├── .DS_Store
├── .htaccess
├── cache
│ ├── .htaccess
│ └── index.html
├── config
│ ├── autoload.php
│ ├── config.php
│ ├── constants.php
│ ├── database.php
│ ├── doctypes.php
│ ├── foreign_chars.php
│ ├── hooks.php
│ ├── index.html
│ ├── memcached.php
│ ├── migration.php
│ ├── mimes.php
│ ├── profiler.php
│ ├── routes.php
│ ├── smileys.php
│ └── user_agents.php
├── controllers
│ ├── Auth.php
│ ├── Dashboard.php
│ ├── Events.php
│ ├── Loker.php
│ ├── Profile.php
│ ├── Users.php
│ └── index.html
├── core
│ ├── MY_Controller.php
│ └── index.html
├── helpers
│ └── index.html
├── hooks
│ └── index.html
├── index.html
├── language
│ ├── english
│ │ └── index.html
│ └── index.html
├── libraries
│ └── index.html
├── logs
│ └── index.html
├── models
│ ├── Model_alumni.php
│ ├── Model_events.php
│ ├── Model_loker.php
│ ├── Model_users.php
│ └── index.html
├── third_party
│ └── index.html
└── views
│ ├── auth
│ └── login.php
│ ├── dashboard
│ └── content.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
│ ├── events
│ ├── eventAdd.php
│ ├── eventEdit.php
│ └── eventList.php
│ ├── index.html
│ ├── loker
│ ├── lokerAdd.php
│ ├── lokerDetail.php
│ ├── lokerEdit.php
│ └── lokerList.php
│ ├── profile
│ └── profile.php
│ ├── template
│ ├── content.php
│ ├── footer.php
│ ├── header.php
│ ├── layout.php
│ └── sidebar.php
│ └── users
│ ├── userAdd.php
│ ├── userEdit.php
│ └── userList.php
├── assets
├── app
│ ├── css
│ │ ├── materialize.css
│ │ └── materialize.min.css
│ ├── fonts
│ │ └── roboto
│ │ │ ├── Roboto-Bold.eot
│ │ │ ├── Roboto-Bold.ttf
│ │ │ ├── Roboto-Bold.woff
│ │ │ ├── Roboto-Bold.woff2
│ │ │ ├── Roboto-Light.eot
│ │ │ ├── Roboto-Light.ttf
│ │ │ ├── Roboto-Light.woff
│ │ │ ├── Roboto-Light.woff2
│ │ │ ├── Roboto-Medium.eot
│ │ │ ├── Roboto-Medium.ttf
│ │ │ ├── Roboto-Medium.woff
│ │ │ ├── Roboto-Medium.woff2
│ │ │ ├── Roboto-Regular.eot
│ │ │ ├── Roboto-Regular.ttf
│ │ │ ├── Roboto-Regular.woff
│ │ │ ├── Roboto-Regular.woff2
│ │ │ ├── Roboto-Thin.eot
│ │ │ ├── Roboto-Thin.ttf
│ │ │ ├── Roboto-Thin.woff
│ │ │ └── Roboto-Thin.woff2
│ └── js
│ │ ├── materialize.js
│ │ └── materialize.min.js
├── css
│ └── kcdev.css
├── images
│ ├── administrator_20170421152121.jpg
│ ├── administrator_20170421152220.jpg
│ ├── logo.png
│ ├── nav.jpg
│ ├── nav2.png
│ ├── nav3.jpg
│ ├── nav4.png
│ ├── nav5.jpg
│ ├── nav6.jpg
│ ├── nav7.jpg
│ └── noavatar.png
├── js
│ └── kcdev.js
├── materialize
│ ├── LICENSE
│ ├── README.md
│ ├── css
│ │ ├── materialize.css
│ │ └── materialize.min.css
│ ├── fonts
│ │ └── roboto
│ │ │ ├── Roboto-Bold.eot
│ │ │ ├── Roboto-Bold.ttf
│ │ │ ├── Roboto-Bold.woff
│ │ │ ├── Roboto-Bold.woff2
│ │ │ ├── Roboto-Light.eot
│ │ │ ├── Roboto-Light.ttf
│ │ │ ├── Roboto-Light.woff
│ │ │ ├── Roboto-Light.woff2
│ │ │ ├── Roboto-Medium.eot
│ │ │ ├── Roboto-Medium.ttf
│ │ │ ├── Roboto-Medium.woff
│ │ │ ├── Roboto-Medium.woff2
│ │ │ ├── Roboto-Regular.eot
│ │ │ ├── Roboto-Regular.ttf
│ │ │ ├── Roboto-Regular.woff
│ │ │ ├── Roboto-Regular.woff2
│ │ │ ├── Roboto-Thin.eot
│ │ │ ├── Roboto-Thin.ttf
│ │ │ ├── Roboto-Thin.woff
│ │ │ └── Roboto-Thin.woff2
│ └── js
│ │ ├── materialize.js
│ │ └── materialize.min.js
└── plugins
│ └── tinymce
│ ├── jquery.tinymce.min.js
│ ├── langs
│ └── readme.md
│ ├── license.txt
│ ├── plugins
│ ├── advlist
│ │ └── plugin.min.js
│ ├── anchor
│ │ └── plugin.min.js
│ ├── autolink
│ │ └── plugin.min.js
│ ├── autoresize
│ │ └── plugin.min.js
│ ├── autosave
│ │ └── plugin.min.js
│ ├── bbcode
│ │ └── plugin.min.js
│ ├── charmap
│ │ └── plugin.min.js
│ ├── code
│ │ └── plugin.min.js
│ ├── codesample
│ │ ├── css
│ │ │ └── prism.css
│ │ └── plugin.min.js
│ ├── colorpicker
│ │ └── plugin.min.js
│ ├── contextmenu
│ │ └── plugin.min.js
│ ├── directionality
│ │ └── plugin.min.js
│ ├── emoticons
│ │ ├── img
│ │ │ ├── smiley-cool.gif
│ │ │ ├── smiley-cry.gif
│ │ │ ├── smiley-embarassed.gif
│ │ │ ├── smiley-foot-in-mouth.gif
│ │ │ ├── smiley-frown.gif
│ │ │ ├── smiley-innocent.gif
│ │ │ ├── smiley-kiss.gif
│ │ │ ├── smiley-laughing.gif
│ │ │ ├── smiley-money-mouth.gif
│ │ │ ├── smiley-sealed.gif
│ │ │ ├── smiley-smile.gif
│ │ │ ├── smiley-surprised.gif
│ │ │ ├── smiley-tongue-out.gif
│ │ │ ├── smiley-undecided.gif
│ │ │ ├── smiley-wink.gif
│ │ │ └── smiley-yell.gif
│ │ └── plugin.min.js
│ ├── example
│ │ ├── dialog.html
│ │ └── plugin.min.js
│ ├── example_dependency
│ │ └── plugin.min.js
│ ├── fullpage
│ │ └── plugin.min.js
│ ├── fullscreen
│ │ └── plugin.min.js
│ ├── hr
│ │ └── plugin.min.js
│ ├── image
│ │ └── plugin.min.js
│ ├── imagetools
│ │ └── plugin.min.js
│ ├── importcss
│ │ └── plugin.min.js
│ ├── insertdatetime
│ │ └── plugin.min.js
│ ├── layer
│ │ └── plugin.min.js
│ ├── legacyoutput
│ │ └── plugin.min.js
│ ├── link
│ │ └── plugin.min.js
│ ├── lists
│ │ └── plugin.min.js
│ ├── media
│ │ └── plugin.min.js
│ ├── nonbreaking
│ │ └── plugin.min.js
│ ├── noneditable
│ │ └── plugin.min.js
│ ├── pagebreak
│ │ └── plugin.min.js
│ ├── paste
│ │ └── plugin.min.js
│ ├── preview
│ │ └── plugin.min.js
│ ├── print
│ │ └── plugin.min.js
│ ├── save
│ │ └── plugin.min.js
│ ├── searchreplace
│ │ └── plugin.min.js
│ ├── spellchecker
│ │ └── plugin.min.js
│ ├── tabfocus
│ │ └── plugin.min.js
│ ├── table
│ │ └── plugin.min.js
│ ├── template
│ │ └── plugin.min.js
│ ├── textcolor
│ │ └── plugin.min.js
│ ├── textpattern
│ │ └── plugin.min.js
│ ├── toc
│ │ └── plugin.min.js
│ ├── visualblocks
│ │ ├── css
│ │ │ └── visualblocks.css
│ │ └── plugin.min.js
│ ├── visualchars
│ │ └── plugin.min.js
│ └── wordcount
│ │ └── plugin.min.js
│ ├── skins
│ └── lightgray
│ │ ├── content.inline.min.css
│ │ ├── content.min.css
│ │ ├── fonts
│ │ ├── tinymce-small.eot
│ │ ├── tinymce-small.svg
│ │ ├── tinymce-small.ttf
│ │ ├── tinymce-small.woff
│ │ ├── tinymce.eot
│ │ ├── tinymce.svg
│ │ ├── tinymce.ttf
│ │ └── tinymce.woff
│ │ ├── img
│ │ ├── anchor.gif
│ │ ├── loader.gif
│ │ ├── object.gif
│ │ └── trans.gif
│ │ ├── skin.ie7.min.css
│ │ └── skin.min.css
│ ├── themes
│ ├── inlite
│ │ └── theme.min.js
│ └── modern
│ │ └── theme.min.js
│ └── tinymce.min.js
├── composer.json
├── db_kcdev.sql
├── index.php
└── 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
/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nafplann/codeigniter-alumni-app/c93245c2a0e4c63529613aafe3c2cd6be50999ac/.DS_Store
--------------------------------------------------------------------------------
/.htaccess:
--------------------------------------------------------------------------------
1 | Options +FollowSymLinks
2 | Options -Indexes
3 | DirectoryIndex index.php
4 | RewriteEngine on
5 | RewriteCond $1 !^(index\.php|images|robots\.txt)
6 | RewriteCond %{REQUEST_FILENAME} !-f
7 | RewriteCond %{REQUEST_FILENAME} !-d
8 | RewriteRule ^(.*)$ index.php/$1 [L,QSA]
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2018 Abdul Manaaf
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 | # codeigniter-alumni-app
2 | Aplikasi alumni menggunakan codeigniter dan materialize css framework. Untuk melihat step-by-step tutorial pembuatan aplikasi ini bisa mengunjungi Blog KCDEV di https://kcdev.id/tutorial-codeigniter-membuat-aplikasi-sederhana-part-0/.
3 |
4 | Jika dirasa bermanfaat, silahkan bagikan dan jangan lupa kasih stars yaa. Bisa juga mengunjungi linkedin saya dan memberikan rekomendasi keahlian. Terima Kasih :)
5 | https://www.linkedin.com/in/nafplann
6 |
7 | ## License
8 | Released under the terms of the MIT license.
9 |
10 | ## We are supported by
11 | [](https://browserstack.com)
12 | [](https://balsamiq.com/)
13 |
--------------------------------------------------------------------------------
/application/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nafplann/codeigniter-alumni-app/c93245c2a0e4c63529613aafe3c2cd6be50999ac/application/.DS_Store
--------------------------------------------------------------------------------
/application/.htaccess:
--------------------------------------------------------------------------------
1 |
Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/config/doctypes.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/foreign_chars.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/profiler.php: -------------------------------------------------------------------------------- 1 | my_controller/index 50 | | my-controller/my-method -> my_controller/my_method 51 | */ 52 | $route['default_controller'] = 'dashboard'; 53 | $route['404_override'] = ''; 54 | $route['translate_uri_dashes'] = TRUE; 55 | -------------------------------------------------------------------------------- /application/controllers/Auth.php: -------------------------------------------------------------------------------- 1 | load->model('model_users'); 9 | 10 | // Mengambil data dari form login dengan method POST 11 | $username = $this->input->post('username'); 12 | $password = $this->input->post('password'); 13 | 14 | // Jalankan function cekAkun pada model_users 15 | $query = $this->model_users->cekAkun($username, $password); 16 | 17 | // Jika query gagal maka return false 18 | if (!$query) { 19 | 20 | // Mengatur pesan error validasi data 21 | $this->form_validation->set_message('cekAkun', 'Username atau password yang Anda masukkan salah!'); 22 | return false; 23 | 24 | // Jika berhasil maka set user session dan return true 25 | } else { 26 | 27 | // data user dalam bentuk array 28 | $userData = array( 29 | 'id' => $query->id, 30 | 'username' => $query->username, 31 | 'level' => $query->level, 32 | 'avatar' => $query->avatar, 33 | 'nama' => $query->nama, 34 | 'alamat' => $query->alamat, 35 | 'telp' => $query->telp, 36 | 'logged_in' => true 37 | ); 38 | 39 | // set session untuk user 40 | $this->session->set_userdata($userData); 41 | 42 | return TRUE; 43 | } 44 | } 45 | 46 | public function login() 47 | { 48 | // Jika user telah login, redirect ke base_url 49 | if ($this->session->userdata('logged_in')) redirect(base_url()); 50 | 51 | // Jika form di submit jalankan blok kode ini 52 | if ($this->input->post('submit')) { 53 | 54 | // Mengatur validasi data username, 55 | // required = tidak boleh kosong 56 | $this->form_validation->set_rules('username', 'Username', 'required'); 57 | 58 | // Mengatur validasi data password, 59 | // required = tidak boleh kosong 60 | // callback_cekAkun = menjalankan function cekAkun() 61 | $this->form_validation->set_rules('password', 'Password', 'required|callback_cekAkun'); 62 | 63 | // Mengatur pesan error validasi data 64 | $this->form_validation->set_message('required', '%s tidak boleh kosong!'); 65 | 66 | // Jalankan validasi jika semuanya benar maka redirect ke controller dashboard 67 | if ($this->form_validation->run() === TRUE) { 68 | redirect('dashboard'); 69 | } 70 | } 71 | 72 | // Jalankan view auth/login.php 73 | $this->load->view('auth/login'); 74 | } 75 | 76 | public function logout() 77 | { 78 | // Hapus semua data pada session 79 | $this->session->sess_destroy(); 80 | 81 | // redirect ke halaman login 82 | redirect('auth/login'); 83 | } 84 | } -------------------------------------------------------------------------------- /application/controllers/Dashboard.php: -------------------------------------------------------------------------------- 1 | cekLogin(); 11 | 12 | // Load model 13 | $this->load->model('model_events'); 14 | $this->load->model('model_loker'); 15 | } 16 | 17 | public function index() 18 | { 19 | // Ambil data event dari database berdasarkan 20 | // tanggal berakhir <= tanggal hari ini 21 | $event = $this->model_events->get_where(array( 22 | 'tanggal_berakhir >=' => date('Y-m-d') 23 | ))->row(); 24 | 25 | // Ambil data loker dari database berdasarkan 26 | // tanggal berakhir <= tanggal hari ini 27 | $loker = $this->model_loker->get_where(array( 28 | 'tanggal_berakhir >=' => date('Y-m-d') 29 | ))->row(); 30 | 31 | // Data untuk page index 32 | $data['event'] = $event; 33 | $data['loker'] = $loker; 34 | $data['pageTitle'] = 'Dashboard'; 35 | $data['pageContent'] = $this->load->view('dashboard/content', $data, true); 36 | 37 | // Jalankan view template/layout 38 | $this->load->view('template/layout', $data); 39 | } 40 | } -------------------------------------------------------------------------------- /application/controllers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/core/MY_Controller.php: -------------------------------------------------------------------------------- 1 | session->userdata('username')) { 10 | redirect('auth/login'); 11 | } 12 | } 13 | 14 | public function getUserData() 15 | { 16 | // Ambil semua data session 17 | $userData = $this->session->userdata(); 18 | 19 | // Return userdata 20 | return $userData; 21 | } 22 | 23 | public function isAdmin() 24 | { 25 | // Mengambil data session 26 | $userData = $this->getUserData(); 27 | 28 | // Jika level user bukan administrator 29 | // maka redirect ke halaman 404 30 | if ($userData['level'] !== 'administrator') show_404(); 31 | } 32 | 33 | } -------------------------------------------------------------------------------- /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/libraries/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/logs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/models/Model_alumni.php: -------------------------------------------------------------------------------- 1 | db->get($table); 8 | return $query; 9 | } 10 | 11 | } -------------------------------------------------------------------------------- /application/models/Model_events.php: -------------------------------------------------------------------------------- 1 | db->get($this->table); 10 | 11 | // Return hasil query 12 | return $query; 13 | } 14 | 15 | public function get_offset($limit, $offset) 16 | { 17 | // Jalankan query 18 | $query = $this->db 19 | ->limit($limit, $offset) 20 | ->get($this->table); 21 | 22 | // Return hasil query 23 | return $query; 24 | } 25 | 26 | public function get_where($where) 27 | { 28 | // Jalankan query 29 | $query = $this->db 30 | ->where($where) 31 | ->get($this->table); 32 | 33 | // Return hasil query 34 | return $query; 35 | } 36 | 37 | public function insert($data) 38 | { 39 | // Jalankan query 40 | $query = $this->db->insert($this->table, $data); 41 | 42 | // Return hasil query 43 | return $query; 44 | } 45 | 46 | public function update($id, $data) 47 | { 48 | // Jalankan query 49 | $query = $this->db 50 | ->where('id', $id) 51 | ->update($this->table, $data); 52 | 53 | // Return hasil query 54 | return $query; 55 | } 56 | 57 | public function delete($id) 58 | { 59 | // Jalankan query 60 | $query = $this->db 61 | ->where('id', $id) 62 | ->delete($this->table); 63 | 64 | // Return hasil query 65 | return $query; 66 | } 67 | 68 | } -------------------------------------------------------------------------------- /application/models/Model_loker.php: -------------------------------------------------------------------------------- 1 | db->get($this->table); 10 | 11 | // Return hasil query 12 | return $query; 13 | } 14 | 15 | public function get_offset($limit, $offset) 16 | { 17 | // Jalankan query 18 | $query = $this->db 19 | ->limit($limit, $offset) 20 | ->get($this->table); 21 | 22 | // Return hasil query 23 | return $query; 24 | } 25 | 26 | public function get_where($where) 27 | { 28 | // Jalankan query 29 | $query = $this->db 30 | ->where($where) 31 | ->get($this->table); 32 | 33 | // Return hasil query 34 | return $query; 35 | } 36 | 37 | public function insert($data) 38 | { 39 | // Jalankan query 40 | $query = $this->db->insert($this->table, $data); 41 | 42 | // Return hasil query 43 | return $query; 44 | } 45 | 46 | public function update($id, $data) 47 | { 48 | // Jalankan query 49 | $query = $this->db 50 | ->where('id', $id) 51 | ->update($this->table, $data); 52 | 53 | // Return hasil query 54 | return $query; 55 | } 56 | 57 | public function delete($id) 58 | { 59 | // Jalankan query 60 | $query = $this->db 61 | ->where('id', $id) 62 | ->delete($this->table); 63 | 64 | // Return hasil query 65 | return $query; 66 | } 67 | } -------------------------------------------------------------------------------- /application/models/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/third_party/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/dashboard/content.php: -------------------------------------------------------------------------------- 1 |Event Berikutnya
6 |Lowongan Kerja Terbaru
26 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/errors/html/error_404.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 |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 |
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 |
Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/errors/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/events/eventAdd.php: -------------------------------------------------------------------------------- 1 |No | 20 |Nama Event | 21 |Contact | 22 |Tgl. Mulai | 23 |Tgl. Berakhir | 24 |Keterangan | 25 |Action | 26 |
---|---|---|---|---|---|---|
33 | | nama; ?> | 34 |contact; ?> | 35 |tanggal_mulai; ?> | 36 |tanggal_berakhir; ?> | 37 |keterangan; ?> | 38 |39 | edit 40 | delete 41 | | 42 |
Belum ada data event | 47 |
Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/loker/lokerAdd.php: -------------------------------------------------------------------------------- 1 |