Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=6819
Postga havola
DjHuSo [843] [off]
$ank = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '" . $user['id'] . "' LIMIT 1")); $path_pc = ' <img src="/images/pc.png" /> '; $path_mob = ' <img src="/images/phone.png" /> '; if (preg_match('#(orca)#ui', $ua)) $browser = $path_pc .'<img src="/images/browser/orca.png" alt="" />'; elseif (preg_match('#(lunascape)#ui', $ua)) $browser = $path_pc .'<img src="/images/browser/lunascape.png" alt="" />'; elseif (preg_match('#(arora)#ui', $ua)) $browser = $path_pc .'<img src="/images/browser/arora.png" />'; elseif (preg_match('#(coolnovo)#ui', $ua)) $browser = $path_pc .'<img src="/images/browser/coolnovo.png" alt="" />'; elseif (preg_match('#(kylo)#ui', $ua)) $browser = $path_pc .'<img src="/images/browser/kylo.png" alt="" />'; elseif (preg_match('#(flock)#ui', $ua)) $browser = $path_pc .'<img src="/images/browser/flock.png" alt="" />'; elseif (preg_match('#(rockmelt)#ui', $ua)) $browser = $path_pc .'<img src="/images/browser/rockmelt.png" alt="" />'; elseif (preg_match('#(cometbird)#ui', $ua)) $browser = $path_pc .'<img src="/images/browser/cometbird.png" alt="" />'; elseif (preg_match('#(seamonkey)#ui', $ua)) $browser = $path_pc .'<img src="/images/browser/seamonkey.png" alt="" />'; elseif (preg_match('#(iron)#ui', $ua)) $browser = $path_pc .'<img src="/images/browser/iron.png" alt="" />'; elseif (preg_match('#(presto)#ui', $ua)) $browser = $path_pc .'<img src="/images/browser/opera.png" alt="" />'; elseif (preg_match('#(yabrowser)#ui', $ua)) $browser = $path_pc .'<img src="/images/browser/yabrowser.png" alt="" />'; elseif (preg_match('#(chrome)#ui', $ua)) $browser = $path_pc .'<img src="/images/browsers/chrome.png" alt="" />'; elseif (preg_match('#(msie)#ui', $ua)) $browser = $path_pc .'<img src="/images/browser/msie.png" alt="" />'; elseif (preg_match('#(maxthon)#ui', $ua)) $browser = $path_pc .'<img src="/images/browser/maxthon.png" alt="" />'; elseif (preg_match('#(safari)#ui', $ua)) $browser = $path_pc .'<img src="/images/browser/safari.png" alt="" />'; elseif (preg_match('#(qtweb)#ui', $ua)) $browser = $path_pc .'<img src="/images/browser/qtweb.png" alt="" />'; elseif (preg_match('#(firefox)#ui', $ua)) $browser = $path_pc .'<img src="/images/browser/firefox.png" alt="" />'; // Мобильные браузеры if (preg_match('#(sonyericsson)#ui', $ua)) $browser = $path_mob .'<img src="/images/browser/sony_ericsson.png" alt="" />'; elseif (preg_match('#(ipod)#ui', $ua)) $browser = $path_mob .'<img src="/images/browser/apple.png" alt="" />'; elseif (preg_match('#(iphone)#ui', $ua)) $browser = $path_mob .'<img src="/images/browser/apple.png" alt="" />'; elseif (preg_match('#(android)#ui', $ua)) $browser = $path_mob .'<img src="/images/browser/android.png" alt="" />'; elseif (preg_match('#(symbian)#ui', $ua)) $browser = $path_mob .'<img src="/images/browser/symbian.png" alt="" />'; elseif (preg_match('#(windowsphone)#ui', $ua)) $browser = $path_mob .'<img src="/images/browser/windows.png" alt="" />'; elseif (preg_match('#(wp7)#ui', $ua)) $browser = $path_mob .'<img src="/images/browser/windows.png" alt="" />'; elseif (preg_match('#(wp8)#ui', $ua)) $browser = $path_mob .'<img src="/images/browser/windows.png" alt="" />'; elseif (preg_match('#(webos)#ui', $ua)) $browser = $path_mob .'<img src="/images/browser/hp.png" alt="" />'; elseif (preg_match('#(blackberry)#ui', $ua)) $browser = $path_mob .'<img src="/images/browser/blackberry.png" alt="" />'; elseif (preg_match('#(htc)#ui', $ua)) $browser = $path_mob .'<img src="/images/browser/htc.png" alt="" />'; elseif (preg_match('#(opera m)#ui', $ua)) $browser = $path_mob .'<img src="/images/browser/opera.png" alt="" />'; $out .= $browser;