本文整理汇总了PHP中Menu::get_menu方法的典型用法代码示例。如果您正苦于以下问题:PHP Menu::get_menu方法的具体用法?PHP Menu::get_menu怎么用?PHP Menu::get_menu使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Menu
的用法示例。
在下文中一共展示了Menu::get_menu方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: catch
<i class="icon-cogs"></i>
</button>
</div>
<div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
<span class="btn btn-success"></span>
<span class="btn btn-info"></span>
<span class="btn btn-warning"></span>
<span class="btn btn-danger"></span>
</div>
</div><!-- #sidebar-shortcuts -->
<?php
Menu::get_menu();
?>
<!-- /.nav-list -->
<div class="sidebar-collapse" id="sidebar-collapse">
<i class="icon-double-angle-left" data-icon1="icon-double-angle-left" data-icon2="icon-double-angle-right"></i>
</div>
<script type="text/javascript">
try {
ace.settings.check('sidebar', 'collapsed')
} catch (e) {
}
</script>
</div>
<div class="main-content">
<div class="breadcrumbs" id="breadcrumbs">
<script type="text/javascript">
示例2:
?>
<div class="computer tablet only row">
<div class="ui <?php
echo Header::get_menu_style();
?>
menu centered navbar grid borderless header-menu pc">
<?php
echo Header::get_website_name_tagline();
?>
</div>
</div>
<?php
}
?>
<div class="computer tablet only row">
<div class="ui <?php
echo Header::get_menu_style();
?>
menu centered navbar grid borderless header-menu pc">
<?php
echo Header::get_phone_item('item');
echo Header::get_quote_item('item');
Menu::get_menu($page_id);
echo Header::get_language_item('item');
?>
</div>
</div>
<?php
get_template_part('templates/partials/header/mobile');
?>
</div>
示例3: ucfirst
</head>
<body>
<nav class="navbar-fixed-top navbar navbar-static">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="home.php?page=home"><b>SocialAfrica</b></a>
<a class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="glyphicon glyphicon-chevron-down"></span>
</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<?php
$menu->get_menu();
?>
<li>
<?php
if (isset($_SESSION['login'])) {
//echo 'Welcome back '. ucfirst($_SESSION['username']);
echo '<p style="width: 500px; " class="navbar-text navbar-right">Signed in as ' . ucfirst($_SESSION['username']) . ' <a style="color: white;" href="home.php?page=logout" class="navbar-link"> | Logout</a></p>';
//echo '<a href="include/logout.php"/> | LogOut</a>';
} else {
?>
示例4: Menu
<?php
require_once "class/class.Menu.php";
$menu = new Menu();
if (isset($_GET['menu'])) {
$id = $menu->get_menu($_GET['menu']);
}
?>
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<title>ESE Hospital San Antonio - Betania</title>
<meta name="author" content="Juan Fernando Ramirez Velez">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1">
<meta name="description" content="Página Oficial de la Empresa Social del Estado Hospital San Antonio del Municipio de Betania en el Suroeste de Antioquia" />
<!-- FAVICON -->
<link rel="icon" href="Favicon.png" type="image/png"/>
<!-- CSS -->
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/colorbox.css" />
<link rel="stylesheet" href="css/bootstrap-datetimepicker.min.css">
<link rel="stylesheet" href="css/style.css">
<!-- JAVASCRIPT -->
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=true"></script>
示例5: Menu
<?php
error_reporting(E_ALL ^ E_NOTICE);
require_once "class.Menu.php";
$obMenu = new Menu();
if (isset($_GET['menu'])) {
$menuid = $obMenu->get_menu($_GET['menu']);
}
?>
<!DOCTYPE HTML>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="css/estilos.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap-responsive.css">
<link rel="stylesheet" type="text/css" href="css/datepicker.css">
<script src="js/jquery-1.9.1.min.js"></script>
<script src="js/bootstrap-datepicker.js"></script>
<script src="js/funciones.js"></script>
<script src="js/validaciones.js"></script>
<title>Resolución 4505 - ESE Hospital San Rafael de Jericó</title>
</head>
<body>
<!-- Barra Navegacion Encabezado -->
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">