├── .editorconfig ├── .gitattributes ├── .gitignore ├── .htaccess ├── README.md ├── application ├── .htaccess ├── cache │ └── .htaccess ├── config │ ├── autoload.php │ ├── config.php │ ├── constants.php │ ├── database.php │ ├── doctypes.php │ ├── foreign_chars.php │ ├── hooks.php │ ├── memcached.php │ ├── migration.php │ ├── mimes.php │ ├── profiler.php │ ├── routes.php │ ├── smileys.php │ └── user_agents.php ├── controllers │ ├── Admin │ │ ├── Bus.php │ │ ├── Dashboard.php │ │ ├── Invoice.php │ │ ├── Page.php │ │ ├── Seat.php │ │ ├── Setting.php │ │ └── Type.php │ ├── Cadmin.php │ ├── Clogin.php │ ├── Cpublic.php │ └── Public │ │ ├── Invoice.php │ │ ├── Page.php │ │ └── Vehicle.php ├── core │ └── MY_Controller.php ├── helpers │ ├── exDate_helper.php │ ├── rpCurrency_helper.php │ └── webSetting_helper.php ├── libraries │ └── Ajax_pagination.php ├── models │ ├── Admin │ │ ├── Mbus.php │ │ ├── Mfacility.php │ │ ├── Mhotel.php │ │ ├── Minvoice.php │ │ ├── Mlogin.php │ │ ├── Mpage.php │ │ ├── Mseat.php │ │ ├── Msetting.php │ │ ├── Mtroom.php │ │ └── Mtype.php │ └── Public │ │ ├── Pfacility.php │ │ ├── Photel.php │ │ ├── Pinvoice.php │ │ ├── Ppage.php │ │ └── Pvehicle.php └── views │ ├── admin │ ├── part │ │ ├── bus │ │ │ ├── edit.php │ │ │ ├── index.php │ │ │ └── input.php │ │ ├── home │ │ │ └── index.php │ │ ├── invoice │ │ │ ├── data_clear.php │ │ │ ├── data_confirm.php │ │ │ ├── data_draff.php │ │ │ ├── data_pending.php │ │ │ ├── index.php │ │ │ ├── penalty.php │ │ │ └── prev.php │ │ ├── page │ │ │ ├── edit.php │ │ │ ├── index.php │ │ │ └── input.php │ │ ├── seat │ │ │ ├── data.php │ │ │ ├── edit.php │ │ │ ├── index.php │ │ │ └── input.php │ │ ├── setting │ │ │ ├── bank_setting.php │ │ │ ├── edit_bank_setting.php │ │ │ ├── index.php │ │ │ ├── input_bank_setting.php │ │ │ ├── menu_setting.php │ │ │ └── web_setting.php │ │ └── type │ │ │ ├── edit.php │ │ │ ├── index.php │ │ │ └── input.php │ └── template │ │ ├── content.php │ │ ├── empty.php │ │ ├── head-bar.php │ │ ├── head.php │ │ └── navigation.php │ ├── errors │ ├── cli │ │ ├── error_404.php │ │ ├── error_db.php │ │ ├── error_exception.php │ │ ├── error_general.php │ │ └── error_php.php │ └── html │ │ ├── error_404.php │ │ ├── error_db.php │ │ ├── error_exception.php │ │ ├── error_general.php │ │ └── error_php.php │ ├── login │ ├── cover.php │ ├── form.php │ └── head.php │ └── public │ ├── part │ ├── bus │ │ └── index.php │ ├── home │ │ ├── cover.php │ │ ├── endcover.php │ │ ├── home.php │ │ └── slogan.php │ ├── page │ │ └── index.php │ └── single │ │ ├── bus.php │ │ ├── confirm_invoice.php │ │ ├── invoice.php │ │ ├── invoice_email.php │ │ ├── order_check.php │ │ └── reserve_form.php │ └── template │ ├── content.php │ ├── end_content.php │ ├── footer.php │ ├── head.php │ ├── menu_head.php │ └── searchform.php ├── assets ├── admin │ ├── css │ │ └── style.css │ └── js │ │ ├── action_data │ │ ├── brand_ac.js │ │ ├── category_ac.js │ │ ├── page_ac.js │ │ └── product_ac.js │ │ ├── bootstrap-select.js │ │ ├── data_table │ │ ├── brand.js │ │ ├── category.js │ │ ├── invoice.js │ │ ├── page.js │ │ ├── product.js │ │ └── user.js │ │ ├── jqContent │ │ └── close.js │ │ ├── login │ │ └── login_submit.js │ │ └── save_data │ │ ├── brand_save.js │ │ ├── category_save.js │ │ ├── page_save.js │ │ ├── product_save.js │ │ └── user_save.js ├── countdown │ └── jquery.countdown.js ├── crop │ ├── .gitattributes │ ├── .gitignore │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── croppie.css │ ├── croppie.js │ ├── croppie.min.js │ ├── deploy.js │ ├── package.json │ └── test │ │ └── unit │ │ ├── Croppie.js │ │ ├── mocha.opts │ │ └── stubs │ │ ├── DOMTokenList.js │ │ ├── EventTarget.js │ │ ├── HTMLElement.js │ │ ├── document.js │ │ └── window.js ├── hadmin │ ├── css │ │ ├── login.css │ │ ├── style.css │ │ └── timepicker.css │ └── js │ │ ├── action │ │ ├── hotel_ac.js │ │ ├── invoice_ac.js │ │ ├── page_ac.js │ │ ├── seat_ac.js │ │ ├── setting_ac.js │ │ └── type_ac.js │ │ ├── b-table-cn.js │ │ ├── close.js │ │ ├── data │ │ ├── seat_data.js │ │ └── troom_data.js │ │ ├── hotel │ │ └── hotel.js │ │ ├── jquery-3.2.1.js │ │ └── save │ │ ├── hotel_save.js │ │ ├── page_save.js │ │ ├── seat_save.js │ │ ├── setting_save.js │ │ └── type_save.js └── hpublic │ ├── css │ └── style.css │ ├── img_bank │ ├── tg1501078655.png │ └── tg1501154838.png │ ├── img_bus │ ├── tg1501599642.png │ ├── tg1501599650.png │ └── tg1501599663.png │ ├── img_hotel │ ├── tg1512898236.png │ └── tg1512898260.png │ ├── img_icon │ ├── braille.png │ ├── digital.png │ ├── elevator.png │ ├── elevator1.png │ ├── lift.png │ ├── maps-and-flags.png │ ├── payment-method.png │ └── tray.png │ └── js │ ├── auto_chinv.js │ └── timepicker.js ├── index.php ├── rental.sql └── 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 │ ├── mbstring.php │ ├── password.php │ └── standard.php ├── 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 │ ├── ibase │ ├── ibase_driver.php │ ├── ibase_forge.php │ ├── ibase_result.php │ └── ibase_utility.php │ ├── mssql │ ├── mssql_driver.php │ ├── mssql_forge.php │ ├── mssql_result.php │ └── mssql_utility.php │ ├── mysql │ ├── mysql_driver.php │ ├── mysql_forge.php │ ├── mysql_result.php │ └── mysql_utility.php │ ├── mysqli │ ├── mysqli_driver.php │ ├── mysqli_forge.php │ ├── mysqli_result.php │ └── mysqli_utility.php │ ├── oci8 │ ├── oci8_driver.php │ ├── oci8_forge.php │ ├── oci8_result.php │ └── oci8_utility.php │ ├── odbc │ ├── odbc_driver.php │ ├── odbc_forge.php │ ├── odbc_result.php │ └── odbc_utility.php │ ├── pdo │ ├── pdo_driver.php │ ├── pdo_forge.php │ ├── pdo_result.php │ ├── pdo_utility.php │ └── subdrivers │ │ ├── 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 │ ├── postgre_driver.php │ ├── postgre_forge.php │ ├── postgre_result.php │ └── postgre_utility.php │ ├── sqlite │ ├── sqlite_driver.php │ ├── sqlite_forge.php │ ├── sqlite_result.php │ └── sqlite_utility.php │ ├── sqlite3 │ ├── sqlite3_driver.php │ ├── sqlite3_forge.php │ ├── sqlite3_result.php │ └── sqlite3_utility.php │ └── sqlsrv │ ├── sqlsrv_driver.php │ ├── sqlsrv_forge.php │ ├── sqlsrv_result.php │ └── sqlsrv_utility.php ├── fonts └── 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 ├── 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 ├── language └── english │ ├── calendar_lang.php │ ├── date_lang.php │ ├── db_lang.php │ ├── email_lang.php │ ├── form_validation_lang.php │ ├── ftp_lang.php │ ├── imglib_lang.php │ ├── migration_lang.php │ ├── number_lang.php │ ├── pagination_lang.php │ ├── profiler_lang.php │ ├── unit_test_lang.php │ └── upload_lang.php └── libraries ├── Cache ├── Cache.php └── drivers │ ├── Cache_apc.php │ ├── Cache_dummy.php │ ├── Cache_file.php │ ├── Cache_memcached.php │ ├── Cache_redis.php │ └── Cache_wincache.php ├── 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 ├── 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 ├── Table.php ├── Trackback.php ├── Typography.php ├── Unit_test.php ├── Upload.php ├── User_agent.php ├── Xmlrpc.php ├── Xmlrpcs.php └── Zip.php /.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 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | 3 | application/cache/* 4 | !application/cache/index.html 5 | !application/cache/.htaccess 6 | 7 | application/logs/* 8 | !application/logs/index.html 9 | !application/logs/.htaccess 10 | 11 | composer.lock 12 | 13 | user_guide_src/build/* 14 | user_guide_src/cilexer/build/* 15 | user_guide_src/cilexer/dist/* 16 | user_guide_src/cilexer/pycilexer.egg-info/* 17 | /vendor/ 18 | 19 | # IDE Files 20 | #------------------------- 21 | /nbproject/ 22 | .idea/* 23 | 24 | ## Sublime Text cache files 25 | *.tmlanguage.cache 26 | *.tmPreferences.cache 27 | *.stTheme.cache 28 | *.sublime-workspace 29 | *.sublime-project 30 | -------------------------------------------------------------------------------- /.htaccess: -------------------------------------------------------------------------------- 1 | RewriteEngine on 2 | 3 | RewriteCond $1 !^(index\.php|resources|robots\.txt) 4 | RewriteCond %{REQUEST_FILENAME} !-f 5 | RewriteCond %{REQUEST_FILENAME} !-d 6 | RewriteRule ^(.*)$ index.php/$1 [L,QSA] 7 | 8 | Options All -Indexes 9 | 10 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Rental-Mobil-CI 2 | # Website rental mobil dengan ci 3.1.5 3 | 4 | Website rental mobil menggunakan CI 3.1.5 5 | ini hanyalah yang sesuai dengan saya banyangkan gimana proses pembayarannya dll. website ini gak bisa di jadikan sumber atau inti dari website rental mobil karena setiap orang mempunyai sistem yang berbeda pada kasus rental mobil. 6 | 7 | # Admin Panel 8 | 9 | http://localhost/root_folder/login 10 | 11 | # Admin dan Password 12 | username : admin 13 | password : jikol123 14 | 15 | 16 | # Fitur : 17 | - dashboard 18 | - membuat posting rental mobil 19 | - seat / tempat duduk 20 | - kategori 21 | - invoice 22 | - pengaturan untuk mengganti title website dll. 23 | - bank untuk pembayaran si pemesan 24 | - cek pemesanan dengan ID PEMESANAN dan No.TELP 25 | - Dynamic menu dimana menu ini di ambil dari halaman yang dibuat 26 | 27 | fitur yang ane demen disini, countdown invoice nya dengan ajax request. efek samping server jadi berat akibat request terus2san. 28 | 29 | -------------------------------------------------------------------------------- /application/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | Require all denied 3 | 4 | 5 | Deny from all 6 | -------------------------------------------------------------------------------- /application/cache/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | Require all denied 3 | 4 | 5 | Deny from all 6 | -------------------------------------------------------------------------------- /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 | array( 15 | 'hostname' => '127.0.0.1', 16 | 'port' => '11211', 17 | 'weight' => '1', 18 | ), 19 | ); 20 | -------------------------------------------------------------------------------- /application/config/profiler.php: -------------------------------------------------------------------------------- 1 | load->model('admin/minvoice'); 31 | } 32 | 33 | // fungsi index 34 | function index() 35 | { 36 | // cek jika sudah login ata session login masih ada di cookie 37 | if ($this->is_logged_in()) 38 | { 39 | // data variable untuk passing ke view 40 | $var['title_web'] = $this->web_title(); 41 | $var['page_web'] = 'Beranda'; 42 | 43 | $var['graphic_data'] = $this->minvoice->graphic(); 44 | 45 | $var['pend'] = count($this->minvoice->load_pend()); 46 | $var['conf'] = count($this->minvoice->load_conf()); 47 | $var['cancel'] = count($this->minvoice->load_cancel()); 48 | 49 | // tampilan 50 | $this->admin_template($var); 51 | $this->load->view('admin/part/home/index', $var); 52 | 53 | }else 54 | { 55 | redirect(''); 56 | } 57 | } 58 | 59 | } -------------------------------------------------------------------------------- /application/controllers/Admin/Seat.php: -------------------------------------------------------------------------------- 1 | load->model($array_model); 49 | 50 | // HELPER 51 | $this->load->helper($array_helper); 52 | } 53 | 54 | // fungsi index 55 | public function index() 56 | { 57 | // cek jika sudah login ata session login masih ada di cookie 58 | if ($this->is_logged_in()) 59 | { 60 | // data 61 | $var['title_web'] = $this->web_title(); 62 | $var['page_web'] = 'Seat Kendaraan'; 63 | 64 | // view 65 | $this->admin_template($var); 66 | $this->load->view('admin/part/seat/index'); 67 | 68 | }else 69 | { 70 | redirect(''); 71 | } 72 | } 73 | 74 | // fungsi data seat 75 | public function seat_data() 76 | { 77 | // data 78 | $var['seat_data'] = $this->mseat->load_data(); 79 | // view 80 | $this->load->view('admin/part/seat/data', $var); 81 | } 82 | 83 | 84 | // fungsi input seat 85 | public function seat_input() 86 | { 87 | $this->load->view('admin/part/seat/input'); 88 | } 89 | 90 | // fungsi save seat 91 | public function seat_save() 92 | { 93 | $do_save = $this->mseat->save_data(); 94 | 95 | echo $do_save; 96 | } 97 | 98 | // fungsi edit seat 99 | public function seat_edit($id) 100 | { 101 | // data 102 | $var['seat_data'] = $this->mseat->edit_data($id); 103 | // view 104 | $this->load->view('admin/part/seat/edit', $var); 105 | } 106 | 107 | // fungsi menyimpan edit seat 108 | public function seat_save_edit() 109 | { 110 | $do_save = $this->mseat->filter_edit_data(); 111 | 112 | echo $do_save; 113 | } 114 | 115 | // fungsi menghapus seat 116 | public function seat_delete($id) 117 | { 118 | $do_del = $this->mseat->delete_data($id); 119 | 120 | echo $do_del; 121 | } 122 | 123 | // end model 124 | } -------------------------------------------------------------------------------- /application/controllers/Clogin.php: -------------------------------------------------------------------------------- 1 | load->helper('rpCurrency_helper'); 12 | 13 | // load model 14 | $this->load->model('admin/mlogin'); 15 | } 16 | 17 | function index() 18 | { 19 | if ($this->is_logged_in()) 20 | { 21 | redirect('admin/beranda'); 22 | }else 23 | { 24 | redirect('/login'); 25 | } 26 | } 27 | 28 | public function P_login() 29 | { 30 | if ($this->is_logged_in()) 31 | { 32 | redirect('admin/beranda'); 33 | }else 34 | { 35 | // data 36 | $var['title_web'] = $this->web_title(); 37 | $var['page_web'] = 'Login'; 38 | 39 | // view 40 | $this->load->view('login/head', $var); 41 | $this->load->view('login/cover', $var); 42 | $this->load->view('login/form', $var); 43 | } 44 | } 45 | 46 | function login_process() 47 | { 48 | $res = $this->mlogin->check(); 49 | 50 | if(count($res)>0) 51 | { 52 | foreach($res as $res) 53 | { 54 | $data = $res->id_admin; 55 | } 56 | 57 | $_SESSION['user'] = $data; 58 | 59 | echo ""; 60 | }else 61 | { 62 | echo ""; 63 | } 64 | } 65 | 66 | public function logout() 67 | { 68 | session_destroy(); 69 | redirect('login'); 70 | } 71 | 72 | 73 | // akhir controller 74 | } -------------------------------------------------------------------------------- /application/controllers/Public/Page.php: -------------------------------------------------------------------------------- 1 | load->model($array_model); 53 | 54 | // HELPER 55 | $this->load->helper($array_helper); 56 | } 57 | 58 | 59 | // FUNGSI INDEX 60 | public function index($slug) 61 | { 62 | // var 63 | $var['title_web'] = 'Royal Java'; 64 | $var['page_web'] = 'Kendaraan'; 65 | 66 | // data 67 | $var['menu'] = $this->msetting->load_menu(); 68 | $var['page_data'] = $this->ppage->load_data_by_slug($slug); 69 | 70 | // setting 71 | $var['bank_data'] = $this->msetting->load_data_bank(); 72 | 73 | // template 74 | $this->public_template($var); 75 | $this->load->view('public/part/page/index', $var); 76 | $this->load->view('public/template/end_content'); 77 | $this->load->view('public/template/footer'); 78 | } 79 | 80 | // end controller 81 | } 82 | -------------------------------------------------------------------------------- /application/controllers/Public/Vehicle.php: -------------------------------------------------------------------------------- 1 | load->model($array_model); 53 | 54 | // HELPER 55 | $this->load->helper($array_helper); 56 | } 57 | 58 | // fungsi index 59 | public function index() 60 | { 61 | // var 62 | $var['title_web'] = 'Royal Java'; 63 | $var['page_web'] = 'Kendaraan'; 64 | 65 | // data 66 | $var['menu'] = $this->msetting->load_menu(); 67 | $var['bus_data'] = $this->pvehicle->load_data(); 68 | 69 | // setting 70 | $var['bank_data'] = $this->msetting->load_data_bank(); 71 | 72 | // template 73 | $this->public_template($var); 74 | $this->load->view('public/part/bus/index', $var); 75 | $this->load->view('public/template/end_content'); 76 | $this->load->view('public/template/footer'); 77 | 78 | } 79 | 80 | // fungsi kendaraan / halaman 81 | public function single_page($slug) 82 | { 83 | // var 84 | $var['title_web'] = 'Royal Java'; 85 | $var['page_web'] = $this->pvehicle->load_name($slug); 86 | $var['menu'] = $this->msetting->load_menu(); 87 | 88 | // data 89 | $var['bus_data'] = $this->pvehicle->load_sc($slug); 90 | 91 | // setting 92 | $var['bank_data'] = $this->msetting->load_data_bank(); 93 | 94 | // template 95 | $this->public_template($var); 96 | $this->load->view('public/part/single/bus', $var); 97 | $this->load->view('public/template/footer', $var); 98 | } 99 | 100 | // end model 101 | } -------------------------------------------------------------------------------- /application/core/MY_Controller.php: -------------------------------------------------------------------------------- 1 | session->userdata('user'); 13 | return isset($user); 14 | } 15 | 16 | // TEMPLATE ADMIN 17 | public function admin_template($var) 18 | { 19 | $this->load->view('admin/template/head', $var); 20 | $this->load->view('admin/template/navigation', $var); 21 | $this->load->view('admin/template/head-bar', $var); 22 | $this->load->view('admin/template/content'); 23 | } 24 | 25 | // TEMPLATE PUBLIC 26 | public function public_template($var) 27 | { 28 | $this->load->view('public/template/head', $var); 29 | $this->load->view('public/template/menu_head', $var); 30 | $this->load->view('public/template/content', $var); 31 | } 32 | 33 | public function web_title() 34 | { 35 | $this->db->select('name_ws'); 36 | $this->db->from('bb_setting'); 37 | 38 | $query = $this->db->get(); 39 | 40 | $res = $query->result(); 41 | 42 | foreach($res as $row) 43 | { 44 | $res2 = $row->name_ws; 45 | } 46 | 47 | return $res2; 48 | } 49 | 50 | 51 | 52 | // akhir dari controller 53 | } 54 | 55 | -------------------------------------------------------------------------------- /application/helpers/exDate_helper.php: -------------------------------------------------------------------------------- 1 | load->model('admin/msetting'); 18 | 19 | // Call a function of the model 20 | $result = $CI->msetting->load_data_ws(); 21 | 22 | foreach ($result as $res) { 23 | $title = $res->name_ws; 24 | } 25 | 26 | return $title; 27 | } 28 | } 29 | 30 | if ( ! function_exists('slogan_web')) 31 | { 32 | function slogan_web() 33 | { 34 | // Get a reference to the controller object 35 | $CI = get_instance(); 36 | 37 | // You may need to load the model if it hasn't been pre-loaded 38 | $CI->load->model('admin/msetting'); 39 | 40 | // Call a function of the model 41 | $result = $CI->msetting->load_data_ws(); 42 | 43 | foreach ($result as $res) { 44 | $slogan = $res->slogan_ws; 45 | } 46 | 47 | return $slogan; 48 | } 49 | } -------------------------------------------------------------------------------- /application/models/Admin/Mfacility.php: -------------------------------------------------------------------------------- 1 | load->helper('date'); 13 | 14 | // load library 15 | $this->load->library('upload'); 16 | } 17 | 18 | function load_data() 19 | { 20 | $this->db->select('*'); 21 | $this->db->from('bb_seat'); 22 | 23 | $query = $this->db->get(); 24 | return $query->result(); 25 | } 26 | 27 | function load_dataPage($order, $offset, $limit, $search) 28 | { 29 | 30 | $this->db->select('*'); 31 | $this->db->from('facility'); 32 | 33 | if($search != NULL) 34 | { 35 | $this->db->like('title_facility', $search); 36 | } 37 | $this->db->order_by('id_facility', $order); 38 | if($limit != NULL && $offset!=NULL) 39 | { 40 | $this->db->limit($limit,$offset); 41 | } 42 | elseif($offset == NULL) 43 | { 44 | $this->db->limit($limit); 45 | } 46 | 47 | $query = $this->db->get(); 48 | 49 | return $query->result(); 50 | } 51 | 52 | function save_data() 53 | { 54 | // var data 55 | $title = $this->input->post('facility'); 56 | 57 | $date = date('Y-m-d', now()); 58 | $time = date('H:i:s', now()); 59 | 60 | $data = array( 61 | 'total_seat' => $title, 62 | 'date_seat' => $date, 63 | 'time_seat' => $time, 64 | 'date_time_seat' => $date.' '.$time 65 | ); 66 | 67 | $this->db->insert('bb_seat', $data); 68 | 69 | $res = 'Data seat berhasil di input'; 70 | 71 | return $res; 72 | 73 | } 74 | 75 | // end of model 76 | } -------------------------------------------------------------------------------- /application/models/Admin/Mlogin.php: -------------------------------------------------------------------------------- 1 | input->post('username'); 10 | $password = md5($this->input->post('password')); 11 | 12 | $query = $this->db->query("select * from bb_admin where username_admin = '$username' and password_admin = '$password'"); 13 | 14 | return $query->result(); 15 | } 16 | 17 | // akhir dari model 18 | } -------------------------------------------------------------------------------- /application/models/Admin/Mtroom.php: -------------------------------------------------------------------------------- 1 | load->helper('date'); 13 | 14 | // load library 15 | $this->load->library('upload'); 16 | } 17 | 18 | 19 | // load data 20 | function load_data() 21 | { 22 | $this->db->select('*'); 23 | $this->db->from('bb_category'); 24 | 25 | $query = $this->db->get(); 26 | return $query->result(); 27 | } 28 | 29 | function load_dataPage($order, $offset, $limit, $search) 30 | { 31 | 32 | $this->db->select('*'); 33 | $this->db->from('bb_category'); 34 | 35 | if($search != NULL) 36 | { 37 | $this->db->like('name_cat', $search); 38 | } 39 | $this->db->order_by('id_cat', $order); 40 | if($limit != NULL && $offset!=NULL) 41 | { 42 | $this->db->limit($limit,$offset); 43 | } 44 | elseif($offset == NULL) 45 | { 46 | $this->db->limit($limit); 47 | } 48 | 49 | $query = $this->db->get(); 50 | 51 | return $query->result(); 52 | } 53 | 54 | // save data 55 | function save_data() 56 | { 57 | $title = $this->input->post('title'); 58 | $desc = $this->input->post('desc'); 59 | 60 | $slug = url_title($title, '-', TRUE); 61 | 62 | $date = date('Y-m-d', now()); 63 | $time = date('H:i:s', now()); 64 | 65 | $data = array( 66 | 'name_cat' => $title, 67 | 'desc_cat' => $desc, 68 | 'slug_cat' => $slug, 69 | 'date_cat' => $date, 70 | 'time_cat' => $time, 71 | 'date_time_cat' => $date.' '.$time 72 | ); 73 | 74 | $this->db->insert('bb_category', $data); 75 | 76 | $res = 'Tipe hotel sudah disimpan'; 77 | 78 | return $res; 79 | } 80 | 81 | // end model 82 | } -------------------------------------------------------------------------------- /application/models/Public/Pfacility.php: -------------------------------------------------------------------------------- 1 | load->helper('date'); 13 | 14 | // load library 15 | $this->load->library('upload'); 16 | } 17 | 18 | function load_data() 19 | { 20 | $this->db->select('*'); 21 | $this->db->from('facility'); 22 | 23 | $query = $this->db->get(); 24 | return $query->result(); 25 | } 26 | 27 | // load data for hotel sp 28 | function load_dataHsp() 29 | { 30 | $this->db->select('*'); 31 | $this->db->from('hotel_facility_meta'); 32 | $this->db->join('facility', 'hotel_facility_meta.id_facility = facility.id_facility'); 33 | 34 | $query = $this->db->get(); 35 | return $query->result(); 36 | } 37 | 38 | // end of model 39 | } -------------------------------------------------------------------------------- /application/models/Public/Photel.php: -------------------------------------------------------------------------------- 1 | load->helper('date'); 13 | 14 | // load library 15 | $this->load->library('upload'); 16 | } 17 | 18 | function load_data() 19 | { 20 | $this->db->select('*'); 21 | $this->db->from('bb_vehicle'); 22 | $this->db->join('bb_meta_category', 'bb_meta_category.id_vh = bb_vehicle.id_vh'); 23 | $this->db->join('bb_category', 'bb_category.id_cat = bb_meta_category.id_cat'); 24 | 25 | $query = $this->db->get(); 26 | return $query->result(); 27 | } 28 | 29 | function load_name($slug) 30 | { 31 | $this->db->select('*'); 32 | $this->db->from('bb_vehicle'); 33 | $this->db->where('slug_vh', $slug); 34 | 35 | $query = $this->db->get(); 36 | 37 | foreach($query->result() as $row) 38 | { 39 | $res = $row->name_vh; 40 | } 41 | 42 | return $res; 43 | } 44 | 45 | function load_sc($slug) 46 | { 47 | $this->db->select('*'); 48 | $this->db->from('bb_vehicle'); 49 | $this->db->where('slug_vh', $slug); 50 | 51 | $query = $this->db->get(); 52 | return $query->result(); 53 | } 54 | 55 | function load_id($id) 56 | { 57 | $this->db->select('*'); 58 | $this->db->from('bb_vehicle'); 59 | $this->db->where('id_vh', $id); 60 | 61 | $query = $this->db->get(); 62 | return $query->result(); 63 | } 64 | 65 | function load_inv($unique_id) 66 | { 67 | $this->db->select('*'); 68 | $this->db->from('bb_invoice'); 69 | $this->db->where('code_inv', $unique_id); 70 | 71 | $query = $this->db->get(); 72 | return $query->result(); 73 | } 74 | 75 | // end of model 76 | } -------------------------------------------------------------------------------- /application/models/Public/Pinvoice.php: -------------------------------------------------------------------------------- 1 | load->helper('date'); 12 | 13 | // load library 14 | $this->load->library('upload'); 15 | } 16 | 17 | // FUNCTION LOAD DATA 18 | function load_data() 19 | { 20 | $this->db->select('*'); 21 | $this->db->from('bb_invoice'); 22 | 23 | $query = $this->db->get(); 24 | return $query->result(); 25 | } 26 | 27 | // function load_check 28 | function load_data_check() 29 | { 30 | $this->db->select('*'); 31 | $this->db->from('bb_invoice'); 32 | $this->db->where('status_inv', '0'); 33 | 34 | $query = $this->db->get(); 35 | return $query->result(); 36 | } 37 | 38 | 39 | // FUNCTION ORDER CHECK 40 | function order_check($id, $hp) 41 | { 42 | $query = $this->db->query("select * from bb_invoice where code_inv = '$id' and handphone_inv = '$hp'"); 43 | 44 | return $query->result(); 45 | } 46 | 47 | // mengambil data kendaraan untuk invoice 48 | function load_inv($unique_id) 49 | { 50 | $this->db->select('*'); 51 | $this->db->from('bb_invoice'); 52 | $this->db->join('bb_bank', 'bb_bank.id_bank = bb_invoice.id_bank'); 53 | $this->db->where('code_inv', $unique_id); 54 | 55 | $query = $this->db->get(); 56 | return $query->result(); 57 | } 58 | 59 | // AUTO UPDATE STATUS INVOICE 60 | function update($id, $status) 61 | { 62 | if($status == 0) 63 | { 64 | $data = array( 65 | 'status_inv'=>9 66 | ); 67 | 68 | $this->db->where('id_inv', $id); 69 | $this->db->update('bb_invoice', $data); 70 | } 71 | } 72 | 73 | // KONFIRMASI TAGIHAN 74 | function confirm() 75 | { 76 | $img = $_FILES['invImg']['name']; 77 | $code= $this->input->post('code'); 78 | $config['upload_path'] = './assets/hpublic/img_inv'; 79 | $config['allowed_types'] = 'jpg|jpeg|png'; 80 | 81 | $data = array( 82 | 'img_inv'=>$img, 83 | 'status_inv'=>'1' 84 | ); 85 | 86 | $this->db->where('code_inv', $code); 87 | $this->db->update('bb_invoice', $data); 88 | 89 | $this->upload->initialize($config); 90 | $this->upload->do_upload('invImg'); 91 | $this->upload->data(); 92 | } 93 | 94 | } -------------------------------------------------------------------------------- /application/models/Public/Ppage.php: -------------------------------------------------------------------------------- 1 | db->select('*'); 35 | $this->db->from('bb_page'); 36 | $this->db->where('slug_page', $slug); 37 | 38 | $query = $this->db->get(); 39 | return $query->result(); 40 | } 41 | 42 | // end model 43 | } -------------------------------------------------------------------------------- /application/models/Public/Pvehicle.php: -------------------------------------------------------------------------------- 1 | db->select('*'); 29 | $this->db->from('bb_vehicle'); 30 | $this->db->join('bb_meta_category', 'bb_meta_category.id_vh = bb_vehicle.id_vh'); 31 | $this->db->join('bb_category', 'bb_category.id_cat = bb_meta_category.id_cat'); 32 | 33 | $query = $this->db->get(); 34 | return $query->result(); 35 | } 36 | 37 | // mengambil nama kendaraan 38 | function load_name($slug) 39 | { 40 | $this->db->select('*'); 41 | $this->db->from('bb_vehicle'); 42 | $this->db->where('slug_vh', $slug); 43 | 44 | $query = $this->db->get(); 45 | 46 | foreach($query->result() as $row) 47 | { 48 | $res = $row->name_vh; 49 | } 50 | 51 | return $res; 52 | } 53 | 54 | // mengambil data untuk single page kendaraan 55 | function load_sc($slug) 56 | { 57 | $this->db->select('*'); 58 | $this->db->from('bb_vehicle'); 59 | $this->db->where('slug_vh', $slug); 60 | 61 | $query = $this->db->get(); 62 | return $query->result(); 63 | } 64 | 65 | // mengambil data dari id 66 | function load_id($id) 67 | { 68 | $this->db->select('*'); 69 | $this->db->from('bb_vehicle'); 70 | $this->db->where('id_vh', $id); 71 | 72 | $query = $this->db->get(); 73 | return $query->result(); 74 | } 75 | 76 | 77 | 78 | 79 | // end model 80 | } -------------------------------------------------------------------------------- /application/views/admin/part/bus/edit.php: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 | 15 |
16 | X 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 | 43 | 44 |
45 | 46 |
47 |
48 | 49 | 50 | 51 |
52 | 53 | 54 |
55 | 56 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /application/views/admin/part/bus/index.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
Nama KendaraanHarga(Hari)TanggalAksi
25 | 26 |
27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /application/views/admin/part/home/index.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 88 | 89 | 90 |
91 | 92 |
93 |
94 | Pemesanan Pending 95 |
96 |
97 | 98 |
99 |
100 | 101 |
102 |
103 | Konfirmasi Pemesanan 104 |
105 |
106 | 107 |
108 |
109 | 110 |
111 |
112 | Pemesanan Dibatalkan 113 |
114 |
115 | 116 |
117 |
118 | 119 |
120 | 121 | 122 | 123 |
124 |
125 | Grafik Pemesanan 126 |
127 | 128 |
129 |
130 |
131 | 132 | -------------------------------------------------------------------------------- /application/views/admin/part/invoice/data_clear.php: -------------------------------------------------------------------------------- 1 |

Tagihan Selesai

2 |
3 | 4 | 5 | 6 | 7 | 8 | 9 |
Perhatian ! Kotak pencarian digunakan untuk mencari nama pemesan dan kode tagihan
10 | 11 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 |
Nama PemesanKode TagihanTotal TagihanBuktiTanggalAksi
35 | 36 | 37 | -------------------------------------------------------------------------------- /application/views/admin/part/invoice/data_confirm.php: -------------------------------------------------------------------------------- 1 |

Tagihan Konfirmasi

2 |
3 | 4 | 5 | 6 | 7 | 8 | 9 |
Perhatian ! Kotak pencarian digunakan untuk mencari nama pemesan dan kode tagihan
10 | 11 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 |
Nama PemesanKode TagihanTotal TagihanBuktiTanggalAksi
35 | -------------------------------------------------------------------------------- /application/views/admin/part/invoice/data_draff.php: -------------------------------------------------------------------------------- 1 |

Tagihan Dibatalkan

2 |
3 | 4 | 5 | 6 | 7 | 8 | 9 |
Perhatian ! Kotak pencarian digunakan untuk mencari nama pemesan dan kode tagihan
10 | 11 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 |
Nama PemesanKode TagihanTotal TagihanTanggalAksi
34 | -------------------------------------------------------------------------------- /application/views/admin/part/invoice/data_pending.php: -------------------------------------------------------------------------------- 1 |

Tagihan Pending

2 |
3 | 4 | 5 | 6 | 7 | 8 | 9 |
Perhatian ! Kotak pencarian digunakan untuk mencari nama pemesan dan kode tagihan
10 | 11 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 |
Nama PemesanKode TagihanTotal TagihanTanggalAksi
34 | -------------------------------------------------------------------------------- /application/views/admin/part/invoice/index.php: -------------------------------------------------------------------------------- 1 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 |
35 | 36 | 37 | 38 |
39 | 40 | 41 | 42 | 73 | -------------------------------------------------------------------------------- /application/views/admin/part/invoice/penalty.php: -------------------------------------------------------------------------------- 1 | 12 | 13 |
14 | X 15 |
16 | 17 |
18 | 19 | 20 | 21 |
22 |
23 | 24 | 25 | 26 |
27 |
28 | 29 | 30 |
31 | 32 | 33 |
34 | 35 | 36 | -------------------------------------------------------------------------------- /application/views/admin/part/invoice/prev.php: -------------------------------------------------------------------------------- 1 | 13 | 14 |
15 | X 16 |
17 | 18 |
19 | 20 | 21 | 22 | 23 |
24 | 25 | -------------------------------------------------------------------------------- /application/views/admin/part/page/edit.php: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 |
15 | X 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 | 43 | 44 | -------------------------------------------------------------------------------- /application/views/admin/part/page/index.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
Judul HalamanDeskripsiTanggalAksi
25 | 26 |
27 | 28 | -------------------------------------------------------------------------------- /application/views/admin/part/page/input.php: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 |
15 | X 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 | -------------------------------------------------------------------------------- /application/views/admin/part/seat/data.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |
6 | 14 | 15 | 16 | 17 |
18 | 19 |
20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /application/views/admin/part/seat/edit.php: -------------------------------------------------------------------------------- 1 | 12 | 13 |
14 | X 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 | -------------------------------------------------------------------------------- /application/views/admin/part/seat/index.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 |
8 | 9 | 10 | -------------------------------------------------------------------------------- /application/views/admin/part/seat/input.php: -------------------------------------------------------------------------------- 1 | 12 | 13 |
14 | X 15 |
16 | 17 |
18 | 19 | 20 | 21 |
22 |
23 | 24 | 25 |
26 |
27 | 28 | 29 |
30 | 31 | 32 |
33 | 34 | 35 | -------------------------------------------------------------------------------- /application/views/admin/part/setting/bank_setting.php: -------------------------------------------------------------------------------- 1 |

Bank Setting

2 |
3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 22 |
23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 |
Nama BankNo. RekeningTanggalAksi
35 | 36 | -------------------------------------------------------------------------------- /application/views/admin/part/setting/edit_bank_setting.php: -------------------------------------------------------------------------------- 1 | 12 | 13 |
14 | X 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 |
43 | 44 |
45 |
46 | 47 | 48 | 49 |
50 | 51 | 52 |
53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /application/views/admin/part/setting/index.php: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /application/views/admin/part/setting/input_bank_setting.php: -------------------------------------------------------------------------------- 1 | 12 | 13 |
14 | X 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 |
43 |
44 | 45 | 46 | 47 |
48 | 49 | 50 |
51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /application/views/admin/part/setting/menu_setting.php: -------------------------------------------------------------------------------- 1 |

Menu Setting

2 |
3 | 32 | 33 | 34 | 43 | 44 | 45 | 64 | -------------------------------------------------------------------------------- /application/views/admin/part/setting/web_setting.php: -------------------------------------------------------------------------------- 1 |

Website Setting

2 |
3 | 4 | 5 | 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 |
43 | 44 | -------------------------------------------------------------------------------- /application/views/admin/part/type/edit.php: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 | 15 |
16 | X 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 | 43 | 44 | -------------------------------------------------------------------------------- /application/views/admin/part/type/index.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
Tipe KendaraanTanggalAksi
24 | 25 |
26 | 27 | 28 | 29 | 41 | -------------------------------------------------------------------------------- /application/views/admin/part/type/input.php: -------------------------------------------------------------------------------- 1 | 12 | 13 |
14 | X 15 |
16 | 17 |
18 | 19 | 20 | 21 |
22 |
23 | 24 | 25 |
26 |
27 | 28 |
29 | 30 | 31 | 32 |
33 | 34 | 35 |
36 | 37 | 38 | -------------------------------------------------------------------------------- /application/views/admin/template/content.php: -------------------------------------------------------------------------------- 1 |
2 | -------------------------------------------------------------------------------- /application/views/admin/template/empty.php: -------------------------------------------------------------------------------- 1 |
2 | 3 | Data Masih Kosong 4 | 5 |
-------------------------------------------------------------------------------- /application/views/admin/template/head-bar.php: -------------------------------------------------------------------------------- 1 |
2 | 3 |
4 | 5 |
6 | 7 |
-------------------------------------------------------------------------------- /application/views/admin/template/head.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | <?php 6 | // memanggil judul web 7 | echo $title_web.' | '.$page_web; 8 | ?> 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 33 | 34 | 35 | 36 | 39 | 40 | 41 | 42 | 43 | 44 |
45 |
-------------------------------------------------------------------------------- /application/views/admin/template/navigation.php: -------------------------------------------------------------------------------- 1 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /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/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/login/cover.php: -------------------------------------------------------------------------------- 1 |
-------------------------------------------------------------------------------- /application/views/login/form.php: -------------------------------------------------------------------------------- 1 |
2 | 3 | 18 | 19 |
20 | 21 | -------------------------------------------------------------------------------- /application/views/login/head.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | <?php 6 | // memanggil judul web 7 | echo $title_web.' | '.$page_web; 8 | ?> 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /application/views/public/part/bus/index.php: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 | 5 | 6 |
7 | 8 | 9 | 13 | 14 |
17 |
25 | Mulai Dari 26 |
27 | price_vh);?> 28 |
29 | /hari 30 |
31 |
32 | 33 | 59 | 60 |
61 | 62 | 63 | 64 | 65 |
-------------------------------------------------------------------------------- /application/views/public/part/home/cover.php: -------------------------------------------------------------------------------- 1 |
2 |
-------------------------------------------------------------------------------- /application/views/public/part/home/endcover.php: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 | -------------------------------------------------------------------------------- /application/views/public/part/home/home.php: -------------------------------------------------------------------------------- 1 |
2 | 3 |

Berbagai Macam Fasilitas Hotel Kami

4 |
5 | 6 | 7 |
8 | 9 | title;?> 10 |
11 | 12 | 13 |
14 |
15 |
16 |
17 |
18 |

Mengapa harus menginap di ?

19 |

20 |
-------------------------------------------------------------------------------- /application/views/public/part/home/slogan.php: -------------------------------------------------------------------------------- 1 |
2 |

3 |

4 |
-------------------------------------------------------------------------------- /application/views/public/part/page/index.php: -------------------------------------------------------------------------------- 1 | 28 | 29 | 30 | 31 |
32 | 33 |

name_page;?>

34 | Diperbarui date_page);?> 35 | 36 | 37 |
38 | desc_page;?> 39 |
40 | 41 |
-------------------------------------------------------------------------------- /application/views/public/part/single/confirm_invoice.php: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 | 15 | 16 |
17 | X 18 |
19 | 20 |
21 | 22 |
23 | 24 |
25 | 26 | 27 | 29 |
30 |
31 | 32 |
33 | 34 | 35 |
36 |
37 | 38 |
39 | 40 | 41 |
42 |
43 | 44 |
45 | 46 | 47 |
48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /application/views/public/part/single/order_check.php: -------------------------------------------------------------------------------- 1 |
2 | 3 |
4 | 5 |
6 |

Cek Pemesanan

7 |
8 |
9 |
10 | 11 | ID Pemesanan 12 |
13 | Masukan ID Pemesanan anda disini 14 |
15 |
16 |
17 |
18 |
19 |
20 | 21 | Masukan no Handphone(WhatsApp) 22 |
23 | Masukan No.Handphone pada saat pemesanan 24 |
25 |
26 |
27 | 28 | 29 |
30 | 31 |
32 | 33 |
34 | 35 |

36 | Lengkapi isian di samping untuk melakukan pengecekan pemesanan bus Anda. 37 |

38 | 39 |

40 | ID Pemesanan adalah 13 digit angka yang terdapat di email pemesanan atau voucher memesan / booking yang dikirim ke alamat email Anda. 41 |

42 | 43 |

44 | No.Handphone adalah nomor telepon / handphone yang digunakan ketika melakukan pemesanan bus di . 45 |

46 | 47 |
48 | 49 |
-------------------------------------------------------------------------------- /application/views/public/template/content.php: -------------------------------------------------------------------------------- 1 |
-------------------------------------------------------------------------------- /application/views/public/template/end_content.php: -------------------------------------------------------------------------------- 1 |
2 |
-------------------------------------------------------------------------------- /application/views/public/template/footer.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /application/views/public/template/head.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | <?php 6 | // memanggil judul web 7 | echo title_web().' | '.slogan_web(); 8 | ?> 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 36 | 37 | 38 | 39 | 42 | 43 | 44 | 45 |
46 |
-------------------------------------------------------------------------------- /application/views/public/template/menu_head.php: -------------------------------------------------------------------------------- 1 | 37 | -------------------------------------------------------------------------------- /application/views/public/template/searchform.php: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | -------------------------------------------------------------------------------- /assets/admin/js/action_data/brand_ac.js: -------------------------------------------------------------------------------- 1 | // edit category 2 | $('a.edit').on('click', function(){ 3 | 4 | var id = $(this).attr('href'); 5 | 6 | $('#jqContent').slideDown('400'); 7 | $('#jqContent').load(baseurl+'gsadmin/edit_brand/'+id); 8 | return false; 9 | 10 | }); 11 | 12 | // delete category 13 | 14 | $('a.del').on('click', function(){ 15 | 16 | var id = $(this).attr('href'); 17 | var img = $(this).attr('img'); 18 | var c = confirm('Apa kamu yakin ingin menghapus Brand ini ?'); 19 | 20 | if(c == true) 21 | { 22 | $.get( baseurl+'gsadmin/delete_brand/'+id+'/'+img , function(data) { 23 | alert(data); 24 | $('.gs-page-data-wrapper').load(baseurl+'gsadmin/data_brand'); 25 | }); 26 | } 27 | else 28 | { 29 | 30 | } 31 | 32 | 33 | return false; 34 | 35 | }); -------------------------------------------------------------------------------- /assets/admin/js/action_data/category_ac.js: -------------------------------------------------------------------------------- 1 | // edit category 2 | $('a.edit').on('click', function(){ 3 | 4 | var id = $(this).attr('href'); 5 | 6 | $('#jqContent').slideDown('400'); 7 | $('#jqContent').load(baseurl+'gsadmin/edit_category/'+id); 8 | return false; 9 | 10 | }); 11 | 12 | // delete category 13 | 14 | $('a.del').on('click', function(){ 15 | 16 | var id = $(this).attr('href'); 17 | var c = confirm('Apa kamu yakin ingin menghapus kategori ini ?'); 18 | 19 | if(c == true) 20 | { 21 | $.get( baseurl+'gsadmin/delete_category/'+id , function(data) { 22 | alert(data); 23 | $('.gs-page-data-wrapper').load(baseurl+'gsadmin/data_category'); 24 | }); 25 | } 26 | else 27 | { 28 | 29 | } 30 | 31 | 32 | return false; 33 | 34 | }); -------------------------------------------------------------------------------- /assets/admin/js/action_data/page_ac.js: -------------------------------------------------------------------------------- 1 | // edit category 2 | $('a.edit').on('click', function(){ 3 | 4 | var id = $(this).attr('href'); 5 | 6 | $('#jqContent').slideDown('400'); 7 | $('#jqContent').load(baseurl+'gsadmin/edit_page/'+id); 8 | return false; 9 | 10 | }); 11 | 12 | // delete category 13 | 14 | $('a.del').on('click', function(){ 15 | 16 | var id = $(this).attr('href'); 17 | var c = confirm('Apa kamu yakin ingin menghapus kategori ini ?'); 18 | 19 | if(c == true) 20 | { 21 | $.get( baseurl+'gsadmin/delete_category/'+id , function(data) { 22 | alert(data); 23 | $('.gs-page-data-wrapper').load(baseurl+'gsadmin/data_category'); 24 | }); 25 | } 26 | else 27 | { 28 | 29 | } 30 | 31 | 32 | return false; 33 | 34 | }); -------------------------------------------------------------------------------- /assets/admin/js/action_data/product_ac.js: -------------------------------------------------------------------------------- 1 | // edit category 2 | $('a.edit').on('click', function(){ 3 | 4 | var id = $(this).attr('href'); 5 | 6 | $('#jqContent').slideDown('400'); 7 | $('#jqContent').load(baseurl+'gsadmin/edit_product/'+id); 8 | return false; 9 | 10 | }); 11 | 12 | // delete category 13 | 14 | $('a.del').on('click', function(){ 15 | 16 | var id = $(this).attr('href'); 17 | var c = confirm('Apa kamu yakin ingin menghapus Brand ini ?'); 18 | 19 | if(c == true) 20 | { 21 | $.get( baseurl+'gsadmin/delete_product/'+id , function(data) { 22 | alert(data); 23 | $('.gs-page-data-wrapper').load(baseurl+'gsadmin/data_product'); 24 | }); 25 | } 26 | else 27 | { 28 | 29 | } 30 | 31 | 32 | return false; 33 | 34 | }); -------------------------------------------------------------------------------- /assets/admin/js/data_table/brand.js: -------------------------------------------------------------------------------- 1 | $('.gs-page-data-wrapper').load(baseurl+'gsadmin/data_brand'); 2 | 3 | // create new category 4 | 5 | $('.cnw').on('click', function(){ 6 | 7 | $('#jqContent').load(baseurl+'gsadmin/input_brand'); 8 | $('#jqContent').slideDown('400'); 9 | 10 | }); -------------------------------------------------------------------------------- /assets/admin/js/data_table/category.js: -------------------------------------------------------------------------------- 1 | $('.gs-page-data-wrapper').load(baseurl+'gsadmin/data_category'); 2 | 3 | // create new category 4 | 5 | $('.cnw').on('click', function(){ 6 | 7 | $('#jqContent').load(baseurl+'gsadmin/input_category'); 8 | $('#jqContent').slideDown('400'); 9 | 10 | }); -------------------------------------------------------------------------------- /assets/admin/js/data_table/invoice.js: -------------------------------------------------------------------------------- 1 | $('.gs-page-data-wrapper').load(baseurl+'gsadmin/data_invoice_pending'); 2 | 3 | // button menu 4 | 5 | $('.pending').on('click', function(){ 6 | 7 | $('.gs-page-data-wrapper').load(baseurl+'gsadmin/data_invoice_pending'); 8 | 9 | }); 10 | 11 | $('.confirm').on('click', function(){ 12 | 13 | $('.gs-page-data-wrapper').load(baseurl+'gsadmin/data_invoice_confirm'); 14 | 15 | }); 16 | 17 | $('.clear').on('click', function(){ 18 | 19 | $('.gs-page-data-wrapper').load(baseurl+'gsadmin/data_invoice_clear'); 20 | 21 | }); 22 | 23 | -------------------------------------------------------------------------------- /assets/admin/js/data_table/page.js: -------------------------------------------------------------------------------- 1 | $('.gs-page-data-wrapper').load(baseurl+'gsadmin/data_page'); 2 | 3 | 4 | $('.cnw').on('click', function(){ 5 | 6 | $('#jqContent').load(baseurl+'gsadmin/input_page'); 7 | $('#jqContent').slideDown('400'); 8 | 9 | }); -------------------------------------------------------------------------------- /assets/admin/js/data_table/product.js: -------------------------------------------------------------------------------- 1 | $('.gs-page-data-wrapper').load(baseurl+'gsadmin/data_product'); 2 | 3 | 4 | $('.cnw').on('click', function(){ 5 | 6 | $('#jqContent').load(baseurl+'gsadmin/input_product'); 7 | $('#jqContent').slideDown('400'); 8 | 9 | }); -------------------------------------------------------------------------------- /assets/admin/js/data_table/user.js: -------------------------------------------------------------------------------- 1 | $('.gs-page-data-wrapper').load(baseurl+'gsadmin/data_user'); 2 | 3 | 4 | $('.cnw').on('click', function(){ 5 | 6 | $('#jqContent').load(baseurl+'gsadmin/input_user'); 7 | $('#jqContent').slideDown('400'); 8 | 9 | }); -------------------------------------------------------------------------------- /assets/admin/js/jqContent/close.js: -------------------------------------------------------------------------------- 1 | $('.close-jqContent').on('click', function(){ 2 | 3 | $('#jqContent').slideUp('400'); 4 | $('#jqContent').html(''); 5 | 6 | }); -------------------------------------------------------------------------------- /assets/admin/js/login/login_submit.js: -------------------------------------------------------------------------------- 1 | $('.loginForm').on('submit', function(){ 2 | 3 | return false; 4 | 5 | }); -------------------------------------------------------------------------------- /assets/admin/js/save_data/brand_save.js: -------------------------------------------------------------------------------- 1 | $( document ).ready(function() { 2 | var $uploadCrop; 3 | var file1 = document.querySelector('.file'); 4 | function readFile(input) { 5 | if (input.files && input.files[0]) { 6 | var reader = new FileReader(); 7 | reader.onload = function (e) { 8 | $uploadCrop.croppie('bind', { 9 | url: e.target.result 10 | }); 11 | $('.file').addClass('ready'); 12 | } 13 | reader.readAsDataURL(input.files[0]); 14 | } 15 | } 16 | 17 | $uploadCrop = $('.left').croppie({ 18 | viewport: { 19 | width: 500, 20 | height: 250, 21 | type: 'square' 22 | }, 23 | boundary: { 24 | width: 500, 25 | height: 250 26 | } 27 | }); 28 | 29 | $('.file').on('change', function(){ 30 | 31 | readFile(this) 32 | $('.imgl').hide(); 33 | $('.left').slideDown('400'); 34 | 35 | }); 36 | 37 | $('#inputForm').on('submit', function (ev) { 38 | $uploadCrop.croppie('result', { 39 | type: 'canvas', 40 | size: 'viewport' 41 | }).then(function (resp) { 42 | 43 | 44 | var fd = new FormData(); 45 | fd.append('name', $('input#name').val()); 46 | fd.append('desc', $('#desc').val()); 47 | fd.append('imageFile', resp); 48 | 49 | $.ajax({ 50 | url: baseurl+'gsadmin/save_brand', 51 | type: "POST", 52 | data: fd, 53 | contentType: false, 54 | processData: false, 55 | success: function (data) { 56 | $('.gs-ipt-wrapper').append(data); 57 | $('.gs-page-data-wrapper').load(baseurl+'gsadmin/data_brand'); 58 | $('#jqContent').html(); 59 | $('#jqContent').slideUp('400'); 60 | } 61 | }); 62 | }); 63 | return false; 64 | }); 65 | 66 | $('#editForm').on('submit', function (ev) { 67 | $uploadCrop.croppie('result', { 68 | type: 'canvas', 69 | size: 'viewport' 70 | }).then(function (resp) { 71 | 72 | 73 | var fd = new FormData(); 74 | fd.append('id', $('#id').val()); 75 | fd.append('imglast', $('#imglast').val()); 76 | fd.append('name', $('input#name').val()); 77 | fd.append('desc', $('#desc').val()); 78 | fd.append('imageFile', resp); 79 | 80 | $.ajax({ 81 | url: baseurl+'gsadmin/save_edit_brand', 82 | type: "POST", 83 | data: fd, 84 | contentType: false, 85 | processData: false, 86 | success: function (data) { 87 | $('.gs-ipt-wrapper').append(data); 88 | $('.gs-page-data-wrapper').load(baseurl+'gsadmin/data_brand'); 89 | $('#jqContent').html(); 90 | $('#jqContent').slideUp('400'); 91 | } 92 | }); 93 | }); 94 | return false; 95 | }); 96 | 97 | }); 98 | 99 | -------------------------------------------------------------------------------- /assets/admin/js/save_data/category_save.js: -------------------------------------------------------------------------------- 1 | $('#inputForm').on('submit', function(){ 2 | 3 | $.ajax({ 4 | 5 | url:baseurl+'gsadmin/save_category', 6 | type:'POST', 7 | data:new FormData(this), 8 | contentType:false, 9 | cache:false, 10 | processData:false, 11 | success:function(data) 12 | { 13 | $('.gs-ipt-wrapper').append(data); 14 | $('.gs-page-data-wrapper').load(baseurl+'gsadmin/data_category'); 15 | } 16 | 17 | 18 | 19 | }); 20 | return false; 21 | 22 | }); 23 | 24 | $('#editForm').on('submit', function(){ 25 | 26 | $.ajax({ 27 | 28 | url:baseurl+'gsadmin/save_edit_category', 29 | type:'POST', 30 | data:new FormData(this), 31 | contentType:false, 32 | cache:false, 33 | processData:false, 34 | success:function(data) 35 | { 36 | $('.gs-ipt-wrapper').append(data); 37 | $('.gs-page-data-wrapper').load(baseurl+'gsadmin/data_category'); 38 | $('#jqContent').slideUp('400'); 39 | $('#jqContent').html(''); 40 | } 41 | 42 | 43 | 44 | }); 45 | return false; 46 | 47 | }); -------------------------------------------------------------------------------- /assets/admin/js/save_data/page_save.js: -------------------------------------------------------------------------------- 1 | $('#inputForm').on('submit', function(){ 2 | 3 | var desc = $('#texte').summernote('code'); 4 | var fd = new FormData(); 5 | 6 | fd.append('title', $('input#title').val()); 7 | fd.append('desc', desc); 8 | 9 | $.ajax({ 10 | 11 | url:baseurl+'gsadmin/save_page', 12 | type:'POST', 13 | data:fd, 14 | contentType:false, 15 | cache:false, 16 | processData:false, 17 | success:function(data) 18 | { 19 | alert(data); 20 | $('.gs-page-data-wrapper').load(baseurl+'gsadmin/data_page'); 21 | } 22 | 23 | 24 | 25 | }); 26 | return false; 27 | 28 | }); 29 | 30 | $('#editForm').on('submit', function(){ 31 | 32 | var idpage = $('#idpage').val(); 33 | var desc = $('#texte').summernote('code'); 34 | var fd = new FormData(); 35 | 36 | fd.append('title', $('input#title').val()); 37 | fd.append('desc', desc); 38 | 39 | $.ajax({ 40 | 41 | url:baseurl+'gsadmin/save_edit_page/'+idpage, 42 | type:'POST', 43 | data:fd, 44 | contentType:false, 45 | cache:false, 46 | processData:false, 47 | success:function(data) 48 | { 49 | $('.gs-ipt-wrapper').append(data); 50 | $('.gs-page-data-wrapper').load(baseurl+'gsadmin/data_page'); 51 | $('#jqContent').slideUp('400'); 52 | $('#jqContent').html(''); 53 | } 54 | 55 | 56 | 57 | }); 58 | return false; 59 | 60 | }); -------------------------------------------------------------------------------- /assets/admin/js/save_data/user_save.js: -------------------------------------------------------------------------------- 1 | $( document ).ready(function() { 2 | var $uploadCrop; 3 | var file1 = document.querySelector('.file'); 4 | function readFile(input) { 5 | if (input.files && input.files[0]) { 6 | var reader = new FileReader(); 7 | reader.onload = function (e) { 8 | $uploadCrop.croppie('bind', { 9 | url: e.target.result 10 | }); 11 | $('.file').addClass('ready'); 12 | } 13 | reader.readAsDataURL(input.files[0]); 14 | } 15 | } 16 | 17 | $uploadCrop = $('.left').croppie({ 18 | viewport: { 19 | width: 300, 20 | height: 300, 21 | type: 'square' 22 | }, 23 | boundary: { 24 | width: 300, 25 | height: 300 26 | } 27 | }); 28 | 29 | $('.file').on('change', function(){ 30 | 31 | readFile(this) 32 | $('.imgl').hide(); 33 | $('.left').slideDown('400'); 34 | 35 | }); 36 | 37 | $('#inputForm').on('submit', function (ev) { 38 | $uploadCrop.croppie('result', { 39 | type: 'canvas', 40 | size: 'viewport' 41 | }).then(function (resp) { 42 | 43 | var desc = $('#texte').summernote('code'); 44 | var fd = new FormData(); 45 | fd.append('usname', $('input#usname').val()); 46 | fd.append('imageFile', resp); 47 | fd.append('fn', $('#fn').val()); 48 | fd.append('ln', $('#ln').val()); 49 | fd.append('ha', $('#ha').val()); 50 | 51 | $.ajax({ 52 | url: baseurl+'gsadmin/save_product', 53 | type: "POST", 54 | data: fd, 55 | contentType: false, 56 | processData: false, 57 | success: function (data) { 58 | $('.gs-ipt-wrapper').append(data); 59 | $('.gs-page-data-wrapper').load(baseurl+'gsadmin/data_product'); 60 | $('#jqContent').html(); 61 | $('#jqContent').slideUp('400'); 62 | } 63 | }); 64 | }); 65 | return false; 66 | }); 67 | 68 | $('#editForm').on('submit', function (ev) { 69 | $uploadCrop.croppie('result', { 70 | type: 'canvas', 71 | size: 'viewport' 72 | }).then(function (resp) { 73 | 74 | 75 | var fd = new FormData(); 76 | fd.append('id', $('#id').val()); 77 | fd.append('imglast', $('#imglast').val()); 78 | fd.append('name', $('input#name').val()); 79 | fd.append('desc', $('#desc').val()); 80 | fd.append('imageFile', resp); 81 | 82 | $.ajax({ 83 | url: baseurl+'gsadmin/save_edit_brand', 84 | type: "POST", 85 | data: fd, 86 | contentType: false, 87 | processData: false, 88 | success: function (data) { 89 | $('.gs-ipt-wrapper').append(data); 90 | $('.gs-page-data-wrapper').load(baseurl+'gsadmin/data_brand'); 91 | $('#jqContent').html(); 92 | $('#jqContent').slideUp('400'); 93 | } 94 | }); 95 | }); 96 | return false; 97 | }); 98 | 99 | }); 100 | 101 | -------------------------------------------------------------------------------- /assets/crop/.gitattributes: -------------------------------------------------------------------------------- 1 | text eol=lf 2 | -------------------------------------------------------------------------------- /assets/crop/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | npm-debug.log 3 | node_modules/ 4 | bower_components 5 | /nbproject/private/ -------------------------------------------------------------------------------- /assets/crop/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015 Foliotek Inc 2 | ------------------------------- 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated 4 | documentation files (the "Software"), to deal in the Software without restriction, including without limitation the 5 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit 6 | persons to whom the Software is furnished to do so, subject to the following conditions: 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the 8 | Software. 9 | 10 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 11 | WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 12 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 13 | OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /assets/crop/README.md: -------------------------------------------------------------------------------- 1 | # Croppie - A Javascript Image Cropper 2 | 3 | 4 | ## To Install 5 | Bower: `bower install croppie` 6 | 7 | Npm: `npm install croppie` 8 | 9 | Download: 10 | [croppie.js](croppie.js) & [croppie.css](croppie.css) 11 | 12 | ## Adding croppie to your site 13 | ``` 14 | 15 | 16 | ``` 17 | 18 | ## CDN 19 | cdnjs.com provides croppie via cdn https://cdnjs.com/libraries/croppie 20 | ``` 21 | https://cdnjs.cloudflare.com/ajax/libs/croppie/{version}/croppie.min.css 22 | https://cdnjs.cloudflare.com/ajax/libs/croppie/{version}/croppie.min.js 23 | ``` 24 | 25 | 26 | ## Documentation 27 | [Documentation](http://foliotek.github.io/Croppie#documentation) 28 | 29 | 30 | ## Contributing 31 | #### Static Server 32 | `live-server` 33 | 34 | #### Minifying 35 | `uglifyjs croppie.js -c -m -r '$,require,exports' -o croppie.min.js` 36 | 37 | #### Releasing a new version 38 | 1. Bump version in croppie.js 39 | 2. Minify/Uglify 40 | 3. Commit 41 | 4. npm version [new version] 42 | 5. `git push && git push --tags` 43 | 6. `npm publish` 44 | 7. Draft a new release with new tag on https://github.com/Foliotek/Croppie/releases 45 | 8. Deploy to gh-pages `npm run deploy` 46 | -------------------------------------------------------------------------------- /assets/crop/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Croppie", 3 | "homepage": "https://github.com/Foliotek/Croppie", 4 | "authors": [ 5 | "Dustin Smith ", 6 | "Ethan Calvert " 7 | ], 8 | "description": "A javascript image cropper", 9 | "main": [ 10 | "croppie.css", 11 | "croppie.js" 12 | ], 13 | "moduleType": [], 14 | "keywords": [ 15 | "image", 16 | "cropper", 17 | "croppie" 18 | ], 19 | "license": "MIT", 20 | "ignore": [ 21 | "**/.*", 22 | "node_modules", 23 | "bower_components", 24 | "demo", 25 | "test", 26 | "tests", 27 | "index.html" 28 | ], 29 | "dependencies": {}, 30 | "devDependencies": { 31 | "sweetalert": "~1.1.3", 32 | "jquery": "~2.1.4", 33 | "exif-js": "~2.1.1" 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /assets/crop/deploy.js: -------------------------------------------------------------------------------- 1 | var ghpages = require('gh-pages'), 2 | path = require('path'); 3 | 4 | ghpages.publish(__dirname, function (err) { 5 | if (err) console.error(err); 6 | else console.log('Successfully deployed to gh-pages'); 7 | }); 8 | -------------------------------------------------------------------------------- /assets/crop/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "croppie", 3 | "version": "2.4.1", 4 | "description": "A simple javascript image cropper", 5 | "main": "croppie.js", 6 | "devDependencies": { 7 | "gh-pages": "^0.11.0", 8 | "mocha": "2.4.5" 9 | }, 10 | "scripts": { 11 | "test": "mocha test/unit", 12 | "deploy": "node deploy.js" 13 | }, 14 | "repository": { 15 | "type": "git", 16 | "url": "git+https://github.com/Foliotek/Croppie.git" 17 | }, 18 | "keywords": [ 19 | "crop", 20 | "cropper", 21 | "image", 22 | "cropping" 23 | ], 24 | "authors": [ 25 | "Dustin Smith ", 26 | "Ethan Calvert " 27 | ], 28 | "license": "MIT", 29 | "bugs": { 30 | "url": "https://github.com/Foliotek/Croppie/issues" 31 | }, 32 | "homepage": "http://foliotek.github.io/Croppie", 33 | "files": [ 34 | "croppie.css", 35 | "croppie.js", 36 | "croppie.min.js" 37 | ] 38 | } 39 | -------------------------------------------------------------------------------- /assets/crop/test/unit/Croppie.js: -------------------------------------------------------------------------------- 1 | var assert, Croppie; 2 | 3 | assert = require('assert'); 4 | 5 | require('./stubs/window'); 6 | Croppie = require('../../croppie'); 7 | 8 | describe('Croppie', function () { 9 | var testCroppieObject, stubElement; 10 | 11 | beforeEach(function () { 12 | stubElement = new HTMLElement(); 13 | testCroppieObject = new Croppie(stubElement); 14 | }); 15 | 16 | describe('constructor', function () { 17 | it('should expose a reference to its bound element.', function () { 18 | assert.strictEqual(testCroppieObject.element, stubElement); 19 | }); 20 | 21 | it('should use croppy defaults if no options are provided.', function () { 22 | function matchDefaults(actualOptionGroup, expectedOptionGroup, path) { 23 | path = path || 'options'; 24 | 25 | Object 26 | .keys(expectedOptionGroup) 27 | .forEach(function (optionName) { 28 | var currentPath; 29 | 30 | currentPath = [ 31 | path, 32 | optionName 33 | ].join('.'); 34 | 35 | if (typeof expectedOptionGroup[optionName] === 'object') { 36 | matchDefaults(actualOptionGroup[optionName], expectedOptionGroup[optionName], currentPath); 37 | } else { 38 | assert.equal(actualOptionGroup[optionName], expectedOptionGroup[optionName], 'Matching ' + currentPath); 39 | } 40 | }); 41 | } 42 | 43 | matchDefaults(testCroppieObject.options, Croppie.defaults); 44 | }); 45 | 46 | }); 47 | 48 | }); 49 | -------------------------------------------------------------------------------- /assets/crop/test/unit/mocha.opts: -------------------------------------------------------------------------------- 1 | --reporter spec 2 | --recursive 3 | --growl 4 | -------------------------------------------------------------------------------- /assets/crop/test/unit/stubs/DOMTokenList.js: -------------------------------------------------------------------------------- 1 | DOMTokenList = function DOMTokenList() { 2 | this.add = function () { 3 | }; 4 | this.remove = function () { 5 | }; 6 | this.item = function () { 7 | }; 8 | this.toggle = function () { 9 | }; 10 | this.contains = function () { 11 | }; 12 | }; 13 | 14 | module.exports = DOMTokenList; -------------------------------------------------------------------------------- /assets/crop/test/unit/stubs/EventTarget.js: -------------------------------------------------------------------------------- 1 | EventTarget = function EventTarget() { 2 | this.addEventListener = function () { 3 | }; 4 | this.removeEventListener = function () { 5 | }; 6 | this.dispatchEvent = function () { 7 | }; 8 | }; 9 | 10 | module.exports = EventTarget; -------------------------------------------------------------------------------- /assets/crop/test/unit/stubs/HTMLElement.js: -------------------------------------------------------------------------------- 1 | DOMTokenList = require('./DOMTokenList'); 2 | EventTarget = require('./EventTarget'); 3 | 4 | HTMLElement = function HTMLElement() { 5 | EventTarget.apply(this, arguments); 6 | this.style = {}; 7 | this.classList = new DOMTokenList(); 8 | this.appendChild = function () { 9 | }; 10 | }; 11 | HTMLElement.prototype = Object.create(EventTarget.prototype); 12 | 13 | module.exports = HTMLElement; -------------------------------------------------------------------------------- /assets/crop/test/unit/stubs/document.js: -------------------------------------------------------------------------------- 1 | var HTMLElement; 2 | 3 | HTMLElement = require('./HTMLElement'); 4 | 5 | document = { 6 | createElement : function () { 7 | return new HTMLElement(); 8 | } 9 | }; 10 | 11 | module.exports = document; -------------------------------------------------------------------------------- /assets/crop/test/unit/stubs/window.js: -------------------------------------------------------------------------------- 1 | var document; 2 | 3 | document = require('./document'); 4 | 5 | window = { 6 | document : document 7 | }; 8 | 9 | module.exports = window; -------------------------------------------------------------------------------- /assets/hadmin/css/login.css: -------------------------------------------------------------------------------- 1 | /************************************************************************* 2 | * 3 | * REGULAR STYLE 4 | * 5 | *************************************************************************/ 6 | 7 | html 8 | { 9 | width: 100%; 10 | height: 100%; 11 | overflow-x: hidden; 12 | padding: 0px; 13 | } 14 | 15 | body 16 | { 17 | width: 100%; 18 | height: 100%; 19 | overflow-x: hidden; 20 | padding: 0px; 21 | margin: 0px; 22 | } 23 | 24 | 25 | 26 | /************************************************************************* 27 | * 28 | * COVER STYLE 29 | * 30 | *************************************************************************/ 31 | 32 | #cover-login 33 | { 34 | width: 100%; 35 | height: 100%; 36 | background: #2a79bd; 37 | position: absolute; 38 | } 39 | 40 | 41 | /************************************************************************* 42 | * 43 | * FORM STYLE 44 | * 45 | *************************************************************************/ 46 | 47 | .login-wrapper 48 | { 49 | width: 300px; 50 | margin: auto; 51 | margin-top: 11%; 52 | } 53 | 54 | .login-wrapper 55 | .fir 56 | { 57 | display: block; 58 | width: 100%; 59 | font-family: karla; 60 | font-size: 33px; 61 | text-align: center; 62 | color: #2a79bd; 63 | font-weight: normal; 64 | background: #fff; 65 | } 66 | 67 | .login-wrapper 68 | .sec 69 | { 70 | display: block; 71 | width: 100%; 72 | text-align: center; 73 | font-family: work sans; 74 | padding-top: 5px; 75 | color: #Fff; 76 | font-size: 17px; 77 | border-bottom: 1px solid#b7b4b4; 78 | padding-bottom: 5px; 79 | margin-bottom: 14px; 80 | font-weight: normal; 81 | } 82 | 83 | .login-wrapper 84 | .ipt-login 85 | { 86 | width: 100%; 87 | border: 1px solid#ddd; 88 | background: transparent; 89 | color: #fff; 90 | font-family: karla; 91 | padding: 11px; 92 | border-radius: 4px; 93 | margin-bottom: 7px; 94 | font-size: 16px; 95 | } 96 | 97 | .login-wrapper 98 | .ipt-login::placeholder 99 | { 100 | color: #fff; 101 | } 102 | 103 | .login-wrapper 104 | .ipt-submit 105 | { 106 | width: 100%; 107 | font-family: karla; 108 | font-weight: bold; 109 | color: #fff; 110 | border: none; 111 | background: #29b6ec; 112 | padding: 10px; 113 | font-size: 20px; 114 | margin-top: 4px; 115 | transition: 0.2s; 116 | 117 | } 118 | 119 | .login-wrapper 120 | .ipt-submit:hover 121 | { 122 | transition: 0.2s; 123 | background: #1d5a8e; 124 | } 125 | 126 | .login-wrapper 127 | .ipt-submit:active 128 | { 129 | background: #0c3354; 130 | } 131 | -------------------------------------------------------------------------------- /assets/hadmin/js/action/hotel_ac.js: -------------------------------------------------------------------------------- 1 | $(document).on('click', '#edit', function(){ 2 | 3 | var id = $(this).attr('idcontent'); 4 | 5 | $.get(bu+'admin/bus/bus_delete/'+id, function(data){ 6 | alert(data); 7 | }); 8 | 9 | }); -------------------------------------------------------------------------------- /assets/hadmin/js/action/invoice_ac.js: -------------------------------------------------------------------------------- 1 | // default load 2 | 3 | $('.datalist').load(bu+'admin/invoice/invoice_pending_view'); 4 | 5 | // fungsi tombol 6 | 7 | // tombol web setting 8 | $('.tp').on('click', function() 9 | { 10 | 11 | // load 12 | $('.datalist').load(bu+'admin/invoice/invoice_pending_view'); 13 | 14 | }); 15 | 16 | // tombol bank setting 17 | $('.kt').on('click', function() 18 | { 19 | 20 | // load 21 | $('.datalist').load(bu+'admin/invoice/invoice_confirm_view'); 22 | 23 | }); 24 | 25 | // tombol menu setting 26 | $('.ts').on('click', function(){ 27 | 28 | // load 29 | $('.datalist').load(bu+'admin/invoice/invoice_clear_view'); 30 | 31 | }); 32 | 33 | 34 | // tombol menu setting 35 | $(document).on('click', '.tb', function(){ 36 | 37 | // load 38 | $('.datalist').load(bu+'admin/invoice/invoice_draff_view'); 39 | 40 | }); 41 | 42 | // membuat bank account 43 | $(document).on('click', '.cnw', function(){ 44 | 45 | $('#jqContent').load(bu+'admin/setting/bank_setting_input'); 46 | $('#jqContent').slideDown('400'); 47 | 48 | }); 49 | 50 | // menghapus data invoice 51 | $(document).on('click', '#delete', function(){ 52 | 53 | var id = $(this).attr('idbus'); 54 | var c = confirm('Apa anda yakin ingin menghapus tagihan ini ?') 55 | 56 | if(c == true) 57 | { 58 | $.get(bu+'admin/invoice/invoice_delete/'+id, function(data){ 59 | alert(data); 60 | }); 61 | } 62 | 63 | }); 64 | 65 | // save denda 66 | $(document).on('submit', '#pForm', function(){ 67 | 68 | $.ajax({ 69 | 70 | url:bu+'admin/invoice/invoice_save_penalty', 71 | type:'POST', 72 | data:new FormData(this), 73 | contentType:false, 74 | processData:false, 75 | success:function(data) 76 | { 77 | alert(data); 78 | window.location.href = window.location.href; 79 | } 80 | 81 | }); 82 | 83 | return false; 84 | return false; 85 | 86 | }); 87 | -------------------------------------------------------------------------------- /assets/hadmin/js/action/page_ac.js: -------------------------------------------------------------------------------- 1 | $('.cnw').on('click', function(){ 2 | 3 | $('#jqContent').load(bu+'admin/page/page_input'); 4 | $('#jqContent').slideDown('400'); 5 | 6 | }); 7 | 8 | 9 | // untuk mengedit data halaman 10 | $(document).on('click', '.edit', function() 11 | { 12 | 13 | var id = $(this).attr('idcontent'); 14 | var conf = confirm('Apa anda ingin mengedit halaman ini ?'); 15 | 16 | if(conf == true) 17 | { 18 | $('#jqContent').load(bu+'admin/page/page_edit/'+id); 19 | $('#jqContent').slideDown('400'); 20 | } 21 | 22 | }); 23 | 24 | // untuk menghapus data halaman 25 | $(document).on('click', '.del', function(){ 26 | 27 | var id = $(this).attr('idcontent'); 28 | var conf = confirm('Apa anda yakin ingin menghapus halaman ini ?'); 29 | 30 | if(conf == true) 31 | { 32 | $.get(bu+'admin/page/page_delete/'+id, function(data) 33 | { 34 | alert(data); 35 | window.location.href = window.location.href; 36 | }); 37 | } 38 | 39 | }); -------------------------------------------------------------------------------- /assets/hadmin/js/action/seat_ac.js: -------------------------------------------------------------------------------- 1 | $('.cnw').on('click', function(){ 2 | 3 | $('#jqContent').load(bu+'admin/seat/seat_input'); 4 | $('#jqContent').slideDown('400'); 5 | 6 | }); 7 | 8 | 9 | // mengedit seat data 10 | $(document).on('click', '.edit', function(){ 11 | 12 | // variable 13 | var id = $(this).attr('idcontent'); 14 | 15 | // show edit 16 | $('#jqContent').load(bu+'admin/seat/seat_edit/'+id); 17 | $('#jqContent').slideDown('400'); 18 | 19 | }); 20 | 21 | // menghapus seat data 22 | $(document).on('click', '.del', function(){ 23 | 24 | // variable 25 | var id = $(this).attr('idcontent'); 26 | var conf = confirm('Apa anda yakin ingin menghapus seat ini ?'); 27 | 28 | // kondisi jika ya / tidak 29 | if(conf == true) 30 | { 31 | $.get(bu+'admin/seat/seat_delete/'+id, function(data) 32 | { 33 | alert(data); 34 | window.location.href = window.location.href; 35 | }); 36 | } 37 | 38 | }); -------------------------------------------------------------------------------- /assets/hadmin/js/action/setting_ac.js: -------------------------------------------------------------------------------- 1 | // default load 2 | 3 | $('.datalist').load(bu+'admin/setting/web_setting'); 4 | 5 | // fungsi tombol 6 | 7 | // tombol web setting 8 | $('.ws').on('click', function() 9 | { 10 | 11 | // load 12 | $('.datalist').load(bu+'admin/setting/web_setting'); 13 | 14 | }); 15 | 16 | // tombol bank setting 17 | $('.bs').on('click', function() 18 | { 19 | 20 | // load 21 | $('.datalist').load(bu+'admin/setting/bank_setting'); 22 | 23 | }); 24 | 25 | // tombol menu setting 26 | $('.ms').on('click', function(){ 27 | 28 | // load 29 | $('.datalist').load(bu+'admin/setting/menu_setting'); 30 | 31 | }); 32 | 33 | // membuat bank account 34 | $(document).on('click', '.cnw', function(){ 35 | 36 | $('#jqContent').load(bu+'admin/setting/bank_setting_input'); 37 | $('#jqContent').slideDown('400'); 38 | 39 | }); -------------------------------------------------------------------------------- /assets/hadmin/js/action/type_ac.js: -------------------------------------------------------------------------------- 1 | $('.cnw').on('click', function(){ 2 | 3 | $('#jqContent').load(bu+'admin/type/type_input'); 4 | $('#jqContent').slideDown('400'); 5 | 6 | }); 7 | 8 | // menghapus data tipe bus 9 | 10 | // menghapus data tipe bus 11 | $(document).on('click', '.del', function(){ 12 | 13 | // variable 14 | var id = $(this).attr('idcontent'); 15 | var conf = confirm('Apa anda yakin ingin menghapus tipe bus ini?'); 16 | 17 | if(conf == true) 18 | { 19 | $.get(bu+'admin/type/type_delete/'+id, function(data) 20 | { 21 | alert(data); 22 | window.location.href = window.location.href; 23 | }); 24 | } 25 | 26 | }); -------------------------------------------------------------------------------- /assets/hadmin/js/b-table-cn.js: -------------------------------------------------------------------------------- 1 | /* 2 | * bootstrap-table - v1.11.0 - 2016-07-02 3 | * https://github.com/wenzhixin/bootstrap-table 4 | * Copyright (c) 2016 zhixin wen 5 | * Licensed MIT License 6 | */ 7 | !function(a){"use strict";a.fn.bootstrapTable.locales["zh-CN"]={formatLoadingMessage:function(){return"Sedang mengambil data, mohon tunggu sebentar..."},formatRecordsPerPage:function(a){return"Perhalaman "+a+" data"},formatShowingRows:function(a,b,c){return"Halaman "+a+" dari "+b+" data "+c+" arsip"},formatSearch:function(){return"Cari"},formatNoMatches:function(){return"Data tidak ada"},formatPaginationSwitch:function(){return"Tersembunyi / Muncul Halaman"},formatRefresh:function(){return"Segarkan"},formatToggle:function(){return"Dibalik"},formatColumns:function(){return"Baris"},formatExport:function(){return"Mengeluarkan Format"},formatClearFilters:function(){return"Data yang dicari gak ada"}},a.extend(a.fn.bootstrapTable.defaults,a.fn.bootstrapTable.locales["zh-CN"])}(jQuery); -------------------------------------------------------------------------------- /assets/hadmin/js/close.js: -------------------------------------------------------------------------------- 1 | $('.close-jqContent').on('click', function(){ 2 | 3 | $('#jqContent').slideUp('400'); 4 | $('#jqContent').html(''); 5 | 6 | }); -------------------------------------------------------------------------------- /assets/hadmin/js/data/seat_data.js: -------------------------------------------------------------------------------- 1 | $('.datalist').load(bu+'admin/seat/seat_data'); -------------------------------------------------------------------------------- /assets/hadmin/js/data/troom_data.js: -------------------------------------------------------------------------------- 1 | $('.datalist').load(bu+'cadmin/type_room_data'); -------------------------------------------------------------------------------- /assets/hadmin/js/hotel/hotel.js: -------------------------------------------------------------------------------- 1 | $('.cnw').on('click', function(){ 2 | 3 | $('#jqContent').load(bu+'admin/bus/bus_input'); 4 | $('#jqContent').slideDown('400'); 5 | 6 | }); 7 | 8 | -------------------------------------------------------------------------------- /assets/hadmin/js/save/page_save.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * @package Jquery, Ajax 4 | * @author Yulius 5 | * 6 | * menyimpan data halaman 7 | */ 8 | 9 | // menyimpan data halaman 10 | $('#inputForm').on('submit', function(){ 11 | 12 | // menetapkan variable 13 | var fd = new FormData(); 14 | 15 | // menetapkan variable untuk isi FormData 16 | var title = $('#title').val(); 17 | var desc = $('#texte').summernote('code'); 18 | 19 | // append data ke FormData 20 | fd.append('title', title); 21 | fd.append('desc', desc); 22 | 23 | // passing data ajax ke php 24 | $.ajax({ 25 | 26 | url:bu+'admin/page/page_save', 27 | type:'POST', 28 | data:fd, 29 | contentType:false, 30 | processData:false, 31 | success:function(data) 32 | { 33 | alert(data); 34 | window.location.href = window.location.href; 35 | } 36 | 37 | }); 38 | 39 | return false; 40 | 41 | }); 42 | 43 | // menyimpan data edit halaman 44 | $('#editForm').on('submit', function(){ 45 | 46 | // menetapkan variable 47 | var fd = new FormData(); 48 | 49 | // menetapkan variable untuk isi FormData 50 | var title = $('#title').val(); 51 | var desc = $('#texte').summernote('code'); 52 | var id = $('#idcontent').val(); 53 | var namef = $('#namef').val(); 54 | 55 | // append data ke FormData 56 | fd.append('title', title); 57 | fd.append('desc', desc); 58 | fd.append('id', id); 59 | fd.append('namef', namef); 60 | 61 | // passing data ajax ke php 62 | $.ajax({ 63 | 64 | url:bu+'admin/page/page_edit_save', 65 | type:'POST', 66 | data:fd, 67 | contentType:false, 68 | processData:false, 69 | success:function(data) 70 | { 71 | alert(data); 72 | window.location.href = window.location.href; 73 | } 74 | 75 | }); 76 | 77 | return false; 78 | 79 | 80 | }); 81 | 82 | -------------------------------------------------------------------------------- /assets/hadmin/js/save/seat_save.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | // menyimpan seat data 4 | $('#inputForm').on('submit', function(){ 5 | 6 | $.ajax({ 7 | 8 | url:bu+'admin/seat/seat_save', 9 | type:'POST', 10 | data:new FormData(this), 11 | contentType:false, 12 | processData:false, 13 | success:function(data) 14 | { 15 | alert(data); 16 | window.location.href = window.location.href; 17 | } 18 | 19 | }); 20 | 21 | return false; 22 | 23 | }); 24 | 25 | // menimpan edit seat data 26 | $('#editForm').on('submit', function(){ 27 | 28 | $.ajax({ 29 | 30 | url:bu+'admin/seat/seat_save_edit', 31 | type:'POST', 32 | data:new FormData(this), 33 | contentType:false, 34 | processData:false, 35 | success:function(data) 36 | { 37 | alert(data); 38 | window.location.href = window.location.href; 39 | } 40 | 41 | }); 42 | 43 | return false; 44 | 45 | }); 46 | 47 | 48 | -------------------------------------------------------------------------------- /assets/hadmin/js/save/type_save.js: -------------------------------------------------------------------------------- 1 | // menyimpan data tipe bus 2 | $('#inputForm').on('submit', function(){ 3 | 4 | $.ajax({ 5 | 6 | url:bu+'admin/type/type_save', 7 | type:'POST', 8 | data:new FormData(this), 9 | contentType:false, 10 | processData:false, 11 | success:function(data) 12 | { 13 | alert(data); 14 | } 15 | 16 | }); 17 | 18 | return false; 19 | 20 | }); 21 | 22 | // menyimpan data tipe bus 23 | $('#editForm').on('submit', function(){ 24 | 25 | $.ajax({ 26 | 27 | url:bu+'admin/type/save_type_edit', 28 | type:'POST', 29 | data:new FormData(this), 30 | contentType:false, 31 | processData:false, 32 | success:function(data) 33 | { 34 | alert(data); 35 | } 36 | 37 | }); 38 | 39 | return false; 40 | 41 | }); 42 | 43 | -------------------------------------------------------------------------------- /assets/hpublic/img_bank/tg1501078655.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rizkysetiawanel/Rental-Mobil-CI/b197901a316b3b2328acd6e07c3cda3e49fa33a5/assets/hpublic/img_bank/tg1501078655.png -------------------------------------------------------------------------------- /assets/hpublic/img_bank/tg1501154838.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rizkysetiawanel/Rental-Mobil-CI/b197901a316b3b2328acd6e07c3cda3e49fa33a5/assets/hpublic/img_bank/tg1501154838.png -------------------------------------------------------------------------------- /assets/hpublic/img_bus/tg1501599642.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rizkysetiawanel/Rental-Mobil-CI/b197901a316b3b2328acd6e07c3cda3e49fa33a5/assets/hpublic/img_bus/tg1501599642.png -------------------------------------------------------------------------------- /assets/hpublic/img_bus/tg1501599650.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rizkysetiawanel/Rental-Mobil-CI/b197901a316b3b2328acd6e07c3cda3e49fa33a5/assets/hpublic/img_bus/tg1501599650.png -------------------------------------------------------------------------------- /assets/hpublic/img_bus/tg1501599663.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rizkysetiawanel/Rental-Mobil-CI/b197901a316b3b2328acd6e07c3cda3e49fa33a5/assets/hpublic/img_bus/tg1501599663.png -------------------------------------------------------------------------------- /assets/hpublic/img_hotel/tg1512898236.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rizkysetiawanel/Rental-Mobil-CI/b197901a316b3b2328acd6e07c3cda3e49fa33a5/assets/hpublic/img_hotel/tg1512898236.png -------------------------------------------------------------------------------- /assets/hpublic/img_hotel/tg1512898260.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rizkysetiawanel/Rental-Mobil-CI/b197901a316b3b2328acd6e07c3cda3e49fa33a5/assets/hpublic/img_hotel/tg1512898260.png -------------------------------------------------------------------------------- /assets/hpublic/img_icon/braille.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rizkysetiawanel/Rental-Mobil-CI/b197901a316b3b2328acd6e07c3cda3e49fa33a5/assets/hpublic/img_icon/braille.png -------------------------------------------------------------------------------- /assets/hpublic/img_icon/digital.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rizkysetiawanel/Rental-Mobil-CI/b197901a316b3b2328acd6e07c3cda3e49fa33a5/assets/hpublic/img_icon/digital.png -------------------------------------------------------------------------------- /assets/hpublic/img_icon/elevator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rizkysetiawanel/Rental-Mobil-CI/b197901a316b3b2328acd6e07c3cda3e49fa33a5/assets/hpublic/img_icon/elevator.png -------------------------------------------------------------------------------- /assets/hpublic/img_icon/elevator1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rizkysetiawanel/Rental-Mobil-CI/b197901a316b3b2328acd6e07c3cda3e49fa33a5/assets/hpublic/img_icon/elevator1.png -------------------------------------------------------------------------------- /assets/hpublic/img_icon/lift.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rizkysetiawanel/Rental-Mobil-CI/b197901a316b3b2328acd6e07c3cda3e49fa33a5/assets/hpublic/img_icon/lift.png -------------------------------------------------------------------------------- /assets/hpublic/img_icon/maps-and-flags.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rizkysetiawanel/Rental-Mobil-CI/b197901a316b3b2328acd6e07c3cda3e49fa33a5/assets/hpublic/img_icon/maps-and-flags.png -------------------------------------------------------------------------------- /assets/hpublic/img_icon/payment-method.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rizkysetiawanel/Rental-Mobil-CI/b197901a316b3b2328acd6e07c3cda3e49fa33a5/assets/hpublic/img_icon/payment-method.png -------------------------------------------------------------------------------- /assets/hpublic/img_icon/tray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rizkysetiawanel/Rental-Mobil-CI/b197901a316b3b2328acd6e07c3cda3e49fa33a5/assets/hpublic/img_icon/tray.png -------------------------------------------------------------------------------- /assets/hpublic/js/auto_chinv.js: -------------------------------------------------------------------------------- 1 | function updateInv() { 2 | $.ajax({ 3 | url: bu+'cpublic/checkinv', //php 4 | data: "", //the data "caller=name1&&callee=name2" 5 | dataType: false, //data format 6 | success: function (data) { 7 | 8 | } 9 | }); 10 | } 11 | 12 | $(document).ready(updateInv); 13 | setInterval(updateInv, 10000); -------------------------------------------------------------------------------- /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; 78 | } 79 | 80 | } 81 | -------------------------------------------------------------------------------- /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/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/mssql/mssql_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 75 | } 76 | 77 | } 78 | -------------------------------------------------------------------------------- /system/database/drivers/oci8/oci8_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 66 | } 67 | 68 | } 69 | -------------------------------------------------------------------------------- /system/database/drivers/odbc/odbc_forge.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 61 | } 62 | 63 | } 64 | -------------------------------------------------------------------------------- /system/database/drivers/pdo/pdo_forge.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 61 | } 62 | 63 | } 64 | -------------------------------------------------------------------------------- /system/database/drivers/pdo/subdrivers/pdo_odbc_forge.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /system/database/drivers/sqlite/sqlite_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 59 | } 60 | 61 | } 62 | -------------------------------------------------------------------------------- /system/database/drivers/sqlite3/sqlite3_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 59 | } 60 | 61 | } 62 | -------------------------------------------------------------------------------- /system/database/drivers/sqlsrv/sqlsrv_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 75 | } 76 | 77 | } 78 | -------------------------------------------------------------------------------- /system/fonts/texb.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rizkysetiawanel/Rental-Mobil-CI/b197901a316b3b2328acd6e07c3cda3e49fa33a5/system/fonts/texb.ttf -------------------------------------------------------------------------------- /system/helpers/email_helper.php: -------------------------------------------------------------------------------- 1 | lang->line($line); 67 | 68 | if ($for !== '') 69 | { 70 | $line = ''; 71 | } 72 | 73 | return $line; 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /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/language/english/ftp_lang.php: -------------------------------------------------------------------------------- 1 |