Example #1
0
    $profesorelegido = $_GET['p'];
    $materiaelegido = $_GET['m'];
    $usuario = "1";
}
?>
 
        
          <div class="wrapper">
            <div class="container">
                <div class="row" id="main">
                    <div class="col-lg-8 col-lg-offset-2" style="margin-bottom:10px">                                       
                        <div class="row">                       
                            <div class="12u">                          
                                <a href="javascript:history.back()">atrás</a>
                                <?php 
$profesor = new profesorControlador();
$objProfesor = $profesor->mostrarProfesor($profesorelegido);
echo "<p class'fuenteSubtitulos'>" . $objProfesor->getNombreProfesor() . " " . $objProfesor->getApellidos() . "</p>                        \n                                <br>                           \n                                <div class='row'>                               \n                                    <div class='4u'>                                   \n                                        <img class='center-block' src='images/profesorCabeza.png' />                                    \n                                        <p class='text-center'>Estrellas</p>                               \n                                    </div>\n                                <div class='8u'>\n                                    <table class='table'>\n                                        <tr>\n                                            <td>Titulo Universitario:</td>\n                                            <td>" . $objProfesor->getTercerNivel() . "</td>\n                                        </tr>\n                                        <tr>\n                                            <td>Masterado:</td>\n                                            <td>" . $objProfesor->getMasterado() . "</td>\n                                        </tr>                                        \n                                    </table>\n                                </div>\n                            </div>";
?>
                          
                               
                            <div class="row">
                                <div class="12u">
                                    <button type="button" class="btn btn-default pull-right" onclick=" window.location.href='formularioR.html' ">Escribir Reseña</button>
                                </div>
                            </div>
                            <div class="row table-responsive">
                                <div class="col-lg-12" >
                                    <h3 class="fuenteSubtitulos">COMENTARIOS DESTACADOS</h3>
                                    <?php 
?>
Example #2
0
                                                           <li><a href="buscarprofe.php?letra=u">U</a></li>
                                                           <li><a href="buscarprofe.php?letra=v">V</a></li>
                                                           <li><a href="buscarprofe.php?letra=w">W</a></li>
                                                           <li><a href="buscarprofe.php?letra=x">X</a></li>
                                                           <li><a href="buscarprofe.php?letra=y">Y</a></li>
                                                           <li><a href="buscarprofe.php?letra=z">Z</a></li>
                                                        </ul>
                                    </div>  
                                
                            </div>
                                <div class="container">
                                    <div class="row">
                                        <div class="col-lg-8">

                                                <?php 
$profesor = new profesorControlador();
foreach ($profesor->consultarProfesorPorLetra($letra) as $profe) {
    echo "<div class='thumbnail'>\n                                                <img class='resize2 pull-left' src='images/profesorCabeza.png' />\n                                                <div class='caption'>\n                                                    <a href='resenia.html'><h5 style='margin-left:60px'>" . $profe->getApellidos() . "</h5></a>\n                                                </div>\n                                            </div>";
}
?>

                                           
                                            
                                        </div>
                                    </div>
                                </div>
                           
                        </div>
                 </div>
                           
        </div>
                                                           <li><a href="buscarprofe.php?letra=u">U</a></li>
                                                           <li><a href="buscarprofe.php?letra=v">V</a></li>
                                                           <li><a href="buscarprofe.php?letra=w">W</a></li>
                                                           <li><a href="buscarprofe.php?letra=x">X</a></li>
                                                           <li><a href="buscarprofe.php?letra=y">Y</a></li>
                                                           <li><a href="buscarprofe.php?letra=z">Z</a></li>
                                                        </ul>
                                    </div>  
                                
                            </div>

                            
			                             
			                                    
														<?php 
$busqueprofesor = new profesorControlador();
foreach ($busqueprofesor->consultarProfesorPorApellido($busqueda) as $profe) {
    echo "<div class='thumbnail'>\n\t\t\t                                                <img class='resize2 pull-left' src='images/profesorCabeza.png' />\n\t\t\t                                                <div class='caption'>\n\t\t\t                                                    <a href='resenia.html'><h5 style='margin-left:60px'>" . $profe->getApellidos() . "</h5></a>\n\t\t\t                                                </div>\n\t\t\t                                            </div>";
}
?>

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

         <?php 
include_once 'footer.php';
?>