2012-05-14 18:24:58 +00:00
|
|
|
<?php
|
2012-06-03 18:53:01 +00:00
|
|
|
function nf($n) {
|
|
|
|
return number_format($n, 0, '.', ',');
|
|
|
|
}
|
|
|
|
|
|
|
|
function ach_translate_cc($cc = 'c_neutral') {
|
|
|
|
global $_USER;
|
|
|
|
|
|
|
|
$t = array();
|
|
|
|
$t['c_matis'] = 'Matis';
|
|
|
|
$t['c_tryker'] = 'Tryker';
|
|
|
|
$t['c_fyros'] = 'Fyros';
|
|
|
|
$t['c_zorai'] = 'Zorai';
|
|
|
|
$t['c_kami'] = 'Kami';
|
|
|
|
$t['c_karavan'] = 'Karavan';
|
|
|
|
$t['c_neutral'] = get_translation('ach_c_neutral',$_USER->getLang());
|
|
|
|
|
|
|
|
return $t[$cc];
|
2012-05-14 18:24:58 +00:00
|
|
|
}
|
|
|
|
?>
|