<li><a href="#">Computers <span class="badge">04</span></a></li> <li><a href="#">Smartphone <span class="badge">10</span></a></li> <li><a href="#">Gedgets <span class="badge">06</span></a></li> <li><a href="#">Technology <span class="badge">25</span></a></li> </ul> </div> </div> </div><!--/.categories--> <div class="widget archieve"> <h3>Archieve</h3> <div class="row"> <div class="col-sm-12"> <ul class="blog_archieve"> <?php $result = getArchive($con); while ($data = mysqli_fetch_assoc($result)) { ?> <li> <a href="#"> <i class="fa fa-angle-double-right"></i> <?php echo $data['bulan']; ?> <span class="pull-right">(<?php echo countPost($con, $data['bulan']); ?> )</span> </a> </li>
</td> </tr> <tr> <td><label for='range'>Distance horizontale maximal</label></td> <td align='right'><input id='range' name='range' type='text' value='1' size='3'/></td> </tr> <tr> <td><label for='level'>Niveau minimum du spot</label></td> <td align='right'><input id='level' name='level' type='text' value='1' size='3'/></td> </tr> <tr> <td><label for='number'>Nombre minimum de monstres</label></td> <td align='right'><input id='number' name='number' type='text' value='2' size='3'/></td> </tr> </table> <input type='submit' value='Find Them !'/> </form> </td> </tr> <tr class='mh_tdtitre' align='center'><td><h3>Recherches effectuées :</h3></td></tr> <?php $files = getArchive('save/'); sort($files); foreach (array_reverse($files) as $file) { echo "<tr class='mh_tdtitre' align='center'><td class='mh_tdpage'><h3><a href='save/" . $file . "'>" . str_replace('.php', '', str_replace('_', ' ', str_replace('-', '/', $file))) . "</a></h3></td></tr>"; } ?> </table> <?php include "../foot.php";
# Portada $smarty->assign('portada', true); if ($rows) { $smarty->assign('title', $rows[0]['ab_entry']); } unset($rows); $smarty->assign('pgs', $pgs); $smarty->assign('pg', $pg); unset($rows); # Ultimas Entradas $ab_entry->limit = 10; $rows = $ab_entry->readDataFilter("public IS TRUE"); for ($i = 0; $i < count($rows); $i++) { $rows[$i]['seo_title'] = generate_seo_link($rows[$i]['ab_entry']); } $smarty->assign('ult_entradas', $rows); unset($rows); # Meses $smarty->assign('periodos', getArchive($ab_entry)); unset($ab_entry); unset($ab_page); } $smarty->display($tpl, $pattern); } else { require ROOTDIR . '/classes/include.d/404.inc.php'; if (!$smarty->is_cached('blogs/404p.tpl', $grp_id)) { # Variables require_once ROOTDIR . '/classes/include.d/const.inc.php'; } $smarty->display('blogs/404p.tpl', $grp_id); }
<tr class='mh_tdtitre' align='center'> <td> <h3>Le Tom-Tom des Trolls !</h3> </td> </tr> </table> </td> </tr> </table> <br/> <table class='mh_tdborder' width='70%' align='center'> <?php $start = "<tr class='mh_tdtitre' align='center'><td class='mh_tdpage'><h3>"; $end = "</h3></td></tr>"; // Efface le fichier de recherche du troll s'il existe foreach (getArchive("save/") as $file) { if (preg_match("#.*" . $_POST["troll"] . ".*#i", $file)) { unlink("save/" . $file); } } //set_time_limit (0); // Enregistrement du fichier de recherche date_default_timezone_set('Europe/Berlin'); $string = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> <head> <title>Give Me A Battlefield</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" type="text/css" href="../gmab.css" /> </head> <body>
# Paginas if (!isset($ab_page)) { $ab_page = new ab_pageTable(); $entrada = new ab_entryTable(); } $rows = $ab_page->readDataSQL("SELECT idab_page,ab_page FROM ab_page ORDER BY orden"); $smarty->assign('ab_pages', $rows); unset($rows); # Ultimas Entradas $entrada->readEnv(); $entrada->limit = 10; $rows = $entrada->readDataFilter("public IS TRUE"); $smarty->assign('ult_entradas', $rows); unset($rows); # Meses $smarty->assign('periodos', getArchive($entrada)); unset($rows); } $smarty->display($tpl, $pattern); if (is_object($entrada)) { unset($entrada); unset($ab_page); } } else { require ROOTDIR . '/classes/include.d/404.inc.php'; if (!$smarty->is_cached('blogs/404p.tpl', $grp_id)) { # Variables require_once ROOTDIR . '/classes/include.d/const.inc.php'; } $smarty->display('blogs/404p.tpl', $grp_id); }