title: Template in Template (.tpl) smarty
body: <p>hey,
  Since a few weeks I'm try to program a PHP-Application with the smarty template solution.
  Now a easy question for all professionals:
  How can I get a Template in a Template ?
  One example:
  index.php (page.tpl) include my login.php (login.tpl)</p>
  
  <p>In the smarty documentation I have found this function:
  <code>{include file="$tpl_name.tpl"}</code></p>
  
  <p>But where is my login.php controller ? When this function include the login.tpl file, 
  I have only HTML code or ?</p>
  
  <p>Can someone explain me this or give me a sample / tutorial ?</p>
  
  <p>Sorry for my bad english</p>
  
  <p>best regards</p>