Viewing file: newseventi.php (2.75 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<? include('include_dir.php'); include($percorsoLingua.'include/include.php');
$grafica=new Tgrafica(false,false); $grafica->titolo=''; $grafica->keywords=''; $grafica->description=''; $grafica->codicePagina=costantiP::CP_NEWSEVENTI; $grafica->codiceBody='page1';
$pagina = isset($_GET['p'])?$_GET['p']:1;
$grafica->paint(); unset($grafica);
function corpo_pagina() {global $pagina; $newsArray = estraiNews('-1','-1',$pagina,'1','date'); $newsRecentiArray = estraiNews('-1','-1',$pagina,'1','date','',5); ?>
<!-- Content ============================================= --> <section id="content"> <div class="content-wrap"> <div class="container clearfix"> <div class="row"> <div class="col-md-12"> <div class="heading-block"> <h3><?echo traduci('','NEWS')?></h3> </div> </div> </div> <!-- Post Content ============================================= --> <div class="postcontent nobottommargin clearfix">
<!-- Posts ============================================= --> <div id="posts"> <? if (count($newsArray)>0) { foreach ($newsArray as $news) { stampaAnteprimaNews($news,'dettaglio_newseventi.php'); } } ?>
</div><!-- #posts end -->
<!-- Pagination ============================================= --> <ul class="pager nomargin"> <? paginaPrecedente($pagina)?> <? paginaSuccessiva($pagina)?> </ul><!-- .pager end --> </div><!-- #post-content end --> <!-- Sidebar ============================================= --> <div class="sidebar nobottommargin col_last clearfix"> <div class="sidebar-widgets-wrap">
<div class="widget clearfix">
<h4><?echo traduci('','POST_RECENTI')?></h4> <div id="recent-post-list-sidebar"> <? if (count($newsRecentiArray)>0) { foreach ($newsRecentiArray as $news) { stampaNewsRecenti($news,'dettaglio_newseventi.php'); } } ?> </div> <!-- .recent-post end --> </div> </div> </div><!-- .sidebar end --> </div> </div> </section><!-- #content end --> <? }
function HeaderAggiuntivi() { ?> <? } ?>
|