2019-12-27 01:57:39 +01:00
< ? php
include ( 'config.php' );
?>
<! DOCTYPE html >
< html >
< head >
< meta charset = " utf-8 " />
< link rel = " stylesheet " type = " text/css " href = " stylesheet.css " />
< link rel = " stylesheet " type = " text/css " href = " exemples.css " />
< script src = " jquery.js " ></ script >
< script src = " menus.js " ></ script >
< script type = " text/javascript " src = " exemples.js " ></ script >
< link rel = " shortcut icon " type = " image/x-icon " href = " Images/favicon_ie.ico " >
< title > Festiv 'Algo - Exemples d' algorithmes </ title >
< meta name = " keywords " content = " festivalgo, algobox, exemples, algorithme, algorithmique, programmation, Casio, TI, HP, tester des algorithmes, bac, mathématiques, ROC, nouveaux programmes, réformes " />
< meta name = " description " content = " De nombreux exemples d'algorithmes pour s'entrainer en mathématiques et pour le bac. " />
</ head >
< body >
< div id = " content " >
< ? php include ( " menu.php " ); ?>
< div id = " contenu " >
< ? php
2019-12-27 02:42:56 +01:00
$stmt = $pdo -> query ( 'select id, titre, auteur, description from exemples ORDER BY titre ASC' );
while ( $dnn = $stmt -> fetch ())
2019-12-27 01:57:39 +01:00
{
?>
< article >
< div class = " exemples " >
< h2 class = " titre " >< ? php echo htmlentities ( $dnn [ 'titre' ], ENT_QUOTES , 'UTF-8' ); ?> </h2>
< h4 > Auteur :</ h4 >< p class = " auteur " >< ? php echo htmlentities ( $dnn [ 'auteur' ], ENT_QUOTES , 'UTF-8' ); ?> </p>
< h4 > Description :</ h4 >< p class = " description " >< ? php echo htmlentities ( $dnn [ 'description' ], ENT_QUOTES , 'UTF-8' ); ?> </p><br />
2019-12-27 02:42:56 +01:00
< a href = " <?= $base_url ?>/index.php " id = " <?php echo 'algo'. $dnn['id'] ;?> " class = " tester " >< img alt = " Tester cet algorithme " title = " Tester cet algorithme " src = " Images/tester.png " style = " border: 0px; " /></ a >
2019-12-27 01:57:39 +01:00
</ div >
</ article >
< ? php
}
?>
< aside >
< p id = " annonces " style = " top: 281px; height: 634px; width: 162px; " > Annonces </ p >
< div id = " pub3 " >
< script for = window language = " JScript " src = 'http://www.pubdirecte.com/script/banniere.php?id=73442&ref=43885' ></ script >
</ div >
</ aside >
</ div >
</ div >
< ? php include ( " bas_de_page.php " ); ?>
</ body >
</ html >