<?php
$format_ajax="<script type='text/javascript'> upload_ajax('%1\$s','%2\$s','%3\$s','%4\$s'); </script>";
//  Couche JS Non intrusif pour oblige a enregistrer la pags si click ailleurs que dans element centraux form
array_push($js_lib, "add_click_onload"); array_push($function_js_init, "add_click_onload('menu','');");
?>
<div id="gauche">
	<div id="block_sommaire_gauche" class="a_box">
		 <h2><?php echo DOCUMENTS_EXISTANT ?></h2>
		 <div id="navi_jax"><p style="text-align:center; margin-top:20px"><?php  print IMG_ONLOAD;?></p></div>
		<script type="text/javascript">
			function init_liste_navi (){ /*ajax_load('navi_jax');*/ upload_ajax('navi_jax','include/inc/liste_navi.inc','liste_navi','<?php echo urlencode(" \"\",\"../img\", \"#\",\"\", true ") ?>',false); }
			<?php array_push($function_js_init, "init_liste_navi();"); ?>
			<?php  //array_push($function_js_init, "setTimeout('lightwindowInit();',500);"); ?>
		</script>
		<noscript>
			<?php NewFct('liste_navi', "","../img", "#","", true); ?>
		</noscript>
	</div>
</div>
<div id="article">
	<div id="menu_inter" class="menu1"><nobr><p class="bottom"><?php option_deplie('add_file',ADD_A_FILE_TO_THE_CURRENT_FOLDER); option_deplie('add_rep',CREATE_A_SUB_FOLDER); ?></p></nobr></div>
	<div id="contenu_article">
		<div id="main-pop">
			<div id="content">
				<div class="i_box">
					<h1><?php echo FILE_IMAGES_MEDIA; ?></h1>
				</div>
				<div class="a_box">
				<?php
				if(!empty($_GET['msg'])) {
					echo '<p class="message">'.$_GET['msg'].'</p>';
				} ?>
				<p id='add_'><?php  add_('xmedia.php',$current_dir,$is_dir,$up_dir,$px_gd_version,$env,$rel_url_files,false);
				array_push($function_js_init, "surveille_bt_upload();");  ?></p>
				</div>
				<div  class="a_box">
					<div id="vos_file"><?php print '<p style="text-align:center">'.IMG_ONLOAD.'</p>'; ?></div>
				<br /></div>
			</div>
		</div>
	</div>
</div>
</div>