Exemplo n.º 1
0
<div class="mb12" id="rt-main">
                <div class="rt-container">
                    <div class="rt-grid-12 ">
                                                						<div class="rt-block">
	                        <div id="rt-mainbody">
								<div class="component-content">
	                            	

<!-- Start K2 Item Layout -->
<span id="startOfPageId11"></span>

    <div class="itemView" id="k2Container">
                        <div class="itemIntroText">
                                <?php 
$info = new Oferta_educativa_info(1, new DB());
$info->get_campo_prt("oed_descripcion");
?>
			</div>		
		<div class="clr"></div>
    </div>
	<div class="clr"></div>

	
	<div class="clr"></div>
</div>
<!-- End K2 Item Layout -->
<!-- JoomlaWorks "K2" (v2.5.7) | Learn more about K2 at http://getk2.org -->


                            </div>
Exemplo n.º 2
0
<?php

require_once "sistema/includes/autoload.php";
require_once "skin.php";
arriba($oferta_educativa);
$info_oferta_educativa = new Oferta_educativa_info($_REQUEST["id_oed"]);
?>
<div style="background-image:url(images/logos2.png);">

<div class="mb12" id="rt-main">
                <div class="rt-container">
                    <div class="rt-grid-12 ">
                                                						<div class="rt-block">
	                        <div id="rt-mainbody">
								<div class="component-content">
	                            	

<!-- Start K2 Item Layout -->
<span id="startOfPageId11"></span>
    <div class="itemHeader">		
			<h2 class="itemTitle" align="center">
                                <?php 
echo $info_oferta_educativa->get_campo("oed_nombre");
?>
			</h2>  
	</div>
    <div class="itemView" id="k2Container">
                        <div class="itemIntroText">
                                <?php 
$info_oferta_educativa->get_campo_prt("oed_descripcion");
?>
Exemplo n.º 3
0
        $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") {
    $galerias = new Galeria_info($_REQUEST["id_galeria"], new DB());
    $galerias->get_thumbnails_json_prt();
    exit;
}
Exemplo n.º 4
0
<?php

require_once $_SERVER["DOCUMENT_ROOT"] . "/includes/autoload.php";
if ($_REQUEST["cmd"] == "consulta_info") {
    $oferta = new Oferta_educativa_info($_REQUEST["id_oferta"]);
    //    $info_sitio->set_debug_mode();
    $oferta->get_campos_json_prt("oed_id,oed_nombre,oed_descripcion");
    exit;
}
if ($_REQUEST["cmd"] == "update_oferta_educativa") {
    $oferta_educativa = new Oferta_educativa();
    //    $oferta_educativa->set_debug_mode();debug($_REQUEST);
    if ($oferta_educativa->actualizaOferta($_REQUEST["id_oferta"], $_REQUEST["html"])) {
        $oferta_educativa->response_json_prt("ok");
    } elseif ($oferta_educativa->_error) {
        $oferta_educativa->response_json_prt($info_sitio->_error);
    } else {
        $oferta_educativa->response_json_prt("error");
    }
    exit;
}