<?php include_once ("../inc/config.inc.php") ?>
<?php include ("../inc/func.inc.php") ?>
<?php include ("../inc/func_date.inc.php") ?>
<?php include ("../inc/func_log.inc.php") ?>
<?php include ("../inc/fic.inc.php") ?>
<?php include ("../inc/lst.inc.php") ?>
<?php include ("../inc/down.inc.php") ?>
<?php include ("../classes/ephpu/upload_class.php") ?>
<?PHP
	Archivelog(@$HTTP_SESSION_VARS["code_log"]);
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>SMI - ESPACE PRIVE : T&eacute;l&eacute;chargements fichiers</title>

<!-- Feuille de style pour les affichages courants -->
<link href="../inc/smi.css" rel="stylesheet" type="text/css">

<!-- Feuille de style & Script pour le menu -->
<link href="../inc/menu.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="../coolmenus/coolmenus4.js"></script>

<!-- Scripts Javascript pour validation des formulaires -->
<script language="JavaScript" src="../inc/validator.js"></script>

<!-- Scripts Javascript pour affichages -->
<script language="JavaScript" src="../inc/aff.js"></script>

<!-- Définition Javascript pour calendrier popup -->

  <!-- Feuille de Style -->
  <link rel="stylesheet" type="text/css" media="all" href="../jscal/skins/aqua/theme.css" title="Aqua" />

  <!-- Script Javascript Principal -->
  <script type="text/javascript" src="../jscal/calendar.js"></script>

  <!-- Choix du langage -->
  <script type="text/javascript" src="../jscal/lang/calendar-fr.js"></script>

  <!-- the following script defines the Calendar.setup helper function, which makes
       adding a calendar a matter of 1 or 2 lines of code. -->
  <script type="text/javascript" src="../jscal/calendar-setup.js"></script>

<!-- Fin de la définition Javascript pour calendrier popup -->

<!-- Fonction afficher/cacher un bloc div -->
<script type="text/javascript">
	function display(idobjet,etat)
	{
		var objet = document.getElementById(idobjet);
		etat = objet.style.display;
		if (etat == 'none')
			objet.style.display = 'block';
		else
			objet.style.display = 'none';
	}
</script>

</head>

<body>

<?php 
	include_once ("../inc/entete.php"); 
?>
<p align="center"><span class="titrepage">FICHIERS A USAGE INTERNE</span></p>
<p align="center" class="annot_gras_it">Veuillez choisir le fichier que vous souhaitez t&eacute;l&eacute;charger. </p>
<p class="emptycell"><br>
  <br>
  <?PHP
	include_once ("../inc/downr.php");
	affiche_rep(@$_GET['dir'],@$HTTP_SESSION_VARS["niv_log"],@$HTTP_SESSION_VARS["code_log"],@$HTTP_SESSION_VARS["code_age"],@$_GET['ope'],@$_GET['date']);
?>
  
  <script type="text/javascript">
	Calendar.setup({
		inputField     :    "date",     // id of the input field
		ifFormat       :    "%d/%m/%Y",      // format of the input field
		button         :    "f_img_date",  // trigger for the calendar (button ID)
		align          :    "Ll",           // alignment (defaults to "Bl")
		singleClick    :    true
	});
  </script>
  <?php 
	include_once ("pied.php")
?>
</p>
