GetPrefs(); if (!$R && $p["golastdir"]) { $R=$p["lastdir"]; } $R=$bro->convertabsolute($R,1); // on fait ? if ($formu) { switch ($formu) { case 1: // Créer le répertoire $R.$nomfich $bro->CreateDir($R,$nomfich); $p=$bro->GetPrefs(); break; case 6: // Créer le fichier $R.$nomfich $bro->CreateFile($R,$nomfich); $p=$bro->GetPrefs(); if ($p["createfile"]==1) { $file=$nomfich; include("bro_editor.php"); exit(); } break; case 2: // act vaut Supprimer Copier ou Renommer. if ($actdel) { $bro->DeleteFile($d,$R); } if ($actmove) { $bro->MoveFile($d,$R,$actmoveto); } break; case 4: // Renommage Effectif... $bro->RenameFile($R,$o,$d); // Rename $R (directory) $o (old) $d (new) names break; case 3: // Upload de fichier... $bro->UploadFile($R); break; } } /* Creation de la liste des fichiers courants */ $c=$bro->filelist($R); if ($c===false) $error=$err->errstr(); include("head.php"); ?> "; for ($i=0;$i"; echo ""; } echo ""; echo "

user["login"]; ?> / PathList($R,"bro_main.php") ?>
$error"; ?>

" />
/> />
\n"; echo "
\n"; echo "\n"; echo "\n"; echo "
"._("Rename")."
".$d[$i]."
\n"; echo "
\n"; } /* We draw the file list and button bar only if there is files here ! */ if (count($c)) { ?>

" /> " />     " /> : 
"; $col=1; for($i=0;$i\n"; if ($c[$i]["type"]) { echo " "; if ($p["showicons"]) { echo "icon($c[$i]["name"])."\" width=\"16\" height=\"16\" alt=\"\" />"; } echo "".$c[$i]["name"]."\n"; echo " ".format_size($c[$i]["size"]).""; echo "".format_date('%3$d-%2$d-%1$d %4$d:%5$d',date("Y-m-d H:i:s",$c[$i]["date"]))."
"; if ($p["showtype"]) { echo "".$bro->mime($c[$i]["name"]).""; } $vu=$bro->viewurl($R,$c[$i]["name"]); if ($vu) { echo ""._("View").""; } else { echo " "; } echo "\n"; } else { // DOSSIER : echo " "; if ($p["showicons"]) { echo "\"\""; } echo "".$c[$i]["name"]."/\n"; echo " ".format_size($c[$i]["size"]).""; echo "".format_date('%3$d-%2$d-%1$d %4$d:%5$d',date("Y-m-d h:i:s",$c[$i]["date"]))."
"; if ($p["showtype"]) { echo "Dossier"; } echo " "; echo "\n"; } echo "\n"; } echo ""; break; case 1: /* AFFICHE 2 COLONNES COURTES */ reset($c); echo ""; echo ""; echo "
"; echo ""; $col=1; for($i=0;$i\n"; if ($c[$i]["type"]) { echo " \n"; echo " \n"; } else { echo " \n"; echo " \n"; } echo "\n"; } echo "
".$c[$i]["name"]."".format_size($c[$i]["size"]).""; $vu=$bro->viewurl($R,$c[$i]["name"]); if ($vu) { echo ""._("V").""; } else { echo " "; } echo "".$c[$i]["name"]."/".format_size($c[$i]["size"]).""; echo " "; echo "
"; echo "
"; echo ""; $col=1; for($i=round(count($c)/2);$i\n"; if ($c[$i]["type"]) { echo " \n"; echo " \n"; } else { echo " \n"; echo " \n"; } echo "\n"; } echo "
".$c[$i]["name"]."".format_size($c[$i]["size"]).""; $vu=$bro->viewurl($R,$c[$i]["name"]); if ($vu) { echo ""._("V").""; } else { echo " "; } echo "".$c[$i]["name"]."/".format_size($c[$i]["size"]).""; echo " "; echo "
"; echo "
"; break; case 2: /* AFFICHE 3 COLONNES COURTES */ reset($c); echo ""; echo ""; echo "
"; echo ""; $col=1; for($i=0;$i\n"; if ($c[$i]["type"]) { echo " \n"; echo " \n"; } else { echo " \n"; echo " \n"; } echo "\n"; } echo "
".$c[$i]["name"]."".format_size($c[$i]["size"]).""; $vu=$bro->viewurl($R,$c[$i]["name"]); if ($vu) { echo ""._("V").""; } else { echo " "; } echo "".$c[$i]["name"]."/".format_size($c[$i]["size"]).""; echo " "; echo "
"; echo "
"; echo ""; $col=1; for($i=round(count($c)/3);$i\n"; if ($c[$i]["type"]) { echo " \n"; echo " \n"; } else { echo " \n"; echo " \n"; } echo "\n"; } echo "
".$c[$i]["name"]."".format_size($c[$i]["size"]).""; $vu=$bro->viewurl($R,$c[$i]["name"]); if ($vu) { echo ""._("V").""; } else { echo " "; } echo "".$c[$i]["name"]."/".format_size($c[$i]["size"]).""; echo " "; echo "
"; echo "
"; echo ""; $col=1; for($i=round(2*count($c)/3);$i\n"; if ($c[$i]["type"]) { echo " \n"; echo " \n"; } else { echo " \n"; echo " \n"; } echo "\n"; } echo "
".$c[$i]["name"]."".format_size($c[$i]["size"]).""; $vu=$bro->viewurl($R,$c[$i]["name"]); if ($vu) { echo ""._("View").""; } else { echo " "; } echo "".$c[$i]["name"]."/".format_size($c[$i]["size"]).""; echo " "; echo "
"; echo "
"; break; } ?> "._("No files in this folder")."

"; } ?>

   " />

 

is_ftp($R)) { echo _("There is an ftp account in this folder")." "._("Click here to edit this ftp account.")."
"; } else { echo ""._("Click here to create an ftp account in this folder.")."
"; } if ($hta->is_protected($R)) { echo ""._("This folder has restricted access")."
"; } else { echo ""._("Click here to protect this folder with login/password")."
"; } ?>
(l_tgz[$p["downfmt"]]; ?>)