/////////////////////// $valore= $_SERVER['HTTP_USER_AGENT']; if(strstr($valore,"Windows")){$so="WINDOWS"; $pc=1;} if(strstr($valore,"Linux")){$so="LINUX"; $linux=1;} if(strstr($valore,"Mac")){$so="MAC"; $mac=1;} if(strstr($valore,"Opera")){$br="OPERA"; $opera=1;} if(strstr($valore,"Safari")){$br="SAFARI"; $safari=1;} if(strstr($valore,"Firefox")){$br="FIREFOX"; $firefox=1;} if(strstr($valore,"MSIE")){$br="INTERNET EXPLORER"; $ie=1;} if(strstr($valore,"MSIE 8")){ $ie_old=1;} if(strstr($valore,"MSIE 7")){ $ie_old=1;} if(strstr($valore,"Chrome")){$br="CHROME"; $chrome=1;} if(strstr($valore,"iPhone")){$so="IOS"; $iphone=1;} if(strstr($valore,"iPad")){$so="IOS"; $ipad=1;} ///////////////////////// if($ie_old==1) { $logo="logo2.jpg"; } else { $logo="logo.png"; } ?>