CMXX - Updated Products page
This commit is contained in:
18
index.php
18
index.php
@@ -42,8 +42,8 @@ if (isset($_POST['banner_move'])){
|
||||
// Define all the routes for all pages
|
||||
$url = routes([
|
||||
'/' => 'home.php',
|
||||
'/about' => '/custom/pages/about.php',
|
||||
'/about_morval' => '/custom/pages/about_morval.php',
|
||||
'/about' => 'custom/pages/about.php',
|
||||
'/about_morval' => 'custom/pages/about_morval.php',
|
||||
'/product/{id}' => 'product.php',
|
||||
'/product/{id}/{option_id}' => 'product.php',
|
||||
'/products' => 'products.php',
|
||||
@@ -60,14 +60,14 @@ $url = routes([
|
||||
'/placeorder/{order_id}' => 'placeorder.php',
|
||||
'/search/{query}' => 'search.php',
|
||||
'/logout' => 'logout.php',
|
||||
'/termsandconditions'=> '/custom/pages/termsandconditions.php',
|
||||
'/termsandconditions/{download}'=> '/custom/pages/termsandconditions.php',
|
||||
'/faq'=> '/custom/pages/faq.php',
|
||||
'/privacy'=> '/custom/pages/privacy.php',
|
||||
'/privacy/{download}'=> '/custom/pages/privacy.php',
|
||||
'/instructions-for-use' => '/custom/pages/faq.php',
|
||||
'/test' => 'test.php'
|
||||
'/termsandconditions'=> 'custom/pages/termsandconditions.php',
|
||||
'/termsandconditions/{download}'=> 'custom/pages/termsandconditions.php',
|
||||
'/faq'=> 'custom/pages/faq.php',
|
||||
'/privacy'=> 'custom/pages/privacy.php',
|
||||
'/privacy/{download}'=> 'custom/pages/privacy.php',
|
||||
'/instructions-for-use' => 'custom/pages/faq.php'
|
||||
]);
|
||||
|
||||
// Check if route exists
|
||||
if ($url) {
|
||||
include $url;
|
||||
|
||||
Reference in New Issue
Block a user