add file viewDetail.php