<?php /* Smarty version 2.6.14, created on 2006-11-24 17:55:48
         compiled from playlist.tpl */ ?>
 <br />
<table class="content" width="100%" cellspacing="1" cellpadding="1">
  <tr class="cella" style="font-weight: bold;">
    <td>#</td>
    <td>ID</td>
    <td>Date / Time</td>
    <td>Match</td>
  </tr>
  <?php $_from = $this->_tpl_vars['playlist']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['playlist'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['playlist']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['item']):
        $this->_foreach['playlist']['iteration']++;
?>
  <tr class="cellb" onmouseover="this.className='cellc'" onmouseout="this.className='cellb'">
    <td width="6%"><?php echo $this->_foreach['playlist']['iteration']; ?>
</td>
    <td width="6%"><?php echo $this->_tpl_vars['item']['id']; ?>
</td>
    <td width="22%"><?php echo $this->_tpl_vars['item']['time']; ?>
</td>
    <td width="66%"><?php echo $this->_tpl_vars['item']['name']; ?>
</td>
  </td>
  <?php endforeach; endif; unset($_from); ?>
</table>
<table width="100%" cellspacing="0" cellpadding="0">
  <tr>
    <td style="text-align: left;"><form method="post" action="" style="display: inline;"><input type="hidden" name="repeatqueue" value="<?php echo $this->_tpl_vars['playlistrep']; ?>
"/>Repeat playlist [<input type="submit" name="on" value="on" class="link" <?php if ($this->_tpl_vars['on']): ?>style="font-weight: bold;"<?php endif; ?> />|<input type="submit" name="off" value="off" class="link" <?php if ($this->_tpl_vars['off']): ?>style="font-weight: bold;"<?php endif; ?> />]</form></td>
    <td style="text-align: right;"><form method="post" action="" style="display: inline;"><input type="hidden" name="repid" value="<?php echo $this->_tpl_vars['playlistrep']; ?>
" /><button title="Delete playlist" type="submit" name="delqueue" class="link"><img src="images/x.gif" alt="Delete playlist"></button></td>
  </tr>
</table>
<br />