View file dportal_0.2/file/ver.php
<? //форматы if($vivod!=1 & $vivod!=2 & $vivod!=3){$vivod=1;} if($vivod==1){if($ver==""){$tips=getenv('HTTP_ACCEPT'); if( strstr($tips, "html")){$ver="html";} else{$ver="wml";}}} if($vivod==2){if($ver==""){$ver="wml";}} if($vivod==3){if($ver==""){$ver="html";}} ?>