diff --git a/view/detail.php b/view/detail.php index daf88f458ee950c2864437412dc01ae39e17688b..128035983afb0531aa45ca01fbcefefa12eac3c9 100644 --- a/view/detail.php +++ b/view/detail.php @@ -19,6 +19,7 @@ include VIEW . "navBar.php"; js("bootstrap.js"); css("detail.css"); + css("main.css"); js("detail.js"); ?> </head> @@ -38,7 +39,7 @@ <img class="profile" src= <?php if(empty($data['book']->image_id)){ - echo path("assets/image/empty_image"); + echo path("assets/image/empty_image.png"); } else { path("ajax/image/get?id=" . $data['book']->image_id); } diff --git a/view/result.php b/view/result.php index 1a26dd414890b9a9d0b81ffdc42175f732813d51..f47b093e9645fba28bd8b791c9830471058e2070 100644 --- a/view/result.php +++ b/view/result.php @@ -9,6 +9,7 @@ include VIEW . "navBar.php"; js("bootstrap.js"); css("search.css"); + css("main.css"); js("search.js"); ?> </head> @@ -45,7 +46,7 @@ <?php function createResultItem($result){ if(empty($result->image_id)){ - $image_src = "/book/assets/image/empty_image"; + $image_src = "/book/assets/image/empty_image.png"; } else { $image_src = "/book/ajax/image/get?id=" . $result->image_id; } diff --git a/view/search.php b/view/search.php index 55e166ca227caf616e01460c08216f69ae4b9fc4..cb19e73f84b0fec51749db21840614b60ff66735 100644 --- a/view/search.php +++ b/view/search.php @@ -6,6 +6,7 @@ <title>Browse</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/css/search.css"> + <link rel="stylesheet" href="assets/css/main.css"> <script src="assets/js/bootstrap.js"></script> <script src="assets/js/search.js"></script> </head>