fetch up views/detail.php