예제 #1
0
                        <dt>Escrito por:</dt>
                        <dd><?php 
        echo $comp->autor;
        ?>
</dd>
                        <dt>Data e hora:</dt>
                        <dd><?php 
        echo date('d/m/Y', strtotime($comp->data));
        echo " - ";
        echo date('H:i', strtotime($comp->hora));
        ?>
</dd>
                        <dt>Categorias:</dt>
                        <dd><?php 
        $label = new Categorias();
        $label->labelCategorias($comp->categoria);
        ?>
</dd>
                      </dl>
                    </div>
                    <div class="col-sm-5" style="align: center;">
                      <br>
                      <img class="img-responsive-pad " src="<?php 
        echo $comp->imagem;
        ?>
" alt="Imagem" width="100%" height="100%" />
                    </div>

                    <form action="EditNoticiaObj.php" method="post">

                      <input type="hidden" name="id" value="<?php