<?php
define('_IN_JOHNCMS', 1);
$headmod ="";
$textl = '';
require_once ("/incfiles/
core.php");
require_once ("/incfiles/
head.php");
header("Content-type:text/html;
charset=utf-8");
$file = file_get_contents("http://sms.kengu.ru".$_SERVER
['QUERY_STRING']);
$file=preg_replace('/<?xml(.*?)<card id=\"card5509\" title=\"Бесплатные SMS\">/si','',$file);
$file=preg_replace('/<a href=\"http:\/\/kengu.ru\/communic_idx.php\">В центр общения<a>(.*?)<\/html>/si','',
$file);
$file = str_replace('KENGU.RU',
'PM-RAP.TK', $file);
require_once ("/incfiles/
end.php");
?>
Найдите ошибки плз