db, NULL); // $imageplan = $f->storage->getPath($plan->getVal("image_plan")); /** * Verification des parametres */ if ($plan == "" or $positionx == "" or $positiony == "" or !file_exists($imageplan)) { // if ($f->isAjaxRequest() == false) { $f->setFlag(NULL); $f->display(); } $class = "error"; $message = __("L'objet est invalide."); $f->displayMessage($class, $message); die(); } /** * Affichage de la structure HTML */ if ($f->isAjaxRequest()) { header("Content-type: text/html; charset=".HTTPCHARSET.""); } else { // $f->setFlag("htmlonly"); $f->display(); } // $f->displayStartContent(); // $f->setTitle(__("Localisation")); $f->displayTitle(); /** * */ // $f->displayLinkJsCloseWindow(); /** * */ // $size = getimagesize($imageplan); // echo "getVal('plan')."'); "; // echo "\""; echo ">\n"; // echo ""; // echo "\n\n"; // echo "
\n"; /** * */ // $f->displayLinkJsCloseWindow(); /** * */ // $f->displayEndContent();