getlocation(); $obj = null; $str = $arr['country'].$arr['area']; unset($arr); $where = iconv("UTF-8","GB2312//IGNORE",$str); if( strstr($where,'辽宁')) { $str = "http://wpa.qq.com/msgrd?v=3&uin=3022389290&site=qq&menu=yes"; //大连 }elseif(strstr($where,'浙江') || strstr($where,'江西') || strstr($where,'福建') || strstr($where,'安徽') || strstr($where,'上海') || strstr($where,'江苏'))//杭州 { $str = "http://wpa.qq.com/msgrd?v=3&uin=3023686773&site=qq&menu=yes"; //浙江 }elseif(strstr($where,'山东') || strstr($where,'河南')) { $str = "http://wpa.qq.com/msgrd?v=3&uin=2940992474&site=qq&menu=yes"; //济南 }elseif(strstr($where,'黑龙江') || strstr($where,'吉林')) //哈尔滨 { $str = "http://wpa.qq.com/msgrd?v=3&uin=2840889385&site=qq&menu=yes"; }else{ $str = "http://wpa.qq.com/msgrd?v=3&uin=2287180186&site=qq&menu=yes"; //北京 } */ $str = "http://wpa.qq.com/msgrd?v=3&uin=2810389983&site=qq&menu=yes"; //北京 ?>