Viewing file: rassegna_stampa.php (3.97 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php include('include_dir.php'); include($percorsoLingua.'include/include.php');
$grafica=new Tgrafica(false,false); $grafica->titolo=''; $grafica->keywords=''; $grafica->description=''; $grafica->codicePagina=costantiP::CP_RASSEGNA_STAMPA; $grafica->codiceBody='page1';
$pagina = isset($_GET['p'])?$_GET['p']:1; $anno = isset($_GET['anno']) ? $_GET['anno'] : date("Y");
$grafica->paint(); unset($grafica);
function corpo_pagina() {global $pagina, $anno; $stampaArray = estraiStampa($anno);
//$newsRecentiArray = estraiNews('-1','-1',$pagina,'1','date','',5); //print_r($stampaArray); ?>
<!-- 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><?php echo traduci('','RASSEGNA_STAMPA').' '.$anno?></h3> </div> </div> </div> <!-- Post Content ============================================= --> <div class="postcontent nobottommargin clearfix">
<!-- Posts ============================================= --> <div id="posts"> <?php if (count($stampaArray)>0) { foreach ($stampaArray as $news) { stampaAnteprimaArticoli($news,'dettaglio_stampa.php'); } } ?>
</div><!-- #posts end -->
<!-- Pagination ============================================= --> <ul class="pager nomargin"> <?php //paginaPrecedente($pagina)?> <?php //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('', 'ARCHIVIO') ?></h4> <div class="list-group"> <!--<a href="#" class="list-group-item list-group-item-action active"><? echo traduci('', 'ANNO') ?> 2021</a> <a href="#" class="list-group-item list-group-item-action"><? echo traduci('', 'ANNO') ?> 2020</a> <a href="#" class="list-group-item list-group-item-action"><? echo traduci('', 'ANNO') ?> 2019</a> <a href="#" class="list-group-item list-group-item-action"><? echo traduci('', 'ANNO') ?> 2018</a> <a href="#" class="list-group-item list-group-item-action"><? echo traduci('', 'ANNO') ?> 2017</a> --> <?php $years = estraiAnni(); foreach ($years as $year) { $active = ($anno == $year['anno']) ? 'active' : ''; ?> <a href="rassegna_stampa.php?anno=<?php echo $year['anno']?>" class="list-group-item list-group-item-action <?php echo $active?>"><?php echo traduci('', 'ANNO') ?> <?php echo $year['anno']?></a> <?php }?> </div> </div>
</div> </div><!-- .sidebar end --> </div> </div> </section><!-- #content end --> <?php }
function HeaderAggiuntivi() { ?> <?php } ?>
|