예제 #1
0
<?php

require '../template/topoadm.php';
include_once '../dao/DaoModificacao.php';
include_once '../entidades/Modificacao.php';
include_once '../dao/DaoAdm.php';
include_once '../entidades/Adm.php';
include_once '../banco/Conexao.php';
$daoModificacao = new DaoModificacao();
$daoAdm = new DaoAdm();
if (isset($_GET['id'])) {
    $idSelecionado = $_GET['id'];
}
$videoNovo = new Modificacao();
$videoNovo = $daoModificacao->buscarPorId($idSelecionado);
$autor = $daoAdm->buscarPorId($videoNovo->getIdAdm())->getNome();
?>


<!-- Pagina do conteudo -->
<div class="row" style="margin-top: 1%; margin-bottom: 1%;">
    <div class="col-md-2 col-sm-2 col-xs-2"></div>
    <div class="col-md-8 col-sm-8 col-xs-8" >
        <div class="jumbotron" style=" background: white; ">
            
           <div class="panel panel-primary">
                    <div class="panel-heading">
                        <h3 class="panel-title">Dados</h3>
                    </div>
                    <div class="panel-body">
                     <label>Titulo: <?php