<?
session_start();
if(!isset($_SESSION['usuario']))
{
 	echo "<script languaje='JavaScript'>";       
	echo "parent.location.href='login.php'; ";
	echo "</script>";
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>ADMINISTRADOR</title>
<link href="css2/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="css2/bootstrap-theme.css">
<link rel="stylesheet" href="css2/bootstrap-theme.min.css">
<link rel="stylesheet" href="css2/dataTables.bootstrap.min.css">

<link href="css2/css.css" rel="stylesheet" type="text/css">
<script src="js2/jquery.dataTables.min.js"></script>
<script src="js2/dataTables.bootstrap.min.js"></script>

<script src="js2/jquery.min.js"></script>
<script src="js2/bootstrap.min.js"></script>
<script src="js2/app.js"></script>
</head>

<body>
<nav class="navbar navbar-default">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
     <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
	  <img src="assets/img/logo3.png" width="42px" height="40px" class="caption"/>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li ><a href=""> COMUNIDAD ACADEMICA VIRTUAL - CAV<span class="sr-only">(current)</span></a></li>
		<li class="active"><a href=""><?php echo $_SESSION['usuario'];?><span class="sr-only">(current)</span></a></li>
          <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Mantenimientos <span class="caret"></span></a>
          <ul class="dropdown-menu">
		  <li><a href="mancarrera.php" target="main">Carreras Profesionales</a></li>
			<li role="separator" class="divider"></li>
		   <li><a href="mandocente.php" target="main">Docentes</a></li>
			<li role="separator" class="divider"></li>
            <li><a href="mancurso.php" target="main">Cursos</a></li>
			<li role="separator" class="divider"></li>
            <li><a href="mancursodoc.php" target="main">Asignacion Curso-Docente</a></li>
			<li role="separator" class="divider"></li>
            <li><a href="manalumno.php" target="main">Alumnos</a></li>
          </ul>
        </li>
		
      </ul>
	  <ul class="nav navbar-nav navbar-right">
	   
        <li><a href="login.php" ><span class="glyphicon glyphicon-log-out"></span> SALIR</a></li>
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>
<table width="100%" border="0">
  
  
  <tr>
    <td width="1910" colspan="2"><iframe width="100%" height="600" name="main" frameborder="0"></iframe></td>
  </tr>
</table>
</body>
</html>
