1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <?php
- session_start();
- require_once 'classes/Template.php';
- require_once 'classes/MainMenu.php';
- require_once 'classes/Concurso.php';
- require_once 'classes/Proyecto.php';
- require_once 'include/bd_pdo.php';
- //CONSTANTES Y VARIABLES GLOBALES
- $errorBD = false;
- if (is_null($pdo)){
- $errorBD = true;
- }
- if(isset($_SESSION['usuario_id']))
- $usr = $_SESSION['usuario_id'];
- else
- $usr = 0;
- ?>
- <!doctype html>
- <html lang="es">
- <head>
- <title>Memorias - CIDIT</title>
- <?php Template::getCSS(array('secciones/memorias.css')); ?>
- </head>
- <body>
- <?php Template::agregaLoading(); ?>
- <?php $menuObj = new MainMenu($usr, 0, $pdo, $actual->getId());
- $menuObj->printMenu(); ?>
- <main class="margen-principal mb-4">
- <div class="fondoAnuncio">
- <div class="d-flex flex-column justify-content-center align-items-center">
- <div class="d-flex flex-column justify-content-center align-items-center">
- <div class="text-primary text-center mt-5 tit">¡Lo sentimos!</div>
- <div class="text-primary text-center small m-3 p-2 rounded msg">Aún no migramos las memorias a éste sitio, si quieres visitarlas</div>
- <a href="http://cidit.ingenierialasalle.mx/memorias/" target="_blank" class="m-3 mb-5 p-3 btn-extra d-flex flex-row rounded"><div class="text-azul1 msg">Da clic aquí</div><div class="ing-clic text-azul1 display-1 ml-2"></div></a>
- </div>
- </div>
- </div>
- </main>
- <div style="isolation: isolate;">
- <?php Template::footer(); ?>
- </div>
- <?php require_once 'inicia.php';
- Template::getJS();
- startModal(); ?>
- </body>
- </html>
- <?php
- function getMemorias($titulo,$indice,$pdf,$zip){ ?>
- <div class="w-50 my-3 d-flex">
- <div class="mr-3">
- <svg class="libro" width="200" viewBox="0 0 212.05 247.04">
- <polygon class="claro<?php echo $indice; ?>" points="30.62 6.78 187.14 0 187.14 224.08 31.86 227.96 30.62 6.78"/>
- <polygon class="sombra" points="50.42 247.04 0 217.99 183.78 218.44 50.42 247.04"/>
- <polygon class="hojas" points="29.58 25.57 50.94 36.12 50.94 40.96 29.58 30.13 29.58 25.57"/>
- <polygon class="hojas" points="29.58 34.12 50.94 44.66 50.94 49.5 29.58 38.67 29.58 34.12"/>
- <polygon class="claro<?php echo $indice; ?>" points="49.19 15.44 212.04 8.66 212.04 232.74 50.42 247.04 49.19 15.44"/>
- <polygon class="hojas" points="38.78 10.52 49.19 15.44 201.47 9.21 186.41 3.7 38.78 10.52"/>
- <polygon class="obscuro<?php echo $indice; ?>" points="30.62 6.78 49.19 15.44 50.42 247.04 30.03 229 30.62 6.78"/>
- <polygon class="hojas" points="30.58 12.01 49.19 20.7 49.19 22.84 30.55 13.78 30.58 12.01"/>
- <polygon class="hojas" points="30.59 14.72 49.19 23.41 49.19 25.54 30.55 16.49 30.59 14.72"/>
- <text class="svgText" x="72" y="50"><?php echo $titulo ?></text>
- <text class="svgText" y="200" x="78">Da clic aquí para</text>
- <text class="svgText" y="220" x="79">ver las memorias</text>
- </svg>
- </div>
- <div class="d-flex flex-column p-3">
- <!--label class="text-center text-primary display-6"></label-->
- <?php if (!is_null($zip)) { ?>
- <a href="concursos/memorias/<?php echo $zip; ?>" class="btn btn-outline-danger d-flex justify-content-center my-3"><div class="mx-1 mt-1 ing-descarga"></div>Descargar Memorias Completas</a>
- <?php } else { ?>
- <label class="btn btn-outline-secondary d-flex justify-content-center my-3"><div class="mx-1 mt-1 ing-no-cargado"></div>Memorias no disponibles</label>
- <?php } ?>
- </div>
- </div>
- <?php }
|