<?php session_start();
		if (isset($_SESSION['logged']) && $_SESSION['logged'] == 'yes') { //Do Nothing
			include ('scripts/classes.php'); //Retrieve functions
			
            $page_title = "{CLS} Welcome!"; //Assign Page Title
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="img/favicon.png" />
<link href="cms1.css" rel="stylesheet" type="text/css" />
<title><?php echo $page_title ?></title>
</head>

<frameset rows="112,*" cols="*" frameborder="no" border="0" framespacing="0">
  <frame src="top.php" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" />
  <frameset rows="*" cols="212,*" framespacing="0" frameborder="no" border="0">
    <frame src="menu.php" name="leftFrame" scrolling="No" noresize="noresize" id="leftFrame" title="leftFrame" />
    <frame src="main.php" name="mainFrame" id="mainFrame" title="mainFrame" Onload="changeTitle();" />
  </frameset>
</frameset>
<noframes>
<body>

</body>
</noframes>
</html>
<?php 
} else {
    header('Location: login.php');
}
?>