if (noerror) window.close(); } </script> <?php //<body> if ($name == 'rating') { $rating = new sotf_Rating(); $obj = $repository->getObject($id); if ($obj->isLocal()) { $rating->setRating($id, $value); $page->alertWithErrors(); print "</body></html>"; exit; } else { // rating for remote object $rating->sendRemoteRating($obj, $value); exit; } } $page->forceLogin(); //var_dump($_GET); //die(); print "Name=" . $name . "<br>ID=" . $id . "<br>Value=" . $value; if ($name == "links") { $x = new sotf_NodeObject("sotf_links", $id);