showStatus($statusid); if (!$status) { header('location: error.php'); } $user = $status->user; $date = formatDate($status->created_at); $text = formatText($status->text); } else { header('location: error.php'); } ?>