style="background-color:#FFFFCC"<?php 
            }
            ?>
><?php 
            echo is_array($_tmp = $this->_tpl_vars['o']->full_name) ? $this->_run_mod_handler('filter_xss', true, $_tmp) : smarty_modifier_filter_xss($_tmp);
            ?>
</span><br>
          <small><?php 
            echo is_array($_tmp = $this->_tpl_vars['o']->email) ? $this->_run_mod_handler('filter_xss', true, $_tmp) : smarty_modifier_filter_xss($_tmp);
            ?>
</small>
          <span style="color:#666"><br><small><?php 
            if ($this->_tpl_vars['o']->last_login != '0000-00-00') {
                ?>
logged in <?php 
                echo is_array($_tmp = $this->_tpl_vars['o']->last_login) ? $this->_run_mod_handler('relative_datetime', true, $_tmp) : smarty_modifier_relative_datetime($_tmp);
                ?>
 ago<?php 
            }
            ?>
</small></span>
           <?php 
            if ($this->_tpl_vars['o']->instances != null) {
                ?>
           <br><br>Service users:
           <span style="color:#666"><br><small>
            <?php 
                $_from = $this->_tpl_vars['o']->instances;
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
            unset($_from);
            ?>
        </select>
      </span>
    <?php 
        }
        ?>
    <?php 
    } else {
        ?>
      <!-- the user has not selected an instance -->
      <?php 
        if ($this->_tpl_vars['crawler_last_run']) {
            ?>
      Last update: <?php 
            echo is_array($_tmp = $this->_tpl_vars['crawler_last_run']) ? $this->_run_mod_handler('relative_datetime', true, $_tmp) : smarty_modifier_relative_datetime($_tmp);
            ?>
 ago
      <?php 
        }
        ?>
    <?php 
    }
    ?>
    <?php 
    if ($this->_tpl_vars['instance']) {
        ?>
 <?php 
        if ($this->_tpl_vars['logged_in_user']) {
            ?>
 <?php 
        <?php 
            if ($this->_tpl_vars['cur_date'] != $this->_tpl_vars['i']->date) {
                ?>
    <div class="span3">
      <div class="embossed-block">
        <ul>
          <li>
            <?php 
                if ((is_array($_tmp = $this->_tpl_vars['i']->date) ? $this->_run_mod_handler('relative_day', true, $_tmp) : smarty_modifier_relative_day($_tmp)) == 'today') {
                    ?>
                <?php 
                    if ($this->_tpl_vars['i']->instance->crawler_last_run == 'realtime') {
                        ?>
Updated in realtime<?php 
                    } else {
                        echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['i']->instance->crawler_last_run) ? $this->_run_mod_handler('relative_datetime', true, $_tmp) : smarty_modifier_relative_datetime($_tmp)) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : ucfirst($_tmp);
                        ?>
 ago<?php 
                    }
                    ?>
            <?php 
                } else {
                    ?>
                <?php 
                    echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['i']->date) ? $this->_run_mod_handler('relative_day', true, $_tmp) : smarty_modifier_relative_day($_tmp)) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : ucfirst($_tmp);
                    ?>

            <?php 
                }
                ?>
          </li>