<?php
defined('BASEPATH') OR exit('No direct script access allowed');

$route['default_controller'] = 'welcome';
$route['welcome'] = '404_override';
$route['registrasi'] = 'login/regis';
$route['verify'] = 'login/verify';
$route['tentang-kami'] = 'welcome/about_me';
$route['hubungi-kami'] = 'welcome/contact_me';
$route['donasi'] = 'welcome/donate';
$route['donasi/(:any)'] = 'welcome/donate_show/$1';
$route['kategori-campaign'] = 'welcome/ka_campaign';
$route['kategori-campaign/(:any)'] = 'welcome/ka_campaign_single/$1';
$route['blog'] = 'welcome/artikel';
$route['blog/(:any)'] = 'welcome/artikel_single/$1';
$route['event/(:any)'] = 'welcome/event_single/$1';
$route['tag/(:any)'] = 'welcome/kategori/$1';
$route['search-blog'] = 'welcome/pencarian';
$route['search'] = 'welcome/pencarian_galang_dana';
$route['konfirmasi-donasi/(:any)'] = 'welcome/donate_konfirm/$1';
$route['konfirmasi-identitas'] = 'welcome/konfirmasi_identitas';
$route['metode'] = 'welcome/meth';
$route['tagihan-donasi/(:any)'] = 'welcome/donate_invoice/$1';
$route['send'] = 'welcome/send';
$route['token'] = 'welcome/token';
$route['user/logout'] = 'login/keluar';
$route['user'] = '404_override';
$route['user/index'] = '404_override';
$route['user/dashboard'] = 'user/index';
$route['user/galang-dana'] = 'user/galang_dana';
$route['user/galang-dana/new'] = 'user/galang_dana_add';
$route['user/galang-dana/edit/(:any)'] = 'user/galang_dana_edit/$1';
$route['user/galang-dana/hapus/(:any)'] = 'user/galang_dana_del/$1';
$route['user/galang-dana/tarik-dana/(:any)'] = 'user/galang_dana_tarik/$1';
$route['user/penarikan/hapus/(:any)'] = 'user/penarikan_del/$1';
$route['user/pengaturan/password'] = 'user/set_password';
$route['user/pengaturan/profil'] = 'user/set_profil';
$route['user/lupa-password'] = 'login/fopas';
$route['user/change'] = 'login/ganti';

$route['404_override'] = '';
$route['admin'] = '404_override';
$route['admin/index'] = '404_override';
$route['admin/logout'] = 'auth/keluar';
$route['admin/dashboard'] = 'admin/index';
$route['admin/donasi/terima/(:any)'] = 'admin/donasi_masuk/$1';
$route['admin/donasi/tolak/(:any)'] = 'admin/donasi_tolak/$1';
$route['admin/kategori-campaign'] = 'admin/ka_campaign';
$route['admin/kategori-campaign/new'] = 'admin/ka_campaign_add';
$route['admin/kategori-campaign/edit/(:num)'] = 'admin/ka_campaign_edit/$1';
$route['admin/kategori-campaign/hapus/(:num)'] = 'admin/ka_campaign_del/$1';
$route['admin/galang-dana'] = 'admin/galdan';
$route['admin/galang-dana/new'] = 'admin/galdan_add';
$route['admin/galang-dana/edit/(:any)'] = 'admin/galdan_edit/$1';
$route['admin/galang-dana/hapus/(:any)'] = 'admin/galdan_del/$1';
$route['admin/pengguna/aktifkan/(:any)'] = 'admin/user_aktif/$1';
$route['admin/pengguna/blokir/(:any)'] = 'admin/user_blok/$1';

$route['admin/akses/new'] = 'admin/akses_add';
$route['admin/akses/edit/(:any)'] = 'admin/akses_edit/$1';
$route['admin/akses/hapus/(:any)'] = 'admin/akses_del/$1';

