├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ ├── dimens.xml │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ ├── drawable │ │ │ │ ├── lock.png │ │ │ │ ├── send.png │ │ │ │ ├── send_selected.png │ │ │ │ ├── list_row_bg.xml │ │ │ │ ├── list_row_bg_hover.xml │ │ │ │ ├── list_row_selector.xml │ │ │ │ └── send_button.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_call_black_24dp.png │ │ │ │ ├── ic_photo_white_24dp.png │ │ │ │ ├── ic_person_black_24dp.png │ │ │ │ ├── ic_vpn_key_black_24dp.png │ │ │ │ ├── ic_vpn_key_white_24dp.png │ │ │ │ ├── ic_drive_eta_white_24dp.png │ │ │ │ ├── ic_person_add_black_24dp.png │ │ │ │ ├── ic_person_add_white_24dp.png │ │ │ │ ├── ic_settings_white_24dp.png │ │ │ │ ├── ic_timelapse_white_24dp.png │ │ │ │ ├── ic_help_outline_black_24dp.png │ │ │ │ ├── ic_insert_photo_black_24dp.png │ │ │ │ ├── ic_directions_run_black_24dp.png │ │ │ │ ├── ic_notifications_white_24dp.png │ │ │ │ ├── ic_shopping_cart_white_24dp.png │ │ │ │ ├── ic_add_circle_outline_white_24dp.png │ │ │ │ └── ic_notifications_none_white_24dp.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_call_black_24dp.png │ │ │ │ ├── ic_photo_white_24dp.png │ │ │ │ ├── ic_person_black_24dp.png │ │ │ │ ├── ic_vpn_key_black_24dp.png │ │ │ │ ├── ic_vpn_key_white_24dp.png │ │ │ │ ├── ic_drive_eta_white_24dp.png │ │ │ │ ├── ic_person_add_black_24dp.png │ │ │ │ ├── ic_person_add_white_24dp.png │ │ │ │ ├── ic_settings_white_24dp.png │ │ │ │ ├── ic_timelapse_white_24dp.png │ │ │ │ ├── ic_help_outline_black_24dp.png │ │ │ │ ├── ic_insert_photo_black_24dp.png │ │ │ │ ├── ic_directions_run_black_24dp.png │ │ │ │ ├── ic_notifications_white_24dp.png │ │ │ │ ├── ic_shopping_cart_white_24dp.png │ │ │ │ ├── ic_add_circle_outline_white_24dp.png │ │ │ │ └── ic_notifications_none_white_24dp.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_call_black_24dp.png │ │ │ │ ├── ic_person_black_24dp.png │ │ │ │ ├── ic_photo_white_24dp.png │ │ │ │ ├── ic_drive_eta_white_24dp.png │ │ │ │ ├── ic_settings_white_24dp.png │ │ │ │ ├── ic_timelapse_white_24dp.png │ │ │ │ ├── ic_vpn_key_black_24dp.png │ │ │ │ ├── ic_vpn_key_white_24dp.png │ │ │ │ ├── ic_person_add_black_24dp.png │ │ │ │ ├── ic_person_add_white_24dp.png │ │ │ │ ├── ic_directions_run_black_24dp.png │ │ │ │ ├── ic_help_outline_black_24dp.png │ │ │ │ ├── ic_insert_photo_black_24dp.png │ │ │ │ ├── ic_notifications_white_24dp.png │ │ │ │ ├── ic_shopping_cart_white_24dp.png │ │ │ │ ├── ic_add_circle_outline_white_24dp.png │ │ │ │ └── ic_notifications_none_white_24dp.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_call_black_24dp.png │ │ │ │ ├── ic_photo_white_24dp.png │ │ │ │ ├── ic_person_black_24dp.png │ │ │ │ ├── ic_settings_white_24dp.png │ │ │ │ ├── ic_vpn_key_black_24dp.png │ │ │ │ ├── ic_vpn_key_white_24dp.png │ │ │ │ ├── ic_drive_eta_white_24dp.png │ │ │ │ ├── ic_person_add_black_24dp.png │ │ │ │ ├── ic_person_add_white_24dp.png │ │ │ │ ├── ic_timelapse_white_24dp.png │ │ │ │ ├── ic_help_outline_black_24dp.png │ │ │ │ ├── ic_insert_photo_black_24dp.png │ │ │ │ ├── ic_notifications_white_24dp.png │ │ │ │ ├── ic_shopping_cart_white_24dp.png │ │ │ │ ├── ic_directions_run_black_24dp.png │ │ │ │ ├── ic_add_circle_outline_white_24dp.png │ │ │ │ └── ic_notifications_none_white_24dp.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_call_black_24dp.png │ │ │ │ ├── ic_person_black_24dp.png │ │ │ │ ├── ic_photo_white_24dp.png │ │ │ │ ├── ic_vpn_key_black_24dp.png │ │ │ │ ├── ic_vpn_key_white_24dp.png │ │ │ │ ├── ic_drive_eta_white_24dp.png │ │ │ │ ├── ic_settings_white_24dp.png │ │ │ │ ├── ic_timelapse_white_24dp.png │ │ │ │ ├── ic_help_outline_black_24dp.png │ │ │ │ ├── ic_insert_photo_black_24dp.png │ │ │ │ ├── ic_person_add_black_24dp.png │ │ │ │ ├── ic_person_add_white_24dp.png │ │ │ │ ├── ic_directions_run_black_24dp.png │ │ │ │ ├── ic_notifications_white_24dp.png │ │ │ │ ├── ic_shopping_cart_white_24dp.png │ │ │ │ ├── ic_add_circle_outline_white_24dp.png │ │ │ │ └── ic_notifications_none_white_24dp.png │ │ │ ├── menu │ │ │ │ ├── mobil_menu.xml │ │ │ │ ├── popup_setting_menu.xml │ │ │ │ └── main_menu.xml │ │ │ ├── values-v21 │ │ │ │ └── styles.xml │ │ │ ├── values-w820dp │ │ │ │ └── dimens.xml │ │ │ └── layout │ │ │ │ ├── activity_order.xml │ │ │ │ ├── activity_status.xml │ │ │ │ ├── activity_rental.xml │ │ │ │ ├── activity_mobilku.xml │ │ │ │ ├── activity_main.xml │ │ │ │ ├── list_testimoni.xml │ │ │ │ ├── activity_testimoni.xml │ │ │ │ ├── activity_password_baru.xml │ │ │ │ ├── list_row.xml │ │ │ │ ├── list_rowku.xml │ │ │ │ └── activity_lupa.xml │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── gandhi │ │ │ └── rental │ │ │ ├── util │ │ │ └── LruBitmapCache.java │ │ │ ├── MyFirebaseInstanceIdService.java │ │ │ ├── model │ │ │ └── Testimonis.java │ │ │ ├── Constant.java │ │ │ ├── MyFirebaseMessagingService.java │ │ │ ├── app │ │ │ └── AppController.java │ │ │ └── adater │ │ │ ├── CustomListTestimoni.java │ │ │ ├── CustomListAdapter.java │ │ │ ├── CustomListAdapterku.java │ │ │ ├── CustomListRental.java │ │ │ └── CustomListOrder.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── gandhi │ │ │ └── rental │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── example │ │ └── gandhi │ │ └── rental │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro ├── google-services.json └── build.gradle ├── settings.gradle ├── API_rental ├── img │ ├── no_img.jpg │ ├── 20161128_170712.jpg │ ├── 20161128_170749.jpg │ ├── 20161129_013050.jpg │ ├── 20161129_230834.jpg │ ├── 20161130_001319.png │ ├── 20161130_030358.jpg │ ├── 20161130_030653.png │ ├── 20161130_030736.jpg │ ├── 20161206_012400.jpg │ └── 20161206_134843.jpg ├── system │ ├── fonts │ │ ├── texb.ttf │ │ └── index.html │ ├── .htaccess │ ├── index.html │ ├── core │ │ ├── index.html │ │ ├── compat │ │ │ └── index.html │ │ └── Model.php │ ├── helpers │ │ └── index.html │ ├── database │ │ ├── index.html │ │ └── drivers │ │ │ ├── index.html │ │ │ ├── ibase │ │ │ ├── index.html │ │ │ └── ibase_utility.php │ │ │ ├── mssql │ │ │ ├── index.html │ │ │ └── mssql_utility.php │ │ │ ├── mysql │ │ │ └── index.html │ │ │ ├── oci8 │ │ │ ├── index.html │ │ │ └── oci8_utility.php │ │ │ ├── odbc │ │ │ ├── index.html │ │ │ └── odbc_utility.php │ │ │ ├── pdo │ │ │ ├── index.html │ │ │ ├── subdrivers │ │ │ │ ├── index.html │ │ │ │ └── pdo_odbc_forge.php │ │ │ ├── pdo_forge.php │ │ │ └── pdo_utility.php │ │ │ ├── cubrid │ │ │ └── index.html │ │ │ ├── mysqli │ │ │ └── index.html │ │ │ ├── postgre │ │ │ ├── index.html │ │ │ └── postgre_utility.php │ │ │ ├── sqlite │ │ │ ├── index.html │ │ │ └── sqlite_utility.php │ │ │ ├── sqlite3 │ │ │ ├── index.html │ │ │ └── sqlite3_utility.php │ │ │ └── sqlsrv │ │ │ ├── index.html │ │ │ └── sqlsrv_utility.php │ ├── language │ │ ├── index.html │ │ └── english │ │ │ ├── index.html │ │ │ ├── number_lang.php │ │ │ ├── pagination_lang.php │ │ │ ├── migration_lang.php │ │ │ └── unit_test_lang.php │ └── libraries │ │ ├── index.html │ │ ├── Cache │ │ ├── index.html │ │ └── drivers │ │ │ └── index.html │ │ ├── Session │ │ ├── index.html │ │ ├── drivers │ │ │ └── index.html │ │ └── SessionHandlerInterface.php │ │ └── Javascript │ │ └── index.html ├── application │ ├── .htaccess │ ├── cache │ │ ├── .htaccess │ │ └── index.html │ ├── views │ │ ├── errors │ │ │ ├── cli │ │ │ │ ├── error_404.php │ │ │ │ ├── error_general.php │ │ │ │ ├── error_db.php │ │ │ │ ├── index.html │ │ │ │ ├── error_php.php │ │ │ │ └── error_exception.php │ │ │ ├── index.html │ │ │ └── html │ │ │ │ ├── index.html │ │ │ │ ├── error_php.php │ │ │ │ ├── error_exception.php │ │ │ │ ├── error_general.php │ │ │ │ ├── error_db.php │ │ │ │ └── error_404.php │ │ └── index.html │ ├── index.html │ ├── config │ │ ├── index.html │ │ ├── hooks.php │ │ ├── profiler.php │ │ ├── memcached.php │ │ ├── doctypes.php │ │ └── routes.php │ ├── core │ │ └── index.html │ ├── helpers │ │ └── index.html │ ├── hooks │ │ └── index.html │ ├── logs │ │ └── index.html │ ├── models │ │ ├── index.html │ │ ├── Model_api.php │ │ └── Model_gambar.php │ ├── controllers │ │ ├── index.html │ │ ├── api │ │ │ └── index.html │ │ ├── Welcome.php │ │ ├── Rest_server.php │ │ ├── Mobildelete.php │ │ ├── Updatetoken.php │ │ ├── Cekjaringan.php │ │ ├── Passwordupdate.php │ │ ├── Getperental.php │ │ ├── Cekuser.php │ │ ├── CekLogin.php │ │ ├── Login.php │ │ ├── Testimoni.php │ │ ├── Daftar.php │ │ ├── Mobilupdate.php │ │ ├── User.php │ │ ├── Mobil.php │ │ ├── Userupdate.php │ │ └── Orderstatus.php │ ├── language │ │ ├── index.html │ │ ├── dutch │ │ │ ├── index.html │ │ │ └── rest_controller_lang.php │ │ ├── english │ │ │ ├── index.html │ │ │ └── rest_controller_lang.php │ │ ├── french │ │ │ ├── index.html │ │ │ └── rest_controller_lang.php │ │ ├── german │ │ │ ├── index.html │ │ │ └── rest_controller_lang.php │ │ ├── romanian │ │ │ ├── index.html │ │ │ └── rest_controller_lang.php │ │ ├── spanish │ │ │ ├── index.html │ │ │ └── rest_controller_lang.php │ │ ├── turkish │ │ │ ├── index.html │ │ │ └── rest_controller_lang.php │ │ ├── bulgarian │ │ │ ├── index.html │ │ │ └── rest_controller_lang.php │ │ ├── serbian_cyr │ │ │ ├── index.html │ │ │ └── rest_controller_lang.php │ │ ├── serbian_lat │ │ │ ├── index.html │ │ │ └── rest_controller_lang.php │ │ ├── portuguese-brazilian │ │ │ ├── index.html │ │ │ └── rest_controller_lang.php │ │ ├── simplified-chinese │ │ │ ├── index.html │ │ │ └── rest_controller_lang.php │ │ ├── traditional-chinese │ │ │ ├── index.html │ │ │ └── rest_controller_lang.php │ │ └── greek │ │ │ └── rest_controller_lang.php │ ├── libraries │ │ └── index.html │ └── third_party │ │ └── index.html ├── .htaccess └── readme.rst ├── .idea ├── copyright │ └── profiles_settings.xml ├── dictionaries │ └── gandhi.xml ├── encodings.xml ├── modules.xml ├── runConfigurations.xml ├── gradle.xml └── compiler.xml ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── gradle.properties └── gradlew.bat /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /API_rental/img/no_img.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/API_rental/img/no_img.jpg -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Rental 3 | 4 | -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /.idea/dictionaries/gandhi.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /API_rental/system/fonts/texb.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/API_rental/system/fonts/texb.ttf -------------------------------------------------------------------------------- /API_rental/img/20161128_170712.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/API_rental/img/20161128_170712.jpg -------------------------------------------------------------------------------- /API_rental/img/20161128_170749.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/API_rental/img/20161128_170749.jpg -------------------------------------------------------------------------------- /API_rental/img/20161129_013050.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/API_rental/img/20161129_013050.jpg -------------------------------------------------------------------------------- /API_rental/img/20161129_230834.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/API_rental/img/20161129_230834.jpg -------------------------------------------------------------------------------- /API_rental/img/20161130_001319.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/API_rental/img/20161130_001319.png -------------------------------------------------------------------------------- /API_rental/img/20161130_030358.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/API_rental/img/20161130_030358.jpg -------------------------------------------------------------------------------- /API_rental/img/20161130_030653.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/API_rental/img/20161130_030653.png -------------------------------------------------------------------------------- /API_rental/img/20161130_030736.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/API_rental/img/20161130_030736.jpg -------------------------------------------------------------------------------- /API_rental/img/20161206_012400.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/API_rental/img/20161206_012400.jpg -------------------------------------------------------------------------------- /API_rental/img/20161206_134843.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/API_rental/img/20161206_134843.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/lock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/drawable/lock.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/send.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/drawable/send.png -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/drawable/send_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/drawable/send_selected.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /API_rental/system/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | Require all denied 3 | 4 | 5 | Deny from all 6 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_call_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-hdpi/ic_call_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_photo_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-hdpi/ic_photo_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_call_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-mdpi/ic_call_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_photo_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-mdpi/ic_photo_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_call_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xhdpi/ic_call_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_person_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-hdpi/ic_person_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_vpn_key_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-hdpi/ic_vpn_key_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_vpn_key_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-hdpi/ic_vpn_key_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_person_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-mdpi/ic_person_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_vpn_key_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-mdpi/ic_vpn_key_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_vpn_key_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-mdpi/ic_vpn_key_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_person_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xhdpi/ic_person_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_photo_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xhdpi/ic_photo_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_call_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxhdpi/ic_call_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_photo_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxhdpi/ic_photo_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_call_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxxhdpi/ic_call_black_24dp.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | -------------------------------------------------------------------------------- /API_rental/application/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | Require all denied 3 | 4 | 5 | Deny from all 6 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_drive_eta_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-hdpi/ic_drive_eta_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_person_add_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-hdpi/ic_person_add_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_person_add_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-hdpi/ic_person_add_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_settings_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-hdpi/ic_settings_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_timelapse_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-hdpi/ic_timelapse_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_drive_eta_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-mdpi/ic_drive_eta_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_person_add_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-mdpi/ic_person_add_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_person_add_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-mdpi/ic_person_add_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_settings_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-mdpi/ic_settings_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_timelapse_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-mdpi/ic_timelapse_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_drive_eta_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xhdpi/ic_drive_eta_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_settings_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xhdpi/ic_settings_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_timelapse_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xhdpi/ic_timelapse_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_vpn_key_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xhdpi/ic_vpn_key_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_vpn_key_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xhdpi/ic_vpn_key_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_person_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxhdpi/ic_person_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_settings_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxhdpi/ic_settings_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_vpn_key_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxhdpi/ic_vpn_key_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_vpn_key_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxhdpi/ic_vpn_key_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_person_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxxhdpi/ic_person_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_photo_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxxhdpi/ic_photo_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_vpn_key_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxxhdpi/ic_vpn_key_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_vpn_key_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxxhdpi/ic_vpn_key_white_24dp.png -------------------------------------------------------------------------------- /API_rental/application/cache/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | Require all denied 3 | 4 | 5 | Deny from all 6 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_help_outline_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-hdpi/ic_help_outline_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_insert_photo_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-hdpi/ic_insert_photo_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_help_outline_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-mdpi/ic_help_outline_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_insert_photo_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-mdpi/ic_insert_photo_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_person_add_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xhdpi/ic_person_add_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_person_add_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xhdpi/ic_person_add_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_drive_eta_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxhdpi/ic_drive_eta_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_person_add_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxhdpi/ic_person_add_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_person_add_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxhdpi/ic_person_add_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_timelapse_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxhdpi/ic_timelapse_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_drive_eta_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxxhdpi/ic_drive_eta_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_settings_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxxhdpi/ic_settings_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_timelapse_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxxhdpi/ic_timelapse_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_directions_run_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-hdpi/ic_directions_run_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_notifications_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-hdpi/ic_notifications_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_shopping_cart_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-hdpi/ic_shopping_cart_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_directions_run_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-mdpi/ic_directions_run_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_notifications_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-mdpi/ic_notifications_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_shopping_cart_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-mdpi/ic_shopping_cart_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_directions_run_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xhdpi/ic_directions_run_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_help_outline_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xhdpi/ic_help_outline_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_insert_photo_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xhdpi/ic_insert_photo_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_notifications_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xhdpi/ic_notifications_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_shopping_cart_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xhdpi/ic_shopping_cart_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_help_outline_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxhdpi/ic_help_outline_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_insert_photo_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxhdpi/ic_insert_photo_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_notifications_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxhdpi/ic_notifications_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_shopping_cart_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxhdpi/ic_shopping_cart_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_help_outline_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxxhdpi/ic_help_outline_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_insert_photo_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxxhdpi/ic_insert_photo_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_person_add_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxxhdpi/ic_person_add_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_person_add_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxxhdpi/ic_person_add_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_directions_run_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxhdpi/ic_directions_run_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_directions_run_black_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxxhdpi/ic_directions_run_black_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_notifications_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxxhdpi/ic_notifications_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_shopping_cart_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxxhdpi/ic_shopping_cart_white_24dp.png -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_add_circle_outline_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-hdpi/ic_add_circle_outline_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_notifications_none_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-hdpi/ic_notifications_none_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_add_circle_outline_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-mdpi/ic_add_circle_outline_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_notifications_none_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-mdpi/ic_notifications_none_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_add_circle_outline_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xhdpi/ic_add_circle_outline_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_notifications_none_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xhdpi/ic_notifications_none_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_add_circle_outline_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxhdpi/ic_add_circle_outline_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_notifications_none_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxhdpi/ic_notifications_none_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_add_circle_outline_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxxhdpi/ic_add_circle_outline_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_notifications_none_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gandhi-wibowo/rental_mobil/master/app/src/main/res/mipmap-xxxhdpi/ic_notifications_none_white_24dp.png -------------------------------------------------------------------------------- /API_rental/application/views/errors/cli/error_404.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /API_rental/application/controllers/Welcome.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

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

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Dec 28 10:00:20 PST 2015 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip 7 | -------------------------------------------------------------------------------- /API_rental/application/controllers/Rest_server.php: -------------------------------------------------------------------------------- 1 | load->helper('url'); 10 | 11 | $this->load->view('rest_server'); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/list_row_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 8 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/list_row_bg_hover.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/menu/mobil_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 17dp 6 | 15dip 7 | 13dip 8 | 14dip 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/list_row_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /API_rental/application/config/hooks.php: -------------------------------------------------------------------------------- 1 | $id, 6 | 'nama_user'=>$nama, 7 | 'hp_user'=>$hp, 8 | 'password_user'=>$password, 9 | 'alamat_user'=>$alamat 10 | ); 11 | $exe = $this->db->insert('tb_users',$data); 12 | if($exe){ 13 | return TRUE; 14 | } 15 | else{ 16 | return FALSE; 17 | } 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /app/src/test/java/com/example/gandhi/rental/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.example.gandhi.rental; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /API_rental/application/config/profiler.php: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 11 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/values-v21/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/send_button.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 9 | 12 | 13 | -------------------------------------------------------------------------------- /API_rental/application/config/memcached.php: -------------------------------------------------------------------------------- 1 | array( 15 | 'hostname' => '127.0.0.1', 16 | 'port' => '11211', 17 | 'weight' => '1', 18 | ), 19 | ); 20 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 16dp 6 | 16dp 7 | 264dp 8 | 16dp 9 | 14sp 10 | 72dp 11 | 12 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | -------------------------------------------------------------------------------- /API_rental/application/controllers/Mobildelete.php: -------------------------------------------------------------------------------- 1 | input->post('id'); 12 | $this->db->where('no_mobil', $id); 13 | $delete = $this->db->delete('tb_mobil'); 14 | if ($delete) { 15 | $this->response($delete, 201); 16 | } else { 17 | $this->response(array('status' => 'fail', 502)); 18 | } 19 | } 20 | 21 | public function index_get(){ 22 | 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /home/gandhi/Android/Sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /API_rental/application/models/Model_gambar.php: -------------------------------------------------------------------------------- 1 | $foto_id, 7 | 'id_content'=>$content, 8 | 'nama_foto'=>$namaFoto 9 | ); 10 | $exe = $this->db->insert('tb_foto',$data); 11 | if($exe){ 12 | return TRUE; 13 | } 14 | else{ 15 | return FALSE; 16 | } 17 | } 18 | 19 | function UpdateFoto($id,$namaFoto){ 20 | $data = array( 21 | 'nama_foto'=>$namaFoto 22 | ); 23 | $this->db->where('id_foto',$id); 24 | if($this->db->update('tb_foto',$data)){ 25 | return TRUE; 26 | } 27 | else{ 28 | return FALSE; 29 | } 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /API_rental/application/controllers/Updatetoken.php: -------------------------------------------------------------------------------- 1 | input->post('id_user'); 12 | $token = $this->input->post('token'); 13 | $data = array('token_user'=>$token); 14 | $this->db->where(array('id_user'=>$idUser)); 15 | $update = $this->db->update('tb_users', $data); 16 | if ($update) { 17 | $this->response($data, 200); 18 | } else { 19 | $this->response(array('status' => 'fail', 502)); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /API_rental/application/views/errors/cli/error_php.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | A PHP Error was encountered 6 | 7 | Severity: 8 | Message: 9 | Filename: 10 | Line Number: 11 | 12 | 13 | 14 | Backtrace: 15 | 16 | 17 | 18 | File: 19 | Line: 20 | Function: 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /API_rental/application/controllers/Cekjaringan.php: -------------------------------------------------------------------------------- 1 | input->post('cek'); 12 | if(!empty($cek)){ 13 | $this->response(array('status'=>'ok'),201); 14 | } 15 | 16 | } 17 | function index_put(){ // update data 18 | $id = $this->put('id'); 19 | 20 | } 21 | function index_get(){ // tampilkan data 22 | $id = $this->get('id'); 23 | 24 | } 25 | function index_delete(){ // hapus data 26 | $id = $this->delete('id'); 27 | 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /API_rental/application/controllers/Passwordupdate.php: -------------------------------------------------------------------------------- 1 | input->post('id_user'); 12 | $password = $this->input->post('password'); 13 | $data = array('password_user'=>sha1($password)); 14 | $this->db->where('id_user', $idUser); 15 | $update = $this->db->update('tb_users', $data); 16 | if ($update) { 17 | $this->response($data, 200); 18 | } else { 19 | $this->response(array('status' => 'fail', 502)); 20 | } 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /API_rental/application/controllers/Getperental.php: -------------------------------------------------------------------------------- 1 | get('id_mobil'); 14 | $query = "SELECT u.nama_user,u.alamat_user,u.hp_user 15 | FROM tb_users AS u, tb_mobil AS m 16 | WHERE m.no_mobil = '$idMobil' 17 | AND m.id_user = u.id_user"; 18 | $exe = $this->db->query($query)->result(); 19 | $this->response($exe,200); 20 | } 21 | function index_put() { 22 | } 23 | 24 | function index_delete() { 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | -------------------------------------------------------------------------------- /API_rental/application/views/errors/cli/error_exception.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | An uncaught Exception was encountered 6 | 7 | Type: 8 | Message: 9 | Filename: getFile(); ?> 10 | Line Number: getLine(); ?> 11 | 12 | 13 | 14 | Backtrace: 15 | getTrace() as $error): ?> 16 | 17 | 18 | File: 19 | Line: 20 | Function: 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /API_rental/application/language/simplified-chinese/rest_controller_lang.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | #666666 7 | #000000 8 | #d9d9d9 9 | #ffffff 10 | #ffffff 11 | #ebeef0 12 | #ebeef0 13 | #000000 14 | #2b2b2b 15 | #FFFFFF 16 | #FFFFFF 17 | #000000 18 | 19 | -------------------------------------------------------------------------------- /API_rental/application/language/traditional-chinese/rest_controller_lang.php: -------------------------------------------------------------------------------- 1 | Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() throws Exception { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.example.gandhi.rental", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /API_rental/.htaccess: -------------------------------------------------------------------------------- 1 | RewriteEngine On 2 | RewriteCond %{REQUEST_URI} ^/system.* 3 | RewriteRule ^(.*)$ index.php?/$1 [L] 4 | RewriteCond %{REQUEST_FILENAME} !-f 5 | RewriteCond %{REQUEST_FILENAME} !-d 6 | RewriteRule ^(.+)$ index.php?/$1 [L] 7 | 8 | RewriteCond $1 !^(index\.php|images|js|css|favicon\.png) 9 | RewriteCond %{REQUEST_FILENAME} !-f 10 | RewriteCond %{REQUEST_FILENAME} !-d 11 | RewriteRule ^(.*)$ ./index.php?/$1 [L] 12 | 13 | 14 | 15 | RewriteEngine On 16 | 17 | RewriteCond %{REQUEST_URI} ^system.* 18 | RewriteRule ^(.*)$ /index.php?/$1 [L] 19 | 20 | RewriteCond %{REQUEST_URI} ^application.* 21 | RewriteRule ^(.*)$ /index.php?/$1 [L] 22 | 23 | RewriteCond %{REQUEST_URI} ^asset.* 24 | RewriteRule ^(.*)$ /index.php?/$1 [L] 25 | 26 | RewriteCond %{REQUEST_FILENAME} !-f 27 | RewriteCond %{REQUEST_FILENAME} !-d 28 | RewriteRule ^(.*)$ index.php/$1 [L] 29 | 30 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_order.xml: -------------------------------------------------------------------------------- 1 | 2 | 12 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_status.xml: -------------------------------------------------------------------------------- 1 | 2 | 12 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 14 | 15 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /API_rental/application/controllers/Cekuser.php: -------------------------------------------------------------------------------- 1 | input->post('hp'); 12 | $email = $this->input->post('email'); 13 | $this->db->where(array('hp_user'=> $hp,'email_user'=>$email)); 14 | $user = $this->db->get('tb_users'); 15 | if($user->num_rows() > 0){ 16 | $this->response($user->result(),200); 17 | } 18 | else{ 19 | $this->response($user->result(),200); 20 | } 21 | } 22 | function index_put(){ // update data 23 | $id = $this->put('id'); 24 | 25 | } 26 | function index_get(){ // tampilkan data 27 | $id = $this->get('id'); 28 | 29 | } 30 | function index_delete(){ // hapus data 31 | $id = $this->delete('id'); 32 | 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /API_rental/application/controllers/CekLogin.php: -------------------------------------------------------------------------------- 1 | input->post('hp'); 12 | $pwd = $this->input->post('password'); 13 | $this->db->where(array('hp_user'=> $hp,'password_user'=>$pwd)); 14 | $user = $this->db->get('tb_users'); 15 | if($user->num_rows() > 0){ 16 | $this->response($user->result(),200); 17 | } 18 | else{ 19 | $this->response($user->result(),200); 20 | } 21 | } 22 | function index_put(){ // update data 23 | $id = $this->put('id'); 24 | 25 | } 26 | function index_get(){ // tampilkan data 27 | $id = $this->get('id'); 28 | 29 | } 30 | function index_delete(){ // hapus data 31 | $id = $this->delete('id'); 32 | 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /API_rental/application/controllers/Login.php: -------------------------------------------------------------------------------- 1 | input->post('hp'); 12 | $pwd = sha1($this->input->post('password')); 13 | $this->db->where(array('email_user'=> $hp,'password_user'=>$pwd)); 14 | $user = $this->db->get('tb_users'); 15 | if($user->num_rows() > 0){ 16 | $this->response($user->result(),200); 17 | } 18 | else{ 19 | $this->response($user->result(),200); 20 | } 21 | } 22 | function index_put(){ // update data 23 | $id = $this->put('id'); 24 | 25 | } 26 | function index_get(){ // tampilkan data 27 | $id = $this->get('id'); 28 | 29 | } 30 | function index_delete(){ // hapus data 31 | $id = $this->delete('id'); 32 | 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_rental.xml: -------------------------------------------------------------------------------- 1 | 2 | 12 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /API_rental/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 |
-------------------------------------------------------------------------------- /API_rental/application/language/english/rest_controller_lang.php: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /API_rental/application/language/romanian/rest_controller_lang.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 |
-------------------------------------------------------------------------------- /API_rental/application/language/serbian_cyr/rest_controller_lang.php: -------------------------------------------------------------------------------- 1 | implements 9 | ImageCache { 10 | public static int getDefaultLruCacheSize() { 11 | final int maxMemory = (int) (Runtime.getRuntime().maxMemory() / 1024); 12 | final int cacheSize = maxMemory / 8; 13 | 14 | return cacheSize; 15 | } 16 | 17 | public LruBitmapCache() { 18 | this(getDefaultLruCacheSize()); 19 | } 20 | 21 | public LruBitmapCache(int sizeInKiloBytes) { 22 | super(sizeInKiloBytes); 23 | } 24 | 25 | @Override 26 | protected int sizeOf(String key, Bitmap value) { 27 | return value.getRowBytes() * value.getHeight() / 1024; 28 | } 29 | 30 | @Override 31 | public Bitmap getBitmap(String url) { 32 | return get(url); 33 | } 34 | 35 | @Override 36 | public void putBitmap(String url, Bitmap bitmap) { 37 | put(url, bitmap); 38 | } 39 | } -------------------------------------------------------------------------------- /API_rental/application/language/serbian_lat/rest_controller_lang.php: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 18 | 19 | 27 | 28 | -------------------------------------------------------------------------------- /app/src/main/res/menu/main_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | 14 | 15 | 19 | 20 | 24 | 25 | 29 | 30 | 34 | -------------------------------------------------------------------------------- /API_rental/application/views/errors/html/error_general.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Error 8 | 57 | 58 | 59 |
60 |

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

61 | 62 |
63 | 64 | -------------------------------------------------------------------------------- /API_rental/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 | -------------------------------------------------------------------------------- /API_rental/application/controllers/Testimoni.php: -------------------------------------------------------------------------------- 1 | input->post('id_mobil'); 13 | $idUser = $this->input->post('id_user'); 14 | $query = $this->db->query("SELECT `nama_user` FROM `tb_users` WHERE id_user = '$idUser'"); 15 | $row = $query->row(); 16 | $nama = $row->nama_user; 17 | $pesan = $this->input->post('pesan'); 18 | $tanggal = tanggal(); 19 | $data = array( 20 | 'id_testimoni'=>$id, 21 | 'id_mobil'=>$idMobil, 22 | 'nama_testimoni'=>$nama, 23 | 'tgl_testimoni'=>$tanggal, 24 | 'pesan_testimoni'=>$pesan 25 | ); 26 | 27 | $insert = $this->db->insert('tb_testimoni', $data); 28 | if ($insert) { 29 | $this->response($data, 200); 30 | } else { 31 | $this->response(array('status' => 'fail', 502)); 32 | } 33 | } 34 | 35 | public function index_get(){ 36 | $id = $this->get('id_mobil'); 37 | if($id != ''){ 38 | $this->db->where('id_mobil',$id); 39 | $testimoni = $this->db->get('tb_testimoni')->result(); 40 | } 41 | else { 42 | $testimoni = array("status"=>"fail",501); 43 | } 44 | 45 | $this->response($testimoni, 200); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/gandhi/rental/model/Testimonis.java: -------------------------------------------------------------------------------- 1 | package com.example.gandhi.rental.model; 2 | 3 | public class Testimonis { 4 | 5 | public Testimonis() { 6 | } 7 | 8 | 9 | private String idTestimoni,namaTestimoni,tglTestimoni,isiTestimoni; 10 | 11 | public String getIdTestimoni(){ 12 | return idTestimoni; 13 | } 14 | public void setIdTestimoni(String idTestimoni){ 15 | this.idTestimoni = idTestimoni; 16 | } 17 | 18 | public String getNamaTestimoni(){ 19 | return namaTestimoni; 20 | } 21 | public void setNamaTestimoni(String namaTestimoni){ 22 | this.namaTestimoni = namaTestimoni; 23 | } 24 | public String getTglTestimoni(){ 25 | return tglTestimoni; 26 | } 27 | public void setTglTestimoni(String tglTestimoni){ 28 | this.tglTestimoni = tglTestimoni; 29 | } 30 | public String getIsiTestimoni(){ 31 | return isiTestimoni; 32 | } 33 | public void setIsiTestimoni(String isiTestimoni){ 34 | this.isiTestimoni = isiTestimoni; 35 | } 36 | 37 | 38 | 39 | 40 | public Testimonis(String idTestimoni , 41 | String namaTestimoni , 42 | String tglTestimoni , 43 | String isiTestimoni ) { 44 | this.idTestimoni = idTestimoni; 45 | this.namaTestimoni = namaTestimoni; 46 | this.tglTestimoni = tglTestimoni; 47 | this.isiTestimoni = isiTestimoni; 48 | } 49 | 50 | 51 | 52 | } 53 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/gandhi/rental/Constant.java: -------------------------------------------------------------------------------- 1 | package com.example.gandhi.rental; 2 | 3 | /** 4 | * Created by gandhi on 11/20/16. 5 | */ 6 | 7 | public class Constant { 8 | 9 | public static final String url_base = "http://kuliketik.id/galoeng/"; 10 | public static final String url_login = url_base + "Login/" ; 11 | public static final String url_daftar = url_base + "Daftar/" ; 12 | public static final String url_order = url_base + "Order/" ; 13 | public static final String url_ceklogin = url_base + "CekLogin/" ; 14 | public static final String url_mobil= url_base + "Mobil/" ; 15 | public static final String url_mobilupdate= url_base + "Mobilupdate/" ; 16 | public static final String url_mobildelete= url_base + "Mobildelete/" ; 17 | public static final String url_image = url_base + "img/" ; 18 | public static final String url_testi = url_base + "Testimoni/" ; 19 | public static final String url_orderstatus = url_base + "Orderstatus/"; 20 | public static final String url_user = url_base + "User/"; 21 | public static final String url_userUpdate = url_base + "/Userupdate/"; 22 | public static final String url_getPerental = url_base + "/Getperental/"; 23 | public static final String url_cekuser = url_base + "/Cekuser/"; 24 | public static final String url_passupdate = url_base + "/Passwordupdate/"; 25 | public static final String url_tokenupdate = url_base + "/Updatetoken/"; 26 | public static final String url_cekjaringan = url_base + "/Cekjaringan/"; 27 | 28 | 29 | 30 | 31 | 32 | 33 | } 34 | -------------------------------------------------------------------------------- /app/src/main/res/layout/list_testimoni.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 21 | 29 | 30 | 39 | 40 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 24 5 | buildToolsVersion "24.0.2" 6 | defaultConfig { 7 | applicationId "com.example.gandhi.rental" 8 | minSdkVersion 15 9 | targetSdkVersion 24 10 | versionCode 1 11 | versionName "1.0" 12 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 13 | 14 | multiDexEnabled true 15 | } 16 | buildTypes { 17 | release { 18 | minifyEnabled false 19 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 20 | } 21 | } 22 | } 23 | 24 | dependencies { 25 | compile fileTree(dir: 'libs', include: ['*.jar']) 26 | androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { 27 | exclude group: 'com.android.support', module: 'support-annotations' 28 | }) 29 | compile 'com.google.android.gms:play-services:10.0.1' 30 | compile 'com.google.firebase:firebase-core:10.0.1' 31 | compile 'com.google.firebase:firebase-messaging:10.0.1' 32 | compile 'com.android.support:appcompat-v7:24.0.0' 33 | compile 'com.android.volley:volley:1.0.0' 34 | compile "com.android.support:support-core-utils:24.2.0" 35 | compile 'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2' 36 | compile 'com.github.bumptech.glide:glide:3.7.0' 37 | compile 'com.android.support:design:24.0.0' 38 | compile 'com.jakewharton:butterknife:6.1.0' 39 | compile 'net.gotev:uploadservice:2.1' 40 | compile 'com.android.support:cardview-v7:+' 41 | testCompile 'junit:junit:4.12' 42 | 43 | } 44 | apply plugin: 'com.google.gms.google-services' -------------------------------------------------------------------------------- /API_rental/application/controllers/Daftar.php: -------------------------------------------------------------------------------- 1 | input->post('hp'); 12 | $pwd = sha1($this->input->post('password')); 13 | $nama = $this->input->post('nama'); 14 | $alamat = $this->input->post('alamat'); 15 | $email = $this->input->post('email'); 16 | $id = Code('USR',LastCode('tb_users','id_user'),11,3); 17 | 18 | if(cekHp($hp)){ 19 | // kalau belum terdaftar 20 | $data = array( 21 | 'id_user'=>$id, 22 | 'nama_user'=>$nama, 23 | 'hp_user'=>$hp, 24 | 'password_user'=>$pwd, 25 | 'alamat_user'=>$alamat, 26 | 'email_user'=>$email 27 | ); 28 | $insert = $this->db->insert('tb_users', $data); 29 | if ($insert) { 30 | $this->response($data, 200); 31 | } else { 32 | $this->response(array('status' => 'fail', 502)); 33 | } 34 | } 35 | else{ 36 | $this->response(array('status' => 'Sudah terdaftar', 502)); 37 | } 38 | } 39 | function index_put(){ // update data 40 | $id = $this->put('id'); 41 | 42 | } 43 | function index_get(){ // tampilkan data 44 | $id = $this->get('id'); 45 | if($id == ""){ 46 | $user = $this->db->get('tb_users')->result(); 47 | } 48 | else{ 49 | $this->db->where("id_user",$id); 50 | $user = $this->db->get('tb_users')->result(); 51 | } 52 | $this->response($user,200); 53 | } 54 | function index_delete(){ // hapus data 55 | $id = $this->delete('id'); 56 | 57 | } 58 | 59 | } 60 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/gandhi/rental/MyFirebaseMessagingService.java: -------------------------------------------------------------------------------- 1 | package com.example.gandhi.rental; 2 | 3 | import android.app.NotificationManager; 4 | import android.app.PendingIntent; 5 | import android.content.Context; 6 | import android.content.Intent; 7 | import android.media.RingtoneManager; 8 | import android.net.Uri; 9 | import android.support.v4.app.NotificationCompat; 10 | 11 | import com.google.firebase.messaging.FirebaseMessagingService; 12 | import com.google.firebase.messaging.RemoteMessage; 13 | 14 | /** 15 | * Created by gandhi on 12/4/16. 16 | */ 17 | 18 | public class MyFirebaseMessagingService extends FirebaseMessagingService { 19 | 20 | 21 | @Override 22 | public void onMessageReceived(RemoteMessage remoteMessage) { 23 | String onClick = remoteMessage.getNotification().getClickAction(); 24 | Intent intent = new Intent(onClick); 25 | intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); 26 | PendingIntent pendingIntent = PendingIntent.getActivity(this,0,intent,PendingIntent.FLAG_ONE_SHOT); 27 | 28 | Uri defaultSoundUri= RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION); 29 | NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(this) 30 | .setSmallIcon(R.mipmap.ic_launcher) 31 | .setContentTitle(remoteMessage.getNotification().getTitle()) 32 | .setContentText(remoteMessage.getNotification().getBody()) 33 | .setAutoCancel(true) 34 | .setSound(defaultSoundUri) 35 | .setContentIntent(pendingIntent); 36 | NotificationManager notificationManager =(NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); 37 | notificationManager.notify(0, notificationBuilder.build()); 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /API_rental/application/controllers/Mobilupdate.php: -------------------------------------------------------------------------------- 1 | input->post('no_mobil'); 12 | $id_user = $this->input->post('id_user'); 13 | $warna = $this->input->post('warna'); 14 | $nama_mobil = $this->input->post('nama_mobil'); 15 | $harga_mobil = $this->input->post('harga_mobil'); 16 | $ket_mobil = $this->input->post('ket'); 17 | // terima data 18 | $image = $this->input->post('images'); 19 | $name = uplodGambar(); 20 | if($name == "no_img.jpg"){ 21 | // kalo gk ada gambarnya 22 | $data = array( 23 | 'nama_mobil'=>$nama_mobil, 24 | 'warna_mobil'=>$warna, 25 | 'harga_mobil'=>$harga_mobil, 26 | 'keterangan_mobil'=>$ket_mobil 27 | ); 28 | $this->db->where('no_mobil', $no_mobil); 29 | $update = $this->db->update('tb_mobil', $data); 30 | if ($update) { 31 | $this->response($data, 200); 32 | } else { 33 | $this->response(array('status' => 'fail', 502)); 34 | } 35 | } 36 | else{ 37 | $data = array( 38 | 'nama_mobil'=>$nama_mobil, 39 | 'warna_mobil'=>$warna, 40 | 'harga_mobil'=>$harga_mobil, 41 | 'keterangan_mobil'=>$ket_mobil, 42 | 'gambar_mobil'=>$name 43 | ); 44 | $this->db->where('no_mobil', $no_mobil); 45 | $update = $this->db->update('tb_mobil', $data); 46 | if ($update) { 47 | $this->response($data, 200); 48 | } else { 49 | $this->response(array('status' => 'fail', 502)); 50 | } 51 | } 52 | } 53 | 54 | } 55 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/gandhi/rental/app/AppController.java: -------------------------------------------------------------------------------- 1 | package com.example.gandhi.rental.app; 2 | 3 | import android.app.Application; 4 | import android.text.TextUtils; 5 | 6 | import com.android.volley.Request; 7 | import com.android.volley.RequestQueue; 8 | import com.android.volley.toolbox.ImageLoader; 9 | import com.android.volley.toolbox.Volley; 10 | import com.example.gandhi.rental.util.LruBitmapCache; 11 | 12 | public class AppController extends Application { 13 | 14 | public static final String TAG = AppController.class.getSimpleName(); 15 | 16 | private RequestQueue mRequestQueue; 17 | private ImageLoader mImageLoader; 18 | 19 | private static AppController mInstance; 20 | 21 | @Override 22 | public void onCreate() { 23 | super.onCreate(); 24 | mInstance = this; 25 | } 26 | 27 | public static synchronized AppController getInstance() { 28 | return mInstance; 29 | } 30 | 31 | public RequestQueue getRequestQueue() { 32 | if (mRequestQueue == null) { 33 | mRequestQueue = Volley.newRequestQueue(getApplicationContext()); 34 | } 35 | 36 | return mRequestQueue; 37 | } 38 | 39 | public ImageLoader getImageLoader() { 40 | getRequestQueue(); 41 | if (mImageLoader == null) { 42 | mImageLoader = new ImageLoader(this.mRequestQueue, 43 | new LruBitmapCache()); 44 | } 45 | return this.mImageLoader; 46 | } 47 | 48 | public void addToRequestQueue(Request req, String tag) { 49 | req.setTag(TextUtils.isEmpty(tag) ? TAG : tag); 50 | getRequestQueue().add(req); 51 | } 52 | 53 | public void addToRequestQueue(Request req) { 54 | req.setTag(TAG); 55 | getRequestQueue().add(req); 56 | } 57 | 58 | public void cancelPendingRequests(Object tag) { 59 | if (mRequestQueue != null) { 60 | mRequestQueue.cancelAll(tag); 61 | } 62 | } 63 | } -------------------------------------------------------------------------------- /app/src/main/java/com/example/gandhi/rental/adater/CustomListTestimoni.java: -------------------------------------------------------------------------------- 1 | package com.example.gandhi.rental.adater; 2 | 3 | import android.app.Activity; 4 | import android.content.Context; 5 | import android.view.LayoutInflater; 6 | import android.view.View; 7 | import android.view.ViewGroup; 8 | import android.widget.BaseAdapter; 9 | import android.widget.TextView; 10 | 11 | import com.example.gandhi.rental.R; 12 | import com.example.gandhi.rental.model.Testimonis; 13 | 14 | import java.util.List; 15 | 16 | public class CustomListTestimoni extends BaseAdapter { 17 | // nampilin testimoni 18 | private Activity activity; 19 | private LayoutInflater inflater; 20 | private List testimonisItems; 21 | 22 | public CustomListTestimoni(Activity activity, List testimonisItems) { 23 | this.activity = activity; 24 | this.testimonisItems = testimonisItems; 25 | } 26 | 27 | @Override 28 | public int getCount() { 29 | return testimonisItems.size(); 30 | } 31 | 32 | @Override 33 | public Object getItem(int location) { 34 | return testimonisItems.get(location); 35 | } 36 | 37 | @Override 38 | public long getItemId(int position) { 39 | return position; 40 | } 41 | 42 | @Override 43 | public View getView(int position, View convertView, ViewGroup parent) { 44 | 45 | if (inflater == null) inflater = (LayoutInflater) activity.getSystemService(Context.LAYOUT_INFLATER_SERVICE); 46 | if (convertView == null) convertView = inflater.inflate(R.layout.list_testimoni, null); 47 | TextView namaTestimoni = (TextView) convertView.findViewById(R.id.namaPenulis); 48 | TextView tanggalTestimoni = (TextView) convertView.findViewById(R.id.tglPenulis); 49 | TextView isiTestimoni = (TextView) convertView.findViewById(R.id.isiPenulis); 50 | 51 | Testimonis t = testimonisItems.get(position); 52 | 53 | namaTestimoni.setText(t.getNamaTestimoni()); 54 | tanggalTestimoni.setText(t.getTglTestimoni()); 55 | isiTestimoni.setText(t.getIsiTestimoni()); 56 | return convertView; 57 | } 58 | 59 | 60 | } -------------------------------------------------------------------------------- /API_rental/system/language/english/number_lang.php: -------------------------------------------------------------------------------- 1 | 2 | 9 | 18 | 19 | 28 | 29 | 39 | 40 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /API_rental/system/language/english/pagination_lang.php: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 19 | 20 | 28 | 29 | 30 | 31 | 36 | 37 | 42 | 43 | 44 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /API_rental/application/controllers/User.php: -------------------------------------------------------------------------------- 1 | input->post('nama'); 12 | $hp = $this->input->post('hp'); 13 | $alamat = $this->input->post('alamat'); 14 | $password = Password($this->input->post('password')); 15 | $id = Code('USR',LastCode('tb_users','id_user'),11,3); 16 | $data = array( 17 | 'id_user'=>$id, 18 | 'nama_user'=>$nama, 19 | 'hp_user'=>$hp, 20 | 'password_user'=>$password, 21 | 'alamat_user'=>$alamat 22 | ); 23 | $insert = $this->db->insert('tb_users', $data); 24 | if ($insert) { 25 | $this->response($data, 200); 26 | } else { 27 | $this->response(array('status' => 'fail', 502)); 28 | } 29 | } 30 | function index_get() { 31 | $nim = $this->get('id_user'); 32 | if ($nim == '') { 33 | $mahasiswa = $this->db->get('tb_users')->result(); 34 | } else { 35 | $this->db->where('id_user', $nim); 36 | $mahasiswa = $this->db->get('tb_users')->result(); 37 | } 38 | $this->response($mahasiswa, 200); 39 | } 40 | function index_put() { 41 | $nama = $this->put('nama'); 42 | $hp = $this->put('hp'); 43 | $alamat = $this->put('alamat'); 44 | $password = Password($this->put('password')); 45 | $id = $this->put('id_user'); 46 | $data = array( 47 | 'nama_user'=>$nama, 48 | 'hp_user'=>$hp, 49 | 'password_user'=>$password, 50 | 'alamat_user'=>$alamat 51 | ); 52 | $this->db->where('id_user', $id); 53 | $update = $this->db->update('tb_users', $data); 54 | if ($update) { 55 | $this->response($data, 200); 56 | } else { 57 | $this->response(array('status' => 'fail', 502)); 58 | } 59 | } 60 | 61 | function index_delete() { 62 | $nim = $this->delete('id_user'); 63 | $this->db->where('id_user', $nim); 64 | $delete = $this->db->delete('tb_users'); 65 | if ($delete) { 66 | $this->response(array('status' => 'success'), 201); 67 | } else { 68 | $this->response(array('status' => 'fail', 502)); 69 | } 70 | } 71 | 72 | } 73 | -------------------------------------------------------------------------------- /API_rental/application/controllers/Mobil.php: -------------------------------------------------------------------------------- 1 | input->post('no_mobil')); 12 | $id_user = $this->input->post('id_user'); 13 | $warna = $this->input->post('warna'); 14 | $nama_mobil = $this->input->post('nama_mobil'); 15 | $harga_mobil = $this->input->post('harga_mobil'); 16 | $ket_mobil = $this->input->post('ket'); 17 | // terima data 18 | $image = $this->input->post('images'); 19 | $name = uplodGambar(); 20 | $data = array( 21 | 'no_mobil'=>$no_mobil, 22 | 'id_user'=>$id_user, 23 | 'nama_mobil'=>$nama_mobil, 24 | 'warna_mobil'=>$warna, 25 | 'harga_mobil'=>$harga_mobil, 26 | 'keterangan_mobil'=>$ket_mobil, 27 | 'status_mobil'=>'standby', 28 | 'gambar_mobil'=>$name 29 | ); 30 | 31 | $insert = $this->db->insert('tb_mobil', $data); 32 | if ($insert) { 33 | $this->response($data, 200); 34 | } else { 35 | $this->response(array('status' => 'fail', 502)); 36 | } 37 | } 38 | function index_put(){ // update data 39 | $id = $this->put('id'); 40 | } 41 | function index_get(){ // tampilkan data 42 | $id = $this->get('id'); 43 | $cari = $this->get("cari"); 44 | if($cari == null){ 45 | if($id == null){ 46 | $this->db->where(array('status_mobil'=>'standby')); 47 | $mobil = $this->db->get('tb_mobil')->result(); 48 | } 49 | else{ 50 | $this->db->where(array('status_mobil'=>'standby','id_user'=>$id)); 51 | $mobil = $this->db->get('tb_mobil')->result(); 52 | } 53 | } 54 | else{ 55 | $this->db->or_like(array('no_mobil' =>$cari,'nama_mobil' =>$cari,'harga_mobil' =>$cari)); 56 | $this->db->where(array('status_mobil'=>'standby')); 57 | $this->db->order_by("harga_mobil", "ASC"); 58 | $mobil = $this->db->get('tb_mobil')->result(); 59 | // cari di database yang ada kata kunci carinya 60 | } 61 | $this->response($mobil, 200); 62 | 63 | } 64 | 65 | public function index_delete(){ 66 | 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /API_rental/application/controllers/Userupdate.php: -------------------------------------------------------------------------------- 1 | input->post("ubahPwd"); 12 | $updProfil = $this->input->post("ubahProfil"); 13 | $nama = $this->input->post('nama'); 14 | $hp = $this->input->post('hp'); 15 | $alamat = $this->input->post('alamat'); 16 | 17 | if(!empty($updProfil)){ 18 | $data = array( 19 | 'nama_user'=>$nama, 20 | 'hp_user'=>$hp, 21 | 'alamat_user'=>$alamat 22 | ); 23 | $this->db->where(array('id_user' => $updProfil)); 24 | $update = $this->db->update('tb_users', $data); 25 | if ($update) { 26 | $this->response($data, 200); 27 | } else { 28 | $this->response(array('status' => 'fail', 502)); 29 | } 30 | } 31 | else if(!empty($updPwd)){ 32 | 33 | function cekPwd($id,$pwd){ 34 | $ini =& get_instance(); 35 | $ini->db->where(array('id_user'=> $id,'password_user'=>$pwd)); 36 | $cek = $ini->db->get('tb_users'); 37 | if($cek->num_rows() > 0){ 38 | return True; 39 | } 40 | else{ 41 | return False; 42 | } 43 | } 44 | 45 | $oldPwd = $this->input->post('oldPwd'); 46 | $newPwd = $this->input->post('newPwd'); 47 | $this->db->where(array('id_user'=> $updPwd,'password_user'=>$oldPwd)); 48 | $cek = $this->db->get('tb_users'); 49 | if(cekPwd($updPwd,sha1($oldPwd))){ 50 | // kalau password ada 51 | if(!empty($newPwd)){ 52 | $data = array('password_user'=>sha1($newPwd)); 53 | $this->db->where(array('id_user'=>$updPwd)); 54 | $update = $this->db->update('tb_users', $data); 55 | if ($update) { 56 | $this->response($data, 200); 57 | } else { 58 | $this->response(array('status' => 'fail', 502)); 59 | } 60 | }else{ 61 | $this->response(array('status' => 'fail', 502)); 62 | } 63 | } 64 | else{ 65 | $this->response(array('status' => 'fail', 502)); 66 | } 67 | } 68 | } 69 | 70 | } 71 | -------------------------------------------------------------------------------- /API_rental/system/database/drivers/sqlite3/sqlite3_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 59 | } 60 | 61 | } 62 | -------------------------------------------------------------------------------- /API_rental/system/database/drivers/sqlite/sqlite_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 59 | } 60 | 61 | } 62 | -------------------------------------------------------------------------------- /API_rental/system/database/drivers/pdo/pdo_forge.php: -------------------------------------------------------------------------------- 1 | db->query("SELECT id_mobil FROM tb_sewa WHERE id_sewa= '$idSewa' "); 14 | $row = $query->row(); 15 | return $row->id_mobil; 16 | } 17 | function getSewa($idMobil){ 18 | $ini =& get_instance(); 19 | $query = $ini->db->query("SELECT id_sewa FROM tb_sewa WHERE id_mobil='$idMobil' AND status_sewa='order'")->result(); 20 | return $query; 21 | } 22 | function updateMobil($noMobil,$value){ 23 | $ini =& get_instance(); 24 | $ini->db->where(array('no_mobil'=>$noMobil)); 25 | $data = array('status_mobil'=>$value); 26 | $ini->db->update('tb_mobil', $data); 27 | } 28 | function updateStatus($idRental,$status){ 29 | $ini =& get_instance(); 30 | $data = array('status_sewa'=>"$status"); 31 | $ini->db->where('id_sewa', $idRental); 32 | $update = $ini->db->update('tb_sewa', $data); 33 | 34 | } 35 | 36 | $idAccept = $this->input->post('id_accept'); 37 | $idCancel = $this->input->post('id_cancel'); 38 | $idSelesai = $this->input->post('id_selesai'); 39 | if(!empty($idAccept)){ 40 | 41 | updateMobil(getIdMobil($idAccept),"busy"); 42 | updateStatus($idAccept,"disetujui"); 43 | $idSewa = getSewa(getIdMobil($idAccept)); 44 | foreach ($idSewa as $key) { 45 | $this->db->where('id_sewa',$key->id_sewa); 46 | $update = $this->db->update('tb_sewa',array('status_sewa'=>'dibatalkan')); 47 | } 48 | $this->response(TRUE,200); 49 | } 50 | else if(!empty($idCancel)){ 51 | updateMobil(getIdMobil($idCancel),"standby"); 52 | updateStatus($idCancel,"dibatalkan"); 53 | } 54 | else if(!empty($idSelesai)){ 55 | updateMobil(getIdMobil($idSelesai),"standby"); 56 | updateStatus($idSelesai,"selesai"); 57 | } 58 | $this->response(array("status"=>'fail'),501); 59 | } 60 | function index_put(){ // update data 61 | } 62 | function index_get(){ // tampilkan data 63 | 64 | } 65 | function index_delete(){ // hapus data 66 | 67 | } 68 | 69 | } 70 | -------------------------------------------------------------------------------- /API_rental/system/database/drivers/pdo/pdo_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 61 | } 62 | 63 | } 64 | -------------------------------------------------------------------------------- /API_rental/system/database/drivers/odbc/odbc_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 61 | } 62 | 63 | } 64 | -------------------------------------------------------------------------------- /API_rental/system/libraries/Session/SessionHandlerInterface.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 | -------------------------------------------------------------------------------- /API_rental/readme.rst: -------------------------------------------------------------------------------- 1 | ################### 2 | What is CodeIgniter 3 | ################### 4 | 5 | CodeIgniter is an Application Development Framework - a toolkit - for people 6 | who build web sites using PHP. Its goal is to enable you to develop projects 7 | much faster than you could if you were writing code from scratch, by providing 8 | a rich set of libraries for commonly needed tasks, as well as a simple 9 | interface and logical structure to access these libraries. CodeIgniter lets 10 | you creatively focus on your project by minimizing the amount of code needed 11 | for a given task. 12 | 13 | ******************* 14 | Release Information 15 | ******************* 16 | 17 | This repo contains in-development code for future releases. To download the 18 | latest stable release please visit the `CodeIgniter Downloads 19 | `_ page. 20 | 21 | ************************** 22 | Changelog and New Features 23 | ************************** 24 | 25 | You can find a list of all changes for each release in the `user 26 | guide change log `_. 27 | 28 | ******************* 29 | Server Requirements 30 | ******************* 31 | 32 | PHP version 5.4 or newer is recommended. 33 | 34 | It should work on 5.2.4 as well, but we strongly advise you NOT to run 35 | such old versions of PHP, because of potential security and performance 36 | issues, as well as missing features. 37 | 38 | ************ 39 | Installation 40 | ************ 41 | 42 | Please see the `installation section `_ 43 | of the CodeIgniter User Guide. 44 | 45 | ******* 46 | License 47 | ******* 48 | 49 | Please see the `license 50 | agreement `_. 51 | 52 | ********* 53 | Resources 54 | ********* 55 | 56 | - `User Guide `_ 57 | - `Language File Translations `_ 58 | - `Community Forums `_ 59 | - `Community Wiki `_ 60 | - `Community IRC `_ 61 | 62 | Report security issues to our `Security Panel `_, thank you. 63 | 64 | *************** 65 | Acknowledgement 66 | *************** 67 | 68 | The CodeIgniter team would like to thank EllisLab, all the 69 | contributors to the CodeIgniter project and you, the CodeIgniter user. -------------------------------------------------------------------------------- /app/src/main/res/layout/list_row.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 15 | 16 | 17 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 44 | 45 | 54 | 55 | 67 | 68 | -------------------------------------------------------------------------------- /app/src/main/res/layout/list_rowku.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 15 | 16 | 17 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 44 | 45 | 54 | 55 | 67 | 68 | -------------------------------------------------------------------------------- /API_rental/application/config/routes.php: -------------------------------------------------------------------------------- 1 | my_controller/index 50 | | my-controller/my-method -> my_controller/my_method 51 | */ 52 | $route['default_controller'] = 'welcome'; 53 | $route['404_override'] = ''; 54 | $route['translate_uri_dashes'] = TRUE; 55 | 56 | /* 57 | | ------------------------------------------------------------------------- 58 | | Sample REST API Routes 59 | | ------------------------------------------------------------------------- 60 | */ 61 | $route['api/example/users/(:num)'] = 'api/example/users/id/$1'; // Example 4 62 | $route['api/example/users/(:num)(\.)([a-zA-Z0-9_-]+)(.*)'] = 'api/example/users/id/$1/format/$3$4'; // Example 8 63 | -------------------------------------------------------------------------------- /API_rental/system/database/drivers/oci8/oci8_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 66 | } 67 | 68 | } 69 | -------------------------------------------------------------------------------- /API_rental/system/database/drivers/pdo/subdrivers/pdo_odbc_forge.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 | -------------------------------------------------------------------------------- /API_rental/system/language/english/unit_test_lang.php: -------------------------------------------------------------------------------- 1 | mobilItems; 24 | ImageLoader imageLoader = AppController.getInstance().getImageLoader(); 25 | 26 | public CustomListAdapter(Activity activity, List mobilItems) { 27 | this.activity = activity; 28 | this.mobilItems = mobilItems; 29 | } 30 | 31 | @Override 32 | public int getCount() { 33 | return mobilItems.size(); 34 | } 35 | 36 | @Override 37 | public Object getItem(int location) { 38 | return mobilItems.get(location); 39 | } 40 | 41 | @Override 42 | public long getItemId(int position) { 43 | return position; 44 | } 45 | 46 | @Override 47 | public View getView(int position, View convertView, ViewGroup parent) { 48 | 49 | if (inflater == null) inflater = (LayoutInflater) activity.getSystemService(Context.LAYOUT_INFLATER_SERVICE); 50 | if (convertView == null) convertView = inflater.inflate(R.layout.list_row, null); 51 | if (imageLoader == null) imageLoader = AppController.getInstance().getImageLoader(); 52 | NetworkImageView thumbNail = (NetworkImageView) convertView.findViewById(R.id.thumbnail); 53 | TextView nmMobil = (TextView) convertView.findViewById(R.id.namaMobil); 54 | TextView wrMobil = (TextView) convertView.findViewById(R.id.warnaMobil); 55 | TextView hrgMobil = (TextView) convertView.findViewById(R.id.hargaSewa); 56 | TextView stsMobil = (TextView) convertView.findViewById(R.id.statusMobil); 57 | 58 | // getting movie data for the row 59 | Mobil m = mobilItems.get(position); 60 | 61 | // thumbnail image 62 | thumbNail.setImageUrl(m.getThumbnailUrl(), imageLoader); 63 | 64 | // nama mobil 65 | nmMobil.setText(m.getNmMobil()); 66 | // warna mobil 67 | wrMobil.setText(m.getWrMobil()); 68 | // harga 69 | hrgMobil.setText(m.getHrgMobil()); 70 | // status mobil 71 | stsMobil.setText(m.getStsMobil()); 72 | 73 | return convertView; 74 | } 75 | 76 | 77 | } -------------------------------------------------------------------------------- /app/src/main/java/com/example/gandhi/rental/adater/CustomListAdapterku.java: -------------------------------------------------------------------------------- 1 | package com.example.gandhi.rental.adater; 2 | 3 | import android.app.Activity; 4 | import android.content.Context; 5 | import android.view.LayoutInflater; 6 | import android.view.View; 7 | import android.view.ViewGroup; 8 | import android.widget.BaseAdapter; 9 | import android.widget.TextView; 10 | 11 | import com.android.volley.toolbox.ImageLoader; 12 | import com.android.volley.toolbox.NetworkImageView; 13 | import com.example.gandhi.rental.R; 14 | import com.example.gandhi.rental.app.AppController; 15 | import com.example.gandhi.rental.model.Mobil; 16 | 17 | import java.util.List; 18 | 19 | public class CustomListAdapterku extends BaseAdapter { 20 | // nampilin daftar mobilku 21 | private Activity activity; 22 | private LayoutInflater inflater; 23 | private List mobilItems; 24 | ImageLoader imageLoader = AppController.getInstance().getImageLoader(); 25 | 26 | public CustomListAdapterku(Activity activity, List mobilItems) { 27 | this.activity = activity; 28 | this.mobilItems = mobilItems; 29 | } 30 | 31 | @Override 32 | public int getCount() { 33 | return mobilItems.size(); 34 | } 35 | 36 | @Override 37 | public Object getItem(int location) { 38 | return mobilItems.get(location); 39 | } 40 | 41 | @Override 42 | public long getItemId(int position) { 43 | return position; 44 | } 45 | 46 | @Override 47 | public View getView(int position, View convertView, ViewGroup parent) { 48 | 49 | if (inflater == null) inflater = (LayoutInflater) activity.getSystemService(Context.LAYOUT_INFLATER_SERVICE); 50 | if (convertView == null) convertView = inflater.inflate(R.layout.list_rowku, null); 51 | if (imageLoader == null) imageLoader = AppController.getInstance().getImageLoader(); 52 | NetworkImageView thumbNail = (NetworkImageView) convertView.findViewById(R.id.thumbnail); 53 | TextView nmMobil = (TextView) convertView.findViewById(R.id.namaMobil); 54 | TextView wrMobil = (TextView) convertView.findViewById(R.id.warnaMobil); 55 | TextView hrgMobil = (TextView) convertView.findViewById(R.id.hargaSewa); 56 | TextView stsMobil = (TextView) convertView.findViewById(R.id.statusMobil); 57 | 58 | // getting movie data for the row 59 | Mobil m = mobilItems.get(position); 60 | 61 | // thumbnail image 62 | thumbNail.setImageUrl(m.getThumbnailUrl(), imageLoader); 63 | 64 | // nama mobil 65 | nmMobil.setText(m.getNmMobil()); 66 | // warna mobil 67 | wrMobil.setText(m.getWrMobil()); 68 | // harga 69 | hrgMobil.setText(m.getHrgMobil()); 70 | // status mobil 71 | stsMobil.setText(m.getStsMobil()); 72 | 73 | return convertView; 74 | } 75 | 76 | 77 | } -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_lupa.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 18 | 19 | 27 | 28 | 29 | 30 | 35 | 36 | 41 | 42 | 47 | 48 | 53 | 54 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /API_rental/system/database/drivers/mssql/mssql_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 75 | } 76 | 77 | } 78 | -------------------------------------------------------------------------------- /API_rental/system/database/drivers/sqlsrv/sqlsrv_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 75 | } 76 | 77 | } 78 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/gandhi/rental/adater/CustomListRental.java: -------------------------------------------------------------------------------- 1 | package com.example.gandhi.rental.adater; 2 | 3 | import android.app.Activity; 4 | import android.content.Context; 5 | import android.view.LayoutInflater; 6 | import android.view.View; 7 | import android.view.ViewGroup; 8 | import android.widget.BaseAdapter; 9 | import android.widget.TextView; 10 | 11 | import com.android.volley.toolbox.ImageLoader; 12 | import com.android.volley.toolbox.NetworkImageView; 13 | import com.example.gandhi.rental.R; 14 | import com.example.gandhi.rental.app.AppController; 15 | import com.example.gandhi.rental.model.Mobil; 16 | 17 | import java.util.List; 18 | 19 | public class CustomListRental extends BaseAdapter { 20 | // untuk nampilin mobil di main menu 21 | private Activity activity; 22 | private LayoutInflater inflater; 23 | private List mobilItems; 24 | ImageLoader imageLoader = AppController.getInstance().getImageLoader(); 25 | 26 | public CustomListRental(Activity activity, List mobilItems) { 27 | this.activity = activity; 28 | this.mobilItems = mobilItems; 29 | } 30 | 31 | @Override 32 | public int getCount() { 33 | return mobilItems.size(); 34 | } 35 | 36 | @Override 37 | public Object getItem(int location) { 38 | return mobilItems.get(location); 39 | } 40 | 41 | @Override 42 | public long getItemId(int position) { 43 | return position; 44 | } 45 | 46 | @Override 47 | public View getView(int position, View convertView, ViewGroup parent) { 48 | 49 | if (inflater == null) inflater = (LayoutInflater) activity.getSystemService(Context.LAYOUT_INFLATER_SERVICE); 50 | if (convertView == null) convertView = inflater.inflate(R.layout.list_rental, null); 51 | if (imageLoader == null) imageLoader = AppController.getInstance().getImageLoader(); 52 | NetworkImageView thumbNail = (NetworkImageView) convertView.findViewById(R.id.thumbnail); 53 | TextView nmMobil = (TextView) convertView.findViewById(R.id.namaMobil); 54 | TextView wrMobil = (TextView) convertView.findViewById(R.id.warnaMobil); 55 | TextView hrgMobil = (TextView) convertView.findViewById(R.id.hargaSewa); 56 | TextView stsMobil = (TextView) convertView.findViewById(R.id.statusMobil); 57 | TextView idSewa = (TextView) convertView.findViewById(R.id.idSewa); 58 | 59 | // getting movie data for the row 60 | Mobil m = mobilItems.get(position); 61 | idSewa.setText(m.getIdSewa()); 62 | 63 | // thumbnail image 64 | thumbNail.setImageUrl(m.getThumbnailUrl(), imageLoader); 65 | 66 | // nama mobil 67 | nmMobil.setText(m.getNmMobil()); 68 | // warna mobil 69 | wrMobil.setText(m.getWrMobil()); 70 | // harga 71 | hrgMobil.setText(m.getHrgMobil()); 72 | // status mobil 73 | stsMobil.setText(m.getStsMobil()); 74 | 75 | return convertView; 76 | } 77 | 78 | 79 | } -------------------------------------------------------------------------------- /app/src/main/java/com/example/gandhi/rental/adater/CustomListOrder.java: -------------------------------------------------------------------------------- 1 | package com.example.gandhi.rental.adater; 2 | 3 | import android.app.Activity; 4 | import android.content.Context; 5 | import android.view.LayoutInflater; 6 | import android.view.View; 7 | import android.view.ViewGroup; 8 | import android.widget.BaseAdapter; 9 | import android.widget.TextView; 10 | 11 | import com.android.volley.toolbox.ImageLoader; 12 | import com.android.volley.toolbox.NetworkImageView; 13 | import com.example.gandhi.rental.R; 14 | import com.example.gandhi.rental.app.AppController; 15 | import com.example.gandhi.rental.model.Mobil; 16 | 17 | import java.util.List; 18 | 19 | public class CustomListOrder extends BaseAdapter { 20 | // untuk nampilin mobil di main menu 21 | private Activity activity; 22 | private LayoutInflater inflater; 23 | private List mobilItems; 24 | ImageLoader imageLoader = AppController.getInstance().getImageLoader(); 25 | 26 | public CustomListOrder(Activity activity, List mobilItems) { 27 | this.activity = activity; 28 | this.mobilItems = mobilItems; 29 | } 30 | 31 | @Override 32 | public int getCount() { 33 | return mobilItems.size(); 34 | } 35 | 36 | @Override 37 | public Object getItem(int location) { 38 | return mobilItems.get(location); 39 | } 40 | 41 | @Override 42 | public long getItemId(int position) { 43 | return position; 44 | } 45 | 46 | @Override 47 | public View getView(int position, View convertView, ViewGroup parent) { 48 | 49 | if (inflater == null) inflater = (LayoutInflater) activity.getSystemService(Context.LAYOUT_INFLATER_SERVICE); 50 | if (convertView == null) convertView = inflater.inflate(R.layout.list_order, null); 51 | if (imageLoader == null) imageLoader = AppController.getInstance().getImageLoader(); 52 | NetworkImageView thumbNail = (NetworkImageView) convertView.findViewById(R.id.thumbnail); 53 | TextView nmMobil = (TextView) convertView.findViewById(R.id.namaMobil); 54 | TextView wrMobil = (TextView) convertView.findViewById(R.id.warnaMobil); 55 | TextView hrgMobil = (TextView) convertView.findViewById(R.id.hargaSewa); 56 | TextView stsMobil = (TextView) convertView.findViewById(R.id.statusMobil); 57 | 58 | TextView idSewa = (TextView) convertView.findViewById(R.id.idSewa); 59 | 60 | // getting movie data for the row 61 | Mobil m = mobilItems.get(position); 62 | idSewa.setText(m.getIdSewa()); 63 | 64 | // thumbnail image 65 | thumbNail.setImageUrl(m.getThumbnailUrl(), imageLoader); 66 | 67 | // nama mobil 68 | nmMobil.setText(m.getNmMobil()); 69 | // warna mobil 70 | wrMobil.setText(m.getWrMobil()); 71 | // harga 72 | hrgMobil.setText(m.getHrgMobil()); 73 | // status mobil 74 | stsMobil.setText(m.getStsMobil()); 75 | 76 | return convertView; 77 | } 78 | 79 | 80 | } -------------------------------------------------------------------------------- /API_rental/system/database/drivers/postgre/postgre_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /API_rental/system/core/Model.php: -------------------------------------------------------------------------------- 1 | $key; 78 | } 79 | 80 | } 81 | --------------------------------------------------------------------------------