Вот я делаю граб сайта m.sportbox.ru
пока я ещё ничего не вырезал. Вот код
<?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://m.sportbox.ru/index.php?".$_SERVER ['QUERY_STRING']);
require_once ("../incfiles/end.php");
?>когда перехожу к грабу, показывает только шапку и ноги. Где ошибка?