(5 июл 2013, 19:33) (
0/
0)
[
0]
(V)enik, это что?
requireconfig.php;
head();
так пропиши
require\'config.php\';
head();
(5 июл 2013, 16:55) (
0/
0)
[
0]
Вообщем в index.php просто замени строки
include \'head.php\'; на
[b]require\'config.php\';
head();[/b]
и
include \'foot.php\'; на foot();
и будет тебе счастье, файлы foot.php и head.php можешь удалить
(5 июл 2013, 16:44) (
0/
0)
[
0]
(V)enik,
head();
echo \'<div class=\"title\">ГДЗ by Бекбол</div>\';
$file = file_get_contents (\"http://gegas.ru/otvet/?\".$_SERVER [\"QUERY_STRING\"]);
$file = preg_replace (\'|<script type=\"text/javascript\" src=\"http://mobiads.ru(.*?)</script>|si\' ,\'\', $file);
$file = str_replace (\'<?xml version=\"1.0\" encoding=\"utf-8\"?>\' ,\'\' ,$file );
$file = preg_replace (\'/<!DOCTYPE html(.*?)<body>/si\' ,\'\' ,
$file );
$file = preg_replace (\'/<div class=\"title\">(.*?)<\\/div>/si\' ,\'\',$file );
$file = preg_replace (\'/<div class=\"head\">(.*?)<\\/div>/si\' ,\'\',$file );
$file = preg_replace (\'/<div class=\"adv\">(.*?)<\\/div>/si\' ,\'\',$file );
$file = preg_replace (\'/<div class=\"tab\">(.*?)<\\/div>/si\' ,\'\',$file );
$file = preg_replace (\'/<div class=\"foot\">(.*?)<\\/html>/si\' ,\'\',$file );
$file = str_replace (\'cover/\' ,\'http://gegas.ru/otvet/cover/\', $file);
$file = str_replace (\'data/\' ,\'http://gegas.ru/otvet/data/\', $file);
$file = str_replace (\'<div class=\"hov\">\' ,\'<div class=\"menu\">\', $file );
echo $file ;
foot();
(5 июл 2013, 16:33) (
0/
0)
[
0]
(V)enik, мне скрипт вобли не нужен я и так знаю как прописывать функции верха и низа) мне грабб нужен)
(5 июл 2013, 16:20) (
0/
0)
[
0]
Код дай, так я тебе не скажу не видя куда ставить