getDbh(); $rec=new TInfoRecord(); $ean='9782953138061'; $rec->findByGencod($ean,$dbh); if ($rec->Id=='') $rec->findByRFGencod($ean,$dbh); $tous_diffuseurs = TInfoRecord::getAllDiffuseurs($MAG_ID); $SearchDiffMag=array_search($rec->DiffuseurId,$tous_diffuseurs); //if (($rec->Etat!=8192&&$rec->Etat!=32)|| !in_array($rec->DiffuseurId, $tous_diffuseurs)) header('location:/'); //de la page detail epagine, renvoi sur PDL si PDF /*if ($MAG_ID==6&&defined('ONLY_EPUB')) { $infos = $rec->getEpub(); if (!$infos && $rec->Etat == 8192) header("Location: http://placedeslibraires.epagine.fr".RewriteDetail($rec->Ean,$rec->Titre."-".$rec->Auteurs)); }*/ /* Requetes 5 livres par auteur */ $cache_recherheMb = TCustomCache::getInstance(60*60*60, 'rechecheMb', 'liv'); if ($cache_recherheMb->upToDate()) { $MagsRechNoNumilog = $cache_recherheMb->getObject('rechecheMb'); } if (!$MagsRechNoNumilog) { $stmt='SELECT DISTINCT MAGASIN_ID FROM T_MAGASIN_DIFFUSEUR WHERE MAGASIN_ID NOT IN (SELECT DISTINCT MAGASIN_ID FROM T_MAGASIN_DIFFUSEUR WHERE DIFFUSEUR_ID=256)'; $sth = odbc_exec($OAI_RO->getDbh(),$stmt); while ($row=odbc_fetch_object($sth)) { $MagsRechNoNumilog[]=$row->MAGASIN_ID; } $cache_recherheMb->setObject('rechecheMb',$MagsRechNoNumilog); } /* password*/ $uid='EPAGINEXML'; $mdps='epag1664'; if ($MAG_ID==6) $storeId=6; //magasin ePagine elseif (in_array($MAG_ID,$MagsRechNoNumilog)==true) $storeId=666; //magasin sans Numilog else $storeId=66; //base complète /* fin password*/ define('LIVRES_PAR_PAGES', 5); $soap = new SoapClient('http://search.mediabasepro.com/services.php', array('trace'=>true, 'exceptions'=>true)); $auteur_soap=utf8_encode($rec->Auteurs); $criteres['creator'] = $auteur_soap; $hashrap= md5('advancedSearch'.$auteur_soap.$mdps); try{ // $result = $soap->search(array('words'=>$auteur_soap,'page'=>1,'itemsPerPage'=>5,'index'=>0,'uid'=>$uid,'storeId'=>$storeId,'database'=>'books','hash'=>$hashrap)); $result = $soap->advancedSearch(array('search'=>$criteres,'index'=>0,'uid'=>$uid,'storeId'=>$storeId,'itemsPerPage'=>LIVRES_PAR_PAGES,'database'=>'books','hash'=>$hashrap, 'page'=> 1)); } catch (SoapFault $fault) { echo "erreur".$fault; } $lxml=simplexml_load_string($soap->__getLastResponse()); $lxml->registerXPathNamespace("dc","http://purl.org/dc/elements/1.1/"); $lxml->registerXPathNamespace("mbPro","http://www.mediabasepro.com/2010/services/"); $produits = $lxml->xpath("//mbPro:product"); $rec2=new TInfoRecord(); foreach ($produits as $prod) { $prod->registerXPathNamespace("dc","http://purl.org/dc/elements/1.1/"); $prod->registerXPathNamespace("mbPro","http://www.mediabasepro.com/2010/services/"); $gencod=(string)reset($prod->xpath("dc:identifier")); // $idl[]=$gencod; $rec2->findByGencod($gencod,$dbh); if (!$rec2->Id) $rec2->findByRfGencod($gencod,$dbh); // echo $gencod.' '.$rec->Id.'
'; $Soapformats[$gencod]=$prod->xpath("mbPro:livrelInfo/mbPro:format"); $Soapprixf[$gencod]=$prod->xpath("mbPro:livrelInfo/mbPro:prix"); if (!$rec2->Id) continue; // pas de vente sur iPad (Numilog + Editis) // pas de vente pro sur numilog, immatériel if ( ($agent=="ipad" && ($rec2->DiffuseurId == 256 || $rec2->DiffuseurId == 262144)) || $rec->Etat != 8192 || (ACCES_PRO && ($rec2->DiffuseurId == 256 || $rec2->DiffuseurId == 4096 )) ) $EnVente=false; else $EnVente=true; $liste_livres[] = array( 'record_id' => $rec2->Id, 'ean' => $rec2->Ean, 'titre' => $rec2->Titre, 'auteur' => $rec2->Auteurs, 'editeur' => $rec2->Editeur, 'editeurId' => $rec2->EditeurId, 'langue' => $rec2->Langue, 'urlLangue' => $rec2->UrlLangue, 'image' => $rec2->getImage('v'), 'collection' => ucfirst(strtolower($rec2->Collection)), 'infos_prix' => $rec2->getPrixVente(), 'en_vente' => $EnVente, 'a_paraitre' => ($rec2->Etat == 32), 'existe_extrait' => (count($rec2->Extraits)), 'date' => $rec2->MiseEnLigne, 'Mimes' => $rec2->Mimes, 'prix_default' => $rec2->Prix, 'is_no_drm' => !$rec2->isDrmProtected(), 'url' => RewriteDetail($rec2->Ean, $rec2->Titre.'-'.$rec2->Auteurs), 'gencodSoap' => $gencod ); } /* De la page detail ePagine */ include'aliga_note.php'; if (isset($_GET['ajax_note'])) { if (!isset($_GET['note'])) die(); if (!is_numeric($_GET['note'])) die(); if ($_GET['note'] < 0) die(); if ($_GET['note'] > 5) die(); if (!$Int_ID) die(); $res_notation = TNote::setNote($_GET['rec_id'], $_GET['note'] * 20, $Int_ID, $_SERVER['REMOTE_ADDR']); if ($res_notation === null) die('ALREADY'); if ($res_notation) die('ok'); die(); } $infos_notes = new TNote(); $notes_livre = $infos_notes->getNotesLivre($rec->Id); $note_arrondie = round($notes_livre->NOTE_MOYENNE); $nombre_notes = ($notes_livre->NOMBRE); $deja_note = false; if ($Int_ID) { $ma_note = $infos_notes->getNote($rec->Id, $Int_ID); if ($ma_note !== null) $deja_note = true; } //include"menu.php"; include'promotion.php'; $promo=new TGestionPromotion($MAG_ID); $idp=$promo->Promotions[0]->Data['Id']; $pro=new TPromotionRecord($idp,$rec->Id); $extrait=$rec->UrlFeuilleteur; //pas de vente sur iPad (Numilog + Editis) if ( ($agent=='ipad' && ($rec->DiffuseurID == 256 || $rec->DiffuseurID == 262144)) || $rec->Etat != 8192 || (ACCES_PRO && ($rec->DiffuseurId == 256 || $rec->DiffuseurId == 4096)) ) $EnVente=false; else $EnVente=true; //Pour BlocLibraire $cip=new TCustomInfoplus(); $cipC = $cip->findByKeys(array('GENID'=>$rec->Id,'MAGASIN_ID'=>$MAG_ID)); $title = 'Mes 60 engagements pour la France / François Hollande - ePagine'; include'tet_html.php'; ?>
?>
Note des internautes :
  • = $i) echo ' class="full"'; ?>>
