// // 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 // ////////////////////////////////////////////////////////////////////////////////////////////////////// // Sélection de journal // v0.1.4 $nocheck2 = TRUE; $requiredFiles = array("membres"); include_once("head.php"); $quotas = $membres->get_quotas($mem->infos['id']); if($quotas['journaux'] < 1) header("location: creation"); elseif($quotas['journaux'] == 1) { $journaux = $membres->liste_journaux($mem->infos['id'],TRUE); $membres->set_courant($mem->infos['id'],$journaux[0]['id']); header("location: ./"); exit; } else { if($_GET['id']) { $membres->set_courant($mem->infos['id'],$_GET['id']); header("location: ./"); exit; } $journaux = $membres->liste_journaux($mem->infos['id'],TRUE); $page = '

Choisissez un journal dans la liste ci-dessous:

'; } page("Sélectionner un journal",$page); ?>