function MakeMenu() { $menu = $this->openTpl("htmlmenu"); $menuObj = new clsMenu(); $saida = $menuObj->MakeMenu($this->openTpl("htmllinhamenu"), $this->openTpl("htmllinhamenusubtitulo")); $saida = str_replace("<!-- #&LINHAS&# -->", $saida, $menu); return $saida; }