Ejemplo n.º 1
0
 function getMenu()
 {
     $menubase = J_TEMPLATEDIR . J_SEPARATOR . 'menusys';
     include_once $menubase . J_SEPARATOR . 'ytloader.php';
     if (isset($_COOKIE[$this->template . '_direction'])) {
         $direction = $_COOKIE[$this->template . '_direction'];
     } else {
         $direction = $this->getParam('direction');
     }
     $templateMenuBase = new YTMenuBase(array('menutype' => $this->getParam('menutype'), 'menustyle' => $this->getParam('menustyle'), 'moofxduration' => $this->getParam('moofxduration'), 'moofx' => $this->getParam('moofx'), 'jsdropline' => $this->getParam('jsdropline', 0), 'activeslider' => $this->getParam('activeslider', 0), 'startlevel' => $this->getParam('startlevel', 0), 'endlevel' => $this->getParam('endlevel', 9), 'direction' => $direction, 'basepath' => str_replace('\\', '/', $menubase)));
     $templateMenuBase->getMenu()->getContent();
     $templateMenuBase = new YTMenuBase(array('menutype' => $this->getParam('menutype'), 'menustyle' => 'mobile', 'startlevel' => $this->getParam('startlevel', 0), 'endlevel' => $this->getParam('endlevel', 9), 'direction' => $direction, 'basepath' => str_replace('\\', '/', $menubase)));
     $templateMenuBase->getMenu()->getContent();
 }
Ejemplo n.º 2
0
 function getMenu()
 {
     $menubase = dirname(dirname(__FILE__)) . '/menusys';
     include_once $menubase . '/ytloader.php';
     $browser = new Browser();
     $templateMenuBase = new YTMenuBase(array('menutype' => $this->getParam('menutype'), 'menustyle' => $this->getParam('menustyle'), 'moofxduration' => $this->getParam('moofxduration'), 'moofx' => $this->getParam('moofx'), 'jsdropline' => $this->getParam('jsdropline', 0), 'activeslider' => $this->getParam('activeslider', 0), 'startlevel' => $this->getParam('startlevel', 0), 'endlevel' => $this->getParam('endlevel', 9), 'direction' => $this->getParam('direction'), 'basepath' => str_replace('\\', '/', $menubase)));
     $templateMenuBase->getMenu()->getContent();
     $templateMenuBase = new YTMenuBase(array('menutype' => $this->getParam('menutype'), 'menustyle' => 'mobile', 'moofxduration' => $this->getParam('moofxduration'), 'moofx' => $this->getParam('moofx'), 'jsdropline' => $this->getParam('jsdropline', 0), 'activeslider' => $this->getParam('activeslider', 0), 'startlevel' => $this->getParam('startlevel', 0), 'endlevel' => $this->getParam('endlevel', 9), 'direction' => $this->getParam('direction'), 'basepath' => str_replace('\\', '/', $menubase)));
     $templateMenuBase->getMenu()->getContent();
 }
Ejemplo n.º 3
0
            }
            ?>
                            </div>
                        </div>

                    <?php 
            echo "</{$tagBD['html5tag']}>";
            ?>
            <?php 
        }
        // END: For other blocks
    }
    // END Check if position not empty
}
//END: For
?>


    </div>
    <?php 
$menubase = J_TEMPLATEDIR . J_SEPARATOR . 'menusys';
$templateMenuBase = new YTMenuBase(array('menutype' => $yt->getParam('menutype'), 'menustyle' => 'mobile', 'basepath' => str_replace('\\', '/', $menubase)));
$templateMenuBase->getMenu()->getContent();
include_once J_TEMPLATEDIR . J_SEPARATOR . 'includes' . J_SEPARATOR . 'special-position.php';
include_once J_TEMPLATEDIR . J_SEPARATOR . 'includes' . J_SEPARATOR . 'bottom.php';
?>


</body>
</html>