Query($sql); $row = $db->FetchResult($db->result); $categorie = ucfirst(strtolower($row['CATEGORIE'])); $parent = ucfirst(strtolower($row['PARENT'])); $img = URL.'smiley/'.$row['SMILEY']; $template->assign(array("smiley_categorie" => $row['CATEGORIE'], "smiley_width" => $row['LARGEUR'], "smiley_height" => $row['HAUTEUR'], "smiley_poids" => $row['POIDS'], "smiley_img" => $img, "smiley_id" => $row['IDSMILEY'], "categorie" => $row['CATEGORIE'], "link_pack" => URL_SITE.'download-smiley-'.(int)$row['IDCATEGORIE'].'-'.clean($row['CATEGORIE']).'.htm')); $meta_title = 'Smiley gratuit '.$parent.' > '.$categorie.' n'.$_GET['nb'] ; $meta_description = "Emoticones gratuits ".$parent." > ".$categorie.","; if($row['IDSMILEY']<1){ redirection_301(URL_SITE); exit; } include "common/footer.php"; ?>