".$_GET["l"]; echo utab("Translations $ltit"); echo "

Available lists of translations

"; echo "

"; if(!isset($_GET["l"])){ //$udarl=array("Arabic", "Bulgarian", "Croatian", "Czech", "Chinese", "Danish", "Dutch", "English", "Finnish", "French", "German", "Greek", "Hebrew", "Hindi", "Hungarian", "Indonesian", "Italian", "Japanese", "Japanese Romaji", "Korean", "Latin", "Persian", "Polish", "Portuguese", "Romanian", "Russian", "Spanish", "Slovak", "Swahili", "Swedish", "Tagalog", "Thai", "Turkish", "Welsh"); echo langcloud($udarr,"index.php?l="); } else echo "Display available languages

"; $p=0; //if(isset($_GET["p"]))$p=$_GET["p"];for($i=1;$i<13;$i++)echo "$i     "; $l=""; if(isset($_GET["l"])){$l=$_GET["l"]; listf(toparam($l),$p-1);} echo bluefooter(); function listf($l,$p){ if($p<0)$p=0; $page=99; $start=$p*$page; $stop=$start+$page; echo "
"; $par=toparam($l); if ($handle = opendir("./")) { readdir($handle); readdir($handle); while (false != ($file = readdir($handle))) { if (strpos($file,"-")>0){ $fil=substr($file,0,-4); $arr=explode("-",$fil); if(strlen(trim($l))>0){ if ( strpos(" ".$fil,$par)>0){ $f[]= "".toname($arr[0])." to ".toname($arr[1])." translations 
"; } } else{ $f[]= "".toname($arr[0])." to ".toname($arr[1])." translations 
"; } } } $arcnt=count($f); if($arcnt>0)sort($f); //$br=ceil(count($f)/3); //$br++; //if($br<20) //$br=($page/3)+1; $br=20; $cnt=0; $cnt2=0; if($arcnt>0)while(current($f)){ if($cnt2>=$start && $cnt2<=$stop){ $cnt++; echo current($f); } if($cnt>=$br){ echo "
"; $cnt=0; } next($f); $cnt2++; } } echo "


"; } ?>