当前位置: 首页>>代码示例>>PHP>>正文


PHP menu_lateral函数代码示例

本文整理汇总了PHP中menu_lateral函数的典型用法代码示例。如果您正苦于以下问题:PHP menu_lateral函数的具体用法?PHP menu_lateral怎么用?PHP menu_lateral使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了menu_lateral函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: template_body_above


//.........这里部分代码省略.........
				</div>
				<div class="menu-top-info">
					<a class="menu-top-user" href="', $scripturl, '?action=profile"><span class="avatar pull-left"><img src="', !empty($context['user']['avatar']['href']) ? $context['user']['avatar']['href'] : $settings['images_url'] . '/noavatar.png', '" alt="', $context['user']['name'], '"></span>';
    if ($context['user']['is_logged']) {
        echo $context['user']['name'];
    } else {
        echo $txt['guest_title'];
    }
    echo '
					</a>
				</div>
				<div class="menu-top-info-sub">
					<small>    Menú de Usuario    </small>
				</div>
			</div>
			<div class="menu-content">
				<ul class="nav">
				<li>
					<a class="waves-attach" href="', $scripturl, '"><span class="icon icon-lg margin-right">home</span>', $txt['home'], '</a>
				</li>';
    //Editando el listado para mostrar los menus mas importantes del mod
    if (!empty($context['user']['is_logged'])) {
        echo '
					<li>
						<a class="waves-attach" href="', $scripturl, '?action=profile"><span class="icon icon-lg margin-right">account_circle</span>', $txt['forumprofile_short'], '</a>
					</li>
					<li>
						<a class="waves-attach" href="', $scripturl, '?action=pm"><span class="icon icon-lg margin-right">inbox</span>', $txt['pm'], '</a>
					</li>
					<li class="hidden-md">
						<a class="waves-attach" href="javascript:void(0)" data-target="#doc_menu_profile_settings" data-toggle="collapse"><span class="icon icon-lg margin-right">menu</span>', $txt['almenu'], '</a>
						<span class="collapsed menu-collapse-toggle waves-attach" data-target="#doc_menu_profile_settings" data-toggle="collapse"><i class="icon menu-collapse-toggle-close">close</i><i class="icon menu-collapse-toggle-default">add</i></span>
						<ul class="collapse menu-collapse" id="doc_menu_profile_settings">';
        menu_lateral();
        echo '</ul>
					</li>';
        // Muestra los Likes del Like Mod
        if (!empty($modSettings['LikePosts::$LikePostsUtils->showLikeNotification())'])) {
            echo '
					<li>
						<a class="waves-attach" href="', $scripturl, '?action=likepostsstats"><span class="icon icon-lg margin-right">thumb_up</span>', $txt['like_show_notifications'], '</a>
					</li>';
        }
    }
    echo '<li>
						<a class="waves-attach" href="', $scripturl, '?action=help"><span class="icon icon-lg margin-right">help</span>', $txt['help'], '</a>
					</li>
				</ul>
			</div>
		</div>
	</nav>';
    //Añadiendo un content, en el cual despues vemos si agregar algo mas
    echo '
	<div class="content">
		<div class="content-heading">
		</div>
		<div class="container">
			<div class="row">
				<div class="visible-md-block visible-lg-block">
					<div class="card margin-bottom-no">
				    <div class="card-main">
			        <div class="card-inner mdc-text-grey-900"  style="margin-bottom: 0px;">
								<div class="container">
									<div class="row">
										<div class="col-md-6">
										';
开发者ID:AndroidLatino,项目名称:ResponsiveAndroidLatino,代码行数:67,代码来源:index.template.php

示例2: menu_arriba

        <!-- ace styles -->
        <link rel="stylesheet" href="../../dist/css/ace.min.css" class="ace-main-stylesheet" id="main-ace-style" />
        <link href="../../dist/css/ace-skins.min.css" type="text/css" rel="stylesheet" id="ace-skins-stylesheet" >
        <link href="../../dist/css/ace-rtl.min.css" type="text/css" rel="stylesheet" id="ace-rtl-stylesheet" >
        <script src="../../dist/js/ace-extra.min.js"></script>
    </head>

    <body class="skin-2">
        <?php 
menu_arriba();
?>

        <div class="main-container" id="main-container">
            <?php 
menu_lateral();
?>

            <div class="main-content">
                <div class="main-content-inner">
                    <div class="breadcrumbs" id="breadcrumbs">
                        <script type="text/javascript">
                            try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
                        </script>

                        <ul class="breadcrumb">
                            <li>
                                <i class="ace-icon fa fa-home home-icon"></i>
                                <a href="../inicio/">Inicio</a>
                            </li>
                            <li class="active">Contabilidad</li>
开发者ID:Oskrin,项目名称:neltex_formulario,代码行数:30,代码来源:index.php

示例3: menu_web

    function menu_web()
    {
        if (is_page(ADMINISTRADOR)) {
            return;
        }
        menu_lateral();
        $cintillo = cintillo_menu();
        $clases_menu = $cintillo ? ' con_citillo' : '';
        ?>
            <nav class="navbar navbar-default navbar-fixed-top<?php 
        echo $clases_menu;
        ?>
" role="navigation">
                <div class="container">
                    <div class="navbar-header page-scroll">
                    	<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
                    		<img src="<?php 
        plantilla();
        ?>
/images/iconos/button.png" class="iconmenu">
		                    <span class="sr-only">Toggle navigation</span>
		                </button>
                        <div class="spam"><a href="<?php 
        echo get_home_url();
        ?>
"><img src="<?php 
        plantilla();
        ?>
/images/logo.png" class="img-responsive logo"></a></div>
                    </div>
                    <div class="collapse navbar-collapse navbar-ex1-collapse">
                        <ul class="nav navbar-nav navbar-right uno">
                            <li>
                                <div class="row icons"><?php 
        compartir_web();
        ?>
</div>
                            </li>
                            <li class="spot">
                            	
                            </li>
                            <li class="letram">
                                <a href="<?php 
        echo get_home_url();
        ?>
/?go_to=compra_class" data-go="compra_class" class="page-scroll color_gris1 scrolling"><small>COMPRAR CLASES</small></a>
                            </li>
                            <li class="letram">
                                <a href="<?php 
        echo get_home_url();
        ?>
/?go_to=reserva" data-go="reserva" class="page-scroll color_gris1"><small>RESERVAR</small></a>
                            </li>
                            <li>
                            	<?php 
        menu_usuario();
        ?>
                            </li>
                            <li class="indexfront">
                                <div class="up"><img src="<?php 
        plantilla();
        ?>
/images/iconos/button.png"></div>
                            </li>
                        </ul>
                    </div>
                </div>
                <?php 
        menuabierto();
        echo $cintillo;
        ?>
            </nav>
        <?php 
    }
开发者ID:rafabrutaldrums,项目名称:siclo,代码行数:74,代码来源:functions.php


注:本文中的menu_lateral函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。