<?php include_once "modules/db/DAOFactory.php"; include_once "modules/location/show.php"; include_once "inc/header.inc.php"; $config = Config::getInstance(); $ldao = getLocationDAO(); $p = new Locations(); $ldao->getPlaces($p); $places = $p->places; $extra = get_location_header($places); do_headers_dojo($config->desc, $extra); ?> <body<?php if ($config->gmapskey != '') { echo ' onload="initialize()" onunload="GUnload()"'; } ?> > <?php include_once "inc/analyticstracking.php"; ?> <?php echo show_location($p); ?> </body> </html>
$requete = "DELETE FROM docs_location WHERE idlocation={$id} "; $res = pmb_mysql_query($requete, $dbh); show_location($dbh); } else { $msg_suppr_err = $admin_liste_jscript; $msg_suppr_err .= $msg["location_used"]; if ($total1) { $msg_suppr_err .= "<br />- " . $msg["location_used_docs"] . " <a href='#' onclick=\"showListItems(this);return(false);\" what='location_docs' item='" . $id . "' total='" . $total1 . "' alt=\"" . $msg["admin_docs_list"] . "\" title=\"" . $msg["admin_docs_list"] . "\"><img src='./images/req_get.gif'></a>"; } if ($total2) { $msg_suppr_err .= "<br />- " . $msg["location_used_users"] . " <a href='#' onclick=\"showListItems(this);return(false);\" what='location_users' item='" . $id . "' total='" . $total2 . "' alt=\"" . $msg["admin_users_list"] . "\" title=\"" . $msg["admin_users_list"] . "\"><img src='./images/req_get.gif'></a>"; } if ($total3) { $msg_suppr_err .= "<br />- " . $msg["location_used_empr"] . " <a href='#' onclick=\"showListItems(this);return(false);\" what='location_empr' item='" . $id . "' total='" . $total3 . "' alt=\"" . $msg["admin_empr_list"] . "\" title=\"" . $msg["admin_empr_list"] . "\"><img src='./images/req_get.gif'></a>"; } if ($total4) { $msg_suppr_err .= "<br />- " . $msg["location_used_abts"] . " <a href='#' onclick=\"showListItems(this);return(false);\" what='location_abts' item='" . $id . "' total='" . $total4 . "' alt=\"" . $msg["admin_abts_list"] . "\" title=\"" . $msg["admin_abts_list"] . "\"><img src='./images/req_get.gif'></a>"; } if ($total5) { $msg_suppr_err .= "<br />- " . $msg["location_used_collections_state"] . " <a href='#' onclick=\"showListItems(this);return(false);\" what='location_collections_state' item='" . $id . "' total='" . $total5 . "' alt=\"" . $msg["admin_collections_state_list"] . "\" title=\"" . $msg["admin_collections_state_list"] . "\"><img src='./images/req_get.gif'></a>"; } error_message($msg[294], $msg_suppr_err, 1, 'admin.php?categ=docs&sub=location&action='); } } else { show_location($dbh); } break; default: show_location($dbh); break; }