$cgi = array_merge($_GET,$_POST); $acao = $cgi["acao"]; $user_id = $_COOKIE['userID']; $shelf_id = $cgi["shelf_id"]; $directory_id = $cgi["directory_id"]; switch($acao) { case "mover": $shelf = new Shelf(); $shelf->setUserID($user_id); $shelf->setShelf_id($shelf_id); $shelf->setDirectory($directory_id); $directoryList = $shelf->updateShelfDirectory(); ?> <script language="javascript"> opener.location.reload(true); window.close(); </script> <? break; } ?> <html> <head> <title> SciELO.org - Scientific Electronic Library Online </title>