View Single Post
  #2  
Old 11-13-2010, 08:25 AM
 
geckoday geckoday is offline
 

X-Wizard
  
Join Date: Aug 2005
Posts: 1,073
 

Default Re: trying to change this php into smarty

Try this:

Code:
{assign var="bitpath" value="players/`$v.field_value`-byzWRkIQ.js"} {assign var="bitexpires" value=$smarty.now+3600} {assign var="bitexpires" value=$bitexpires/60} {assign var="bitexpires" value=$bitexpires|round} {assign var="bitexpires" value=$bitexpires*60} {assign var="bitsig" value="`$bitpath`:`$bitexpires`:XQk1AIiCdNSBY57g5WlHpKcs"|md5} <p>Watch this cool video:</p> <script type='text/javascript' src='http://content.bitsontherun.com/{$bitpath}?exp={$bitexpires}&sig={$bitsig}'></script>
__________________
Manuka Bay Company
X-Cart Version 4.0.19 [Linux]

UGG Boots and other fine sheepskin products
http://www.snowriver.com
Reply With Quote