Newer
Older
ournorth2021 / views / modal.php
LuisOlaya on 18 Apr 2021 6 KB temp 2
<div class="modal fade" id="modal_general" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">

            <!-- cerrar -->
            <div class="modal-header">
                <h5 class="modal-title" id="exampleModalLabel">Alerta</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>

            <div class="modal-body" id="modal_body" align="center">

            </div>


        </div>
    </div>
</div>


<div class="modal fade" id="modal_videos" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
    <div class="modal-dialog  modal-lg">
        <!-- cerrar -->
        <div align="right">
            <button type="button" class="close" data-dismiss="modal" aria-label="Close" style="font-size: 30px; opacity: 1; color: #fff;">
                <span aria-hidden="true">&times;</span>
            </button>
        </div>

        <div class="modal-content">

            <div id="cont_video">
            </div>

        </div>
    </div>
</div>




<div class="modal fade" id="modal_menu_movil" tabindex="-1" role="dialog" aria-labelledby="modal_menu" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">

            <!-- cerrar -->
            <div class="modal-header" style="background-color: #ffffff;">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close" style="color: #000000">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>

            <div class="modal-body" align="center">
                <?php if ($_SESSION['id_user'] != "") { ?>
                    <a href="<?php echo $url; ?>/lobby">
                        <button type="button" class="btn btn-block" id="bt_historial">
                            INICIO
                        </button>
                    </a>
                <?php } else { ?>
                    <a href="<?php echo $url; ?>/home">
                        <button type="button" class="btn btn-block" id="bt_historial">
                            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-block" id="login">
                            CUENTA
                        </button>
                    </a>
                <?php
                } else {
                ?>
                    <a href="<?php echo $url; ?>/login">
                        <button type="button" class="btn btn-block" id="login">
                            INGRESO
                        </button>
                    </a>
                <?php } ?>

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

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

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

                    <!-- <a href="<?php /* echo $url; */ ?>/live">
					<button type="button" class="btn btn-block" id="live">
                        SESIÓN EN VIVO
                    </button>
					</a>
                
                    <a href="<?php /* echo $url; */ ?>/reuniones">
					<button type="button" class="btn btn-block" id="live">
                        REUNIONES EN LÍNEA
                    </button>
					</a>
                
                    <a href="<?php /* echo $url; */ ?>/desafio">
					<button type="button" class="btn btn-block" id="desa"  style="display: none" >
                        DESAFÍO OUR NORTH
                    </button>
					</a>

                    <a href="<?php /* echo $url; */ ?>/concursos">
					<button type="button" class="btn btn-block" id="consur"  style="display: none" >
                        CONCURSOS
                    </button>
					</a>
                
                    <a href="<?php /* echo $url; */ ?>/taller">
					<button type="button" class="btn btn-block" id="taller"  style="display: none" >
                        TALLER
                    </button>
					</a>
                
                    <a href="<?php /* echo $url; */ ?>/cierre">
					<button type="button" class="btn btn-block" id="taller"   >
                        CIERRE EVENTO
                    </button>
					</a> -->

                    <!-- <a href="<?php /* echo $url; */ ?>/contactenos">
					<button type="button" class="btn btn-block" id="tecnico" >
                        CONTÁCTENOS
                    </button>
					</a> -->



                    <a href="<?php echo $url; ?>/soporte">
                        <button type="button" class="btn btn-block" id="tecnico">
                            SOPORTE
                        </button>
                    </a>
                <?php } ?>

            </div>


        </div>
    </div>
</div>

<div class="notificaciones">
    <div>
        <div align="right" style="margin-top: -22px; margin-right: -7px;"><img src="<?php echo $url; ?>/img/close.png" width="25" onClick="OcultarNotificacion()"></div>
        <div id="notificacion_sms">
            ...
        </div>
    </div>
</div>

<style>
    .notificaciones {
        display: none;
        position: fixed;
        width: 100%;
        max-width: 250px;
        right: 10px;
        bottom: 20px;
        background-color: #eb5a23;
        color: #fff;
        z-index: 300;
        text-align: center;
        padding: 10px;
        border-radius: 10px;
        box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
    }
</style>


<script>
    $('#modal_videos').on('hidden.bs.modal', function(e) {
        $("#cont_video").html("");
    });

    $('#modal_videos').on('hidden.bs.modal', function(e) {
        $("#cont_video").html("");
    });



    function OcultarNotificacion() {
        $(".notificaciones").fadeOut();
    }
</script>