$this->get_empr_information($empr_id), "resas_ids" => $this->list_empr_resas($empr_id) ); } public function generatePdfResasReaders($tresas, $location_biblio=0) { } public function confirmResaReader($id_resa=0, $id_empr_concerne=0, $f_loc=0) { } public function generatePdfResaReader($id_empr, $f_loc) { } public function infos_biblio($location_biblio=0) { global $dbh; global $pmb_lecteurs_localises; global $biblio_name, $biblio_adr1, $biblio_adr2, $biblio_cp, $biblio_town, $biblio_state, $biblio_country, $biblio_phone, $biblio_email,$biblio_website; global $biblio_logo; if ($pmb_lecteurs_localises) { if (!$location_biblio) { global $deflt2docs_location; $location_biblio = $deflt2docs_location; } $query = "select name, adr1,adr2,cp,town,state,country,phone,email,website,logo from docs_location where idlocation=".$location_biblio; $res = pmb_mysql_query($query,$dbh); if (pmb_mysql_num_rows($res) == 1) { $row = pmb_mysql_fetch_object($res); $biblio_name = $row->name; $biblio_adr1 = $row->adr1; $biblio_adr2 = $row->adr2; $biblio_cp = $row->cp; $biblio_town = $row->town; $biblio_state = $row->state; $biblio_country = $row->country; $biblio_phone = $row->phone; $biblio_email = $row->email; $biblio_website = $row->website; $biblio_logo = $row->logo; } } else { /*** Informations provenant des paramètres généraux - on ne parle donc pas de multi-localisations **/ // nom de la structure $var = "opac_biblio_name"; global ${$var}; eval ("\$biblio_name=\"".${$var}."\";"); // logo de la structure $var = "opac_logo"; global ${$var}; eval ("\$biblio_logo=\"".${$var}."\";"); // adresse principale $var = "opac_biblio_adr1"; global ${$var}; eval ("\$biblio_adr1=\"".${$var}."\";"); // adresse secondaire $var = "opac_biblio_adr2"; global ${$var}; eval ("\$biblio_adr2=\"".${$var}."\";"); // code postal $var = "opac_biblio_cp"; global ${$var}; eval ("\$biblio_cp=\"".${$var}."\";"); // ville $var = "opac_biblio_town"; global ${$var}; eval ("\$biblio_town=\"".${$var}."\";"); // Etat $var = "opac_biblio_state"; global ${$var}; eval ("\$biblio_state=\"".${$var}."\";"); // pays $var = "opac_biblio_country"; global ${$var}; eval ("\$biblio_country=\"".${$var}."\";"); // telephone $var = "opac_biblio_phone"; global ${$var}; eval ("\$biblio_phone=\"".${$var}."\";"); // adresse mail $var = "opac_biblio_email"; global ${$var}; eval ("\$biblio_email=\"".${$var}."\";"); //site web $var = "opac_biblio_website"; global ${$var}; eval ("\$biblio_website=\"".${$var}."\";"); } } } ?>