if ($page and !is_numeric($page)) {
$edit = $User && $User->admin ? htmlspecialchars(@$_GET['edit']) : NULL;
if ($page and !is_numeric($page)) {
$edit = $User && $User->admin ? htmlspecialchars(@$_GET['edit']) : NULL;
}
$Place[1] = ' <small class="date">'.$Article->date.'</small>';
print preg_replace('{(?<=<h2>)(.*?)(?=</h2>)}', ($edit ?: '\1').' [[1]]', ob_get_clean());
}
$Place[1] = ' <small class="date">'.$Article->date.'</small>';
print preg_replace('{(?<=<h2>)(.*?)(?=</h2>)}', ($edit ?: '\1').' [[1]]', ob_get_clean());