File: /home/austral3d/fourdplan.com/php/login.php
<?php
require('other-conexion.php');
session_start();
if($_SESSION){
echo '<script language = javascript>
alert("Debes cerrar sesion.")
self.location = "javascript:history.back()"
</script>';
}
if(empty($_GET['lenguaje'])){
$lenguaje = false;
}else{
$lenguaje = $_GET['lenguaje'];
}
$colorfuente = '#0D314D';
?>
<!DOCTYPE html>
<html>
<head>
<title>Fourdplan</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link href="../css/sti.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link href="../css/bootstrap.min.css" rel="stylesheet">
<link rel="icon" href="../img/fdp.ico">
</head>
<body style="
background: url('projects/assets/img/bg.jpg');
background-position: center;
background-repeat: no-repeat;
background-size: cover;">
<div class="content">
<div class="container-fluid">
<div class="container">
<br><br><br><br><br>
<img src="../img/fdp fondos claros.png" alt="..." class="img-responsive center-block" width="40%">
<br><br>
</div>
<div class="container">
<div class="col-md-4 col-md-offset-4" style="background: rgba(255, 255, 255, 0.9); border-radius: 21px 21px 21px 21px;
-moz-border-radius: 21px 21px 21px 21px;
-webkit-border-radius: 21px 21px 21px 21px;border: 1px solid #0D314D;">
<div class="col-md-12">
<h2>
<center><b><font color=<?php echo $colorfuente;?>>Iniciar sesión</font></b></center>
</h2>
<br>
<form method="POST" action="other-conne_usu.php?lenguaje=true">
<div class="form-group">
<label for="exampleInputEmail3"><font color=<?php echo $colorfuente;?>>Usuario</font></label>
<input type="text" class="form-control" name="txtmail" placeholder="fourdplan@fourdplan.com">
</div>
<div class="form-group">
<label for="exampleInputPassword3"><font color=<?php echo $colorfuente;?>>Contraseña</font></label>
<input type="password" class="form-control" name="pass" placeholder="**********">
</div>
<center>
<button type="submit" class="btn btn-primary">Ingresar</button>
</center>
<center>
<br>
<a href="../"><font color=<?php echo $colorfuente;?>>Inicio</font></a>
</center>
<br>
</form>
</div>
</div>
</div>
<br>
<div class="container">
</div>
</div>
</div>
<div class="footer ">
<p align="center"><a style="color: #0D314D" href="../"> © 2017 FourDPlan</a></p>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/bootstrap.js"></script>
</body>
</html>