<?php
error_reporting(0);
$strona         = basename ($_SERVER[PHP_SELF]);                                                                       // Nazwa strony
$nophp  = basename ($_SERVER[PHP_SELF], ".php");                                               // Nazwa strony z obciętym rozszerzeniem

if(is_file("incld/header.php")) {
    include ("incld/header.php");
    glowka($strona);
    }

$left_width 	=	200;																// Szerokosc lewej kolumny
$right_width	=	510;																// Szerokosc prawej kolumny
$center_width	=	720 - $left_width - $right_width;						// Szerokosc srodkowej kolumny
$left_center	=	$left_width - 12;												// Szerokosc srodka w lewej kolumnie
$right_center	=	$right_width - 12;											// Szerokosc srodka w prawej kolumnie

				
echo '
				<table width="720" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td width="720" height="25" colspan="3" align=center><b>gg.overwap.net - RTG ma juĹź ponad 19 lat !!!</b></td>
				</tr>
				<tr>
					<td width="'.$left_width.'" align="left" valign="top">
';					

if(is_file("$nophp/lewa.php")) {
    include ("$nophp/lewa.php");														// Lewa kolumna
    lewa($left_width,$left_center);
    }
echo '
					</td>
					<td width="'.$center_width.'" align="left" valign="top">
					</td>					
					<td width="'.$right_width.'" align="right" valign="top">
';					

if(is_file("$nophp/prawa.php")) {
    include ("$nophp/prawa.php");														// Prawa kolumna
    prawa($right_width);
    }

echo '					
					</td>
				</tr>
				</table>
				<!-- Koniec głownej komórki strony -->
';

if(is_file("incld/footer.php")) {
    include ("incld/footer.php");														// Dol strony
    footer($strona);
    }
?>