<?php

function MenuSuperior($Nombres,$UrlFoto,$Carrera)
{
  echo '<nav class="navbar header-navbar pcoded-header">
            <div class="navbar-wrapper">
              <div class="navbar-logo">
          <a href="principal.php">
              <img class="img-fluid" src="assets/images/logo.png" alt="eClass-Logo" />
          </a>
          <a class="mobile-menu" id="mobile-collapse" href="#!">
             <i class="feather icon-menu icon-toggle-right"></i>
          </a>
          <a class="mobile-options waves-effect waves-light">
             <i class="feather icon-more-horizontal"></i>
          </a>
          </div>
                <div class="navbar-container container-fluid">
                 <ul class="nav-right">
                    <li class="header-notification mt-2">
                      <i class="feather icon-users"></i> Rol: Estudiante/Egresado
                      <p class="f-12">'.$Carrera.'</p>
                    </li>

                    <li class="user-profile header-notification">
             <div class="dropdown-primary dropdown">
                <div class="dropdown-toggle" data-toggle="dropdown">
              <img src="fotoEstudiantes/'.$UrlFoto.'" class="img-radius" alt="Fotografia">
              <span class="f-12">'.$Nombres.'</span>
              <i class="feather icon-chevron-down"></i>
            </div>
             <ul class="show-notification profile-notification dropdown-menu" data-dropdown-in="fadeIn" data-dropdown-out="fadeOut">
              
                            
              <li>
              <a href="index.php">
              <i class="feather icon-log-out"></i> Cerrar Sesi&#243;n
              </a>
              </li>
                </ul>
                
           </div>
            </li>
                         </ul>
            </div>
            </div>
          </nav>';
}

function MenuPrincipal()
{
  echo '<nav class="pcoded-navbar">
    <div class="nav-list">
       <div class="pcoded-inner-navbar main-menu">
          <div class="pcoded-navigation-label">Panel Navegaci&#243;n</div>
          <ul class="pcoded-item pcoded-left-item">
           <li class="pcoded-hasmenu">
               <a href="javascript:void(0)" class="waves-effect waves-dark">
              <span class="pcoded-micon"><i class="feather icon-inbox"></i></span>
               <span class="pcoded-mtext">Bandeja Personal</span>
                </a>
                 <ul class="pcoded-submenu">
                  <li class="">
                  <a href="actualizarDatosPersonales.php" class="waves-effect waves-dark">
                  <span class="pcoded-mtext">Datos Personales</span>
                  </a>
                  </li>
                  <li class="">
                  <a href="actualizarFoto.php" class="waves-effect waves-dark">
                  <span class="pcoded-mtext">Actualizar Fotografia</span>
                  </a>
                  </li>
                  <li class="">
                        <a href="publicarCv.php" class="waves-effect waves-dark">
                        <span class="pcoded-mtext">Actualizar CV</span>
                        </a>
                  </li>
                  <li class="">
                    <a href="cambiarClave.php" class="waves-effect waves-dark">
                    <span class="pcoded-mtext">Cambiar Contrase&#241;a</span>
                    </a>
                    </li>
                   </ul>
                 </li>

                  <li class="pcoded-hasmenu">
                  <a href="javascript:void(0)" class="waves-effect waves-dark">
                    <span class="pcoded-micon">
                    <i class="feather icon-share-2"></i>
                    </span>
                     <span class="pcoded-mtext">Bolsa Laboral</span>
                  </a>
                      <ul class="pcoded-submenu">
                        <li class="">
                        <a href="ofertasLaborales.php" class="waves-effect waves-dark">
                        <span class="pcoded-mtext">Ver ofertas laborales</span>
                        </a>
                        </li>
                        <li class="">
                        <a href="misPostulaciones.php" class="waves-effect waves-dark">
                        <span class="pcoded-mtext">Mis Postulaciones</span>
                        </a>
                        </li>
                        
                       </ul>
                  </li>
                  </ul>
         </div>
      </div>
   </nav>';
}

function modal_ok()
{
 echo '<div class="modal fade" id="default-Modal" tabindex="-1" role="dialog">
        <div class="modal-dialog" role="document">
          <div class="modal-content">
            <div class="modal-header bg-success">
              <h4 class="modal-title">Bolsa Laboral</h4>
              <button type="button" class="close" data-dismiss="modal" aria-label="Close">
              <span aria-hidden="true">&times;</span>
              </button>
            </div>
            <div class="modal-body">
              <h5>Felicitaciones</h5>
              <p>Su postulaci&#243;n ha sido enviado correctamente.</p>
            </div>
            <div class="modal-footer">
              <button type="button" class="btn btn-primary waves-effect waves-light" data-dismiss="modal">Aceptar</button>
            </div>
          </div>
        </div>
      </div>';
}

function modal_error()
{
  echo '<div class="modal fade" id="default-Modal2" tabindex="-1" role="dialog">
        <div class="modal-dialog" role="document">
          <div class="modal-content">
            <div class="modal-header bg-danger">
              <h4 class="modal-title">Bolsa Laboral</h4>
              <button type="button" class="close" data-dismiss="modal" aria-label="Close">
              <span aria-hidden="true">&times;</span>
              </button>
            </div>
            <div class="modal-body">
              <h5>Error de envio</h5>
              <p>Su postulaci&#243;n no ha sido enviado correctamente.</p>
            </div>
            <div class="modal-footer">
              <button type="button" class="btn btn-primary waves-effect waves-light" data-dismiss="modal">Aceptar</button>
            </div>
          </div>
        </div>
      </div>';
}

function modal_verificar_postulacion()
{
  echo '<div class="modal fade" id="default-Modal3" tabindex="-1" role="dialog">
        <div class="modal-dialog" role="document">
          <div class="modal-content">
            <div class="modal-header bg-warning">
              <h4 class="modal-title">Bolsa Laboral</h4>
              <button type="button" class="close" data-dismiss="modal" aria-label="Close">
              <span aria-hidden="true">&times;</span>
              </button>
            </div>
            <div class="modal-body">
              <h5>Registro verificado</h5>
              <p>Ud. ya registr&#243; su postulaci&#243;n a &#233;sta oferta laboral.</p>
            </div>
            <div class="modal-footer">
              <button type="button" class="btn btn-primary waves-effect waves-light" data-dismiss="modal">Aceptar</button>
            </div>
          </div>
        </div>
      </div>';
}


?>