\n"; $str = gettext('SORT BY PLATFORM'); echo "\t

$str

\n"; echo "\t\t\n"; echo "\t
\n"; echo "\n"; if($page) $offset = $amount * ($page - 1); $arr = recentPackages($amount, $offset, $arch); // Common::pre($arr); if(count($arr)) foreach($arr as $row) $arr_packages[$row['package']][] = $row['ebuild']; // Common::pre($arr_packages); if(count($arr_packages)) { foreach($arr_packages as $arr) { echo keywordsRow($arr, 'new'); } } // $page is the current page we are on, so default is 1. $base = $base_uri; if($arch) $base .= "arch/$arch/"; $next_page = $base.($page + 1); $prev_page = $base.($page - 1); echo "\n"; ?>