<?php
/*********************************************************************************
 * Gest'Ecole is a school management software developped by
 * DOX Conception Copyright (C) 2012-2013 DOX Conception
 *
 * This program is free software; you can redistribute it and/or modify it under
 * the terms of the license published by DOX Conception.
 * 
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY.  See the Software License for more details.
 * 
 * You should have received a copy of the software license along with
 * this program; if not, see:
 * http://www.doxconception.com/index.php/licence-de-gestecole.html
 ********************************************************************************/

  session_start();
  
  include "../langues/fr-FR/commun.php";
  if ($_SESSION['language_application']!="fr-FR")
  {
	if (file_exists("../langues/".$_SESSION['language_application']."/commun.php"))
	{
	  include "../langues/".$_SESSION['language_application']."/commun.php";
	}
  }
  include "../commun/fonctions.php";

  $date_modif=Date_Convertir($_POST['date_en_cours_calendrier'],$Format_Date_PHP,'Y-m-d');;
  $_SESSION['date_en_cours_calendrier']=$date_modif;
  $_SESSION['annee_en_cours']=substr($date_modif,0,4);
  $_SESSION['mois_en_cours']=date('n',mktime(0,0,0,substr($date_modif,5,2),substr($date_modif,8,2),substr($date_modif,0,4)));
  $_SESSION['calendrier']="jour";
?>