<?php $current_date = getdate(); $current_year = $current_date['year']; $display_year = $_GET['year']; if ($display_year == 0) { $display_year = $current_year; } $pageTitle = $display_year; ?>