master
Jeremy DUCOURTHIAL 3 years ago
parent eb31d1334d
commit 6241a03d34

@ -0,0 +1,16 @@
p {
background-color: #001;
color: #fff;
margin: 5px;
}
input {
margin: .4rem;
}
form{
text-align: center;
margin: auto;
width: 300px;
border: solid;
}

@ -0,0 +1,26 @@
#titre {
text-align: center;
font-size: large;
font-weight: bold;
}
#pubDate{
text-align:left;
font-size: small;
}
#description{
text-align: justify;
}
div{
background-color: white;
border-bottom:solid ;
padding: 5px;
margin: 10px;
}
#menu{
color: white;
background-color: black;
}

@ -1,8 +1,13 @@
<!doctype html>
<link href="css/adminConnexion.css" rel="stylesheet" type="text/css">
<html>
<form action="index.php?action=verifValidation" method="POST">
<input type="text" name="name" placeholder="name" /><br>
<input type="text" name="password" placeholder="password" />
<p>Connexion</p>
<label for="Nom"></label>
<input type="text" name="name" placeholder="Nom" /><br>
<label for="Mot de passe"></label>
<input type="text" name="password" placeholder="Mot de passe" /><br>
<input type="submit" value="OK">
</form>
</html>

@ -1,20 +1,25 @@
<!doctype html>
<link href="css/listeNews.css" rel="stylesheet" type="text/css">
<html>
<form action="index.php">
<input type="hidden" name="action" value="goToAdminConnexion">
<button type="submit">connexion</button>
</form>
<div id="menu">
<form action="index.php">
<input type="hidden" name="action" value="goToAdminConnexion">
<button type="submit">connexion</button>
</form>
</div>
<?php
foreach ($listeNews as $n){
echo $n->getTitle();
echo "</br>";
echo "<div>";
echo "<p id=titre>";
echo '<a href='.$n->getLink().'>'.$n->getTitle().'</a>';
echo "</p>";
echo "<p id=pubDate>";
echo $n->getPubdate();
echo "</br>";
echo '<a href='.$n->getLink().'>'.$n->getLink().'</a>';
echo "</br>";
echo "</p>";
echo "<p id=description>";
echo $n->getDescription();
echo "</br>";
echo "</br>";
echo "</p>";
echo "</div>";
}
?>
</html>
Loading…
Cancel
Save