Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [Smarty] Problem z grafiką, w Pajączku działa w przeglądarce już nie
BugsBunny
post
Post #1





Grupa: Zarejestrowani
Postów: 206
Pomógł: 4
Dołączył: 2.04.2005

Ostrzeżenie: (0%)
-----


Gdy włączam podgląd pliku tpl w pajaczku wszystko działa OK jednak gdy już po wywołaniu przez php teplata nie ma grafiki. Co jest grane??

  1. <!-- STRONA -->
  2. <div align="center">
  3.  
  4. <img src="../images/logo.jpg" border="0" alt="logo">
  5.  
  6. <p align="center"> Panel logowania</p>
  7. <form action="login.php?akcja=sprawdz" method="post">
  8. <!-- STRONA -->


  1. <?php
  2. //strona
  3. $smarty = new Smarty;
  4. $smarty->template_dir = $_home_path.'../style/templates/templates/admin/';
  5. $smarty->compile_dir = $_home_path.'../style/templates/templates_c/';
  6. $smarty->config_dir  = $_home_path.'../style/templates/configs/';
  7. $smarty->cache_dir = $_home_path.'../style/templates/cache/'; 
  8.  
  9. $smarty->display('login.tpl');
  10. //strona
  11. ?>


niby wszystko jest OK.
Zawsze napotykałem ten rpoblem z grafiką.

Proszę o pomoc (IMG:http://forum.php.pl/style_emoticons/default/sad.gif)

Ten post edytował BugsBunny 3.07.2006, 22:04:49
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 22.08.2025 - 17:02