magnet-bk.php
//            in order to resolve the string
in order to resolve the string
in order to resolve the string
function i18n_str($topic){
	global $config;
	$i = 0;
	$lang = isset($config[LANG]) ? LANG : "eng";
	$tema = isset($config[$lang][$topic]) ? $topic : "bad";
	$str = $config[$lang][$tema];
	$numargs = func_num_args();
	if ($numargs > 1){
			foreach (func_get_args() as $n) {
					if ($i>0){
							$str = str_replace("{".$i."}",$n,$str);
					}
					$i++;
			}
	}
	return $str;
}
function i18n_str ( $ topic ) { global $ config ; $ i = 0 ; $ lang = isset ( $ config [ LANG ] ) ? LANG : " eng " ; $ tema = isset ( $ config [ $ lang ] [ $ topic ] ) ? $ topic : " bad " ; $ str = $ config [ $ lang ] [ $ tema ] ; $ numargs = func_num_args ( ) ; if ( $ numargs > 1 ) { foreach ( func_get_args ( ) as $ n ) { if ( $ i > 0 ) { $ str = str_replace ( " { " . $ i . " } " , $ n , $ str ) ; } $ i ++ ; } } return $ str ; }
in order to resolve the string
in order to resolve the string