tak, w taki sposób wywołuje stronę. Niestety, link który podałeś również nie działa.
Pokasowałem wszystko maksymalnie, żeby dojść do źródla. I tak:
jedyne co jest w pliku css aktualnie to:(tlo1.jpg jest w folderze z plikiem css)
html, body{
height: 100%;
background-image: url(tlo1.jpg);
}
plik index.php:
<?php
include ("libs/Smarty.class.php");
$smarty = new Smarty();
$smarty->template_dir = "C:/xampp/htdocs/Smarty/mojastrona/templates/";
$smarty->compile_dir = 'C:/xampp/htdocs/Smarty/mojastrona/templates_c/';
$smarty->config_dir = 'C:/xampp/htdocs/Smarty/mojastrona/configs/';
$smarty->cache_dir = 'C:/xampp/htdocs/Smarty/mojastrona/cache/';
$smarty->display("naglowek.tpl");
?>
a plik naglowek.tpl:
<link rel="Stylesheet" href="Smarty/mojastrona/templates/css/styl.css" type="text/css" /> <form method="post" action="index.php"> ID:
<input type="text" name="iduzytkownika"><br />haslo:
<input type="password" name="haslo"><br /><input type="submit" value="Zaloguj">
I nie mam pojęcia co jest nie tak..
Rozumiem, że beznadziejny przypadek?