window.location.href = '$txt.php?lang=$ln';"; } switch($_GET[page]){ case "regis" : if($_GET["lang"]=="TH" or $_GET["lang"]=="" ){ include("frm_register.php"); } else{ include("frm_register_en.php"); } break; #case "regis" : gopage('frm_register','TH') ; break; #case "regisen" : gopage('frm_register_en','EN') ; break; case "home" : gopage('home',$_GET['lang']); break; #case "homee" : gopage('home','EN'); break; case "chk" : gopage('chklist',$_GET['lang']); break; case "chka" : gopage('chklist_m',$_GET['lang']); break; } ?>