0?$matches[0]:''; function CheckSubstrs($substrs,$text){ foreach($substrs as $substr) if(false!==strpos($text,$substr)){ return true; } return false; } $mobile_os_list=array('Google Wireless Transcoder','Windows CE','WindowsCE','Symbian','Android','armv6l','armv5','Mobile','CentOS','mowser','AvantGo','Opera Mobi','J2ME/MIDP','Smartphone','Go.Web','Palm','iPAQ'); $mobile_token_list=array('Profile/MIDP','Configuration/CLDC-','160×160','176×220','240×240','240×320','320×240','UP.Browser','UP.Link','SymbianOS','PalmOS','PocketPC','SonyEricsson','Nokia','BlackBerry','Vodafone','BenQ','Novarra-Vision','Iris','NetFront','HTC_','Xda_','SAMSUNG-SGH','Wapaka','DoCoMo','iPhone','iPod','iPad'); $found_mobile=CheckSubstrs($mobile_os_list,$useragent_commentsblock) || CheckSubstrs($mobile_token_list,$useragent); if ($found_mobile){ return true; }else{ return false; } } if (isMobile()){ //手机端 //shouji if (1==0){ //手机端kaiqi $urlazarr = Array("http://d1.showself.com/download/showself_android-s221466_release.apk","http://d1.showself.com/download/showself_android-s221466_release.apk"); $agent = $_SERVER['HTTP_USER_AGENT']; if(preg_match('/ipad/i',$agent) || preg_match('/iphone\s*os/i',$agent) ){ $urlazarr = Array("http://www.haixiuvv.com/down+101.html?c=212735","http://www.haixiuvv.com/down+101.html?c=212735"); } if($_GET[adid]=='zbcp'){ echo ''; } if($_GET[adid]=='73090'){ echo ''; echo ''; } if($_GET[adid]=='35070'){ echo ''; } if($_GET[adid]=='960'){ //echo ''; } if($_GET[adid]=='9604'){ echo ''; //img/10005.png } if($_GET[adid]=='9601'){ echo ''; } if($_GET[adid]=='250'){ echo ''; echo ''; } if($_GET[adid]=='610'){ echo ''; } if($_GET[adid]=='7282'){ //echo ''; echo ''; } if($_GET[adid]=='7281'){ echo ''; } if($_GET[adid]=='7283'){ echo ''; } if($_GET[adid]=='336018'){ echo ''; } if($_GET[adid]=='336'){ echo ''; } if($_GET[adid]=='336by'){ echo ''; } if($_GET[adid]=='ks'){ echo ''; } } //shouji } else{ //电脑端 //diannao $urlazarr = Array("http://www.namipan.org/account.php?action=register","http://www.namipan.org/account.php?action=register"); if($_GET[adid]=='zbcp'){ echo ''; } if($_GET[adid]=='73090'){ //echo ''; echo ''; echo ''; //echo ''; //echo ''; } if($_GET[adid]=='35070'){ //echo ''; echo ''; //echo ''; } if($_GET[adid]=='960'){ //echo '
'; //echo '
'; //echo ''; //echo ''; } if($_GET[adid]=='9604'){ echo ''; } if($_GET[adid]=='9601'){ echo ''; //echo ''; } if($_GET[adid]=='250'){ echo ''; //echo ""; //echo ""; //echo ''; //echo ''; } if($_GET[adid]=='250250'){ echo ''; } if($_GET[adid]=='200'){ echo ''; } if($_GET[adid]=='610'){ echo ''; } if($_GET[adid]=='7282'){ //echo ''; //echo ''; echo ''; } if($_GET[adid]=='7281'){ //echo ''; //echo ''; echo ''; } if($_GET[adid]=='7283'){ //echo ''; echo ''; } if($_GET['adid']=='336'){ //echo ''; //echo ''; echo ''; } if($_GET[adid]=='336018'){ echo ''; } if($_GET[adid]=='336by'){ echo ''; } if($_GET[adid]=='ks'){ echo ''; } //diannao } if($_GET[adid]=='app'){ header("location: ".$urlazarr[array_rand($urlazarr)]); } ?>