$route['admin/laporan/top-donatur'] = 'admin/laporan_top_donatur';
$route['admin/laporan/top-donatur/print'] = 'admin/laporan_top_donatur_print';
$route['admin/laporan/top-donatur/excel'] = 'admin/laporan_top_donatur_excel';
$route['admin/laporan/donasi-masuk'] = 'admin/laporan_donasi_masuk';
$route['admin/laporan/donasi-masuk/excel'] = 'admin/laporan_donasi_excel';
$route['admin/laporan/donasi-masuk/print'] = 'admin/laporan_donasi_print';
$route['admin/laporan/donasi-masuk/excel/(:any)/(:any)'] = 'admin/laporan_donasi_excel_by/$1/$2';
$route['admin/laporan/donasi-masuk/print/(:any)/(:any)'] = 'admin/laporan_donasi_print_by/$1/$2';
$route['admin/laporan/galang-dana'] = 'admin/laporan_galang_dana';
$route['admin/laporan/galang-dana/print'] = 'admin/laporan_galang_dana_print';
$route['admin/laporan/galang-dana/print/(:num)'] = 'admin/laporan_galang_dana_print_by/$1';
$route['admin/laporan/galang-dana/excel'] = 'admin/laporan_galang_dana_excel';
$route['admin/laporan/galang-dana/excel/(:num)'] = 'admin/laporan_galang_dana_excel_by/$1';
$route['admin/laporan/pengguna'] = 'admin/laporan_pengguna';
$route['admin/laporan/pengguna/excel'] = 'admin/laporan_pengguna_excel';
$route['admin/laporan/pengguna/excel/(:num)'] = 'admin/laporan_pengguna_excel_by/$1';
$route['admin/laporan/pengguna/print'] = 'admin/laporan_pengguna_print';
$route['admin/laporan/pengguna/print/(:num)'] = 'admin/laporan_pengguna_print_by/$1';
$route['admin/laporan/pencairan'] = 'admin/laporan_pencairan';
$route['admin/laporan/pencairan/excel'] = 'admin/laporan_pencairan_excel';
$route['admin/laporan/pencairan/print'] = 'admin/laporan_pencairan_print';
$route['admin/laporan/pencairan/excel/(:num)'] = 'admin/laporan_pencairan_excel_status/$1';
$route['admin/laporan/pencairan/print/(:num)'] = 'admin/laporan_pencairan_print_status/$1';
$route['admin/laporan/pencairan/excel/(:any)/(:any)'] = 'admin/laporan_pencairan_excel_date/$1/$2';
$route['admin/laporan/pencairan/print/(:any)/(:any)'] = 'admin/laporan_pencairan_print_date/$1/$2';
$route['admin/laporan/pencairan/excel/(:any)/(:any)/(:num)'] = 'admin/laporan_pencairan_excel_datestatus/$1/$2/$3';
$route['admin/laporan/pencairan/print/(:any)/(:any)/(:num)'] = 'admin/laporan_pencairan_print_datestatus/$1/$2/$3';
$route['admin/laporan/keuntungan'] = 'admin/laporan_laba';
$route['admin/laporan/keuntungan/excel'] = 'admin/laporan_keuntungan_excel';
$route['admin/laporan/keuntungan/print'] = 'admin/laporan_keuntungan_print';
$route['admin/laporan/keuntungan/excel/(:num)'] = 'admin/laporan_keuntungan_excel_by/$1';
$route['admin/laporan/keuntungan/print/(:num)'] = 'admin/laporan_keuntungan_print_by/$1';

$route['admin/pengaturan/profil'] = 'admin/set_about';
$route['admin/pengaturan/atribut'] = 'admin/set_atribut';
$route['admin/pengaturan/midtrans'] = 'admin/set_midtrans';
$route['admin/pengaturan/email'] = 'admin/set_email';

$route['admin/pesan-masuk'] = 'admin/inbox';
$route['admin/events/new'] = 'admin/events_add';
$route['admin/events/edit/(:any)'] = 'admin/events_edit/$1';
$route['admin/events/hapus/(:any)'] = 'admin/events_del/$1';

$route['admin/postingan/kategori'] = 'admin/pos_kategori';
$route['admin/postingan/kategori/new'] = 'admin/pos_kategori_add';
$route['admin/postingan/kategori/edit/(:any)'] = 'admin/pos_kategori_edit/$1';
$route['admin/postingan/kategori/hapus/(:any)'] = 'admin/pos_kategori_del/$1';
$route['admin/postingan/artikel'] = 'admin/pos_artikel';
$route['admin/postingan/artikel/new'] = 'admin/pos_artikel_add';
$route['admin/postingan/artikel/edit/(:any)'] = 'admin/pos_artikel_edit/$1';
$route['admin/postingan/artikel/hapus/(:any)'] = 'admin/pos_artikel_del/$1';

$route['admin/atur/profil'] = 'admin/atur_profil';
$route['admin/atur/password'] = 'admin/atur_pass';

$route['auth/lupa-password'] = 'auth/fopas';
$route['auth/change'] = 'auth/ganti';
$route['translate_uri_dashes'] = FALSE;
