// // This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License. // // To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/1.0/ // // or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA. // // Francais (brouillon): http://creativecommons.org/projects/international/fr/translated-license // ////////////////////////////////////////////////////////////////////////////////////////////////////// // Export HTML + Images // v0.1.0 function makeArchive($id, $path, $force=false) { global $cfg; require_once("../classes/ecrits.php"); require_once("../classes/fonctions.php"); $ecrits = new ecrits(); $journal = new journal(); $datas = $journal->infos($id); if(!$force) { if($datas['statut'] != 'collectif' && $datas['statut'] != 'public') return true; } $page = '
Archive du journal au '.date("d/m/Y").'.