function GetHtml($classid,$id,$add,$ecms=0,$doall=0)
3、在//写文件之前添加代码/*一品技术-替换换行与大空格*/preg_match_all('/<pre>(.*?)<//pre>/s',$string,$r);foreach ($r[0] as $key => $value) { $string=str_replace($value, "[#]".$key."[#]", $string);}$string=preg_replace('[/r/n]', '',$string);$string=preg_replace('/>/s+(.*?)</', '><', $string);foreach ($r[0] as $key => $value) { $string=str_replace("[#]".$key."[#]",$value, $string);}//写文件WriteFiletext($file,$addlevel.$string);
新闻热点
疑难解答