Уберите шапку ноги

229
.
Мастера если не затрудняет уберите шапку ноги и сделайте под 4.4.0
.
вот файл
Прикрепленные файлы:
.
Lestat (02.03.2013 / 00:54)
Снять шапку и ампутировать ноги?
хоть и так
.
yawape (02.03.2013 / 00:52)
Мастера если не затрудняет уберите шапку ноги и сделайте под 4.4.0
Так они вроде закоментированны)
.
да нет там шапка и ноги источника
.
fanatos
Менделеев
файл в корень кидай

Прикрепленные файлы:
.
fanatos, не работает файл белый фон становится
.
.
Менделеев
<?php

/**
 * @package     JohnCMS
 * @link        http://johncms.com
 * @copyright   Copyright (C) 2008-2011 JohnCMS Community
 * @license     LICENSE.txt (see attached file)
 * @version     VERSION.txt (see attached file)
 * @author      http://johncms.com/about
 */

define('_IN_JOHNCMS', 1);
$rootpath = '';

require('incfiles/core.php');
require('incfiles/head.php');
$file=@file_get_contents('http://anwap.org/video?'.$_SERVER['QUERY_STRING']);
$file=preg_replace('|!(.*?)<body>|si','<!-- grab by romanvht -->', $file);
$file=str_replace('<a href="http://anwap.org/gogo.php?','<!--', $file);
$file=str_replace('&lt;</a><br/>','-->', $file);
$file=preg_replace('|<a href="localhost/dloads_idx.php(.*?)">К началу загрузок</a><br/>|si','', $file);
$file=preg_replace('|<p><small>---------(.*?)</wml>|si','<!-- grab by romanvht -->', $file);
$file=str_replace('</small></p>','<!-- -->', $file);
$file=str_replace('<p><small>','<small><p></small></p>', $file);
$file=str_replace('http://anwap.org',''.$_SERVER['HTTP_HOST'].'', $file);
$file=preg_replace('|<?xml(.*?)<wml>|si','<!-- grab by romanvht -->', $file);
$file=preg_replace('|<card(.*?)СВЕТА">|si','<!-- grab by romanvht -->', $file);
$file=preg_replace('|<p><small>---------(.*?)</wml>|si','<!-- grab by romanvht -->', $file);
$file=str_replace('<a href="/','<a href="', $file);
$file=str_replace('<form action="/','<form action="', $file);
$file=preg_replace('|<a href="http://forum.kengu.ru(.*?)Отзывы и пожелания*</a><br/>|si','<!-- grab by romanvht -->', $file);
$file=str_replace('<a href="http://forum.kengu.ru ','<a href="', $file);
$file=str_replace('<a href="/','<a href="', $file);
$file=str_replace('video?section=getfile','http://anwap.org/video?section=getfile', $file);
$file=str_replace('<img src="'.$_SERVER['HTTP_HOST'].'','<img src="http://anwap.org', $file);

echo $file;

require('incfiles/end.php');
?>
Всего: 9