'Switzerland', 'CN' => 'China', 'CZ' => 'Czechia', 'DE' => 'Deutschland (Germany)', 'FR' => 'France', 'GR' => 'Greece', 'NC' => 'New Caledonia', 'NL' => 'Nederlands', 'UK' => 'the UK', 'US' => 'the USA', ); $tmpl = << %s %s %s %s T; //%s //%s $s = ''; $glob = array_shift($prods); $i = 0; foreach ($prods as $k => $p) { $iso = sprintf('%s-%s', $glob['prefix'], $k); $dl_link = sprintf('/%s/downloads/dl.php?product=%s', $locale, $iso); $bt_link = sprintf('/%s/downloads/dl.php?product=%s&torrent=1', $locale, $iso); $pop = rand(0,5); $s .= sprintf($tmpl, '', //($i == 0) ? ' class="reco"' : '', $p['name'], $p['lang'], $p['size'], //$pop, $pop, $dl_link, $_t['download'], $bt_link, $_t['download']); $i++; } $dl_table = << {$_t['flavour']} {$_t['language']} {$_t['size']} {$_t['link']} {$s}

All supported languages are: Deutsch, English, español, français, italiano, português.

Europa set of languages is: Deutsch, English, español, français, italiano, português. More languages will be made available for the stable release.

T;