root/ip/tags/release_1_3_0_53/includes/functions_mg_http.php
| 111 | 163 | ||
|---|---|---|---|
50 | 50 | ||
51 | if (strpos($http_user_agent_str, 'Win')) | 51 | if (strpos($http_user_agent_str, 'Win')) |
52 | { | 52 | { |
53 | if (strpos($http_user_agent_str, 'Windows NT 6.0')) | 53 | if (strpos($http_user_agent_str, 'Windows NT 7.0')) |
54 | { | 54 | { |
55 | $user_os_ver = 'Windows 7'; | ||
56 | $user_os_img .= 'winlong.png'; | ||
57 | } | ||
58 | elseif (strpos($http_user_agent_str, 'Windows NT 6.0') || (strpos($http_user_agent_str, 'Windows NT 6.1'))) | ||
59 | { | ||
55 | $user_os_ver = 'Windows Vista'; | 60 | $user_os_ver = 'Windows Vista'; |
56 | $user_os_img .= 'winlong.png'; | 61 | $user_os_img .= 'winlong.png'; |
57 | } | 62 | } |
Download diff