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

<body>
<table width="61%" border="0" cellspacing="0" cellpadding="0">
<form name="form1" method="post" action="update_type_ok.php">  
<tr>
    <td width="44%" height="15">&nbsp;</td>
    <td width="12%">&nbsp;</td>
    </tr>
  <tr>
    <td height="25" align="center">类型名称：
<?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']);
?>
      <input type="hidden" name="video_type_id" value="<?php echo $this->_tpl_vars['video_type'][$this->_sections['video_type_id']['index']]['tb_type_id']; ?>
">
    <input name="video_type" type="text" id="video_type" value="<?php echo $this->_tpl_vars['video_type'][$this->_sections['video_type_id']['index']]['tb_type_name']; ?>
" size="25">  
<?php endfor; endif; ?>  </td>
    <td><input type="submit" name="Submit" value="更改"></td>
    </tr>
</form>
</table>
</body>
</html>
