<div class=" paneldeful panel panel-default"> <div class="panel-heading"> <h3 class="panel-title">Configurações de Usuário</h3> </div> <?php /* Criado em: 01/03/2015 Autor: Guilherme Barbosa Lima Finalidade: Partes do sistema G_Index v2.0.0 */ // include_once "../model/config/configuration_ge.php"; // session_start("administracao"); include "../model/geral_class.php"; $ex = new geralSys(); $aux = $ex->selectGeral("configuracoes"); $aux->execute(); while ($linha = $aux->fetch(PDO::FETCH_ASSOC)) { $nome = $linha['nome']; $email = $linha['email']; $senha = $linha['senha']; } ?> <div class=" panel-body "> <form action="../controle/controle_geral.php" method="post"> <div class="form-group"> <label for="exampleInputEmail1">Nome de Usuário</label> <input type="text" class="form-control" id="exampleInputEmail1" placeholder="Usuário" name="nome" value=<?php print "\"{$nome}\"";
</div> </div> <div class="sd_left"> <div class="text_padding"> <table> <tr> <th>Data</th> <th>Hora</th> <th>Descrição</th> </tr> <?php $ex = new geralSys(); $aux = $ex->selectGeral("palestras"); $aux->execute(); while ($linha = $aux->fetch(PDO::FETCH_ASSOC)) { $date = new DateTime($linha['data']); print " <tr>\n\n \n <td>" . $date->format('d/m/Y') . " |</td>\n <td>" . $linha['horario'] . " |</td>\n <td>" . $linha['Descricao'] . "</td>\n \n </tr>"; } ?> </table> </div> </div> <div class="footer">
Finalidade: Partes do sistema G_Index v2.0.0 */ ?> <div class="panel panel-default"> <div class="panel-heading">Editar Home</div> <div class="panel-body"> <div class="row"> <div class="col-md-12"> <form method="post" action="../../../controle/controle_geral.php" enctype="multipart/form-data"> <?php include "../../../model/geral_class.php"; $ex = new geralSys(); $aux = $ex->selectGeral("home"); $aux->execute(); while ($linha = $aux->fetch(PDO::FETCH_ASSOC)) { $tituloprimario = $linha['tituloprimario']; $textoprimario = $linha['textoprimario']; $titulosecundario = $linha['titulosecundario']; $textosecundario = $linha['textosecundario']; $textolateral1 = $linha['textolateral1']; $textolateral2 = $linha['textolateral2']; $textolateral3 = $linha['textolateral3']; } ?> <div class="form-group">
Autor: Guilherme Barbosa Lima Finalidade: Partes do sistema G_Index v2.0.0 */ ?> <div class="panel panel-default"> <div class="panel-heading">Editar EMECAM</div> <div class="panel-body"> <div class="row"> <div class="col-md-12"> <form method="post" action="../../../controle/controle_geral.php" enctype="multipart/form-data"> <?php include "../../../model/geral_class.php"; $ex = new geralSys(); $aux = $ex->selectGeral("emecam"); $aux->execute(); while ($linha = $aux->fetch(PDO::FETCH_ASSOC)) { $titulo = $linha['titulo']; $texto = $linha['texto']; } ?> <div class="form-group"> <label for="exampleInputEmail1">Título</label> <input type="text" class="form-control" id="exampleInputEmail1" placeholder="Título" name="tituloForm" value="<?php print $titulo; ?> "> </div>
<br /> </div> </div> <div class="sd_left"> <div class="text_padding"> <table> <tr> <th>Título</th> <th>Descrição</th> </tr> <?php $ex = new geralSys(); $aux = $ex->selectGeral("novidades"); $aux->execute(); while ($linha = $aux->fetch(PDO::FETCH_ASSOC)) { print " <tr>\n\n \n <td>" . $linha['titulo'] . " |</td>\n <td>" . $linha['texto'] . "</td>\n \n </tr>"; } ?> </table> </div> </div> <div class="footer">
</div> <div class="sd_left"> <div class="text_padding"> <table> <tr> <th>Data</th> <th>Horário</th> <th>Descrição</th> </tr> <?php $ex = new geralSys(); $aux = $ex->selectGeral("programacao"); $aux->execute(); while ($linha = $aux->fetch(PDO::FETCH_ASSOC)) { $date = new DateTime($linha['data']); print " <tr>\n\n \n <td>" . $date->format('d/m/Y') . " |</td>\n <td>" . $linha['horario'] . " |</td>\n <td>" . $linha['Descricao'] . "</td>\n \n </tr>"; } ?> </table> </div> </div> <div class="footer">