示例#1
0
文件: skin.php 项目: etlapa/uiest
function arriba($oferta_educativa, $active_item = null, $es_oferta_educativa = null)
{
    ?>
<!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" xml:lang="es" lang="es" >
    <head>

<!-- http://developers.evrsoft.com/meta.pl -->
	<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />

	<meta HTTP-EQUIV="Expires" content="none">
	<meta name="Keywords" content="bachillerato, licenciaturas, maestrias, emprendedores, uiest">
	<meta name="Description" content="Universidad Interdisciplinaria de Emprendedores de San Martin Texmelucan">
	<meta name="Robots" content="INDEX,FOLLOW">
	<meta name="Author" content="eDev Software">
	<meta name="Publisher" content="eDev Software">
	<meta name="Copyright" content="UIEST 2012">

  <title>Universidad Interdisciplinaria de Emprendedores San Mart&iacute;n Texmelucan</title>
<link rel="shortcut icon" href="images/favicon.ico" />
  <link rel="stylesheet" href="css/modal.css" type="text/css" />
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js" type="text/javascript"></script>  
  <link rel="stylesheet" href="css/k2.css" type="text/css" />
  <link rel="stylesheet" href="css/rokbox-style.css" type="text/css" />
  <link rel="stylesheet" href="css/grid-12.css" type="text/css" />
  <link rel="stylesheet" href="css/gantry.css" type="text/css" />
  <link rel="stylesheet" href="css/joomla.css" type="text/css" />
  <link rel="stylesheet" href="css/style1.css" type="text/css" />
  <link rel="stylesheet" href="css/sizes.css" type="text/css" />
  <link rel="stylesheet" href="css/template.css" type="text/css" />
  <link rel="stylesheet" href="css/tooltips.css" type="text/css" />
  <link rel="stylesheet" href="css/prettyPhoto.css" type="text/css" />
  <link rel="stylesheet" href="css/framework-reset.css" type="text/css" />
  <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Fanwood+Text" type="text/css" />
  <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Fanwood+Text:400italic" type="text/css" />
  <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Old+Standard+TT" type="text/css" />
  <link rel="stylesheet" href="css/fusionmenu.css" type="text/css" />
  <link rel="stylesheet" href="css/nivo-slider.css" type="text/css" />

  <link rel="stylesheet" href="css/prestige.css" type="text/css" />
  
  <link rel="stylesheet" href="codebase/dhtmlx.css" type="text/css" />  

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-33022009-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>

<!--[if lt IE 9]>
  <script type="text/javascript" src="lightview/js/excanvas/excanvas.js"></script>
<![endif]-->
<script type="text/javascript" src="lightview/js/spinners/spinners.min.js"></script>
<script type="text/javascript" src="lightview/js/lightview/lightview.js"></script>
<script type="text/javascript" src="sistema/js/funciones_xslt.js"></script>
<script type="text/javascript" src="sistema/js/funciones.js"></script>

<link rel="stylesheet" type="text/css" href="lightview/css/lightview/lightview.css"/>
  
  <style type="text/css">
body {background:;}
#rt-top {background:;}
#rt-top .rt-container {background:;}
#rt-header {background:;}
#rt-header .rt-container {background:;}
#rt-showcase {background:;}
#rt-showcase .rt-container {background:;}
#rt-feature {background:;}
#rt-feature .rt-container {background:;}
#rt-utility {background:;}#rt-utility .rt-container {background:;}
#rt-maintop {background:;}
#rt-maintop .rt-container {background:;}
#rt-main {background:;}
#rt-main .rt-container {background:;}
#rt-mainbottom {background:;}
#rt-mainbottom .rt-container {background:;}
#rt-bottom {background:;}
#rt-bottom .rt-container {background:;}
#rt-footer {background:#e2ded6;}
#rt-footer .rt-container {background:;}
#rt-copyright {background:;}
#rt-copyright .rt-container {background:;}body a {color: #44c0e7;}body a:hover {color:#fff; }
a.moduleItemReadMore, a.k2ReadMore {color: #89867e; background:#ffffff;}a.moduleItemReadMore:hover,
a.k2ReadMore:hover {color: #ffffff;background:#44c0e7;}div.itemCommentsForm form input
#submitCommentButton, input[type="submit"], button.button {color:#89867e; background:#ffffff;}div.itemCommentsForm form input
#submitCommentButton:hover, input[type="submit"]:hover, button.button:hover {color:#ffffff;background:#44c0e7;}
.menutop li.root {background:;}.menutop li.root > .item {color:#eeeff1;}.menutop li.root:hover, .menutop li.root.active,
.menutop li.root.f-mainparent-itemfocus{background:;}.menutop li.root:hover > .item, .menutop li.root.active > .item,
.menutop li.root.f-mainparent-itemfocus > .item{color:#fff;}
.menutop ul {background:#1b202a;}.menutop ul li > .item {color:#ffffff; background:transparent;}.menutop ul li > .item:hover,
.menutop ul li.active > .item, .menutop ul li.f-menuparent-itemfocus > .item{color:#44c0e7; background:transparent;}{background:;}{background:;}
{background:;}body {font-family:Trebuchet MS, sans-serif; font-size:12px; line-height:21px; color:#89867e; }
</style>

  <script src="js/mootools-core.js" type="text/javascript"></script> 
  <script src="js/rokbox.js" type="text/javascript"></script>
  <script src="js/jquery.min.js" type="text/javascript"></script>
  <script src="js/jquery.prettyPhoto.js" type="text/javascript"></script>
  <script src="js/scripts.js" type="text/javascript"></script>
  <script src="js/fusion.js" type="text/javascript"></script>
  <script src="codebase/dhtmlxdataview.js" type="text/javascript"></script>
  <script src="js/jquery.nivo.slider.pack.js" type="text/javascript"></script>
  
  <script src="js/jquery.tmpl.min.js" type="text/javascript"></script>
  
  <script type="text/javascript">
window.addEvent('domready', function() {
                new Fusion('ul.menutop', {
                    pill: 0,
                    effect: 'slide and fade',
                    opacity:  1,
                    hideDelay:  500,
                    centered:  0,
                    tweakInitial: {'x': 2, 'y': 2},
                    tweakSubsequent: {'x':  13, 'y':  1},
                    tweakSizes: {'width': 20, 'height': 20},
                    menuFx: {duration:  300, transition: Fx.Transitions.Circ.easeOut},
                    pillFx: {duration:  400, transition: Fx.Transitions.Back.easeOut}
                });            
});
  </script>			
<script type="text/javascript">
        $.noConflict();
</script>
</head>
	
	<body  class="cssstyle-style1 menu-type-fusionmenu col12" id="home">
<!-- Advertencia de compatibilidad de navegador. Debia funcionar por CSS -->
<?php 
    //debug( $_SERVER['HTTP_USER_AGENT'] );
    if (stristr($_SERVER['HTTP_USER_AGENT'], "MSIE 7.0") || stristr($_SERVER['HTTP_USER_AGENT'], "MSIE 6.0")) {
        ?>
<div id="rt-iewarn">
    <div class="rt-container">
        <div class="rt-grid-12 rt-alpha rt-omega">
            <div style=" clear: both; text-align:center; position: relative; height:42px;">
                <a href="http://windows.microsoft.com/es-ES/internet-explorer/products/ie/home">
                    <img width="820" height="42" border="0" alt="Internet Explorer desactualizado. Para una experiencia mas r&aacute;pida y segura, actualice su navegador SIN COSTO." src="images/warning_bar.jpg" />
                </a>
            </div>
        </div>
        <div class="clear"></div>
    </div>
</div>
<?php 
    }
    ?>
<!--    Termino de advertencia  -->
		<div class="container">
            
            <div class="header">
                <div class="shadow">
            
    			    			    			<div id="rt-top" >
    				<div class="rt-container">
    					<div class="rt-grid-6 rt-alpha">
                        <div class="rt-block">
                                
<ul class="menu-top">
    <li class="firstItem" id="item-169"><a href="mision.php"><span>Misi&oacute;n</span></a></li>
    <li id="item-170"><a href="vision.php"><span>Visi&oacute;n</span></a></li>
    <li class="lastItem" id="item-171"><a href="politica_calidad.php"><span>Pol&iacute;tica de calidad</span></a></li>
    <li class="lastItem" id="item-171"><a href="logros_obtenidos.php"><span>Logros obtenidos</span></a></li>
</ul>
                        </div>
        	
</div>
<div class="rt-grid-6 rt-omega">

<div class="rt-block">

<div align="right">
<table border="0">
<tr><td colspan="2"><img width="1" height="10" src="images/spacer.gif"></td></tr>
    <tr>
        <td>Siguenos en:</td>
        <td>
<!-- AddThis Follow BEGIN -->
<div class="addthis_toolbox addthis_32x32_style addthis_default_style">
<a class="addthis_button_facebook_follow" addthis:userid="profile.php?id=100003978114640"></a>
<a class="addthis_button_twitter_follow" addthis:userid="@uiest"></a>
</div>
<script type="text/javascript" src="js/addthis_widget.js#pubid=xa-4fe098c60a6b8744"></script>
<!-- AddThis Follow END -->
        </td>
    </tr>
</table>

</div>

</div>
        	
</div>
    					<div class="clear"></div>
    				</div>
    			</div>
                            <div id="rt-header">
    				<div class="rt-container">
    					<div class="rt-grid-12 rt-alpha rt-omega">
			<div class="rt-block">
    	    	<a href="index.php" id="rt-logo"></a>
    		</div>
<div class="rt-fusionmenu">
<div class="nopill">
<div class="rt-menubar">
    <ul class="menutop level1 " >
                        <li class="item101 parent <?php 
    echo $active_item == 1 || $es_oferta_educativa ? "active" : "";
    ?>
 root " >
                            <a class="daddy item bullet" href="index.php"  >
                    <span>
                                        Oferta educativa                                                            </span>
                </a>
            
                                                <div class="fusion-submenu-wrapper level2" style="width:180px;">
                        
            <ul class="level2" style="width:180px;">
                <li class="item172 parent" >
                    <span class="daddy item bullet">
                        <a class="orphan item bullet" href="bachillerato.php"><span>Bachillerato</span></a>
                    </span>
                </li>
                <li class="item172 parent" >
                    <span class="daddy item bullet nolink">
                        <a class="orphan item bullet" href="licenciaturas.php"><span>Licenciaturas</span></a>
                    </span>
                    <div class="fusion-submenu-wrapper level3" style="width:180px;">                        
                    <ul class="level3" style="width:180px;">
                    <?php 
    foreach ($oferta_educativa->get_listado(2) as $registro) {
        ?>
                        <li class="item119" >
                            <a class="orphan item bullet" href="estudios.php?id_oed=<?php 
        echo $registro["oed_id"];
        ?>
"  >
                                <span> &bull; <?php 
        echo $registro["oed_nombre"];
        ?>
</span>
                            </a>
                        </li>
                    <?php 
    }
    ?>
                    </ul>
                    <div class="drop-bot"></div>
                    </div>
                </li>
                <li class="item172 parent" >
                    <span class="daddy item bullet nolink">
                        <a class="orphan item bullet" href="maestrias.php"><span>Maestr&iacute;as</span></a>
                    </span>
                    <div class="fusion-submenu-wrapper level3" style="width:180px;">                        
                    <ul class="level3" style="width:180px;">
                    <?php 
    foreach ($oferta_educativa->get_listado(3) as $registro) {
        ?>
                        <li class="item119" >
                            <a class="orphan item bullet" href="estudios.php?id_oed=<?php 
        echo $registro["oed_id"];
        ?>
"  >
                                <span> &bull; <?php 
        echo $registro["oed_nombre"];
        ?>
</span>
                            </a>
                        </li>
                    <?php 
    }
    ?>
                    </ul>
                    <div class="drop-bot"></div>
                    </div>
                </li>
            </ul>

                                                <div class="drop-bot"></div>
                    </div>
                                    </li>
                                <li class="item116 <?php 
    echo $active_item == 2 ? "active" : "";
    ?>
 root" >
                            <a class="orphan item bullet" href="instalaciones.php"  >
                    <span>Instalaciones</span>
                </a>
            
                    </li>
                                <li class="item117 <?php 
    echo $active_item == 3 ? "active" : "";
    ?>
 root" >
                            <a class="orphan item bullet" href="vinculacion.php"  >
                    <span>
                                        Vinculaci&oacute;n                                                            </span>
                </a>
            
                    </li>
                                <li class="item114 <?php 
    echo $active_item == 4 ? "active" : "";
    ?>
 root" >
                            <a class="orphan item bullet" href="ubicacion.php"  >
                    <span>Ubicaci&oacute;n y cont&aacute;ctanos</span>
                </a>
            
                    </li>
                    </ul>
</div>
</div>
</div>
</div>
    					<div class="clear"></div>
    				</div>
    			</div>
<?php 
    if ($active_item == 1) {
        $home_page = new Home_page();
        ?>
<!--    CENTRO DE PAGINA    -->
                            <div id="rt-showcase">
    				<div class="rt-container homepage">
    					<div class="rt-grid-12 rt-alpha rt-omega">
                        <div class="rt-block">
                                <div id="k2ModuleBox92">
        <div id="slider-container">

<script type="text/javascript">
(function($){ 
   $(window).load(function(){
	$('#slider').nivoSlider({
            effect: 'random',
            randomStart: false,
            slices: 1,
            boxCols: 8,
            boxRows: 4,
            animSpeed: 500,
            pauseTime: 7000,
            startSlide: 0,
            directionNav: false,
            directionNavHide: false,
            controlNav: false,
            controlNavThumbs: false,
            controlNavThumbsFromRel: false,
            keyboardNav: false,
            pauseOnHover: true,
            manualAdvance: false,
            captionOpacity: 1,
            prevText: 'Prev',
            nextText: 'Next',
            beforeChange: function(){$("#slider").css({'background' : ''});},
            afterChange: function(){},
            slideshowEnd: function(){},
            lastSlide: function(){},
            afterLoad: function(){}
	});
});
})(jQuery);
</script>
<?php 
        $home_page->get_galeria_principal_prt();
        ?>
<!--
<div class="slider-wrapper">
    <div id="slider" class="nivoSlider" style="background: url('images/852967248dd3e6cb3942a1fe6af42945_XL.jpg') no-repeat scroll 0% 0% transparent; background-color: #208dd9;">
        <img src="images/ccb4e23c8aa216f1e96d31ab209c036b_XL.jpg" alt="Maecenas tristique orci ac sem." title="#counter0"/>
        <img src="images/6f43b5263fbba79c5962514b85d34738_XL.jpg" alt="Maecenas tristique orci ac sem." title="#counter0"/>
        <img src="images/19f9cefdfb07230a68581d617885a3af_XL.jpg" alt="Maecenas tristique orci ac sem." title="#counter0"/>
        <img src="images/852967248dd3e6cb3942a1fe6af42945_XL.jpg" alt="Maecenas tristique orci ac sem." title="#counter0"/>
    </div>
</div>            
-->
        <!--<div align="center"><img src="http://www.uiest.edu.mx/dev2/sistema/shared_objects/galeria.ajax.php?cmd=thumbnails&id=36&height=480&width=940" border="0" /></div>-->
            <!--<div align="center">
                <?php 
        //            $home_page->get_galeria_principal_prt();
        //http://livedemo00.template-help.com/joomla_39501/media/k2/items/cache/ccb4e23c8aa216f1e96d31ab209c036b_XL.jpg
        ?>
            </div>
            <!--
            <ul id="slider" class="nivoSlider" style="position: relative; background: url('') no-repeat scroll 0% 0% transparent;">
                <li class="counter0">
                    <div class="inner">		
                        <a class="moduleItemImage" href="/joomla_39501/index.php/component/k2/item/40-maecenas-tristique-orci-ac-sem" title="Continue reading &quot;Maecenas tristique orci ac sem.&quot;">
                            <img src="images/ccb4e23c8aa216f1e96d31ab209c036b_XL.jpg" alt="Maecenas tristique orci ac sem." title="#counter0"/>
                        </a>
                    </div>
                </li>
                <li class="counter1">
                    <div class="inner">
                        <a class="moduleItemImage" href="/joomla_39501/index.php/component/k2/item/41-lorem-ipsum-dolor-sit-amet-consectetuer-adipiscing-elit" title="Continue reading &quot; Lorem ipsum dolor sit amet, consectetuer adipiscing elit. &quot;">
                            <img src="images/6f43b5263fbba79c5962514b85d34738_XL.jpg" alt="Lorem ipsum dolor sit amet, consectetuer adipiscing elit. " title="#counter1"/>
                        </a>
                    </div>
                </li>		
                <li class="counter2">
                    <div class="inner">
                        <a class="moduleItemImage" href="/joomla_39501/index.php/component/k2/item/42-aenean-auctor-wisi-et-urna-aliquam-erat-volutpat" title="Continue reading &quot; Aenean auctor wisi et urna. Aliquam erat volutpat. &quot;">
                            <img src="images/19f9cefdfb07230a68581d617885a3af_XL.jpg" alt="Aenean auctor wisi et urna. Aliquam erat volutpat. " title="#counter2"/>
                        </a>
                    </div>
                </li>		
                <li class="counter3 lastItem">
                    <div class="inner">
                        <a class="moduleItemImage" href="/joomla_39501/index.php/component/k2/item/80-lorem-ipsum-dolor-sit-amet-consectetuer-adipiscing-elit" title="Continue reading &quot; Lorem ipsum dolor sit amet, consectetuer adipiscing elit. &quot;">
                            <img src="images/852967248dd3e6cb3942a1fe6af42945_XL.jpg" alt="Lorem ipsum dolor sit amet, consectetuer adipiscing elit. " title="#counter3"/>
                        </a>
                    </div>
                </li>
            </ul>
            -->
	</div>
        <div class="nivo-html-caption" id="counter0">
    		<div class="clr"></div>    		
    		<div class="clr"></div>		
    	</div>
        <div class="nivo-html-caption" id="counter1">
    		<div class="clr"></div>    		
    		<div class="clr"></div>
    	</div>
				<div class="nivo-html-caption" id="counter2">
    		<div class="clr"></div>
    		<div class="clr"></div>
    	</div>
				<div class="nivo-html-caption" id="counter3">
    		<div class="clr"></div>
    		<div class="clr"></div>
    	</div>
		  
  </div>
            </div>
        	
</div>
    					<div class="clear"></div>
    				</div>

    			</div>
<!--    CENTRO DE PAGINA    -->
<?php 
    }
    ?>
                </div>
            </div>
<?php 
    if ($active_item == 1) {
        ?>
<!--    SUBMENUS    -->
<div id="rt-feature">
<div class="rt-container">
<div class="rt-grid-12 rt-alpha rt-omega">
    <div class="rt-block">
<div class="custom"  >
	<ul class="js">
    <li>
        <div class="btn1"><?php 
        echo $oferta_educativa->get_ramdom_item(1, "nombre");
        ?>
</div>
        <div class="inner1">
            <p><?php 
        echo $oferta_educativa->get_ramdom_item(1, "descripcion");
        ?>
</p>
            <a href="estudios.php?id_oed=<?php 
        echo $oferta_educativa->get_ramdom_item(1, "id_oferta");
        ?>
">Continuar leyendo</a>
        </div>
    </li>
    <li>
        <div class="btn2"><?php 
        echo $oferta_educativa->get_ramdom_item(2, "nombre");
        ?>
</div>
        <div class="inner2">
            <p><?php 
        echo $oferta_educativa->get_ramdom_item(2, "descripcion");
        ?>
</p>
            <a href="estudios.php?id_oed=<?php 
        echo $oferta_educativa->get_ramdom_item(2, "id_oferta");
        ?>
">Continuar leyendo</a>
        </div>
    </li>
    <li>
        <div class="btn3"><?php 
        echo $oferta_educativa->get_ramdom_item(3, "nombre");
        ?>
</div>
        <div class="inner3">
            <p><?php 
        echo $oferta_educativa->get_ramdom_item(3, "descripcion");
        ?>
</p>
            <a href="estudios.php?id_oed=<?php 
        echo $oferta_educativa->get_ramdom_item(3, "id_oferta");
        ?>
">Continuar leyendo</a>
        </div>
    </li>
    <li>
        <div class="btn4"><?php 
        echo $oferta_educativa->get_ramdom_item(4, "nombre");
        ?>
</div>
        <div class="inner4">
            <p><?php 
        echo $oferta_educativa->get_ramdom_item(4, "descripcion");
        ?>
</p>
            <a href="estudios.php?id_oed=<?php 
        echo $oferta_educativa->get_ramdom_item(4, "id_oferta");
        ?>
">Continuar leyendo</a>
        </div>
    </li>
</ul></div>
            </div>
</div>

</div>
</div>
<!--    SUBMENUS    -->
<?php 
    }
}
示例#2
0
    } elseif ($_REQUEST["modulo"] == 5) {
        $galeria = new Galeria_info(2, new DB());
        $galeria->get_sector_productivo_prt();
        /*
        $vinculacion = new Vinculacion(new DB());
        $vinculacion->get_sector_productivo_prt();
        */
    } elseif ($_REQUEST["modulo"] == 6) {
        $oferta_educativa = new Oferta_educativa_info(1, new DB());
        //        $oferta_educativa->set_debug_mode();
        $oferta_educativa->get_campos_json_prt("oed_descripcion");
    } elseif ($_REQUEST["modulo"] == 7) {
        $home = new Home_page(new DB());
        $home->get_licenciaturas_json_prt();
    } elseif ($_REQUEST["modulo"] == 8) {
        $home = new Home_page(new DB());
        $home->get_maestrias_json_prt();
    }
    /*
        $oferta_educativa = new Oferta_educativa_info($_REQUEST);
        $oferta_educativa->get_campos_json_prt("oed_descripcion");
        $oferta_educativa->cierra_conexion();
    */
    exit;
}
if ($_REQUEST["cmd"] == "info_oferta_educativa") {
    $oferta_educativa = new Oferta_educativa_info($_REQUEST["id_oferta"], new DB());
    $oferta_educativa->get_campos_json_prt("oed_nombre,oed_descripcion");
    exit;
}
if ($_REQUEST["cmd"] == "galeria") {
示例#3
0
<?php

require_once "../sistema/includes/autoload.php";
$home = new Home_page();
//    $home->set_debug_mode();
if ($home->envia_datos_contacto($_REQUEST)) {
    echo header("location: ../envio_ok.php");
} else {
    echo header("location: ../envio_error.php");
}
//$home->response_json_prt("error_inesperado");
exit;