template = "template"; $this->module = "autorites"; $this->module_name = $msg[132]; parent::__construct(); } public function get_categories_informations(){ $return = array(); $query = "select count(id_noeud) as nb from noeuds"; $result = pmb_mysql_query($query); if(pmb_mysql_num_rows($result)){ $return = pmb_mysql_fetch_assoc($result); } return $return; } public function get_authors_informations(){ $return = array(); $query = "select count(author_id) as nb from authors"; $result = pmb_mysql_query($query); if(pmb_mysql_num_rows($result)){ $return = pmb_mysql_fetch_assoc($result); } return $return; } }