$now)) exit(); //je cherche les infos de l'abonnement. require_once("../modele/FclFlux_abonnement.php"); $abo=new FclFlux_abonnement(); $abo->id_abonnement=$id_abonnement; $infos_abo=$abo->get_infos_cache(false);//je ne force pas la création du cache pour éviter sql if(empty($infos_abo)) exit(); if(empty($infos_abo["auteur_id"])) exit(); $user=new FclFlux_utilisateur(); $user->id_utilisateur=intval($infos_abo["auteur_id"]); $page="http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; $user->ajout_journal_affichage($page,"email"); unset($user); unset($abo); //après tous ces tests, le logo bien mérité ! header('Content-Type: image/jpg'); $Mail_html_url_logo=SITE_URL."/".TEMPLATE_REP."/mail/logo-header.jpg"; $mois=date('m'); $jour=intval(date('d')); if(($mois=="12")&&($jour>10)||($mois=="01")&&($jour<7)) $code=file_get_contents(SITE_URL."/".TEMPLATE_REP."/mail/logo-header-noel.jpg"); else $code=file_get_contents(SITE_URL."/".TEMPLATE_REP."/mail/logo-header.jpg"); echo $code;