header.php
<?php include "config.php"; include "includes/function/session.php"; echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-2" /> <title>'.$row['title'].'</title> <meta name="Keywiords" content="'.$row['keywords'].'" /> <meta name="Description" content="'.$row['description'].'" /> <meta name="authot" content="Master" /> <meta name="generator" content="MasterPL CMS" /> <link rel="stylesheet" href="style.css" type="text/css" /> <style type="text/css">@import url("style.css");</style> <script src="javascript/overlib.js" type="text/javascript"></script> </head> <body>'; session(); ?>
i index.php
<?php include 'header.php'; include 'includes/bTemplate.php'; $tpl = new bTemplate(); include 'includes/template.php'; { include './includes/news.php'; } else { { include './includes/'.$_GET['p'].'.php'; } else { } } $tpl->set('content', $content); $tpl ->fetch('theme/deafult/theme.php'); include 'footer.php'; ?>
nie wiem co jest nie tak;| tzn, nie wyświetla mi sie strona.. a w źródle mam tylko tyle:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-2" /> <meta name="Keywiords" content="slowa kluczowe" /> <meta name="Description" content="opis" /> <meta name="authot" content="Master" /> <meta name="generator" content="MasterPL CMS" /> <link rel="stylesheet" href="style.css" type="text/css" /> </head> <body> </body> </html>
footer.php zawiera czysty tekst, bTemplate.php to wiadome, template.php to plik z instrukcjami dla systemu ... do dzisiaj działało, coś zmieniłem, pojecia juz nie mam co, nie pamietam i klapa... biala strona ;]
adres jakby ktos chcial http://www.masterpl.int.pl/pixarcell
a do theme
http://www.masterpl.int.pl/pixarcell/theme/deafult ..