title: Smarty cookie name as variable
body: <p>I have variable </p>
  
  <pre><code>$new = 'cookie_name'
  </code></pre>
  
  <p>now I need </p>
  
  <p>use <code>$new</code> as cookie name in Smarty templates</p>
  
  <p>something  like</p>
  
  <pre><code>{$smarty.cookies.$new} 
  </code></pre>
  
  <p>but didn't work</p>