<?php
$tituloResultado = "";
$textoResultado = "";
switch ($this->Encuesta242->semaforoEncuesta)
{
    case "success":
        $textoResultado='<p class="text-justify"> that you carry out very good <strong><i>networking</i></strong> practices and you seem to apply them frequently with people in your different environments (personal, family, work, professional, social, community, etc.).<br><br>
        It would be great if you could grow your network of relationships even more by meeting more people outside your closest circle (family, friends, co-workers). People that are different in the profession, age, interests, hobbies, etc. The wider and more diverse your network is and the more you take care of it, the more opportunities you will have to expand your personal branding.
        </p>';
        $tituloResultado='<strong class="text-primary"><h2>Excellent!</h2></strong><br>
        <strong class="text-primary"><h4>Your result reveals...</h4></strong>';
        $semaforoResultados ='<img src="../resources/images/bid_enc_semaforo_verde-01.png" alt="Imagen">';
        $retroResultados ='<img src="../resources/images/bid_enc_retro_verde-01.png" alt="Imagen">';
        break;
    case "warning":
        $textoResultado='<p class="text-justify">that you engage in good networking practices, although you may not do it frequently or you may choose whom you do it with, rather than applying it consistently with people in your various environments (personal, family, work, professional, social, community, etc.). <br><br>
        You have a base to further strengthen your network of relationships. So, spend more time getting to know people outside your close circle (family, friends, co-workers). People that are different in the profession, age, interests, hobbies, etc. Because the wider and more diverse your network is and the more you take care of it, the more opportunities you will have to expand your personal brand.<br>
        </p>';
        $tituloResultado='<strong class="text-primary"><h2>Good result!</h2></strong><br>
        <strong class="text-primary"><h4>Your result reveals...</h4></strong>';
        $semaforoResultados ='<img src="../resources/images/bid_enc_semaforo_amarillo-01.png" alt="Imagen">';
        $retroResultados ='<img src="../resources/images/bid_enc_retro_amarillo-01.png" alt="Imagen">';
        break;
    case "danger":
        $textoResultado='<p class="text-justify">you should identify more practices that allow you to build and maintain a wider and more diverse network of relationships. It would be great if you could identify frequent actions to leave a memorable footprint, applying them consistently with people in your different environments (personal, family, work, professional, social, community, etc.). <br><br>
        Spend time getting to know people outside your close circle (family, friends, co-workers). People who are different in their profession, age, interests, hobbies, etc. Because the wider and more diverse your network is and the more you take care of it, the more opportunities you will have to expand your personal brand.  <br><br>
        </p>';
        $tituloResultado='<strong class="text-danger"><h2>Worrying result!</h2></strong><br>
        <strong class="text-danger"><h4>Your result suggests that...</h4></strong>';
        $semaforoResultados ='<img src="../resources/images/bid_enc_semaforo_rojo-01.png" alt="Imagen">';
        $retroResultados ='<img src="../resources/images/bid_enc_retro_rojo-01.png" alt="Imagen">';
        break;
}
?>
<link rel="stylesheet" href="../resources/css/resultadosemaforo.css" type="text/css">
<script src="../resources/js/resultadoencuesta242.js"></script>
<input type="hidden" id="opc" name="opc" value="<?php echo FuncionesComunes::encrypt("cancelarEncuesta242");?>">
<input type="hidden" id="nombreAlumno" name="nombreAlumno" value="<?php echo $_REQUEST["nombreAlumno"]; ?>"/>
<input type="hidden" id="userId" name="userId" value="<?php echo $_REQUEST["userId"];?>"/>
<input type="hidden" id="encuestaId" name="encuestaId" value="<?php echo FuncionesComunes::encrypt($encuesta242Id);?>"/>
    <div class="form-group row">
        <div class="col-md-12 col-xs-12 col-sm-12">
            <h5>Hello <b><?php echo $nombreAlumno;?></b>.</h5>
        </div>
    </div>
    <div class="form-group row">
        <div class="col-md-12 col-xs-12 col-sm-12">
            <div class="card">
                <div class="card-header text-center text" style="background: #B9F0D0">
                    <strong class="text-center text-success"><i class="fa fa-check text-success"></i>&nbsp;Discover your result.</strong>
                </div>
            </div>
        </div>
    </div>
    <br>
    <div class="form-group row">
        <div class="col-md-2 col-xs-2 col-sm-2">
            <div class="text-center">
                <?php echo $semaforoResultados;?>
            </div>
        </div>
        <div class="col-md-2 col-xs-2 col-sm-2">
            <div class="text-center">
                <?php echo $retroResultados;?>
            </div>
        </div>
        <div class="col-md-8 col-xs-8 col-sm-8">
            <p class="text-justify">
                <br>
                <?php
                echo $tituloResultado."<br>";
                echo $textoResultado;
                ?>
            </p>
        </div>
    </div>
    <div class="form-group row">
        <div class="col-md-12 col-xs-12 col-sm-12 text-center">
            <input id="cancelarEncuesta242" name="cancelarEncuesta242" type="image" src="https://sadpro.osvaldo.com/encuesta2/resources/images/bid_btn_reintentar_off-01.png" onmouseover="this.src='https://sadpro.osvaldo.com/encuesta2/resources/images/bid_btn_reintentar_on-01.png'" onmouseout="this.src='https://sadpro.osvaldo.com/encuesta2/resources/images/bid_btn_reintentar_off-01.png'" onclick="confirmarCancelacionEncuesta()"></input>
        
        </div>
    </div>
