_dropFolderDir, -1, 1) == DIRECTORY_SEPARATOR) $dropfolderdir = substr($settings->_dropFolderDir, 0, -1); else $dropfolderdir = $settings->_dropFolderDir; $tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME'])); $view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'dropfolderdir'=>$dropfolderdir, 'dropfolderfile'=>$_GET["dropfolderfile"], 'form'=>$form)); if($view) { $view->show(); exit; } ?>