'eagle_rooms', 'posts_per_page' => -1, 'post_status' => 'publish' )); $current_room = isset($_GET['room_id']) ? intval($_GET['room_id']) : (count($rooms) > 0 ? $rooms[0]->ID : 0); ?>

to