Hey,
I wanna know if you can use your own functions in smarty if yes how?... for example.
I have a format function for time.
<?php
//some sql to select usersonline..
//some while query.
//time is here now
echo format_time(time() - $player['last_seen']);
//would show like 1 second ago.
?>
So how would i use my functions in smarty?
Thanks!