![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 10 Pomógł: 0 Dołączył: 1.05.2009 Ostrzeżenie: (0%) ![]() ![]() |
Witam!
Wywalili mnie z tym tematem z Peb.pl to przybyłem tu. Może ktoś mi pomoże. Chodzi o to że musze podmienić grafike w szablonie smarty i nie wiem jak sie do tego zabrać. Html/css znam dosyć dobrze PHP podstawy, ale struktura tego szablonu mnie troche przeraża. Podołać bym podołał, tylko trzeba mnie wprowadzić w temat. Z góry dzięki! |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 10 Pomógł: 0 Dołączył: 1.05.2009 Ostrzeżenie: (0%) ![]() ![]() |
<?php
define( 'SMARTY_DIR', 'c:/usr/apache/httpd/html/sm/libs/' ); require( SMARTY_DIR.'Smarty.class.php' ); $smarty = new Smarty; $smarty->template_dir = $_home_path.'templates/'; $smarty->compile_dir = $_home_path.'templates_c/'; $smarty->config_dir = $_home_path.'configs/'; $smarty->cache_dir = $_home_path.'cache/'; $smarty->assign( 'title', 'Test strony'); $smarty->assign( 'text', 'test'); $smarty->display( 'templates/index.tpl' ); ?> tak to wygląda |
|
|
![]() ![]() |
![]() |
Aktualny czas: 20.08.2025 - 21:00 |