Public feed
#893395
// First it has this$topnav = "";$subnav = "";require($mf_template_absolute_path."/mf_scriptdlmenu.php");$topnav = $mfmenu->menuObj->main;$subnav = $mfmenu->menuObj->sub;// Then this to load the menu <!-- BEGIN: MAIN NAVIGATION --> <div id="mf-mainnav"> <?php switch ($mf_menutype) { case 4: echo $topnav; break; } ?> </div> <!-- END: MAIN NAVIGATION -->// The included file at the start is this <?php/* mf_cssddmenu.php @copyright (C) 2008 Marcofolio.net */defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );global $mf_template_name;$mfparams = new mosParameters('');$mfparams->set( 'template', $mf_template_name ); // Change this value to correct template$mfparams->set( 'absPath', $mosConfig_absolute_path . '/templates/' . $mfparams->get( 'template' ) . '/mf_scriptdlmenu' );$mfparams->set( 'LSPath', $mosConfig_live_site . '/templates/' . $mfparams->get( 'template' ) . '/mf_scriptdlmenu' );$mfparams->set( 'menutype', 'mainmenu' ); // Source of menu//Set style for menu$mfparams->set( 'menuclass', 'scriptdlmenu' );include_once( $mfparams->get( 'absPath' ) .'/mf-menulib.php' );global $my;$mfmenu= new MFMenu ($database, $mfparams);$mfmenu->genMenu();?>