<?php /* Smarty version 2.6.19, created on 2008-07-01 19:16:05
         compiled from mod_vip.tpl */ ?>
<script src="js/chk.js"></script>
<link rel="stylesheet" href="css/reg.css"/>
<link rel="stylesheet" href="css/style.css"/>
<?php unset($this->_sections['tb_video_id']);
$this->_sections['tb_video_id']['name'] = 'tb_video_id';
$this->_sections['tb_video_id']['loop'] = is_array($_loop=$this->_tpl_vars['tb_video_user']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['tb_video_id']['show'] = true;
$this->_sections['tb_video_id']['max'] = $this->_sections['tb_video_id']['loop'];
$this->_sections['tb_video_id']['step'] = 1;
$this->_sections['tb_video_id']['start'] = $this->_sections['tb_video_id']['step'] > 0 ? 0 : $this->_sections['tb_video_id']['loop']-1;
if ($this->_sections['tb_video_id']['show']) {
    $this->_sections['tb_video_id']['total'] = $this->_sections['tb_video_id']['loop'];
    if ($this->_sections['tb_video_id']['total'] == 0)
        $this->_sections['tb_video_id']['show'] = false;
} else
    $this->_sections['tb_video_id']['total'] = 0;
if ($this->_sections['tb_video_id']['show']):

            for ($this->_sections['tb_video_id']['index'] = $this->_sections['tb_video_id']['start'], $this->_sections['tb_video_id']['iteration'] = 1;
                 $this->_sections['tb_video_id']['iteration'] <= $this->_sections['tb_video_id']['total'];
                 $this->_sections['tb_video_id']['index'] += $this->_sections['tb_video_id']['step'], $this->_sections['tb_video_id']['iteration']++):
$this->_sections['tb_video_id']['rownum'] = $this->_sections['tb_video_id']['iteration'];
$this->_sections['tb_video_id']['index_prev'] = $this->_sections['tb_video_id']['index'] - $this->_sections['tb_video_id']['step'];
$this->_sections['tb_video_id']['index_next'] = $this->_sections['tb_video_id']['index'] + $this->_sections['tb_video_id']['step'];
$this->_sections['tb_video_id']['first']      = ($this->_sections['tb_video_id']['iteration'] == 1);
$this->_sections['tb_video_id']['last']       = ($this->_sections['tb_video_id']['iteration'] == $this->_sections['tb_video_id']['total']);
?>
<table width="500" border="1" cellspacing="0" cellpadding="0">
	<tr>
		<td><table width="500" border="0" cellspacing="0" cellpadding="0">
 		<form id="reg" name="reg" method="post" action="mod_vip_chk.php">
 			<tr>
   			   <td width="50" rowspan="18" align="center" valign="top">&nbsp;</td>
   			   <td height="20" colspan="2" align="center" valign="top" class="top_td">&nbsp;</td>
   			   <td width="50" rowspan="18" align="center" valign="top">&nbsp;</td>
  			</tr>
  			<tr>
      			<td width="150" height="20" align="right" valign="middle" class="left_td" scope="col">用户名：</td>
   			  <td align="left" valign="middle" class="right_td" scope="col"><input type="text" name="name" id="name" class="usual" value="<?php echo $this->_tpl_vars['tb_video_user'][$this->_sections['tb_video_id']['index']]['tb_video_user']; ?>
" readonly="readonly" onmouseover="this.style.backgroundColor='#deebef'" onmouseout="this.style.backgroundColor=''"/></td>
    		</tr>
    		<tr>
      			<td width="150" height="20" align="right" valign="middle" class="left_td">密码：</td>
   			  <td align="left" valign="middle" class="right_td"><input type="password" name="password" id="password" class="usual" onmouseover="this.style.backgroundColor='#deebef'" onmouseout="this.style.backgroundColor=''"/><span class="STYLE1"> *</span>(最少3位)</td>
    		</tr>
    		<tr>
      			<td width="150" height="20" align="right" valign="middle" class="left_td">确认密码：</td>
   			  <td align="left" valign="middle" class="right_td"><input type="password" name="t_password" id="t_password" class="usual" onmouseover="this.style.backgroundColor='#deebef'" onmouseout="this.style.backgroundColor=''" /><span class="STYLE1"> *</span></td>
    		</tr>
    		<tr>
      			<td width="150" height="20" align="right" valign="middle" class="left_td">E-mail：</td>
      			<td align="left" valign="middle" class="right_td"><input type="text" name="email" id="email" class="usual" value="<?php echo $this->_tpl_vars['tb_video_user'][$this->_sections['tb_video_id']['index']]['tb_video_email']; ?>
" onmouseover="this.style.backgroundColor='#deebef'" onmouseout="this.style.backgroundColor=''"/></td>
    		</tr>
    		<tr>
      			<td width="150" height="20" align="right" valign="middle" class="left_td">QQ：</td>
      			<td align="left" valign="middle" class="right_td"><input type="text" name="qq" id="qq" class="usual" value="<?php echo $this->_tpl_vars['tb_video_user'][$this->_sections['tb_video_id']['index']]['tb_video_qq']; ?>
" onmouseover="this.style.backgroundColor='#deebef'" onmouseout="this.style.backgroundColor=''" /></td>
    		</tr>
    		<tr>
      			<td height="30" colspan="2" align="center" valign="middle" class="bottom_td">
				<input type="hidden" name="id" value="<?php echo $this->_tpl_vars['id']; ?>
">
				<input name="regi" type="submit" id="regi" value="修改" onclick="return reg_chk();" />(<span class="STYLE1">*</span>号为必填项)
   			    <input name="reset" type="reset" id="reset" value="重置" /></td>
    		</tr></form></table>
	</td></tr></table>
<?php endfor; endif; ?>