Ma note :
  • = $i) echo ' class="full"'; ?>>
GetSupportsByMime(); $chapitre_existe = false; foreach ($rec->Mimes as $j => $mim) { if (($mim->Etat) != 8192) continue; if ($mim->Chapitre) { $chapitre_existe = true; continue; } ?>
    Elements; if ($format) { ?>
  • $ele) { if ($i) echo ' - '; echo ''.htmlentities($ele).''; } ?>
  • InfoClient;?>
  • Poids!='') {?>
  • Poids.' Ko';?> (626 Mo)

iBooks -  Gratuit

Télécharger le livre

Informations complémentaires

Ce livre est au format iBooks. Lisible uniquement sur iPad.
C'est un livre au contenu enrichi, il contient de nombreuses vidéos. Une bonne connexion internet est requise pour lancer le téléchargement, via un ordinateur PC ou Mac sous Firefox et Chrome ou Safari.
Besoin d'aide pour télécharger votre livre ? Suivez notre aide pas à pas

Ça commence comme ça

Je veux redresser la France


Resume)!='') {?>

Présentation

Resume); $tab_resume = explode(' ', $resume); $count_resume = count($tab_resume); $n=100; if($count_resume>$n) { echo'

'; for ($i = 0; $i <= $n-1; $i++) { echo $tab_resume[$i].' '; } if ($i==$n) echo'[...]'; echo'Voir la suite'; echo ""; for ($i = $n; $i <= $count_resume; $i++) { echo $tab_resume[$i].' '; } echo'

'; } else { ?>

$livre) if($livre['ean'] == $rec->Ean || $livre['ean'] == $rec->EanOrigine) unset($liste_livres[$z]); if(count($liste_livres)) { // Les derniers livres de l'auteur ?>

Si vous aimez cet auteur :

Aperçu du livre

Comment télécharger mon livre au format iBooks

Télécharger votre livre.Pour télécharger à partir d'un site web un livre enrichi au format iBooks, nous vous conseillons fortement de télécharger à partir de votre ordinateur.

  • 1. A partir de votre ordinateur (PC/MAC), ouvrir iTunes.

  • 2. Dans Fichier, sélectionner Ajouter à la bibliothèque votre fichier ibooks.
    Le fichier est à présent dans votre bibliothèque de livre iTunes.

    ecran ibooks

    ecran ibooks

  • 3. Connecter votre iPad.
    Mise à jour ou téléchargement de l'application iBooks via App Store.

    ecran ibooks

  • 4. Synchronisez votre iPad à votre bibliothèque iTunes.

    ecran ibooks

  • 5. Votre livre est maintenant dans l'application iBooks sur votre iPad.

Nous vous souhaitons une bonne lecture

Titre);?>

