user_info["user_id"]==0){header("Location: login.php");exit;} function general() {global $database; ?>
} $smarty->assign('favorites', 1); // SMARTY $smarty->assign('total_comments', $total_comments); $smarty->assign('allowed_to_view', $allowed_to_view); $smarty->assign('allowed_to_comment', $allowed_to_comment); $smarty->assign('poll_object', $poll_object); $smarty->assign('poll_id', $poll_id); include "footer.php"; ?>