Improved list.php