<?php $LANGUAGE_FILES=array_merge($LANGUAGE_FILES,LanguageFiles("language.select","_")); $dataset['return_path']=$_SERVER['HTTP_REFERER']; $countrymap=loadCountryNames(); $dataset['COUNTRY']=array_deassociate($countrymap,'code','name'); $dataset['LANG-'.strtoupper(language_requested())]=array(0); $countrycode=get_user_countrycode(); foreach ($dataset['COUNTRY'] as &$c) { if ($c['code']==$countrycode) $c['SELECTED']=array(0); else $c['UNSELECTED']=array(0); } ?>