if(file_exists('index.html')){ $url = 'index.html'; }else{ $url = '../index.php?t=wap'; } ?>