<?php session_start(); IF(!isset($_SESSION['sadmin']['id'])) { checkremember($config); header("Location: login.php"); } ?>