-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherror.php
64 lines (54 loc) · 1.27 KB
/
error.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
<?php
$msg = (isset($_POST['mensajeError'])) ? $_POST['mensajeError'] : 'Mensaje No Encontrado';
?>
<!doctype html>
<html lang="es">
<head>
<meta charset="utf-8">
<title>Entrenate PG - ERROR</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
* {
line-height: 1.2;
margin: 0;
}
html {
background: #003c73;
color: #fff;
display: table;
font-family: sans-serif;
height: 100%;
text-align: center;
width: 100%;
}
body {
display: table-cell;
vertical-align: middle;
margin: 2em auto;
}
h1 {
color: #fff;
font-size: 2em;
font-weight: 400;
}
p {
margin: 0 auto;
width: 280px;
}
@media only screen and (max-width: 280px) {
body, p {
width: 95%;
}
h1 {
font-size: 1.5em;
margin: 0 0 0.3em;
}
}
</style>
</head>
<body>
<p><img src="static/images/logoPG.png" alt="P&G"></p>
<h1>ERROR</h1>
<p><?php print $msg; ?></p>
</body>
</html>