<?php /* Smarty version 2.6.19, created on 2008-10-15 11:16:09
         compiled from intro.tpl */ ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>视频简介</title>
</head>
<script type="text/javascript" src="js/discuss_js.js"></script>
<body>
<table width="686" height="394" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td background="images/个人主页_01.gif"><table width="686" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="26" height="67">&nbsp;</td>
	   
	    <td width="540"></td>
        <td width="120">&nbsp;</td>
      </tr>
<?php unset($this->_sections['video_id']);
$this->_sections['video_id']['name'] = 'video_id';
$this->_sections['video_id']['loop'] = is_array($_loop=$this->_tpl_vars['video']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['video_id']['show'] = true;
$this->_sections['video_id']['max'] = $this->_sections['video_id']['loop'];
$this->_sections['video_id']['step'] = 1;
$this->_sections['video_id']['start'] = $this->_sections['video_id']['step'] > 0 ? 0 : $this->_sections['video_id']['loop']-1;
if ($this->_sections['video_id']['show']) {
    $this->_sections['video_id']['total'] = $this->_sections['video_id']['loop'];
    if ($this->_sections['video_id']['total'] == 0)
        $this->_sections['video_id']['show'] = false;
} else
    $this->_sections['video_id']['total'] = 0;
if ($this->_sections['video_id']['show']):

            for ($this->_sections['video_id']['index'] = $this->_sections['video_id']['start'], $this->_sections['video_id']['iteration'] = 1;
                 $this->_sections['video_id']['iteration'] <= $this->_sections['video_id']['total'];
                 $this->_sections['video_id']['index'] += $this->_sections['video_id']['step'], $this->_sections['video_id']['iteration']++):
$this->_sections['video_id']['rownum'] = $this->_sections['video_id']['iteration'];
$this->_sections['video_id']['index_prev'] = $this->_sections['video_id']['index'] - $this->_sections['video_id']['step'];
$this->_sections['video_id']['index_next'] = $this->_sections['video_id']['index'] + $this->_sections['video_id']['step'];
$this->_sections['video_id']['first']      = ($this->_sections['video_id']['iteration'] == 1);
$this->_sections['video_id']['last']       = ($this->_sections['video_id']['iteration'] == $this->_sections['video_id']['total']);
?>
      <tr>
        <td height="280">&nbsp;</td>
        <td valign="top"><table width="540" border="0" cellpadding="0" cellspacing="0">
		  	<tr>
				<td width="150" height="200" align="center" valign="middle"><img name="news" src="<?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_picture']; ?>
" width="130" height="150" alt="" border="0"/></td>
				<td width="390" align="center" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="25" colspan="2" align="center"><?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_name']; ?>
</td>
                  </tr>
                  <tr>
                    <td width="21%" height="25" align="right" valign="middle">类型：</td>
                    <td width="79%"><div><?php unset($this->_sections['type_ids']);
$this->_sections['type_ids']['name'] = 'type_ids';
$this->_sections['type_ids']['loop'] = is_array($_loop=$this->_tpl_vars['video_type']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['type_ids']['show'] = true;
$this->_sections['type_ids']['max'] = $this->_sections['type_ids']['loop'];
$this->_sections['type_ids']['step'] = 1;
$this->_sections['type_ids']['start'] = $this->_sections['type_ids']['step'] > 0 ? 0 : $this->_sections['type_ids']['loop']-1;
if ($this->_sections['type_ids']['show']) {
    $this->_sections['type_ids']['total'] = $this->_sections['type_ids']['loop'];
    if ($this->_sections['type_ids']['total'] == 0)
        $this->_sections['type_ids']['show'] = false;
} else
    $this->_sections['type_ids']['total'] = 0;
if ($this->_sections['type_ids']['show']):

            for ($this->_sections['type_ids']['index'] = $this->_sections['type_ids']['start'], $this->_sections['type_ids']['iteration'] = 1;
                 $this->_sections['type_ids']['iteration'] <= $this->_sections['type_ids']['total'];
                 $this->_sections['type_ids']['index'] += $this->_sections['type_ids']['step'], $this->_sections['type_ids']['iteration']++):
$this->_sections['type_ids']['rownum'] = $this->_sections['type_ids']['iteration'];
$this->_sections['type_ids']['index_prev'] = $this->_sections['type_ids']['index'] - $this->_sections['type_ids']['step'];
$this->_sections['type_ids']['index_next'] = $this->_sections['type_ids']['index'] + $this->_sections['type_ids']['step'];
$this->_sections['type_ids']['first']      = ($this->_sections['type_ids']['iteration'] == 1);
$this->_sections['type_ids']['last']       = ($this->_sections['type_ids']['iteration'] == $this->_sections['type_ids']['total']);
?>
<?php if ($this->_tpl_vars['video_type'][$this->_sections['type_ids']['index']]['tb_type_id'] == $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_type']): ?>
<?php echo $this->_tpl_vars['video_type'][$this->_sections['type_ids']['index']]['tb_type_name']; ?>

<?php endif; ?> 
<?php endfor; endif; ?></div></td>
                  </tr>

                  <tr>
                    <td height="25" align="right" valign="middle">时间：</td>
                    <td><?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_date']; ?>
</td>
                  </tr>
                  <tr>
                    <td height="25" align="right" valign="middle">播客：</td>
                    <td><?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_author']; ?>
</td>
                  </tr>
                  <tr>
                    <td height="25" align="right" valign="middle">评论：</td>
                    <td><?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_counts']; ?>
</td>
                  </tr>
                  <tr>
                    <td height="25" align="right" valign="middle">播放次数：</td>
                    <td><?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_play']; ?>
</td>
                  </tr>
                  <tr>
                    <td height="25" align="right" valign="middle">下载次数：</td>
                    <td><?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_down']; ?>
</td>
                  </tr>
                  <tr>
                    <td height="25" colspan="2" align="center" valign="middle"><a href="look.php?video_id=<?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_id']; ?>
" target="_blank">播放</a> &nbsp;&nbsp;&nbsp;&nbsp;<a href="download.php?id=<?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_id']; ?>
">下载</a></td>
                  </tr>
              </table></td>
		  	</tr>
		  	<tr>
		  	  <td height="80" colspan="2" align="center" valign="top">

                简介:
              <p><?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_explain']; ?>
</p></td>
        </tr>
    </table></td>
        <td>&nbsp;</td>
      </tr>
<?php endfor; endif; ?>
      <tr>
        <td height="47">&nbsp;</td>
        <td valign="bottom">&nbsp;</td>
        <td>&nbsp;</td>
      </tr>

    </table></td>
  </tr>
</table>
</body>
</html>
