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