InsulineSodarameme/UnMeme.php
2023-01-07 01:49:49 +01:00

89 lines
3.7 KiB
PHP
Executable File

<?php
include_once("config.php");
// on tente de se connecter a la base de donnees
?>
<!Doctype html>
<html lang="fr">
<head>
<title class="intro">menu</title>
<meta charset="UTF-8">
<meta name="color-scheme" content="light only">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="css/header.css" >
<link rel="stylesheet" href="css/style.css" >
<link rel="stylesheet" href="css/UnMeme.css" >
</head>
<body>
<?php include("header.php");?>
<div class=pubG>
<a href="https://dwarves.iut-fbleau.fr/~catanese/SAE_WEB_2022/index.html" >
<img src="img/pubG.png" alt="">
</a>
</div>
<main>
<div class="center"></div>
<section class="panel">
<article class="memeArticle">
<div class="memeContainer">
<?php
$src = $_GET['meme'];
echo("<img src='img/meme/$src.jpg' alt=''>");
?>
</div>
<div class="infoContainer">
<blockquote class="memeInfo">
<p>Titre : Funny Sodaramel Toughts</p>
<p>Auteur : Dino Crous</p>
</blockquote>
</div>
</article>
<article class="statsArticle">
<div class="infoStats">
<p>436 votes positifs</p>
<p>25 votes négatifs</p>
<p>8 commentaires</p>
</div>
<div class="commentaire">
<p class="pseudo">Denis Monnerat</p>
<p class="com-text">Denis is approving your meme</p>
</div>
<div class="commentaire">
<p class="pseudo">David Laforge</p>
<p class="com-text">J'ai beaucoup rigolé</p>
</div>
<div class="commentaire">
<p class="pseudo">MrSim</p>
<p class="com-text">Hey mais c'est moi !</p>
</div>
<div class="commentaire">
<p class="pseudo">Bruno Ministre des Finances</p>
<p class="com-text">Très bonne réflexion, j'apprécie cette même</p>
</div>
<div class="commentaire">
<p class="pseudo">Bob-X_93</p>
<p class="com-text">PTDR</p>
</div>
<div class="commentaire">
<p class="pseudo">Obi-Wan Kenobi</p>
<p class="com-text">Hello there !</p>
</div>
<div class="commentaire">
<p class="pseudo">VENEOX</p>
<p class="com-text">Mais qu'est ce que je fous là moi ?</p>
</div>
<div class="commentaire">
<p class="pseudo">Pierre V</p>
<p class="com-text">C'est nul</p>
</div>
</article>
</section>
</main>
<div class=pubD>
<a href="https://dwarves.iut-fbleau.fr/~catanese/SAE_WEB_2022/index.html" >
<img src="img/pubD.png" alt="">
</a>
</div>
<?php include("footer.php");?>
</body>