| Server IP : 20.75.53.88 / Your IP : 216.73.217.72 [ Web Server : Apache System : Linux VMRALP-3 4.4.0-256-generic #290~14.04.1-Ubuntu SMP Thu Jun 20 09:24:50 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29+esm15 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, Domains : 3 Domains MySQL : ON | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/portais/obidos/paginas/ |
Upload File : |
<?php
include_once "topo.php";
$historia = $conn->query("select * from textos");
$h = $historia->fetch(PDO::FETCH_OBJ);
?>
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<section>
<div class="container">
<div class="row">
<div class="col-lg-12 content text-justify">
<div class="col-lg-16">
<div class="page-header">
<h1>Notícias</h1>
<ol class="breadcrumb">
<li><a href="#" onclick="window.history.back();">Voltar</a></li>
</ol>
</div>
<div class="col-lg-20">
<div class="col-lg-16 content text-justify">
<table class="table table-striped table-bordered">
<?php
while ($n = $noticias->fetch(PDO::FETCH_OBJ)) {
echo "<tr>";
echo "<td width='2%'>" . date('d/m/Y', strtotime($n->data)) . "</td>";
echo "<td>$n->titulo</td>";
echo " </tr>";
}
?>
</table>
</div>
</div>
</div>
</div>
<!--INICIO DA BARRA LATERAL ACESSO A INFORMAÇÃO-->
<?php include "menu_lateral.php" ?>
<!--FIM ACESSO A INFORMACAO-->
</div>
</div>
</section>
<!-- Footer start -->
<?php
// include_once "rodape.php";
?>
<!-- Footer end -->
</div>
<!-- jQuery -->
<script src="../assets/js/jquery.min.js"></script>
<!--jQuery easing-->
<script src="../assets/js/jquery.easing.1.3.js"></script>
<!-- bootstrab js -->
<script src="../assets/js/bootstrap.js"></script>
<!--wow animation-->
<script src="../assets/js/wow.min.js"></script>
<!-- time and date -->
<script src="../assets/js/moment.min.js"></script>
<!--news ticker-->
<script src="../assets/js/jquery.ticker.js"></script>
<!-- owl carousel -->
<script src="../assets/js/owl.carousel.js"></script>
<!-- magnific popup -->
<script src="../assets/js/jquery.magnific-popup.js"></script>
<!-- weather -->
<script src="../assets/js/jquery.simpleWeather.min.js"></script>
<!-- calendar-->
<script src="../assets/js/jquery.pickmeup.js"></script>
<!-- go to top -->
<script src="../assets/js/jquery.scrollUp.js"></script>
<!-- scroll bar -->
<script src="../assets/js/jquery.nicescroll.js"></script>
<script src="../assets/js/jquery.nicescroll.plus.js"></script>
<!--masonry-->
<script src="../assets/js/masonry.pkgd.js"></script>
<!--media queries to js-->
<script src="../assets/js/enquire.js"></script>
<!--custom functions-->
<script src="../assets/js/custom-fun.js"></script>
</body>
</html>