-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontac.php
executable file
·121 lines (106 loc) · 2.99 KB
/
contac.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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html lang="es" class="no-js">
<head>
<meta charset="UTF-8">
<?php include("0head.php") ?>
<title>Alex G'h - Contácto</title>
<link rel="stylesheet" href="css/contac.css">
<?php include("1links_animat.php") ?>
<script>
function quitar(){document.getElementById("alert").style.display="none";}
</script>
</head>
<body>
<?php
if(isset($_GET["id"]) && !empty($_GET["id"]))
{
switch ($_GET["id"])
{
case 'true_mensaje':
echo
"<div onclick='quitar()' id='alert'>
<section id='alert-cont'>
<p id='alertas'>!Gracias por <br>
sus comentarios¡</p>
</section>
</div>";
break;
case 'false_mensaje':
echo
"<div onclick='quitar()' id='alert'>
<section id='alert-cont'>
<p id='alertas'>
El correo no es valido <br>
intente con otro.
</p>
</section>
</div>";
break;
case 'false_camp':
echo
"<div onclick='quitar()' id='alert'>
<section id='alert-cont'>
<p id='alertas'>
Debes llenar todo<br>
¡Gracias!
</p>
</section>
</div>";
break;
default:
# code...
break;
}
}
?>
<?php include("2No_Script.php") ?>
<!-- -------------------- Banner -------------------- -->
<header class="bg1-banner-cont">
<?php include("menu.php") ?>
<section class="caja-title-contac">
<h1 class="title-contac">C o n t á c t a m e</h1>
</section>
</header>
<!-- -------------------- Cont 1 -------------------- -->
<div class="bg2">
<section class="bg2-cont1-cont">
<article class="info-cont1">
<div>
<h3 class="txt">Si tienes una idea de <b>proyecto</b>, una <br>
propuesta de <b>negocio</b> o simplemente <br>
quieres tener una charla. <b>¡Contactame!</b>
</h3>
<h3 class="txt">
<span class="icon-mobile"> </span> <b>+52 (55) 34 94 - 94 57</b>
</h3>
<h3 class="txt">
<span class="icon-mail3"> </span> <b>[email protected]</b>
</h3>
<h3 class="txt">
<a href="https://www.facebook.com/AlexGh12.96" class="facebook" target="_blank">
<span class="icon-facebook2"> </span>
<b> Facebook</b>
</a>
</h3>
</div>
</article>
<div class="caja-formulario">
<form action="enviar.php" method="POST" class="formulario">
<input type="text" name="name" placeholder="Nombre" required>
<input type="email" name="email" placeholder="Correo" required>
<select name="asunto" id="asunto" required>
<option value="">Selecciona asunto..</option>
<option value="Comentario">Comentarios</option>
<option value="Queja">Queja</option>
<option value="Cotizacion">Cotización</option>
</select>
<textarea name="texto" id="texto" placeholder="Comentario"></textarea>
<input type="submit" value="Enviar">
</form>
</div>
</section>
</div>
<?php include("pie_pag.php") ?>
<?php include("3Java_Script.php") ?>
</body>
</html>