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
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>FAQ</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="style.css"/>
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="effet.js"></script>
</head>
<body>
<header>
<img src="logo.png" alt="Logo" id="logo" />
</header>
<div class="menu">
<ul class="liste">
<li><a href="http://www..fr/produits"> Produits </a></li>
<li><a href="http://www..fr/prestations"> Formations </a></li>
<li><a href="http://www..com/FR/support.html"> Assistance </a></li>
<li><a href="http://www..fr/Evenements"> Partenaires </a></li>
<li><a href="http://www..com/FR/faq.php"> FAQs </a></li>
<li><a href="http://www..fr/Optimaudit"> Contactez-nous </a></li>
</ul>
</div>
<ul id="paragraphe" style="list-style:none;margin:0 auto;padding:0;width:500px;">
<?php
$db = mysql_connect('fldc315.serveursdns.net', '', '') or die('Erreur de connexion '.mysql_error());
mysql_select_db('',$db) or die('Erreur de selection '.mysql_error());
mysql_query("SET NAMES UTF8");
$sqlReq = mysql_query('SELECT DISTINCT(product) FROM faq');
while ($data = mysql_fetch_array($sqlReq)){
?>
<li style="position:relative; cursor:pointer">
<span style="position:absolute;right:5px">+</span>
<h3><?php echo nl2br($data['product']); ?></h3>
<!-- <p style="display:none">blabla</p>-->
<?php
$sql = mysql_query("SELECT theme FROM faq WHERE product='".$data['product']."'");
while ($data = mysql_fetch_array($sql)){
?>
<p style="display:none"><?php echo nl2br($data['theme']); ?></p>
<?php } ?>
</li>
<?php } ?>
</ul>
<footer>
<div class="footer"><hr><a style="font-size:.7em" href="http://www..com/FR/admin.php">Administrateur</a></div>
</footer>
</body>
</html> |
Partager