﻿<?php require_once('Connections/connMontessori.php'); ?>
<?php
//initialize the session
if (!isset($_SESSION)) {
  session_start();
}
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") 
{
  if (PHP_VERSION < 6) {
    $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
  }

  $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

  switch ($theType) {
    case "text":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;    
    case "long":
    case "int":
      $theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
    case "double":
      $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
      break;
    case "date":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
    case "defined":
      $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
      break;
  }
  return $theValue;
}
}

$colname_rsUserStarted = "-1";
if (isset($_SESSION['MM_Username'])) {
  $colname_rsUserStarted = $_SESSION['MM_Username'];
}
mysql_select_db($database_connMontessori, $connMontessori);
$query_rsUserStarted = sprintf("SELECT * FROM usuarios WHERE username_usuario = %s", GetSQLValueString($colname_rsUserStarted, "text"));
$rsUserStarted = mysql_query($query_rsUserStarted, $connMontessori) or die(mysql_error());
$row_rsUserStarted = mysql_fetch_assoc($rsUserStarted);
$totalRows_rsUserStarted = mysql_num_rows($rsUserStarted);
?>
<!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=utf-8" />
<title>Programa Educativo | Instituto Montessori Sabinas</title>
<link rel="stylesheet" type="text/css" href="files/Montessori_main.css" />
<!--[if IE ]><LINK rel="stylesheet" type="text/css" href="files/IE.css" media="screen"><![endif]--><!--[if lt IE 7]>
					<link rel="stylesheet" type="text/css" href="prebuilt/css/IE6.css" />
					<![endif]-->
<script type="text/javascript" src="files/prototype-1.6.0.2.js"></script>
<script type="text/javascript" src="files/site.js"></script>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<div id="wrapper">
  <div id="container">
    <? include('phps/header.php'); ?>
      <script type="text/javascript">
	function beforeSubmit(form){ 
		document.location.href = 'http://instituto-montessori.edu.mx/buscar.php?q=' + form.q.value; 
	}
	</script>
      <form style="z-index: 0;" id="seek" onsubmit="beforeSubmit(this);return false;" method="get" name="search" action="http://instituto-montessori.edu.mx/buscar.php">
        <p>
          <input id="searchfield" title="Buscar" onclick="if (this.value='Buscar') this.value='';" name="q" alt="search_for" maxlength="2047" value="Buscar" type="text" />
        </p>
        <div id="search-go">
          <input onsubmit="beforeSubmit(this);return false;" name="submit" alt="submit" value="Search Montessori" src="files/button_go.gif" type="image" />
        </div>
      </form>
      <dl id="quicklinks" class="off quicklinks">
        <? include('phps/quicks.php'); ?>
      </dl>
    </div>
    <ul id="breadcrumbs">
      <li><a href="">Inicio</a> &raquo;</li>
      <li><a href="#">OFERTA EducativA</a></li>
    </ul>
    <div id="content" class="inside">
      <div id="main_content" class="wide2">
        <h1>Oferta Educativa</h1>
        <table width="100%" border="0">
          <tr>
            <td valign="top">
              <p>Conoce nuestros programas en los distintos niveles que te ofrecemos.</p>
              <p><img src="files/niveles.jpg" width="920" height="312" usemap="#Map2" border="0" /></p>
            <p>Si deseas m&aacute;s informaci&oacute;n, puedes ponerte en contacto con nosotros mediante nuestra direcci&oacute;n electr&oacute;nica:<br />
            <a href="mailto:montessori@instituto-montessori.edu.mx">montessori@instituto-montessori.edu.mx</a></p>
            <p>O si lo deseas, puedes acudir a nuestras instalaciones donde con gusto te atenderemos y asesoraremos.</p></td>
          </tr>
        </table>
      </div>
    </div>
    <div id="crosslinks" style="margin-top:-50px; padding:0px;">
    <?php /*?>
      <div id="whatsnext">
        <h2><img alt="Quien eres?" src="files/crosslink_whatsnext.gif" /></h2>
        <ul>
          <li><a href="contacto.php">Cont&aacute;ctanos</a></li>
          <li><a href="#">Conoce Montessori</a></li>
          <li><a href="#">Información relevante</a></li>
          <li><a href="contents.php?type=redes-sociales">Redes Sociales</a></li>
        </ul>
      </div>
      <div id="anotherdimension">
        <h2><img alt="Another Dimension" src="files/crosslink_dimension.gif" /></h2>
        <h3>Conoce nuestro método</h3>
        <p>El <strong>método Montessori</strong> esta inspirado en el humanismo integral, que postula la formación de los seres humanos como personas únicas y plenamente capacitadas para actuar con libertad, inteligencia y dignidad.</p>
        <a href="#"> <img id="Image40" border="0" name="Image40" alt="Learn More" src="files/button_learnmore.gif" width="71" height="10" /></a> <a class="entirediv" href="#" target=""></a></div>
      <div id="profiles">
        <h2><img alt="Profiles" src="files/crosslink_profiles.gif" /></h2>
        <img title="imagen" alt="imagen" src="files/profile_thumb_jim_ellfson.jpg" />
        <blockquote>
          <p>La meta de la Educación Montessori debe ser cultivar el deseo natural de aprender.<br />
            <br />
          </p>
        </blockquote>
        <em>María Montessori</em></div>
      <div id="studentwork">
        <h2><img title="imagen" alt="imagen" src="files/crosslink_studentwork.gif" /></h2>
        <h3>DE CALIDAD</h3>
        <p><img title="imagen" alt="imagen" src="files/JosephDionisio_thumb.jpg" />Nuestros alumnos tienen la posibilidad de desarrollarse a nivel personal, a la sociedad y al medio ambiente.</p>
        <a href="#"><em>Conoce nuestras instalaciones</em></a> </div>
    <?php */?></div>
  </div>
</div>
<? include('phps/footer.php'); ?>

<map name="Map2" id="Map2">
  <area shape="rect" coords="1,5,181,313" href="programa-educativo2.php?qry=informacion-general-ci&amp;type=comunidad-infantil" title="Ir a Comunidad Infantil" />
  <area shape="rect" coords="193,5,362,310" href="programa-educativo2.php?qry=informacion-general-cn&amp;type=casa-de-ninios" title="Ir a Casa de Niños" />
  <area shape="rect" coords="380,3,545,313" href="programa-educativo2.php?qry=informacion-general-t1y2&amp;type=taller1y2" title="Ir a Talleres I y II" />
  <area shape="rect" coords="560,5,737,310" href="programa-educativo2.php?qry=informacion-general-t3&amp;type=taller3" title="Ir a Talleres III" />
  <area shape="rect" coords="750,2,923,313" href="programa-educativo2.php?qry=informacion-general-t4&amp;type=taller4" title="Ir a Talleres IV" />
</map>
</body>
</html>
<?php
mysql_free_result($rsUserStarted);
?>
