Размер файла: 4.6Kb
<?php
#############################################
# 0JXRgdC70Lgg0YLRiyDRh9C40YLQsNC10YjRjCDRj #
# dGC0L4g0YHQvtC+0LHRidC10L3QuNC1LCDQt9C90L #
# DRh9C40YIg0YLRiyDQvdC10LzQvdC+0LPQviDQt9C #
# 90LDQtdGI0YwgUEhQIQ== #
#__---------------------------------------__#
#__ 0JrQu9C40Log0JrQu9GD0LE= __#
# --------------------------------------- #
# 0JDQstGC0L7RgCA6IE1vcmdhbg== #
# SUNRIDog0L3QtSDRgdC60LDQttGDIHhE #
# #
#############################################
function cdiv($page)
{
$page = preg_replace('|<div class="sec"\>(.*?)<\/div\><div class="vstavka"\>|si','
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="603" height="10"></td>
</tr>
<td width="603" height="27" background="/style/'.$set_style.'/images/header_main.png"></td>
</tr>
<tr>
<td width="603" height="226" background="/style/'.$set_style.'/images/bg_main.png" align="center" valign="top">
$1
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="598">
',$page);
#$page = preg_replace('|<div class="vstavka"\>(.*?)<\/div\>|si','$1',$page);
#$page = preg_replace('|<div class="ad"\>(.*?)<\/div\>|si','$1',$page);
#$page = preg_replace('|<div class="ie"\>(.*?)<\/div\>|si','$1',$page);
return $page;
}
ob_start('cdiv');
echo '<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8"/>
<link rel="shortcut icon" href="/style/'.$set_style.'/favicon.ico">
<link rel="stylesheet" type="text/css" href="/style/'.$set_style.'/style.css"/>
<title>'.$title.' :: '.$config['title'].'</title></head><body>
<div align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="802" height="235" background="/style/'.$set_style.'/images/banner_top.png"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="1" background="/style/'.$set_style.'/images/border.png"></td>
<td width="7"></td>
<td width="155" background="/style/'.$set_style.'/images/side_bg.png" align="center" valign="top">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="155"><a href="#" target="_self">
<img src="/style/'.$set_style.'/images/button.png" width="155" height="25"></a></td>
</tr>
<tr>
<td width="155"><a href="#" target="_self">
<img src="/style/'.$set_style.'/images/button.png" width="155" height="25"></a></td>
</tr>
<tr>
<td width="155"><a href="#" target="_self">
<img src="/style/'.$set_style.'/images/button.png" width="155" height="25"></a></td>
</tr>
</table>
</td>
<td width="7"></td>
<td width="631" valign="top">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
<tr>
<td>
<table>
<tr>
<td>
';
/*
<td width="603" height="27" background="images/header_main.png"></td>
</tr>
<tr>
<td width="603" height="226" background="images/bg_main.png" align="center" valign="top">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="598">
Текст!
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="603" height="10"></td>
</tr>
<tr>
<td width="603" height="27" background="images/header_main.png"></td>
</tr>
<tr>
<td width="603" height="226" background="images/bg_main.png" align="center" valign="top">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="598">
Текст!
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="603" height="10"></td>
</tr>
</table>
*/
################################################
# 0KHQutGA0LjQv9GCINC90LUg0L/QsNCx0LvQuNC6IQ== #
# 0KHRgtCw0LLRgNC+0L/QvtC70YwsIDIwMDkg0LMu #
################################################
?>