777, 'gallery'=>779 ); IndexClass::$modulesStruct=$modulesStruct; $index=new IndexClass($_link); $index->rawMenu=$index->createRawMenu(); $index->menu=$index->convertRawMenuToHtml($index->rawMenu,0,'generateMenu'); $index->generateSEO(); $face=new Face; $face->menu=$index->menu; include $index->getActiveModule(); include 'indexView.php'; function generateMenu($data){ if ($data['object']['page_id'] == 778) return ''.$data['object']['title'].''; else if ($data['object']['page_id'] == 779) return ''.$data['object']['title'].''; else if ($data['object']['page_id'] == 780) return ''.$data['object']['title'].''; else return ''.$data['object']['title'].''; } ?>