forked from miraty/web
133 lines
4.2 KiB
PHP
133 lines
4.2 KiB
PHP
|
<?php session_start(); ?>
|
||
|
<!DOCTYPE HTML>
|
||
|
<html>
|
||
|
<?php // Appelle le <head>
|
||
|
include "inc/head.php";
|
||
|
head("Navigateurs Web | Anternet.pw", "Liste de navigateurs Web pour choisir le meilleur"); ?>
|
||
|
<body class="<?php include "inc/couleur.php"; ?>" lang="fr">
|
||
|
<div class="main">
|
||
|
|
||
|
<?php include "inc/menu.php"; ?>
|
||
|
|
||
|
|
||
|
<div class="texte">
|
||
|
<div>
|
||
|
<h1>
|
||
|
La cave à l'info-rmatique
|
||
|
</h1>
|
||
|
<a href="cave.module.php" title="Voir les modules que je vous recommande" class="button icon fa-puzzle-piece">
|
||
|
Modules
|
||
|
</a>
|
||
|
<a href="cave.navigateur.php" title="Voir la liste des navigateurs web" class="button special icon fa-list-ol">
|
||
|
Navigateurs
|
||
|
</a>
|
||
|
<a href="cave.mdr.php" title="Voir la liste des moteurs de recherche" class="button icon fa-search">
|
||
|
Moteurs de recherche
|
||
|
</a>
|
||
|
<a href="cave.os.php" title="Voir la liste des systèmes d'exploitation" class="button icon fa-cogs">
|
||
|
Systèmes d'exploitation
|
||
|
</a>
|
||
|
<a href="cave.definition.php" title="Voir des définitions simples concernent internet et l'informatique" class="button icon fa-list">
|
||
|
Définitions
|
||
|
</a>
|
||
|
</div>
|
||
|
<h1>Navigateurs Web</h1>
|
||
|
<p>
|
||
|
Voici une liste de navigateurs web, destinée à ce que vous trouviez celui qui vous convienne.
|
||
|
|
||
|
<p>
|
||
|
<h2>Menu</h2>
|
||
|
<div class="table-wrapper">
|
||
|
<table class="alt">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>Nom</th>
|
||
|
<th>Editeur</th>
|
||
|
<th>Libre</th>
|
||
|
<th>Basé sur</th>
|
||
|
<th>Bibliothèque de modules</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
|
||
|
<?php
|
||
|
|
||
|
// Afficher les commentaires de la base de données
|
||
|
include "loginsbdd.php";
|
||
|
|
||
|
try {
|
||
|
$bdd = new PDO('mysql:host=localhost;dbname=anternet;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
|
||
|
}
|
||
|
|
||
|
catch (Exception $e) {
|
||
|
die('Erreur PHP / MySQL : ' . $e->getMessage()); }
|
||
|
|
||
|
$reponse = $bdd->query('SELECT * FROM navigateur');
|
||
|
|
||
|
while ($donnees = $reponse->fetch()) { ?>
|
||
|
|
||
|
<tr>
|
||
|
<td><a href="#<?php echo $donnees['nomDeCode']; ?>"><?php echo $donnees['nomComplet']; ?></a></td>
|
||
|
<td><?php echo $donnees['editeur']; ?></td>
|
||
|
<td class="icon <?php echo $donnees['libre']; ?>"></td>
|
||
|
<td><?php echo $donnees['source']; ?></td>
|
||
|
<td><?php echo $donnees['bibliModule']; ?></td>
|
||
|
</tr>
|
||
|
|
||
|
<?php } $reponse->closeCursor(); ?>
|
||
|
|
||
|
</tbody>
|
||
|
|
||
|
</table>
|
||
|
</div>
|
||
|
</p>
|
||
|
|
||
|
<?php
|
||
|
|
||
|
// Afficher les commentaires de la base de données
|
||
|
include "loginsbdd.php";
|
||
|
|
||
|
try {
|
||
|
$bdd = new PDO('mysql:host=localhost;dbname=anternet;charset=utf8', $userBDD, $mdpBDD, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
|
||
|
}
|
||
|
|
||
|
catch (Exception $e) {
|
||
|
die('Erreur PHP / MySQL : ' . $e->getMessage()); }
|
||
|
|
||
|
$reponse = $bdd->query("SELECT * FROM navigateur ORDER BY 'num' DESC");
|
||
|
|
||
|
while ($donnees = $reponse->fetch()) { ?>
|
||
|
|
||
|
<div>
|
||
|
<img src="media/nav/<?php echo $donnees['nomDeCode']; ?>.png" alt="Logo <?php echo $donnees['nomComplet']; ?>"/><span class="nomNavigateur" id="<?php echo $donnees['nomDeCode']; ?>"> <?php echo $donnees['nomComplet']; ?></span>
|
||
|
<div class="descriptionNavigateur">
|
||
|
<?php echo $donnees['description']; ?>
|
||
|
<br/>
|
||
|
<div class="monAvis">
|
||
|
<span class="fin-it">Mon avis :</span>
|
||
|
<?php echo $donnees['monAvis']; ?>
|
||
|
</div>
|
||
|
<img src="media/onglet/<?php echo $donnees['nomDeCode']; ?>.png" alt="Interface de <?php echo $donnees['nomComplet']; ?>" class="img"/>
|
||
|
<a href="<?php echo $donnees['lienTelecharger']; ?>" title="Télécharger <?php echo $donnees['nomComplet']; ?> depuis le site officiel" class="button small icon fa-cloud-download">
|
||
|
Télécharger <?php echo $donnees['nomComplet']; ?>
|
||
|
</a>
|
||
|
<a href="<?php echo $donnees['lienWikipedia']; ?>" title="Voir l'article Wikipédia de ce navigateur" class="button small icon fa-wikipedia-w ">
|
||
|
Voir <?php echo $donnees['nomDeCode']; ?> sur Wikipédia
|
||
|
</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<?php } $reponse->closeCursor(); ?>
|
||
|
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<?php include "inc/footer.php"; ?>
|
||
|
</body>
|
||
|
</html>
|