Transférer les fichiers vers ''

master
Thomas ALVES 3 weeks ago
parent 9939b520ba
commit 7dc0fb8b08

@ -0,0 +1,179 @@
* {
text-decoration: none;
}
table {
border-collapse: collapse;
table-layout: fixed;
caption-side: bottom;
}
body {
background-color: rgb(94, 36, 128);
font-family: 'quadranta';
}
table,
th,
td {
border: 1px solid black;
}
div {
background-color: rgb(255, 251, 0);
}
p {
display: flex;
}
.activities-table img {
max-width: 150px;
}
header {
background-color: rgba(34, 80, 25, 0.918);
}
.bio {
position: relative;
left: 47%;
float: none;
border-radius: 10px/20px;
}
section {
display: flex;
justify-content: space-between;
}
article {
width: 40%;
}
.biotxt {
color: rgb(112, 95, 131);
}
h2 {
text-align: center;
clear: both;
}
aside {
width: 40%;
padding-left: 0.5rem;
margin-left: 0.5rem;
float: right;
box-shadow: inset 5px 0 5px -5px #29627e;
font-style: italic;
color: #29627e;
}
aside>p {
margin: 0.5rem;
}
nav ul {
height: 50px;
margin: 10px;
display: flex;
flex-direction: row;
justify-content: space-evenly;
}
nav li {
background: radial-gradient(circle at 0% 100%, #ffdf42, #ffcc2c, #ffb914, #ffa500, #ff8f00, #ff7800, #ff5e00, #ff3d0c);
flex: 1;
/*box-shadow: 2px 5px #29627e;*/
}
.bouton {
background-color: rgb(189, 201, 226);
text-align: center;
color: aliceblue;
}
nav li a {
color: black;
}
.liens1 {
top: 100px;
right: 10px;
height: 60px;
width: 60px;
position: fixed;
}
.liens2 {
top: 100px;
right: 75px;
height: 60px;
width: 60px;
position: fixed;
}
label {
display: block;
}
nav li:hover {
background: radial-gradient(circle at 20% 0%, #ff8b17, #e6751f, #cc6021, #b24d22, #963b1f, #7b2b1c, #601d16, #45100e);
}
nav li:hover a {
color: white;
}
nav li {
display: block;
padding: 10px 35px;
}
li .sousli {
display: none;
}
.deroul:hover .sousli {
display: block;
position: absolute;
top: 40px;
left: 0;
width: max-content;
}
.deroul {
position: relative;
}
li {
border-left-style: dashed;
}
ul li:first-child {
border-left-style: none;
}
.deroul ul li {
border-left-style: none;
}
@media (max-width: 800px) {
aside {
float: none;
}
}
.img:hover::after {
content: attr(title);
bottom: 10px;
color: #fff;
}@font-face{
font-family: "Quadranta";
src: url('quadranta.woff') format('woff');
}

@ -0,0 +1,3 @@
img{display: none;}
nav{display: none;}
head{display: none;}

@ -0,0 +1,69 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="Utf-8">
<link type="text/css" rel="stylesheet" href="Css.css">
<link rel="stylesheet" type="text/css" href="impression.css" media="print">
</head>
<body>
<nav>
<ul>
<li><a href="TP1Web.html">Accueil</a></li>
<li><a href="page_web_4.html">Mes activités</a></li>
<li><a href="page_web_3.html">Mon parcours scolaire</a></li>
<li class="deroul"><a>M&eacutedias</a>
<ul class="sousli">
<li><a href="page_web_5.html">Ma page image</a></li>
<li><a href="page_web_6.html">Ma page vid&eacuteo</a></li>
</ul>
</li>
<li><a href="meContacter.html">Me contacter</a></li>
</ul>
</nav>
<form action="php.php" method="post">
<div>
<label for="prenom">Votre prénom</label>
<input id="prenom" placeholder="Franck" type="text" required>
</div>
<div>
<label for="mail">Votre adresse mail</label>
<input id="mail" placeholder="mailexemple@monmail.com" type="email" required>
</div>
<div>
<label for="nom">Votre nom</label>
<input id="nom" placeholder="Dubois" type="text" required>
</div>
<div>
<label for="tel">Votre numéro de téléphone(facultatif)</label>
<input id="tel" placeholder="0708090405" type="tel">
</div>
<div>
<label for="Motif">Motif de contact</label>
<select name="Motif" id="Motif" required>
<option value="rt">Retour technique</option>
<option value="co">Collaboration</option>
<option value="au">Autre</option>
</select>
</div>
<div>
<label for="date">Date du créneau</label>
<input id="date" type="datetime-local" placeholder="1999-01-01"required/>
</div>
<div>
<span>Première demande </span>
<input type="radio" id="radio_btn" value="Oui" checked>
<span>Pas la première demande</span>
<input type="radio" id="radio_btn" value="Non">
</div>
<div>
<textarea id="description" rows="5" cols="30" placeholder="Détaillez..." required></textarea>
</div>
<div>
<input type="submit" value="Send!"/>
</div>
<div>
<input type="reset" value="Reset!"/>
</div>
</form>
</body>
</html>

@ -0,0 +1,37 @@
<!DOCTYPE html>
<html>
<head>
<link type="text/css" rel="stylesheet" href="Css.css">
<link rel="stylesheet" type="text/css" href="impression.css" media="print">
<meta charset="Utf-8">
</head>
<body>
<nav>
<ul>
<li><a href="TP1Web.html">Accueil</a></li>
<li><a href="page_web_4.html">Mes activités</a></li>
<li><a href="page_web_3.html">Mon parcours scolaire</a></li>
<li class="deroul"><a>M&eacutedias</a>
<ul class="sousli">
<li><a href="page_web_5.html">Ma page image</a></li>
<li><a href="page_web_6.html">Ma page vid&eacuteo</a></li>
</ul>
</li>
<li><a href="meContacter.html">Me contacter</a></li>
</ul>
</nav>
<style type="text/css">
head {
background-color: aqua;
}
video {
float: left;
}
p {
font-size: 15px;
}
</style>
<video src="vidéos/video.mp4" controls class="bio" width="30%" height="30%"></video>
<p>Petite vidéo de mer parce que pourquoi pas.</p>
</body>
</html>

@ -0,0 +1,24 @@
<?php
if ($_SERVER["REQUEST_METHOD"] == "POST") {
$prenom=htmlspecialchars(trim($_POST["prenom"]));
$nom=htmlspecialchars(trim($_POST["nom"]));
$mail=htmlspecialchars(trim($_POST["mail"]));
$tel=htmlspecialchars(trim($_POST["tel"]));
$mtf=htmlspecialchars(trim($_POST["Motif"]));
$date=htmlspecialchars(trim($_POST["date"]));
$prem=htmlspecialchars(trim($_POST["radio_dtn"]));
$desc=htmlspecialchars(trim($_POST["description"]));
if (!filter_var($mail, FILTER_VALIDATE_EMAIL)){
echo "<p>Attention, adresse mail invalide</p>";
}
echo "<p>Prénom: $prenom</p>";
echo "<p>Nom: $nom</p>";
echo "<p>Mail $mail</p>";
echo "<p>Numéro de téléphone: $tel</p>";
echo "<p>Motif: $mtf</p>";
echo "<p>Date: $date</p>";
echo "<p>Demande: $prem</p>";
echo "<p>Description: $desc</p>";
echo "<p>Votre demande a été prise en compte et va être validée </p>";
}
?>
Loading…
Cancel
Save