diff --git a/app/Views/template/event.php b/app/Client/components/event.php similarity index 100% rename from app/Views/template/event.php rename to app/Client/components/event.php diff --git a/app/Views/template/footer.php b/app/Client/components/footer.php similarity index 100% rename from app/Views/template/footer.php rename to app/Client/components/footer.php diff --git a/app/Views/template/history.php b/app/Client/components/history.php similarity index 100% rename from app/Views/template/history.php rename to app/Client/components/history.php diff --git a/app/Views/template/navbar.php b/app/Client/components/navbar.php similarity index 100% rename from app/Views/template/navbar.php rename to app/Client/components/navbar.php diff --git a/app/Views/event/create.php b/app/Client/pages/event/create.php similarity index 100% rename from app/Views/event/create.php rename to app/Client/pages/event/create.php diff --git a/app/Views/event/update.php b/app/Client/pages/event/update.php similarity index 100% rename from app/Views/event/update.php rename to app/Client/pages/event/update.php diff --git a/app/Views/history/history.php b/app/Client/pages/history/history.php similarity index 100% rename from app/Views/history/history.php rename to app/Client/pages/history/history.php diff --git a/app/Views/home/home.php b/app/Client/pages/home/home.php similarity index 100% rename from app/Views/home/home.php rename to app/Client/pages/home/home.php diff --git a/app/Views/login/login.php b/app/Client/pages/login/login.php similarity index 100% rename from app/Views/login/login.php rename to app/Client/pages/login/login.php diff --git a/app/Views/login/register.php b/app/Client/pages/login/register.php similarity index 100% rename from app/Views/login/register.php rename to app/Client/pages/login/register.php diff --git a/app/Views/pembelian/pembelian.php b/app/Client/pages/pembelian/pembelian.php similarity index 100% rename from app/Views/pembelian/pembelian.php rename to app/Client/pages/pembelian/pembelian.php diff --git a/app/Views/profile/edit_profile.php b/app/Client/pages/profile/edit_profile.php similarity index 100% rename from app/Views/profile/edit_profile.php rename to app/Client/pages/profile/edit_profile.php diff --git a/app/Views/profile/view_profile.php b/app/Client/pages/profile/view_profile.php similarity index 100% rename from app/Views/profile/view_profile.php rename to app/Client/pages/profile/view_profile.php diff --git a/app/util.php b/app/util.php deleted file mode 100644 index da3c6d57c9624c8dcc4ed19faa9297280b76715d..0000000000000000000000000000000000000000 --- a/app/util.php +++ /dev/null @@ -1,13 +0,0 @@ -<?php -function preprocess($str) { - return str_replace(' ', '%20', $str); -} - -function formatPrice($price) { - return number_format($price,0,',','.'); -} - -function isEmailValid($email) { - return filter_var($email, FILTER_VALIDATE_EMAIL); -} -?> \ No newline at end of file