119 lines
4.8 KiB
PHP
119 lines
4.8 KiB
PHP
|
|
<?php
|
||
|
|
session_start();
|
||
|
|
if (isset($_SESSION['usuario'])){
|
||
|
|
if ($_SESSION['usuario']['tipo'] == 'admin')
|
||
|
|
{
|
||
|
|
header('Location: carga.php');
|
||
|
|
}
|
||
|
|
}
|
||
|
|
?>
|
||
|
|
<html lang="es">
|
||
|
|
<head>
|
||
|
|
<title>Portal Editorial </title>
|
||
|
|
<meta charset="utf-8">
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||
|
|
<link rel="stylesheet" href="../css/estilo.css">
|
||
|
|
<link rel="stylesheet" href="../css/styles.css">
|
||
|
|
<link rel="stylesheet" href="../bootstrap/bootstrap.min.css">
|
||
|
|
<link rel="shortcut icon" type="image/png" href="../img/header/escudo-unam.ico">
|
||
|
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.1/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
|
||
|
|
</head>
|
||
|
|
|
||
|
|
<body>
|
||
|
|
<div class="general">
|
||
|
|
<header>
|
||
|
|
<div class="container" style="background-color: #1B3D70;">
|
||
|
|
<div class="row" style="padding: 7px;">
|
||
|
|
<div class="col-sm-12 col-md-6 d-flex d-sm-none d-md-block justify-content-sm-center justify-content-md-start my-2">
|
||
|
|
<img src="../img/header/Logo-UNAM.png" alt="">
|
||
|
|
</div>
|
||
|
|
<div class="col-sm-12 col-md-6 d-flex justify-content-sm-center justify-content-md-end my-3">
|
||
|
|
<img src="../img/header/logo_fesa.png" style=" height: 63px;" alt="">
|
||
|
|
<div style="background-color: white; margin-left:20px; margin-right:20px; margin-top: 7px; width: 5px; height: 60px;"></div>
|
||
|
|
<img src="../img/header/ediciones-acatlan.png" style=" height: 80px;" alt="">
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
</header>
|
||
|
|
<div class="menu_pands">
|
||
|
|
<nav class="navbar navbar-expand-lg navbar-light bg-light navbar-toggler toggler-example">
|
||
|
|
<span class="navbar-brand mb-0 h1"><a href="../index.php">Inicio</a></span>
|
||
|
|
</nav>
|
||
|
|
</div>
|
||
|
|
<br><br>
|
||
|
|
|
||
|
|
<div class="container" style="margin-top: 1%;">
|
||
|
|
<h1>Iniciar sesión</h1>
|
||
|
|
<br>
|
||
|
|
|
||
|
|
<div class="error alert alert-danger alert-dismissible fade show" style="display: none; text-align: center;">
|
||
|
|
<span style="font-size: 18px;">Los Datos ingresados no válidos, intentalo nuevamente.</span>
|
||
|
|
</div>
|
||
|
|
<br>
|
||
|
|
<form action="" id="formlg">
|
||
|
|
<div class="form-group" style="width: 30%;">
|
||
|
|
<label>Cuenta</label>
|
||
|
|
<input type="text" class="form-control" pattern="[A-Za-z0-9_-]{1,15}" required name="usuariolg">
|
||
|
|
</div>
|
||
|
|
<div class="form-group" style="width: 30%;">
|
||
|
|
<label>Password</label>
|
||
|
|
<input type="Password" class="form-control" required name="passlg">
|
||
|
|
</div>
|
||
|
|
<input type="submit" class="btn btn-primary botonlg" value="Iniciar Sesion">
|
||
|
|
</form>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
|
||
|
|
<br><br>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<footer>
|
||
|
|
|
||
|
|
<div class="container" style="background-color: #1B3D70;">
|
||
|
|
<div class="row">
|
||
|
|
<div id="b1" class="col col-sm-4 col-lg-2 col-xl text-cente btn-foo">
|
||
|
|
<a href="#" style="text-decoration:none; color: white;">Comité Editorial</a>
|
||
|
|
</div>
|
||
|
|
<div id="b2" class="col col-sm col-lg col-xl text-center btn-foo">
|
||
|
|
<a href="#" style="text-decoration:none; color: white;">Política Editorial y Lineamientos</a>
|
||
|
|
</div>
|
||
|
|
<div id="b3" class="col col-sm col-lg col-xl text-center btn-foo">
|
||
|
|
<a href="#" style="text-decoration:none; color: white;">Libreria</a>
|
||
|
|
</div>
|
||
|
|
<div id="b4" class="col col-sm-4 col-lg col-xl text-center btn-foo">
|
||
|
|
<a href="#" style="text-decoration:none; color: white;">Contáctanos</a>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<div class="container" style="background-color: #1B3D70; color: white">
|
||
|
|
<div class="row">
|
||
|
|
|
||
|
|
<div class="col-12 col-sm-12 col-lg-12 col-xl-12">
|
||
|
|
<p style="text-align:center;">
|
||
|
|
Hecho en México, todos los derechos reservados 2018.
|
||
|
|
<br>
|
||
|
|
Esta página puede ser reproducida con fines no lucrativos, siempre y cuando no se mutile, se cite la fuente
|
||
|
|
completa y su dirección electrónica. De otra forma, requiere permiso previo por escrito de la institución
|
||
|
|
</p>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</footer>
|
||
|
|
|
||
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
||
|
|
<script src="../js/main.js"></script>
|
||
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js"></script>
|
||
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js"></script>
|
||
|
|
</body>
|
||
|
|
</html>
|
||
|
|
|