<?php $page = isset($_GET['page']) ? abs(inval($_GET['page'])) : 0; ?>
<? if(isset($_GET['page'])){ $page = $_GET['page']; }else{ $page = 1;} //на if(isset(intval($_GET['page']))){ $page = (int)$_GET['page']; }else{ $page = 1;}