echo $this->_tpl_vars['achievement']->user->nickname; ?> </a> :: <?php echo $this->_tpl_vars['achievement']->achievement->name; ?> </h3> <p><?php echo $this->_tpl_vars['achievement']->achievement->description; ?> </p> <p class="timestamp"> Awarded <?php echo is_array($_tmp = $this->_tpl_vars['achievement']->created_at) ? $this->_run_mod_handler('relative_datetime2', true, $_tmp) : smarty_modifier_relative_datetime2($_tmp); ?> ago in <?php echo $this->_tpl_vars['achievement']->category->category_name; ?> </p> </div> <?php } } unset($_from); ?> </div> </div>
foreach ($_from as $this->_tpl_vars['player']) { ?> <tr class="<?php echo smarty_function_cycle(array('values' => "odd,even", 'name' => 'players'), $this); ?> "> <td><?php echo is_array($_tmp = $this->_tpl_vars['player']->name) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp); ?> </td> <td class="center"><?php echo $this->_tpl_vars['player']->score; ?> </td> <td class="center"><?php echo is_array($_tmp = $this->_tpl_vars['player']->time) ? $this->_run_mod_handler('relative_datetime2', true, $_tmp) : smarty_modifier_relative_datetime2($_tmp); ?> </td> </tr> <?php } } else { ?> <tr> <td class="emptytable odd" colspan="3">There are no players</td> </tr> <?php } unset($_from); ?> </table>