?>" class="sub<? if ($filter=="admitted") { ?> active<? } ?>"><?=_("admitted")?> (<?=$counts['admitted']?>)</a> </div> <div class="mid"> <a href="<?=URI::build($params + ['filter'=>"debate"])?>" title="<? printf(ngettext("%d issue in debate phase", "%d issues in debate phase", $counts['debate']), $counts['debate']); ?>"<? if ($filter=="debate") { ?> class="active"<? } ?>><?=_("Debate")?> (<?=$counts['debate']?>)</a> </div> <div class="mid"> <a href="<?=URI::build($params + ['filter'=>"voting"])?>" title="<? printf(_("%d issues in voting, %d in voting preparation and %d in counting phase"), $counts['voting'], $counts['preparation'], $counts['counting']); $nyvic = $ngroup->not_yet_voted_issues_count(); if ($nyvic) { ?> — <?=Ngroup::not_yet_voted($nyvic); } ?>"<? if ($filter=="voting") { ?> class="active"<? } ?>><?=_("Voting")?> (<?=($counts['voting']+$counts['preparation']+$counts['counting']); if ($nyvic) { ?>, <? printf(_("not voted on %d"), $nyvic); } ?>)</a> </div> </div> <div class="top"> <div class="mid_dummy"> <a href="<?=URI::build($params + ['filter'=>"closed"])?>" title="<? printf(_("%d issues are finished, %d issues are cancelled"), $counts['finished'], $counts['cancelled']); ?>" class="top<? if ($filter=="closed") { ?> active<? } ?>"><?=_("closed")?> (<?=($counts['finished']+$counts['cancelled'])?>)</a> </div>
<td class="proposals"><a href="proposals.php?ngroup=<?php echo $ngroup->id; ?> "><?php echo _("Proposals"); ?> (<?php echo $ngroup->proposals_count(); ?> )</a><? if ( $own and Login::$member->eligible and Login::$member->verified and $nyvic = $ngroup->not_yet_voted_issues_count() ) { ?> <a href="proposals.php?ngroup=<?php echo $ngroup->id; ?> &filter=voting"><?php echo Ngroup::not_yet_voted($nyvic); ?> </a><? } ?></td> <td><a href="periods.php?ngroup=<?php echo $ngroup->id; ?> "><?php echo _("Periods"); ?> (<?php echo $ngroup->periods_count(); ?> )</a></td> <td><a href="areas.php?ngroup=<?php