Пример #1
0
                 $move_file .= "</select>";
                 $move_file .= "&nbsp;<input class=\"btn btn-primary\" type=\"submit\" name=\"ok\" value=\"" . fma_translate("Ok") . "\" /></form>";
             }
         } else {
             $Err = $auto[1];
         }
     }
     break;
 case "movefile-save":
     if ($ficcmd_fma[1]) {
         // origine
         $auto = fma_filter("f", $att_name, $obj->Extension);
         if ($auto[0]) {
             // destination
             $auto[3] = decrypt($browse);
             if (!$obj->Move($auto[3] . "/" . $auto[2], $basedir_fma . $movefile . "/" . $auto[2])) {
                 $Err = $obj->Errors;
             } else {
                 Ecr_Log("security", "Move File", $log_dir . "/" . $auto[2] . " TO " . $movefile . "/" . $auto[2] . " IP=>" . getip());
             }
         } else {
             $Err = $auto[1];
         }
     }
     break;
 case "copyfile-save":
     if ($ficcmd_fma[1]) {
         // origine
         $auto = fma_filter("f", $att_name, $obj->Extension);
         if ($auto[0]) {
             // destination