<?
include_once("auth.php");
include_once("include/utils.inc.php");
//session_start();
$limit=50;
$super=$_SESSION['authdata']['super'];

//print_rr($_SESSION);

header('Content-Type: text/html; charset=iso-8859-1');
include("include/css.inc.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//PT">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
	<meta http-equiv="Cache-Control" content="no-cache" />
	<meta http-equiv="content-language" content="pt" />
	<meta name="author" content="itcode" />
	<title>BM</title>
	
	<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" /> 
	<link rel="STYLESHEET" type="text/css" href="layout/standard.css">
	<link class="cssfile" rel="STYLESHEET" type="text/css" >
	<!--[if IE]><link class="cssfile_ie" rel="STYLESHEET" type="text/css" ><![endif]-->
	<link rel="STYLESHEET" type="text/css" href="js/jquery.jgrowl.css">
	
<?
/*  <link rel="STYLESHEET" type="text/css" href="css/normal.css">	
	<link rel="STYLESHEET" type="text/css" href="css/apple.css">	
	<link rel="STYLESHEET" type="text/css" href="css/black.css">	
	<link rel="STYLESHEET" type="text/css" href="css/zune.css"> 
	<link rel="stylesheet" href="js/ui.tabs.css" type="text/css"/> */?>		
		
	<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
	<script type="text/javascript" src="js/jquery.dimensions.pack.js"></script>
	<script type="text/javascript" src="js/jquery.imgareaselect-0.4.2.js"></script>
	<script type="text/javascript" src="js/jquery.form.js"></script> 
	<script type="text/javascript" src="js/jquery.livequery.js"></script> 
	<script type="text/javascript" src="include/ckeditor/ckeditor.js"></script>
	<script type="text/javascript" src="js/jquery.corner.js"></script>
	<script type="text/javascript" src="js/jquery.validate.js"></script>
	<script type="text/javascript" src="js/jquery.CKEditor.js"></script>
	<script type="text/javascript" src="js/jquery.jgrowl_minimized.js"></script>
	<script type="text/javascript" src="js/jquery.MetaData.js"></script>
<? 	
//<script type="text/javascript" src="js/jquery.bgiframe.js"></script>
//<script type="text/javascript" src="js/main.pack.js"></script>	
//<script type="text/javascript" src="js/index.pack.js"></script>
//<script type="text/javascript" src="js/ui.tabs.pack.js"></script>	
//<script type="text/javascript" src="js/jquery.FCKEditor.js"></script> 
//<script type="text/javascript" src="include/ckeditor/adapters/jquery.js"></script>
?>

<style>#loading{display:none; z-index:100; position:absolute; }</style>
<script type="text/javascript">
$(document).ready(function(){
	var object;
	
	<?if($css=="black"){ ?>
		$("#message").corner();
		$("#message .mybg").corner("top");
	<?} ?>
	
	cssfile = "css/" + "<?=$css?>" + ".css";
	cssfile_ie = "css/" + "<?=$css?>" + "_ie.css";
	$(".cssfile").attr("href", cssfile);
	$(".cssfile_ie").attr("href", cssfile_ie);

});
</script>
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript" src="js/index.js"></script>	
	
</head>
<body><?php include ("layout/standard.php"); ?> </body>
</html>

