w new.php jest tylko jedno echo i wyświetlenie akapitu informacyjnego, więc raczej problem lezy w index.php:
<? require ('adm/funkcje.php');
if(isset($_GET['kategoria'])) { $title = nazwa_kat($nr1);
}
if(isset($_GET['ogl_id'])) { $title = tytul($nr);
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3c.org/1999/xhtml" xml:lang="pl" lang="pl">
<head>
<link rel="Shortcut icon" href="grafika/logo.jpg"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>
<? echo $title; ?></title>
<meta name="keywords" content="">
<meta name="description" content="">
<meta name="classification" content="global,all">
<meta name="robots" content="all,index,follow">
<meta name="revisit-after" content="2 days">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" href="thumbnail_view/thumbnailviewer.css" type="text/css">
<script src="thumbnail_view/thumbnailviewer.js" type="text/javascript">
</script>
</head>
<body>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/pl_PL/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="glowne">
<div class="logo"><a href="http://
<?php echo $_SERVER['HTTP_HOST']; ?>"><img border="0" src="grafika/logo2.gif" alt=""></a></div>
<div class="menuGlowne">
<ul id="menuGlowne">
<br></br>
<br></br>
<li> <a href="nowosci">nowosci</a></li>
<br></br>
</ul>
</div>
<div class="tlo_pasek_1"></div>
<!-- pasek pod 1 -->
<div class="tlo_pasek_2"></div>
<!-- pasek pod 2 -->
<!-- baner glowny -->
<!--<div class="baner_1"></div> -->
<!-- kreska --><!-- kreska -->
<div class="lewe">
<div class="lewe_box">
<div class="pasekKategoria">KATEGORIE</div>
<!-- kategorie -->
<? require('kategorie.php'); ?>
</div>
<div class="lewe_box">
<div class="pasekKategoria" style="background: #143CBE;">SZUKAJ</div>
<!-- szukanie size="24"-->
<form method="POST" action="kat">
<p><label style="padding-left:3px">Wpisz słowo:</label>
<input class="input_form" style="margin: -1 3 3 3; width:184px; height: 25px; background:#f8f8f8;" type="text" name="fraza" value="<? $fraza_szukaj ?>" tabindex="1">
</p>
<p><input class="button" style="margin-left:85px;margin-top: -9px" type="submit" value="Szukaj" name="przycisk"></p>
<a href="wyszukiwanie">Wyszukiwanie</a>
<br></br>
</form>
</div>
<div class="srodek">
<?php
switch($_GET['strona']) {
case "nowosci": include "new.php"; break;
case "kontakt": include "m_kontakt.php"; break;
case "regulamin": include "m_regulamin.php"; break;
case "kontakt-zgloszenie": include "kontakt_blad.php"; break;
case "szukaj": include "m_szukaj.php"; break;
case "error": include "error_404.php"; break;
}
?>
</div>
<!-- end srodek -->
<div class="dolne_1"><a href="regulamin">REGULAMIN</a></div>
<div class="showSmall" style="text-align: right;">Copyright Š 2012 Online: <? include ('adm/online.php'); //licznik ?></div>
<div class="dolne_kreski">
<SPAN style="color:black;font-weight: bold; margin-right: 5px;"></SPAN>
<div style="text-align: right; margin-top:-13px">
</div>
</SPAN>
</div><br>
</div>
<?php
include ('adm/connect.php');
$wykonaj= mysql_query ("SELECT smartcontext, smartcontext_code FROM platnosci WHERE platnosci_id =1"); {
if ( $wiersz['smartcontext'] == "1" ) {echo $wiersz['smartcontext_code']; } }
?>
<!-- end glowny -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-53986428-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>