<?
';
IF (($_SESSION['userid'] != '')&&(!$_SERVER['HTTPS']))
{
header('HTTP/1.1 301 Moved Permanently'); header('Location: https://'.$_SERVER['HTTP_HOST'].'/'.$_SERVER['REQUEST_URI']); };
include('functions.php');
$conn = connect('includes/config.php');
IF ($conn == 'error'){
include('includes/zapas.php');
};
$sql = 'SELECT * FROM config WHERE ConfCat = "Portal"';
IF ($linia['ConfParam'] == 'BannerDown')
$DownBanner = $linia['ConfValue'];
};
?>
<head>
<title>Zespół Szkół im. Karola Wojtyły w Rotmance ::
<?Echo $localization;?></title>
<meta name="keywords" content="Zespół Szkół im. Karola Wojtyły w Rotmance, Szkoła Podstawowa w Rotmance, G
imnazjum w Rotmance, Szkoła w Rotmance, Rotmanka, Pruszcz Gdański, Gimnazjum, Sam
orząd Uczniowski, Samorząd Szkolny Szkoła, Karol Wojtyła, Zygmunt Rzaniecki, Elżb
ieta Sabatowska-Kot">
<meta name="description" content="Oficjalna strona Zespołu Szkół im. Karola Wojtyły w Rotmance. ">
<meta name="Robots" content="all">
<meta http-equiv="Content-Type" Content="text/html; charset=iso-8859-2" />
<link rel="stylesheet" href="
<?Echo sitestyle
('includes/config.php');?>" type="text/css" media="screen"/>
<link rel="stylesheet" href="styles/print.css" media="print"/>
<script type="text/javascript">
// <![CDATA[
var browser = navigator.userAgent;
var ie = 0;
if (browser.indexOf("MSIE") != -1 && browser.indexOf(") ") == -1) ie = parseFloat(browser.substring(browser.indexOf("MSIE")+4));
var id_status_blink = 0;
function status_blink(txt)
{
window.status = txt;
if (!txt) id_status_blink = setTimeout('status_blink("KLIKNIJ WEWNĄTRZ OKNA PRZEGLĄDARKI !!!!!")', 250);
else id_status_blink = setTimeout('status_blink("")', 1500);
return true;
}
function blur_ie()
{
document.all["body"].style.visibility = "hidden";
clipboardData.clearData();
status_blink("");
}
function focus_ie()
{
document.all["body"].style.visibility = "visible";
if (id_status_blink) clearTimeout(id_status_blink);
window.status = '';
return true;
}
if (ie >= 5)
{
window.onblur = blur_ie;
window.onfocus = focus_ie;
}
// ]]>
</script>
</head>
<body>
<div align="center">
<?PHP
$incl_path = "includes/";
?>
<table cellpadding="0" cellspacing="0" width="900" height="224" id="Header" class="MainHeader">
<!-- MSTableType="layout" -->
<tbody><tr>
<td valign="bottom" width="900" height="224">
<form method="POST" action="index.php">
<p align="right"><input type="text" name="keyword" size="20" class="EditBox" value="Szukaj..." style="font-size:8pt;font-family:Tahoma;" onfocus="if(this.value=='Szukaj...')this.value=''" onblur="if(this.value=='')this.value='Szukaj...'"> </p>
<input type="hidden" name="content" value="search"><input type="hidden" name="show" value="search">
</form>
</td>
</tr></tbody>
</table>
<p align="center"><font color="black"><b>
<?Echo 'Dziś jest '.data
();?></b></font></p>
<?
$sql = 'SELECT * FROM config WHERE ConfCat = "Portal" AND ConfParam = "Avalible"';
$data = explode(';',$linia['ConfValue']); IF (!$data[0]){
Echo '<center>Strona nie jest dostępna w tej chwili.<br /> Powód: <b>'.$data[1].'</b></center>
</body>
</html>';
};
?>
<table cellpadding="0" cellspacing="0" width="990" height="578">
<!-- MSTableType="layout" -->
<tr>
<td colspan="2" style="border-right-width:0px;" height="19" class="HeadCol"><p align="left"><b>Jesteś tutaj:</b>
<?Echo '<a href="index.php">ZS w Rotmance</a> :: '.$localization_href;?></p></td>
<td colspan="1" style="border-left-width:0px;" height="19" class="HeadCol"><p align="right"><a href="#bottom">Na dół</p></a></td>
</tr>
<tr>
<td valign="top" width="226" class="LeftCol">
<p align="center">
<? wyswietl
('menu','php');Echo
'<br>'; include('includes/google.php'); Echo ''; wyswietl
('pogoda','php');?></td>
<td valign="top" style="padding: 5px;border-top-width:0px" class="MidCol" width="531" >
<?
IF (IsSet($_GET['show'])){ IF ($_GET['show'] != ''){
include_once('includes/'.$_GET['show'].'.php');
}else
{
include_once('includes/news.php');
};
}else{
IF ($_POST['show'] != ''){
include_once('includes/'.$_POST['show'].'.php');
}else{
include_once('includes/news.php');
};
};
?>
</td>
<td valign="top" height="530" width="223" class="RightCol">
<p align="center">
<? wyswietl
('ankieta','php'); Echo '<br>'; wyswietl
('polecamy','php'); ?> <!-- (C) stat.pl / Strona glowna witryny -->
<script type="text/javascript">
<!--
document.writeln('<'+'scr'+'ipt type="text/javascript" src="http://s3.hit.stat.pl/_'+(new Date()).getTime()+'/script.js?id=1wNKViOPK93Z2hE3632tm9TIrmb1bWdp1xQXk56GLNT.u7/l=11"></'+'scr'+'ipt>');
//-->
</script>
<br>
<a href="http://www.stat.pl" target="_blanc"><IMG src="image.php?path=images/logoYellow_pl.jpg" border="0"></a>
</td>
</tr>
<tr>
<td colspan="3" height="29" class="BottomCol" valign=middle>
<center><?wyswietl('licznik_online','php')?>
<a href="#top">Do góry</a>
<!-- (C) 2000-2005 stat.pl/counter -->
Strona jest wyświetlana po raz <b>
<script type="text/javascript" src="http://counter.stat.pl/counter.js?id=zabipqtjiaJkBXxm8Ewu7v_Whs3RzGqfS.Fr.BVOGJj.W7&digits=8&type=1&base=10&add=0">
</b>
</script></center>
</td>
</tr>
</table>
<p align="center">
<?If ($_SESSION['admin'] == true) Echo '<a href="admin/" target="_parent">Panel administracji</a> ● <a href="index.php?show=logout">Wyloguj</a>';?></p>
</div>
<a name="bottom">
<?wyswietl('stopka','php')?><br>
<center>
<?Echo code
($DownBanner);?></center></a><br>
</body>
</html>
<?
<!--
ATTENTION!!!
This site is copirighted (C) by Zespół Szkół im. Karola Wojtyły w Rotmance. All rights reserved.
Site was displayed on '.$_SERVER['HTTP_HOST'].'
-->
';
?>