Пример #1
0
?>
<div class="container">
<div class="row">
<div class="page-header">
<h2>Informes de Tutoría <small> Activar Informe</small></h2>
</div>
<br>

<div class="col-md-6 col-md-offset-3">	
<div class="well well-large">
<?php 
if ($unidad) {
    echo '<h5>Grupo: <span class="text-info">';
    echo $unidad;
    echo '</span></h5> <h5>Tutor: <span class="text-info">';
    eliminar_mayusculas($fprof[0]);
    echo $fprof[0];
    echo '</span></h5><br />';
} else {
    ?>
<form name="curso" method="POST" action="infotut.php">

<div class="form-group">
<label>Grupo: </label>
<SELECT name="unidad" onChange="submit()" class="form-control">
	<option><?php 
    echo $unidad;
    ?>
</option>
	<?php 
    unidad($db_con);
Пример #2
0
<div class="page-header">
<h2 style="display:inline">Faltas de Asistencia <small> Poner faltas</small></h2>
</div>
<div class="col-sm-4"><?php 
if (is_numeric($profesor)) {
    $nombre_p = mysqli_query($db_con, "select distinct prof from horw where no_prof = '{$profesor}'");
    echo "select distinct prof from horw where no_prof = '{$profesor}'";
    $nombre_pr = mysqli_fetch_array($nombre_p);
    $n_profe = $profesor . "_ " . $nombre_pr[0];
} else {
    $n_profe = $profesor;
}
if (strlen($n_profe) > 0) {
    ?>
<div align="center"><legend><small> <?php 
    eliminar_mayusculas($n_profe);
    echo $n_profe;
    ?>
</small></legend>
	<?php 
}
?>
 <?php 
if ($profesor) {
    $trozos = explode("_ ", $profesor);
    $id = $trozos[0];
    $profesores = $trozos[1];
    echo "<a href=index.php?year={$year}&today={$today}&month={$month}&id={$id} class='btn btn-success'>Elegir otro Profesor</a>";
    echo "</div>";
    echo "<input type=hidden name=profesor value= \"{$profesor}\"><hr>";
}
Пример #3
0
$tutor = $fprof[0];
?>
<div class="container">
<div class="row">
<div class="page-header">
  <h2>Informes de Tareas <small> Activar Informe</small></h2>
</div>
<br>
<div class="col-md-4 col-md-offset-4">	
<div class="well well-large">
      <?php 
if ($unidad) {
    echo '<h5>Grupo: <span class="text-info">';
    echo $unidad;
    echo '</span></h5> <h5>Tutor: <span class="text-info">';
    eliminar_mayusculas($tutor);
    echo $tutor;
    echo '</span></h5><br />';
} else {
    ?>
      <form name="curso" method="POST" action="infotut.php">
<div class="form-group">
<label>Grupo: </label>
<SELECT name="unidad" onChange="submit()" class="form-control">
	<option><?php 
    echo $unidad;
    ?>
</option>
	<?php 
    unidad($db_con);
    ?>