<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by Free CSS Templates
<a href="http://www.freecsstemplates.org" target="_blank">http://www.freecsstemplates.org</a>
Released for free under a Creative Commons Attribution 2.5 License
Name : Simple Passage
Description: A three-column, fixed-width blog design.
Version : 1.0
Released : 20090327
-->
<link rel="icon" type="image/png" href="favicon.ico">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>OSP Nadolany</title>
<meta name="keywords" content="" />
<meta name="Simple Passage" content="" />
<link href="default.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<!-- start header -->
<div id="header">
<div id="logo">
<h1><span> <div class="header1"><div align="right"><br />
</div></a></h1>
</div>
<div id="menu">
<ul id="main">
<!-- MENU START -->
<?PHP
include('include/menu.txt');
?>
<!-- MENU KONIEC -->
</ul>
</div>
</div>
<div id="wrapper">
<div id="page">
<div id="page-bgtop">
<div id="page-bgbtm">
<div id="sidebar1" class="sidebar">
<ul>
<li>
<h2>Menu</h2>
<ul>
<!-- MENU LEWE START -->
<?PHP
include('include/menulewe.txt');
?>
<!-- MENU LEWE KONIEC -->
</ul>
</li>
<!-- POGODA START -->
<?PHP
include('include/pogoda.txt');
?>
<!-- POGODA KONIEC -->
<div id="content">
<?PHP
include('news.php');
?>
<?
$pok = mysql_query("SELECT COUNT(*) FROM newsy ORDER BY id"); $total = ceil($max / MAXPAGE
); $page = intval(@$_GET["page"]); if(0 == $page)
{
$page = 1;
}
$start = MAXPAGE * ($page - 1);
$full = MAXPAGE;
$obej = mysql_query("SELECT * FROM newsy ORDER BY id limit $start, $full"); {
//dany text
}
if($_GET[page] == '')
{
$strona = '1';
}
else
{
$strona = $_GET[page];
}
$poprzedniastrona = $_GET[page] - 1;
if($_GET[page] == '')
{
$nastepnastrona = '2';
}
else
{
$nastepnastrona = $_GET[page] + 1;
}
if($total == '0')
{
}
else
{
echo'<table align="center"> <tr>
<td>';
if(($_GET[page] == '1') || ($_GET[page] == ''))
{
}
else
{
echo'<a href="index.php?event=users&page=1"><input type="submit" value="'.$lang[pierwszastronakatalog
].'"></a><a href="index.php?event=users&page='.$poprzedniastrona.'"><input type="submit" value="'.$lang[poprzedniastronakatalog
].'"></a>'; }
if($strona == $total)
{
}
else
{
echo'<a href="index.php?event=users&page='.$nastepnastrona.'"><input type="submit" value="'.$lang[nastepnastronakatalog
].'"></a><a href="index.php?event=users&page='.$total.'"><input type="submit" value="'.$lang[ostatniastronakatalog
].'"></a>'; }
</tr>
</table>';
}
?>
</div>
<div id="sidebar2" class="sidebar">
<ul>
<li>
<form id="searchform" method="get" action="#">
<div>
<!-- MENU PRAWE START -->
<?PHP
include('include/menuprawe.txt');
?>
<!-- MENU PRAWE KONIEC -->
</ul>
</div>
<div style="clear: both;"> </div>
</div>
</div>
</div>
</div>
<!-- STOPKA START -->
<div id="footer">
<?PHP
include('include/stopka.txt');
?>
<!-- STOPKA KONIEC -->
</div>
</body>
</html>