File: /home/austral3d/fourdplan.com/bimtool/index.php
<?php
require('../php/conexion.php');
session_start();
if($_SESSION){
echo '<script language = javascript>
alert("Debes cerrar sesion.")
self.location = "javascript:history.back()"
</script>';
}
?>
<!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('../img/background.jpg'); no-repeat center fixed;background-size: cover;">
<div class="content">
<div class="container-fluid">
<div class="container">
<br><br><br><br><br>
<img src="../img/logo.png" alt="..." class="img-responsive center-block">
<br><br>
</div>
<?php
//idioma español-------------------------------------------------
//---------------------------------------------------------------
$lenguaje = true;
if($lenguaje){
?>
<div class="container-fluid">
<div class="col-md-2 col-lg-offset-5">
<h2 align="center">
<font color = "white">BIMTOOL</font>
</h2>
<h3>
<p align="center"><font color = "white">Iniciar sesión</font></p>
</h3>
<br>
<form method="POST" action="conexion.php">
<div class="form-group">
<label for="exampleInputEmail3"><font color = "white">Usuario</font></label>
<input type="text" class="form-control" name="txtmail" placeholder="fourdplan@austral3d.com">
</div>
<div class="form-group">
<label for="exampleInputPassword3"><font color = "white">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>
<br>
</form>
</div>
</div>
<?php
}else if($lenguaje == false){
?>
<div class="container-fluid">
<div class="col-md-2 col-lg-offset-5">
<h3>
<p align="center"><font color = "white">Log In</font></p>
</h3>
<br>
<form method="POST" action="conne_usu.php">
<div class="form-group">
<label for="exampleInputEmail3"><font color = "white">User</font></label>
<input type="text" class="form-control" name="txtmail" placeholder="fourdplan@austral3d.com">
</div>
<div class="form-group">
<label for="exampleInputPassword3"><font color = "white">Password</font></label>
<input type="password" class="form-control" name="pass" placeholder="**********">
</div>
<center>
<button type="submit" class="btn btn-primary">Enter</button>
</center>
<br>
</form>
</div>
</div>
<?php
}
?>
<br>
<div class="container">
</div>
</div>
</div>
<div class="footer ">
<p align="center"><a style="color: white" href="../index.php"> © 2016 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>