<div class=" form-group"> <p><label>Introduce la Descripción:</label> </p> </div> <div class=" form-group"> <textarea class="form-control" name="comentario" cols="10" rows=""></textarea> </div> <p> <input type="submit" class="btn badge-info" name="Submit" value="Guardar"> </p> </form> </div> <?php } else { $objtVideo = new videosClass($idVideos, $url, $id, $comentario); $objtVideo->altaVideos(); echo 'Agregado con Exito'; ?> <p class="help-block"><a href="videosAdmin.php">Regresar a Noticias</a></p> <?php } ?> <p> </p> </body> </html>
<?php include 'header.php'; ?> <form name="form1" method="post" action="videosAlta.php"> <label></label> <div align="center"> <input type="submit" name="Submit" value="Agregar Video" /> </div> </form> </br> <?php $objtVideo = new videosClass($idVideos, $url, $id, $comentario); $rsVideos = $objtVideo->listaVideosFull(); ?> <table width="80%" border="1" cellspacing="0" cellpadding="3"> <tr> <td> </td> <td>Descripción</td> <td>Modificar</td> <td>Eliminar</td> </tr> <?php while ($rwVideos = mysql_fetch_object($rsVideos)) { $idVideos = $rwVideos->idVideos; ?> <tr> <td><img src="http://img.youtube.com/vi/<?php echo $rwVideos->id;
<?php $objtVideo = new videosClass($idVideos, $url, $id, $comentario); $rsVideos = $objtVideo->listaVideos(); ?> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr bgcolor="#ac0909"> <td colspan="2"><div align="left"><font color="#FFFFFF"><strong>VIDEOS <a href="index-videos.php">[+]</a> </strong></font></div></td> </tr> <?php while ($rwVideos = mysql_fetch_object($rsVideos)) { ?> <tr> <td><a href="verVideos.php?idVideo=<?php echo $rwVideos->idVideos; ?> "><img src="http://img.youtube.com/vi/<?php echo $rwVideos->id; ?> /default.jpg"></a></td> <td><?php echo $rwVideos->comentario; ?> </td> </tr> <?php } ?> </table>
<?php include "header.php"; $idVideos = $_GET["idVideos"]; echo $idBanners; $objtVideos = new videosClass($idVideos, $url, $id, $comentario); $deleteVideos = $objtVideos->eliminarVideos(); ?> <script languaje="JavaScript"> location.href='videosAdmin.php'; </script>
<?php include './header.php'; $idVideos = $_GET["idVideo"]; $videosVer = new videosClass($idVideos, $url, $id, $comentario); $dameVideo = $videosVer->verVideosFull(); ?> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <link href="assets/img/favicon.png" rel="icon"> <title> Noticias | El Vocero</title> <!-- Bootstrap --> <link href="assets/css/bootstrap.min.css" rel="stylesheet"> <!-- CSS --> <link href="assets/css/mis-estilos.css" rel="stylesheet"> <!-- FontAwesome Icons --> <link href="assets/css/font-awesome/css/font-awesome.min.css" rel="stylesheet"> <!-- GOOGLE FONTS --> <link href='https://fonts.googleapis.com/css?family=Lobster|Josefin+Sans|Patua One' rel='stylesheet' type='text/css'> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->