Texte);?>

BlogText) { $blogtext = nl2br($rec->BlogText); $tab_resume_blog = explode(' ', $blogtext); $count_resume_blog = count($tab_resume_blog); $m=100; ?>

Chronique du blog ePagine

$m) { echo'

'; for ($j = 0; $j <= $m-1; $j++) { echo $tab_resume_blog[$j].' '; } if ($j==$m) echo'[...]'; echo 'Voir la suite '; echo ''; for ($j = $m; $j <= $count_resume_blog; $j++) { echo $tab_resume_blog[$j]." "; } echo "

"; } else {?>

Ean.' )'; //echo''; $res_sql = mysql_query($stmt); while ($row = mysql_fetch_array($res_sql)) { //echo''; $row['name']+=0; if (strlen($row['name'])==13) $GensBlog[$row['id']][]=$row['name']; } //echo''; $stmt = 'select * from wp_posts p join wp_term_relationships tr on tr.object_id = p.ID join wp_term_taxonomy tt on tr.term_taxonomy_id = tt.term_taxonomy_id join wp_terms t on t.term_id = tt.term_id where t.name = '.$rec->Ean; $res_sql = mysql_query($stmt); while ($row = mysql_fetch_array($res_sql)) $tab_articles_blog[] = $row; if(is_array($tab_articles_blog)){?>

Articles du blog ePagine

VideoId) { ?>

Vidéo

getMedias(0,9,3);?>

Critiques) { ?>

Critique Littéraire

Critiques as $crit){ ?>


Biographie)!='') { ?>

Biographie

Biographie;?>

Id.' AND (MAGASIN_ID='.$MAG_ID.' OR MAGASIN_ID IS NULL)'; $sth=odbc_exec($dbh, $stmt); while($row=odbc_fetch_object($sth)){$tab_tags[$row->ID]=$row;} } // on affiche les tags si il y en a if($tab_tags){?>

Les mots clés