if ($nvoti_validi > 0) { ?> <?php //echo include_component('parlamentare', 'votacome', // array('carica' => $carica, // 'parlamentare' => $parlamentare, // 'acronimo' => $acronimo_gruppo_corrente)); ?> <?php } ?> <?php echo include_partial('news/newsbox', array('title' => 'Le ultime attività del parlamentare', 'all_news_url' => '@news_parlamentare?id=' . $parlamentare->getId(), 'news' => oppNewsPeer::getNewsForItem('OppPolitico', $parlamentare->getId(), 3), 'context' => 2, 'rss_link' => '@feed_politico?id=' . $parlamentare->getId())); ?> <?php if ($nvoti_validi > 0) { ?> <?php echo include_component('parlamentare', 'comparaQuesto', array('parlamentare' => $parlamentare, 'select2' => '', 'ramo' => $carica->getTipoCaricaId() == '1' ? '1' : '2')); ?> <?php } ?> </div> </div> <?php
</div> <div class="threecol last"> <?php if ($atto->getTipoAttoId() != 13 && $atto->getTipoAttoId() != 14) { ?> <?php echo include_component('atto', 'monitor_n_vote', array('atto' => $atto)); ?> <?php echo include_partial('news/newsbox', array('title' => 'Atto', 'all_news_url' => '@news_atto?id=' . $atto->getId(), 'news' => oppNewsPeer::getNewsForItem('OppAtto', $atto->getId(), 10), 'context' => 0, 'rss_link' => '@feed_atto?id=' . $atto->getId())); ?> <?php } ?> </div> </div> <?php slot('breadcrumbs'); ?> <?php echo link_to("home", "@homepage"); ?> /