exit; } elseif (!empty($_POST['send']) and !empty($_FILES)) { $plxMedias->upload($dir, $_FILES['file'], $medias); header('Location: medias.php?dir=' . urlencode($dir) . ($view != '' ? '&v=' . $view : '')); exit; } elseif (!empty($_POST['change'])) { $plxMedias->moveFile($dir, $_POST["files"]); header('Location: medias.php?dir=' . urlencode($dir) . ($view != '' ? '&v=' . $view : '')); exit; } elseif (!empty($_POST['thumbs'])) { $plxMedias->makeThumbs($dir); header('Location: medias.php?dir=' . urlencode($dir) . ($view != '' ? '&v=' . $view : '')); exit; } # Recuperation des fichiers du dossier en cours $plxMedias->getDirContent($dir); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> <head> <title>Librairie - <?php echo $plxAdmin->aConf['title']; ?> </title> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo strtolower(PLX_CHARSET); ?> " /> <link rel="stylesheet" type="text/css" href="admin.css" media="screen" /> </head>