Exemplo n.º 1
0
<?php

$codtestimonio = $_GET['c'];
include_once "../../class/testimonio.php";
$testimonio = new testimonio();
$tes = $testimonio->mostrarTodoRegistro(" codtestimonio='{$codtestimonio}'", 1, "");
$col = array_shift($tes);
$folder = "../../";
include_once $folder . "cabecerahtml.php";
include_once $folder . "cabecera.php";
?>
<section class="">
    <div class="container">
        <div class="row">
            <h2 class="section-title">Modificar Testimonio</h2>
            <div class="col-sm-offset-3 col-sm-6">
                <fieldset>
                    <legend>Datos del Testimonio</legend>
                    <form action="actualizar.php" method="post" class="formulario" enctype="multipart/form-data">
                    <input type="hidden" name="codtestimonio" value="<?php 
echo $codtestimonio;
?>
">
                        <table class="table table-bordered">
                            <tr>
                                <td>Título</td>
                                <td><input type="text" name="titulo" class="form-control" value="<?php 
echo $col['titulo'];
?>
"></td>
                            </tr>
Exemplo n.º 2
0
<?php

$folder = "";
include_once "class/testimonio.php";
$testimonio = new testimonio();
$tes = $testimonio->mostrarTodoRegistro("", 1, "");
include_once "cabecerahtml.php";
include_once "cabecera.php";
?>
<section class="">
    <div class="container">
         <div class="row">
                <h2 class="section-title">Quienes Somos </h2>
                <div class="col-sm-6">
                    <img src="<?php 
echo $folder;
?>
imagenes/quienessomos/1.jpg" alt="" class="img-responsive">
                    <h4 class="strong"><a href="#">Decoraciónes</a></h4>
                    <p>Para otorgar a su documento un aspecto profesional, Word proporciona encabezados, pies de página, páginas de portada y diseños de cuadro de texto que se complementan entre sí. Por ejemplo, puede agregar una portada coincidente, el encabezado y la barra lateral. Haga clic en Insertar y elija los elementos que desee de las distintas galerías.Los temas y estilos también ayudan a mantener su documento coordinado.</p>
                </div>
                <div class="col-sm-6">
                    <img src="<?php 
echo $folder;
?>
imagenes/quienessomos/2.jpg" alt="" class="img-responsive">
                    <h4 class="strong"><a href="#">Eventos </a></h4>

                    <p>Si necesita detener la lectura antes de llegar al final, Word le recordará dónde dejó la lectura, incluso en otros dispositivos.El vídeo proporciona una manera eficaz para ayudarle a demostrar el punto.</p>
                </div>
Exemplo n.º 3
0
<?php

include_once "../../class/testimonio.php";
$testimonio = new testimonio();
extract($_POST);
$col = $testimonio->mostrarTodoRegistro("titulo LIKE '{$titulo}%' and nombre LIKE '{$nombre}%'", 1, "");
?>
<table class="table table-bordered table-striped table-hover">
<thead>
<tr><th width="50">Nº</th><th>Título</th><th>Testimonio</th><th>Nombre</th><th>Facebook</th><th></th></tr>
</thead>
<?php 
foreach ($col as $c) {
    $i++;
    ?>
<tr>
    <td class="der"><?php 
    echo $i;
    ?>
</td>
    <td><?php 
    echo $c['titulo'];
    ?>
</td>
    <td><?php 
    echo $c['testimonio'];
    ?>
</td>
    <td><?php 
    echo $c['nombre'];
    ?>