<?php $exp_profesor = explode(',', $row['contact']); ?> <?php $profesor = $exp_profesor[1] . ' ' . $exp_profesor[0]; ?> <h3 class="text-info"><?php echo $row['slug']; ?> </h3> <h5 class="text-muted">Por <?php echo nomprofesor($profesor); ?> el <?php echo fecha_actual2($row['timestamp']); ?> </h5> <br> <?php echo stripslashes(html_entity_decode($row['content'], ENT_QUOTES, 'ISO-8859-1')); ?> <br> <br> <?php mysqli_free_result($result); ?>
echo date('d-m-Y'); ?> <a class='alert-link' data-toggle='modal' href='#'> Pedro Pérez</a> -- 1B-A <span class=' pull-right'> <a href='#' class='alert-link' style='margin-right: 10px'> <i class='fa fa-search fa-fw fa-lg' title='Ver informe'> </i></a> <a href='#' class='alert-link' style='margin-right: 10px'> <i class='fa fa-pencil fa-fw fa-lg' title='Rellenar informe'> </i> </a> </span></p> </div> <div class='alert alert-success'> <p class="lead"><span class="fa fa-comments fa-fw"></span> Mensajes de Profesores</p> <br> <ul> <li><a href="#" class="alert-link"> Claustro de profesores </a> <br> <small>Juan Pérez (<?php echo fecha_actual2(date('Y-m-d')); ?> )</small> </li> </ul> </div> <?php } ?> <?php }
$profesor = $exp_profesor[1] . ' ' . $exp_profesor[0]; ?> <h3 class="text-info"><?php echo $mensaje['asunto']; ?> </h3> <h5 class="text-muted">Enviado por <?php $query = mysqli_query($db_con, "select nombre from departamentos where idea = '" . $mensaje['origen'] . "'"); $row = mysqli_fetch_array($query); $nom_profesor = $row[0]; echo nomprofesor($nom_profesor); ?> el <?php echo fecha_actual2($mensaje['ahora']); ?> </h5> <br> <?php echo stripslashes(html_entity_decode($mensaje['texto'], ENT_QUOTES, 'ISO-8859-1')); ?> <br> <br> <div class="hidden-print"> <a href="index.php" class="btn btn-default">Volver</a> <a href="redactar.php?profes=1&origen=<?php