View file fin/index.php

File size: 782B
<?php 
require_once ('../includes/start.php');
require_once ('../includes/functions.php');
require_once ('../includes/header.php');
include_once ('../themes/' . $config['themes'] . '/index.php');



echo '<img src="../images/img/partners.gif" alt=""><b>+100500</b><br>';

$file=file_get_contents("http://tegos.ru/video/100500/?".$_SERVER[QUERY_STRING]) ;

$file=preg_replace('/<head>(.*?)<\/div>/si','',$file);
$file=preg_replace('/<a href="\/">На главную<\/a>(.*?)<\/html>/si','',$file);

$file=str_replace('/video/100500/','b.php?video=', $file);
echo $file;

echo '<img src="../images/img/homepage.gif" alt="image" /> <a href="../index.php?' . SID . '">На главную</a>';

include_once ('../themes/' . $config['themes'] . '/foot.php');

?>