<?php 
include_once "inc/islogin.php";
include_once "bo/config/server.inc.php" ;

if (!@$db){
	set_include_path(get_include_path() . PATH_SEPARATOR . "./bo");
	include_once("db/dbMini.class.php");
	$db=new dbMini;
}

$sql="select * from revista where activo=1 order by id desc limit 1";
$revista_ultimaa=$db->get($sql);
$revista_ultima=$revista_ultimaa[0];

header('Content-Type: text/html; charset=iso-8859-1');
?>
<!doctype html>
<html>
<head>
	<base href="https://<?=$serverbase?>">
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
	<title>EDUCRIS</title>
	<meta name="Description" content="Revista Caritas">
	<META NAME="keywords" CONTENT="Revista Caritas">
	<link rel="stylesheet" href="site.css" type="text/css">
	<link rel="stylesheet" href="js/revista.css" type="text/css">


	<!--[if IE]>
        <link rel="stylesheet" type="text/css" href="ie.css">
	<![endif]-->
	<link rel="stylesheet" href="js/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen">
	<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
	<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/jquery-ui.min.js"></script>
	<script type="text/javascript" src="js/detectmobilebrowser.js"></script>
	<script type="text/javascript" src="js/site.js"></script>
	<script type="text/javascript" src="js/fancybox/jquery.fancybox-1.3.4.js"></script>
	<script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.min.js"></script>
	<script type="text/javascript" src="js/jquery.form.js"></script>


	<!--[if lte IE 6]>
	    <script src="js/DD_belatedPNG_0.0.8a-min.js" type="text/javascript"></script>
	    <script type="text/javascript"> 
	        DD_belatedPNG.fix(".b-shadow-f, .b-shadow-b, .b-p0, .b-p3, .b-arrow-next div, .b-arrow-prev div"); 
	    </script> 
	<![endif]-->  

</head>
<body>