function add ($title, $text, $menu, $footer, $lang, $id=null)
    {
        global $config;
        $this->title=$title;
        $this->content=$text;
        if (isset($id)) {
            $query = sprintf(
                file_get_contents("sql/addPageID.sql"),
                mysql_real_escape_string($title),
                mysql_real_escape_string($text), mysql_real_escape_string($menu),
                mysql_real_escape_string($footer), $lang, $id
            );
        } else {
            $query = sprintf(
                file_get_contents("sql/addPage.sql"),
                mysql_real_escape_string($title),
                mysql_real_escape_string($text), mysql_real_escape_string($menu),
                mysql_real_escape_string($footer), $lang
            );
        }
        $config->connexionBdd->requete($query);
    }