![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 505 Pomógł: 0 Dołączył: 8.01.2005 Ostrzeżenie: (0%) ![]() ![]() |
|
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 505 Pomógł: 0 Dołączył: 8.01.2005 Ostrzeżenie: (0%) ![]() ![]() |
@ActivePlayer : dodano obsluge tablic :
http://www.jarzebski.pl/001/test_chameleon.php http://www.jarzebski.pl/001/test.tpl Kod <php require_once('debugger.inc.php'); require_once('chameleon.inc.php'); $template = new Chameleon(); $template->loadTemplate('test.tpl'); $template->setVar('zmiennaA', 10); $template->setVar('zmiennaB', 40); $el[0] = 'mama'; $el[1] = 'tata'; $template->setVar('elements', $el); print $template->parseTemplate(); ?> odwoluje sie tak : {elements[0]} jesli tablica istnieje a klucz tylko nie to na czerwono sygnalizuje klucz. Teraz czas na ify i petle (IMG:http://forum.php.pl/style_emoticons/default/tongue.gif) (IMG:http://forum.php.pl/style_emoticons/default/aarambo.gif) ---------------------------- @vieri: a moglbys rozwinac (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) ? ---------------------------- @diablos : Ja widze, np : Kod <table width="{image_width+20}" height="{image_height+20}">
<tr> <td align="center" valign="middle"> {image} </td> </tr> </table> Ten post edytował Bastion 5.02.2006, 16:23:49 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 2.10.2025 - 21:07 |