-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
86 lines (79 loc) · 2.81 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<?php
if (!isset($_SESSION)) {
session_start();
}
require 'config.php';
?>
<html>
<head>
<link rel="shortcut icon" href="images/favicon.ico">
<title>Infrastructure Manager | GRyCAP | UPV</title>
<link href="css/style.css" rel="stylesheet" type="text/css" media="all"/>
<link rel="stylesheet" href="css/style_login2.css">
<link rel="stylesheet" href="css/style_intro2.css">
<script type="text/javascript" language="javascript" src="js/cookie.js"></script>
<?php
require_once "analyticstracking.php";
?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body onload="showCookieBanner()">
<div id="caja_total_blanca">
<div id="caja_login_superior">
<div id="cookie_banner" style="display:none;">
This website uses cookies to ensure you the best experience on our website.
<a href="http://cookiesandyou.com/" target="_blank">
<input type="button" name="learn" value="Learn more"/>
</a>
<input type="button" name="gotit" onclick="removeMe();" value="Accept"/>
</div>
<div id="caja_login_superior_componentes">
<form action="list.php" method="post">
<?php
if (isset($_SESSION['info'])) {
?>
<div id="texto_info">
<div id="texto_open_sans">
<?php echo htmlspecialchars($_SESSION['info']);unset($_SESSION['info']); ?>
</div>
</div>
<?php
}
if (isset($_SESSION['error'])) {
?>
<div id="texto_error">
<div id="texto_open_sans">
<?php echo htmlspecialchars($_SESSION['error']);unset($_SESSION['error']); ?>
</div>
</div>
<?php
}
?>
<input type="text" name="username" value="" placeholder="Username">
<input type="password" name="password" value="" placeholder="Password">
<input type="submit" value="Login">
<a href="adduser.php"><input type="button" name="Register" value="Register"></a>
<?php
if (!empty($openid_issuer)) {
?>
 <a href="openid_auth.php"><input type="button" name="OpenID" value="<?php echo $openid_name;?>" title="OpenID"></a>
<?php
}
?>
</form>
</div>
</div>
<div id="caja_portada_logo_centro">
<img src="images/logo_portada.png">
</div>
<div id="caja_pie_portada">
<div id="caja_texto_pie_portada">
© GRyCAP  |  <a href="terms.html">Terms of Service</a>  |  <a href="https://www.upv.es" target="_blank">Universidad Politécnica de Valencia</a>  |  Edificio 8B, Acceso N, Planta 1
  |  Camino de Vera s/n, 46022, Valencia  |  <a href="https://www.grycap.upv.es" target="_blank">www.grycap.upv.es</a>
</div>
</div>
<div id="linea_pie_portada">
</div>
</div>
</body>
</html>