<?php /* Smarty version 2.6.19, created on 2008-09-05 09:11:49
         compiled from manage_video_type.tpl */ ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>

<body>
<table width="88%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="32%" height="25" align="center" bgcolor="#F0F0F0">ID</td>
    <td width="33%" align="center" bgcolor="#F0F0F0">类型</td>
    <td width="35%" align="center" bgcolor="#F0F0F0">操作/<a href="insert_type.php">添加</a>/</td>
  </tr>
<?php unset($this->_sections['video_type_id']);
$this->_sections['video_type_id']['name'] = 'video_type_id';
$this->_sections['video_type_id']['loop'] = is_array($_loop=$this->_tpl_vars['video_type']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['video_type_id']['show'] = true;
$this->_sections['video_type_id']['max'] = $this->_sections['video_type_id']['loop'];
$this->_sections['video_type_id']['step'] = 1;
$this->_sections['video_type_id']['start'] = $this->_sections['video_type_id']['step'] > 0 ? 0 : $this->_sections['video_type_id']['loop']-1;
if ($this->_sections['video_type_id']['show']) {
    $this->_sections['video_type_id']['total'] = $this->_sections['video_type_id']['loop'];
    if ($this->_sections['video_type_id']['total'] == 0)
        $this->_sections['video_type_id']['show'] = false;
} else
    $this->_sections['video_type_id']['total'] = 0;
if ($this->_sections['video_type_id']['show']):

            for ($this->_sections['video_type_id']['index'] = $this->_sections['video_type_id']['start'], $this->_sections['video_type_id']['iteration'] = 1;
                 $this->_sections['video_type_id']['iteration'] <= $this->_sections['video_type_id']['total'];
                 $this->_sections['video_type_id']['index'] += $this->_sections['video_type_id']['step'], $this->_sections['video_type_id']['iteration']++):
$this->_sections['video_type_id']['rownum'] = $this->_sections['video_type_id']['iteration'];
$this->_sections['video_type_id']['index_prev'] = $this->_sections['video_type_id']['index'] - $this->_sections['video_type_id']['step'];
$this->_sections['video_type_id']['index_next'] = $this->_sections['video_type_id']['index'] + $this->_sections['video_type_id']['step'];
$this->_sections['video_type_id']['first']      = ($this->_sections['video_type_id']['iteration'] == 1);
$this->_sections['video_type_id']['last']       = ($this->_sections['video_type_id']['iteration'] == $this->_sections['video_type_id']['total']);
?>
  <tr>
    <td height="20" align="center"><?php echo $this->_tpl_vars['video_type'][$this->_sections['video_type_id']['index']]['tb_type_id']; ?>
</td>
    <td align="center"><?php echo $this->_tpl_vars['video_type'][$this->_sections['video_type_id']['index']]['tb_type_name']; ?>
</td>
    <td align="center"><a href="delete_type.php?type_id=<?php echo $this->_tpl_vars['video_type'][$this->_sections['video_type_id']['index']]['tb_type_id']; ?>
" onClick="return video_type_chk();">删除</a>/<a href="update_type.php?type_id=<?php echo $this->_tpl_vars['video_type'][$this->_sections['video_type_id']['index']]['tb_type_id']; ?>
">修改</a></td>
  </tr>
<?php endfor; endif; ?>
</table>
</body>
</html>
