Einzelnen Beitrag anzeigen

Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#5

Re: HTML/PHP - PHP Variable in HTML

  Alt 31. Mär 2007, 14:22
Hi,

naja es ist eine TPL Datei die mit smarty dargestellt wird...

index.php wird geladen und je nach mode wird dann:

Code:
$page = "book.tpl";
und book.tpl ist oben der gepostete code und dann:

Code:
$mysmarty->Assign('content', $mysmarty->fetch($page));
und

Code:
$mysmarty->display('index.tpl');
wobei dann in index.tpl sowas steht wie:

Code:
sind in smarty als Anfang und Ende einer Smarty Variable definiert..

Gruß
Neutral General
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat