Newer
Older
ournorth2021 / views / menu.php
LuisOlaya on 23 Apr 2021 7 KB quitar eventos especiales
<?php
$ahorabt = date("Y-m-d H:i:s");

$display = 'style="display: none"';
if ($_SESSION['id_user'] == 173) {
    $display = '';
}

$display_desafio = 'style="display: none"';
$qBt_desafio = mysqli_query($connect, "SELECT * FROM Botones WHERE boton = 'desafio' AND hora_inicia <= '" . $ahorabt . "' AND hora_termina >= '" . $ahorabt . "'  ");
if ($qBt_desafio->num_rows > 0) {
    $display_desafio = ".";
}

?>


<style>
    .tmp {
        display: none;
    }

    .img-avatar {
        width: 35px;
    }

    .color-p {
        color: #b2003eff !important;
    }

    .color-s {
        color: #adacb2ff !important;
    }
</style>

<!-- MENU WEB -->
<div class="col-md-12 encabezado_web menu_base">

    <div class="container-fluid">
        <div class="row">

            <!-- LOGO -->
            <!-- LOGO -->
            <div class="col-md-3">
                <?php if ($_SESSION['id_user'] == '') { ?>
                    <a href="<?php echo $url; ?>/home">
                        <img src="<?php echo $url; ?>/img/logo_astellas.png" style="width: 100%; max-width: 260px; margin-top: 10px; margin-left: -15px; position: relative; z-index: 1;" />
                    </a>
                <?php } else { ?>
                    <a href="<?php echo $url; ?>/lobby">
                        <img src="<?php echo $url; ?>/img/logo_astellas.png" style="width: 100%; max-width: 260px; margin-top: 10px; margin-left: -15px; position: relative; z-index: 1;" />
                    </a>
                <?php } ?>
            </div>

            <!-- BOTONES -->
            <!-- BOTONES -->
            <div class="col-md-9" align="right">

                <?php if ($_SESSION['id_user'] != "") { ?>

                    <div style="padding: 15px; color: #ffea00; padding-bottom: 0px">
                        <?php if (isset($_SESSION['imagen'])) { ?>
                            <img class="img-avatar" src="<?php echo $_SESSION['imagen']; ?>" alt="">
                        <?php } ?>
                        <span class="color-s"><?php echo $_SESSION['name_user']; ?></span>

                    </div>
                    <a href="<?php echo $url; ?>/lobby">
                        <button type="button" class="btn btn_item_menu" id="bt_inicio">
                            INICIO
                        </button>
                    </a>
                <?php } else { ?>
                    <div style=" height: 30px">
                    </div>
                    <a href="<?php echo $url; ?>/home">
                        <button type="button" class="btn btn_item_menu" id="bt_inicio">
                            INICIO
                        </button>
                    </a>
                <?php } ?>


                <?php if ($_SESSION['id_user'] != "" && $_SESSION['profile_full'] == true) { ?>
                    <a href="<?php echo $url; ?>/cuenta">
                        <button type="button" class="btn btn_item_menu" id="bt_ingreso">
                            CUENTA
                        </button>
                    </a>
                <?php
                } else {
                ?>
                    <a href="<?php echo $url; ?>/login">
                        <button type="button" class="btn btn_item_menu" id="bt_ingreso">
                            INGRESO
                        </button>
                    </a>
                <?php } ?>

                <a href="<?php echo $url; ?>/secciones">
                    <button type="button" class="btn btn_item_menu" id="bt_agenda">
                        AGENDA
                    </button>
                </a>



                <?php if ($_SESSION['id_user'] != "" && $_SESSION['profile_full'] == true) { ?>

                    <!-- <a href="<?php /* echo $url; */ ?>/live">
                    <button type="button" class="btn btn_item_menu" id="bt_live" style="border-radius: 30px; border: 2px solid #ffea00" >
                        SESIÓN EN VIVO
                    </button>
                </a>

                <a href="<?php /* echo $url; */ ?>/reuniones">
                    <button type="button" class="btn btn_item_menu" id="bt_reuniones" >
                        REUNIONES EN LÍNEA
                    </button>
                </a> -->

                    <!-- <a href="<?php /* echo $url; */ ?>/desafio">
                    <button type="button" class="btn btn_item_menu" id="bt_desafio"    >
                        DESAFÍO OUR NORTH
                    </button>
                </a> -->

                    <!-- <a href="<?php /* echo $url; */ ?>/concursos">
                    <button type="button" class="btn btn_item_menu" id="bt_concursos"    >
                        CONCURSOS
                    </button>
                </a> -->

                    <!-- <a href="<?php /* echo $url; */ ?>/taller">
                    <button type="button" class="btn btn_item_menu" id="bt_concursos" style="display: none">
                        TALLER
                    </button>
                </a> -->

                    <!-- <a href="<?php /* echo $url; */ ?>/cierre">
                    <button type="button" class="btn btn_item_menu" id="bt_concursos" style="display: none"   >
                        CIERRE EVENTO
                    </button>
                </a> -->

                    <!-- <a href="<?php /* echo $url; */ ?>/contactenos">
                    <button type="button" class="btn btn_item_menu" id="bt_contacto" >
                        CONTÁCTENOS
                    </button>
                </a> -->
                    <?php if ($prueba) { ?>

                        <!-- <a href="<?php echo $url; ?>/eventos">
                            <button type="button" class="btn btn_item_menu" id="bt_eventos">
                                EVENTOS ESPECIALES
                            </button>
                        </a> -->
                    <?php } ?>

                    <a href="<?php echo $url; ?>/speakers">
                        <button type="button" class="btn btn_item_menu" id="bt_eventos">
                            SPEAKERS
                        </button>
                    </a>

                    <a href="<?php echo $url; ?>/soporte">
                        <button type="button" class="btn btn_item_menu" id="bt_soporte">
                            SOPORTE TÉCNICO
                        </button>
                    </a>
                <?php } ?>

            </div>


        </div>
    </div>

</div>



<div class="col-md-12 " style="height: 100px">
</div>















<!-- MENU MOVIL -->
<div class="col-md-12 encabezado_movil  menu_base" align="left">

    <a href="<?php echo $url; ?>/home">
        <img src="<?php echo $url; ?>/img/logo_astellas.png" width="170" style=" margin-left: 15px;" />
    </a>

    <button type="button" class="btn btn_item_menu" style="float: right; padding: 10px; margin-top: 6px; color: #ffea00; font-size: 30px;" onClick="Ver_Menu()">
        <i class="fa fa-bars"></i>
    </button>

</div>

<!-- <div class="col-md-12" align="left" style="height: 60px">
</div> -->

<script>
    function Ver_Menu() {
        $("#modal_menu_movil").modal("show");
    }
</script>