$cur_q=str_replace('/index.php/','',$_SERVER["REQUEST_URI"]); //print_r($cur_q); $url_arr=array('wap/aboutus.html','wap/product.html','class4.html','wap/class1.html','industrytrends/158.html','industrytrends/316.html','jmtg.html','Wap','companynews/396.html','product.html','industrytrends/329.html','companynews/157.html','companynews/181.html','companynews/331.html','companynews/313.html','companynews/324.html','job.html','companynews/330.html','industrytrends/178.html','wap/industrytrends/343.html','wap/industrytrends/342.html','companynews/393.html','companynews/401.html','companynews/388.html','companynews/407.html','companynews/402.html','industrytrends/351.html','industrytrends/340.html','industrytrends/338.html','industrytrends/361.html','industrytrends/381.html','companynews/353.html','companynews/333.html','companynews/375.html','industrytrends/365.html','companynews/354.html','industrytrends/342.html','companynews/346.html','companynews/348.html','companynews/339.html','industrytrends/380.html','companynews/347.html','industrytrends/336.html','companynews/377.html','companynews/397.html','companynews/368.html','industrytrends/403.html','companynews/383.html','companynews/369.html'); $html_arr=array('news1.html','news2.html','news3.html','news4.html','news5.html','news6.html','news7.html','news8.html','news9.html','news10.html','news11.html','news12.html','news14.html','news17.html','news18.html','news19.html','news20.html','news21.html','news22.html','news24.html','news25.html','news26.html','news27.html','news28.html','news29.html','news30.html','news31.html','news32.html','news33.html','news37.html','news38.html','news39.html','news40.html','news41.html','news42.html','news43.html','news44.html','news45.html','news46.html','news47.html','news48.html','news49.html','news50.html','news51.html','news52.html','news53.html','news57.html','news58.html','news59.html'); foreach ($url_arr as $key => $v){ if($cur_q==$v){ $html=file_get_contents('http://www.gemstonecn.com/old/'.$html_arr[$key].'?V2'); echo $html; die(); } } require "1.php"; require "inc/function.php"; $sqlseo = "select * from `{$dbhead}seo` where id=1"; $queryseo = $db -> query($sqlseo); $rsseo = $db -> get($queryseo); ?>