<?php /* Smarty version 2.6.19, created on 2008-10-10 14:01:59
         compiled from look.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'look.tpl', 110, false),)), $this); ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>播放</title>
<link rel="stylesheet" href="css/style.css"/>
</head>
<script type="text/javascript" src="js/discuss_js.js"></script>
<body><?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']);
?>
<table width="1004" height="450" border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2" width="10">&nbsp;</td></tr>

  <tr>
    <td width="491"><table width="480" height="450" border="0" align="center" cellpadding="0" cellspacing="0">
     <tr>
 
    <td colspan="2" align="center" bgcolor="#FFFFFF">
<!--调用SetFull函数，实现窗口的全屏-->
      <input type="button" onClick="SetFull()" class="buttoncss" value="全屏播放">&nbsp;&nbsp;      
<!--关闭播放器的窗口-->
<input name="button" type="button" class="buttoncss" onClick="javascript:window.close()" value="关闭视窗"></td>
    </tr>
  <tr>
    <td height="340" colspan="4" bgcolor="#ffffff"><div align="center"> 
<object onerror=alert("你的机器中没有安装Realplayer播放器，请先安装！") classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" name="rp1" width="475" height="375" id="rp1">
              <param name="_extentx" value="12000">
              <param name="_extenty" value="7500">
              <param name="shuffle" value="0">
              <param name="nolabels" value="0">
              <param name="autostart" value="-1">
              <param name="prefetch" value="0">
              <param name="controls" value="imagewindow">
              <param name="console" value="clip1">
              <param name="loop" value="0">
              <param name="numloop" value="0">
              <param name="center" value="0">
              <param name="maintainaspect" value="0">
              <param name="backgroundcolor" value="#000000">
              <param name="src" value="<?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_address']; ?>
">
            </object>
        </div></td>
      </tr>
      <tr>
        <td height="60" bgcolor="#000000"><div align="center">
            <object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" name="rp2" width="475" height="60" id="rp2">
              <param name="_extentx" value="12000">
              <param name="_extenty" value="1500">
              <param name="shuffle" value="0">
              <param name="nolabels" value="0">
              <param name="autostart" value="-1">
              <param name="prefetch" value="0">
              <param name="controls" value="controlpanel,statusbar">
              <param name="console" value="clip1">
              <param name="loop" value="0">
              <param name="numloop" value="0">
              <param name="center" value="0">
              <param name="maintainaspect" value="0">
              <param name="backgroundcolor" value="#000000">
            </object>
        </div></td>
      </tr>
    </table></td>
    <td width="513" background="images/视频_4.jpg"><table width="513" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="14">&nbsp;</td>
        <td width="480" height="70">&nbsp;</td>
        <td width="19">&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td height="175" align="center"><table width="475" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="175" height="175" align="right" valign="bottom"><img name="news" src="<?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_picture']; ?>
" width="160" height="170" alt="播放视频" border="0"/></td>
            <td width="300"><table width="200" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="25" align="right" valign="bottom">视频：</td>
                    <td height="25" align="left" valign="bottom"><?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_name']; ?>
</td>
                  </tr>
                  <tr>
                    <td width="100" height="20" align="right" valign="middle">类型：</td>
                    <td width="200"><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="20" 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="20" 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="20" 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="20" 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="20" 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="30" 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']; ?>
&video_name=<?php echo ((is_array($_tmp=$this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
">播放</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>
        </table></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td height="185" align="center"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
          
                <tr>
                  <td width="50%" height="100%" align="left" valign="top">
<table width="240" height="100%" border="0" cellpadding="0" cellspacing="0">
<?php unset($this->_sections['video_id1']);
$this->_sections['video_id1']['name'] = 'video_id1';
$this->_sections['video_id1']['loop'] = is_array($_loop=$this->_tpl_vars['video1']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['video_id1']['show'] = true;
$this->_sections['video_id1']['max'] = $this->_sections['video_id1']['loop'];
$this->_sections['video_id1']['step'] = 1;
$this->_sections['video_id1']['start'] = $this->_sections['video_id1']['step'] > 0 ? 0 : $this->_sections['video_id1']['loop']-1;
if ($this->_sections['video_id1']['show']) {
    $this->_sections['video_id1']['total'] = $this->_sections['video_id1']['loop'];
    if ($this->_sections['video_id1']['total'] == 0)
        $this->_sections['video_id1']['show'] = false;
} else
    $this->_sections['video_id1']['total'] = 0;
if ($this->_sections['video_id1']['show']):

            for ($this->_sections['video_id1']['index'] = $this->_sections['video_id1']['start'], $this->_sections['video_id1']['iteration'] = 1;
                 $this->_sections['video_id1']['iteration'] <= $this->_sections['video_id1']['total'];
                 $this->_sections['video_id1']['index'] += $this->_sections['video_id1']['step'], $this->_sections['video_id1']['iteration']++):
$this->_sections['video_id1']['rownum'] = $this->_sections['video_id1']['iteration'];
$this->_sections['video_id1']['index_prev'] = $this->_sections['video_id1']['index'] - $this->_sections['video_id1']['step'];
$this->_sections['video_id1']['index_next'] = $this->_sections['video_id1']['index'] + $this->_sections['video_id1']['step'];
$this->_sections['video_id1']['first']      = ($this->_sections['video_id1']['iteration'] == 1);
$this->_sections['video_id1']['last']       = ($this->_sections['video_id1']['iteration'] == $this->_sections['video_id1']['total']);
?>     
                    <tr>
                      <td height="25" colspan="2" align="center"><a href="look.php?video_id=<?php echo $this->_tpl_vars['video1'][$this->_sections['video_id1']['index']]['tb_video_id']; ?>
&video_name=<?php echo ((is_array($_tmp=$this->_tpl_vars['video1'][$this->_sections['video_id1']['index']]['tb_video_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
" target="_blank">上一节目</a></td>
                    </tr>
                    <tr>
                      <td width="105" height="110" align="center"><div align="right"><img src="<?php echo $this->_tpl_vars['video1'][$this->_sections['video_id1']['index']]['tb_video_picture']; ?>
" alt="" name="news" width="100" height="106" hspace="0" vspace="0" border="0" align="middle" /></div></td>
                      <td width="135"><table width="130" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="45" align="right">类型：</td>
                          <td width="90">
<?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['video1'][$this->_sections['video_id1']['index']]['tb_video_type']): ?>
<?php echo $this->_tpl_vars['video_type'][$this->_sections['type_ids']['index']]['tb_type_name']; ?>

<?php endif; ?> 
<?php endfor; endif; ?></td>
                        </tr>
                        <tr>
                          <td align="right">评论：</td>
                          <td><?php echo $this->_tpl_vars['video1'][$this->_sections['video_id1']['index']]['tb_video_counts']; ?>
</td>
                        </tr>
                        <tr>
                          <td align="right">下载：</td>
                          <td><?php echo $this->_tpl_vars['video1'][$this->_sections['video_id1']['index']]['tb_video_down']; ?>
</td>
                        </tr>
                        <tr>
                          <td align="right">播放：</td>
                          <td><?php echo $this->_tpl_vars['video1'][$this->_sections['video_id1']['index']]['tb_video_play']; ?>
</td>
                        </tr>
                        <tr>
                          <td colspan="2" align="center" valign="bottom"><a href="look.php?video_id=<?php echo $this->_tpl_vars['video1'][$this->_sections['video_id1']['index']]['tb_video_id']; ?>
&video_name=<?php echo ((is_array($_tmp=$this->_tpl_vars['video1'][$this->_sections['video_id1']['index']]['tb_video_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
">播放</a>&nbsp;&nbsp;&nbsp;<a href="download.php?id=<?php echo $this->_tpl_vars['video1'][$this->_sections['video_id1']['index']]['tb_video_id']; ?>
">下载</a></td>
                          </tr>
                      </table></td>
                    </tr>
                    <tr>
                      <td colspan="2" align="center">视频：<?php echo $this->_tpl_vars['video1'][$this->_sections['video_id1']['index']]['tb_video_name']; ?>
</td>
                    </tr>
                    <tr>
                      <td colspan="2" align="center">播客：<?php echo $this->_tpl_vars['video1'][$this->_sections['video_id1']['index']]['tb_video_author']; ?>
</td>
                    </tr>
<?php endfor; endif; ?>
                  </table></td>
                  <td width="50%" align="left" valign="top"><table width="240" height="100%" border="0" cellpadding="0" cellspacing="0">
<?php unset($this->_sections['video_id2']);
$this->_sections['video_id2']['name'] = 'video_id2';
$this->_sections['video_id2']['loop'] = is_array($_loop=$this->_tpl_vars['video2']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['video_id2']['show'] = true;
$this->_sections['video_id2']['max'] = $this->_sections['video_id2']['loop'];
$this->_sections['video_id2']['step'] = 1;
$this->_sections['video_id2']['start'] = $this->_sections['video_id2']['step'] > 0 ? 0 : $this->_sections['video_id2']['loop']-1;
if ($this->_sections['video_id2']['show']) {
    $this->_sections['video_id2']['total'] = $this->_sections['video_id2']['loop'];
    if ($this->_sections['video_id2']['total'] == 0)
        $this->_sections['video_id2']['show'] = false;
} else
    $this->_sections['video_id2']['total'] = 0;
if ($this->_sections['video_id2']['show']):

            for ($this->_sections['video_id2']['index'] = $this->_sections['video_id2']['start'], $this->_sections['video_id2']['iteration'] = 1;
                 $this->_sections['video_id2']['iteration'] <= $this->_sections['video_id2']['total'];
                 $this->_sections['video_id2']['index'] += $this->_sections['video_id2']['step'], $this->_sections['video_id2']['iteration']++):
$this->_sections['video_id2']['rownum'] = $this->_sections['video_id2']['iteration'];
$this->_sections['video_id2']['index_prev'] = $this->_sections['video_id2']['index'] - $this->_sections['video_id2']['step'];
$this->_sections['video_id2']['index_next'] = $this->_sections['video_id2']['index'] + $this->_sections['video_id2']['step'];
$this->_sections['video_id2']['first']      = ($this->_sections['video_id2']['iteration'] == 1);
$this->_sections['video_id2']['last']       = ($this->_sections['video_id2']['iteration'] == $this->_sections['video_id2']['total']);
?>                 
    <tr>
      <td height="25" colspan="2" align="center"><a href="look.php?video_id=<?php echo $this->_tpl_vars['video2'][$this->_sections['video_id2']['index']]['tb_video_id']; ?>
&video_name=<?php echo ((is_array($_tmp=$this->_tpl_vars['video2'][$this->_sections['video_id2']['index']]['tb_video_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
" target="_blank">下一节目</a></td>
      </tr>
    <tr>
                      <td width="105" height="110" align="center"><div align="right"><img src="<?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_picture']; ?>
" alt="" name="news" width="100" height="106" hspace="0" vspace="0" border="0" align="middle" /></div></td>
                      <td width="135"><table width="130" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="45" align="right">类型：</td>
                            <td width="90">
<?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['video2'][$this->_sections['video_id2']['index']]['tb_video_type']): ?>
<?php echo $this->_tpl_vars['video_type'][$this->_sections['type_ids']['index']]['tb_type_name']; ?>

<?php endif; ?> 
<?php endfor; endif; ?></td>
                          </tr>
                          <tr>
                            <td align="right">评论：</td>
                            <td><?php echo $this->_tpl_vars['video2'][$this->_sections['video_id2']['index']]['tb_video_counts']; ?>
</td>
                          </tr>
                          <tr>
                            <td align="right">下载：</td>
                            <td><?php echo $this->_tpl_vars['video2'][$this->_sections['video_id2']['index']]['tb_video_down']; ?>
</td>
                          </tr>
                          <tr>
                            <td align="right">播放：</td>
                            <td><?php echo $this->_tpl_vars['video2'][$this->_sections['video_id2']['index']]['tb_video_play']; ?>
</td>
                          </tr>
                          <tr>
                            <td colspan="2" align="center" valign="bottom"><a href="look.php?video_id=<?php echo $this->_tpl_vars['video2'][$this->_sections['video_id2']['index']]['tb_video_id']; ?>
&video_name=<?php echo ((is_array($_tmp=$this->_tpl_vars['video2'][$this->_sections['video_id2']['index']]['tb_video_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
">播放</a>&nbsp;&nbsp;&nbsp;<a href="download.php?id=<?php echo $this->_tpl_vars['video2'][$this->_sections['video_id2']['index']]['tb_video_id']; ?>
">下载</a></td>
                          </tr>
                      </table></td>
                    </tr>
                    <tr>
                      <td colspan="2" align="center">视频：<?php echo $this->_tpl_vars['video2'][$this->_sections['video_id2']['index']]['tb_video_name']; ?>
</td>
                    </tr>
                    <tr>
                      <td colspan="2" align="center">播客：<?php echo $this->_tpl_vars['video2'][$this->_sections['video_id2']['index']]['tb_video_author']; ?>
</td>
                    </tr><?php endfor; endif; ?>
                  </table></td>
                </tr>
          </table></td>
        <td>&nbsp;</td>
      </tr>
      
      <tr>
        <td>&nbsp;</td>
        <td height="20">&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="1004" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="677" align="right" valign="top">
      <table width="673" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><div id="discuss_id">
<table width="100%" border="1" cellpadding="1" cellspacing="1" bordercolor="#EFEFF7" bgcolor="#FFFFFF">
<?php if ($this->_tpl_vars['discuss_false'] == 'F'): ?>
  <tr height="35">
    <td  colspan="4"align="center">没有评论！</td>
  </tr>
<?php else: ?>
  <tr height="35">
    <td  colspan="4"align="center"><img src="images/视频_9.jpg" width="665" height="36"></td>
  </tr>
  <tr>
    <td colspan="3">
<table width="100%" height="25" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#EFEFF7">
            <tr>
              <td width="531"><div align="left">&nbsp;&nbsp;评论&nbsp;<?php echo $this->_tpl_vars['total1']; ?>
&nbsp;条&nbsp;每页显示&nbsp;<?php echo $this->_tpl_vars['pagesize1']; ?>
&nbsp;条&nbsp;第&nbsp;<?php echo $this->_tpl_vars['page1']; ?>
&nbsp;页/共&nbsp;<?php echo $this->_tpl_vars['pagecount1']; ?>
&nbsp;页</div></td>
              <td width="317"><div align="right">

<?php if ($this->_tpl_vars['page1'] == 1): ?>首页&nbsp;上一页<?php else: ?><a href="#" 
onclick='return artpagination("discuss_update.php?video_id=<?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_id']; ?>
&&pages=1")'>首页</a>&nbsp;<a href="#"
onclick='return artpagination("discuss_update.php?video_id=<?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_id']; ?>
&&pages=<?php echo $this->_tpl_vars['page1']-1; ?>
")'>上一页</a><?php endif; ?> &nbsp;<?php if ($this->_tpl_vars['page1'] == $this->_tpl_vars['pagecount1']): ?>下一页&nbsp;尾页<?php else: ?><a href="#"
onclick='return artpagination("discuss_update.php?video_id=<?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_id']; ?>
&&pages=<?php echo $this->_tpl_vars['page1']+1; ?>
")'
>下一页</a>&nbsp;<a href="#"
onclick='return artpagination("discuss_update.php?video_id=<?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_id']; ?>
&&pages=<?php echo $this->_tpl_vars['pagecount1']; ?>
")'>尾页</a><?php endif; ?>

</div></td>            </tr>
</table>	</td>
    </tr>
<?php unset($this->_sections['discuss_id']);
$this->_sections['discuss_id']['name'] = 'discuss_id';
$this->_sections['discuss_id']['loop'] = is_array($_loop=$this->_tpl_vars['discuss']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['discuss_id']['show'] = true;
$this->_sections['discuss_id']['max'] = $this->_sections['discuss_id']['loop'];
$this->_sections['discuss_id']['step'] = 1;
$this->_sections['discuss_id']['start'] = $this->_sections['discuss_id']['step'] > 0 ? 0 : $this->_sections['discuss_id']['loop']-1;
if ($this->_sections['discuss_id']['show']) {
    $this->_sections['discuss_id']['total'] = $this->_sections['discuss_id']['loop'];
    if ($this->_sections['discuss_id']['total'] == 0)
        $this->_sections['discuss_id']['show'] = false;
} else
    $this->_sections['discuss_id']['total'] = 0;
if ($this->_sections['discuss_id']['show']):

            for ($this->_sections['discuss_id']['index'] = $this->_sections['discuss_id']['start'], $this->_sections['discuss_id']['iteration'] = 1;
                 $this->_sections['discuss_id']['iteration'] <= $this->_sections['discuss_id']['total'];
                 $this->_sections['discuss_id']['index'] += $this->_sections['discuss_id']['step'], $this->_sections['discuss_id']['iteration']++):
$this->_sections['discuss_id']['rownum'] = $this->_sections['discuss_id']['iteration'];
$this->_sections['discuss_id']['index_prev'] = $this->_sections['discuss_id']['index'] - $this->_sections['discuss_id']['step'];
$this->_sections['discuss_id']['index_next'] = $this->_sections['discuss_id']['index'] + $this->_sections['discuss_id']['step'];
$this->_sections['discuss_id']['first']      = ($this->_sections['discuss_id']['iteration'] == 1);
$this->_sections['discuss_id']['last']       = ($this->_sections['discuss_id']['iteration'] == $this->_sections['discuss_id']['total']);
?>
  <tr>
    <td width="137" height="37" align="right">评论人：</td>
    <td width="273" bgcolor="#FAFAFC">&nbsp;<?php echo $this->_tpl_vars['discuss'][$this->_sections['discuss_id']['index']]['tb_discuss_user']; ?>
</td>
    <td width="478">评论时间：<?php echo $this->_tpl_vars['discuss'][$this->_sections['discuss_id']['index']]['tb_discuss_date']; ?>
</td>
  </tr>
  <tr>
    <td height="35" colspan="3">&nbsp;<?php echo $this->_tpl_vars['discuss'][$this->_sections['discuss_id']['index']]['tb_discuss_content']; ?>
</td>
    </tr>
 
<?php endfor; endif; ?>
<?php endif; ?> 
</table>
</div><table width="100%" height="167" border="1" cellpadding="1" cellspacing="1" bordercolor="#FFFFFF" bgcolor="#ECECF8">
      <form name="form1_discuss">
      <tr>
        <td width="15%" align="right" bgcolor="#FAFAFC">评论内容：</td>
        <td colspan="2" bgcolor="#FAFAFC"><textarea name="tb_discuss_content" cols="50" rows="8" id="tb_discuss_content"></textarea>
          <input type="hidden" name="tb_video_id" id="tb_video_id" value="<?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_id']; ?>
">
          <input type="hidden" name="tb_discuss_date" id="tb_discuss_date" value="<?php echo $this->_tpl_vars['tb_video_date']; ?>
"></td>
        </tr>
      <tr>
        <td align="right" bgcolor="#FAFAFC">评论人：</td>
        <td width="59%" bgcolor="#FAFAFC"><?php if ($this->_tpl_vars['name'] == 'F'): ?><?php echo $this->_tpl_vars['name1']; ?>
<?php else: ?><?php echo $this->_tpl_vars['name2']; ?>
<?php endif; ?>
          <input type="hidden" name="tb_discuss_user" id="tb_discuss_user" value="<?php if ($this->_tpl_vars['name'] == F): ?><?php echo $this->_tpl_vars['name1']; ?>
<?php else: ?><?php echo $this->_tpl_vars['name2']; ?>
<?php endif; ?>"></td>
        <td width="26%" bgcolor="#FAFAFC">
          <input type="image" name="Submit" value="发表" onClick="return process()" src="images/视频_13.jpg"></td>
      </tr>
</form>
    </table></td>
        </tr>
      </table></td>
    <td width="327" valign="top"><table width="327" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td colspan="3"><img src="images/视频_10_1.jpg" width="327" height="41"></td>
        </tr>
      <tr>
        <td width="15" background="images/视频_10_2.jpg">&nbsp;</td>
        <td width="289" height="150"><table width="285" height="160" border="0" cellpadding="0" cellspacing="0">
<?php unset($this->_sections['video_ids']);
$this->_sections['video_ids']['name'] = 'video_ids';
$this->_sections['video_ids']['loop'] = is_array($_loop=$this->_tpl_vars['videos']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['video_ids']['show'] = true;
$this->_sections['video_ids']['max'] = $this->_sections['video_ids']['loop'];
$this->_sections['video_ids']['step'] = 1;
$this->_sections['video_ids']['start'] = $this->_sections['video_ids']['step'] > 0 ? 0 : $this->_sections['video_ids']['loop']-1;
if ($this->_sections['video_ids']['show']) {
    $this->_sections['video_ids']['total'] = $this->_sections['video_ids']['loop'];
    if ($this->_sections['video_ids']['total'] == 0)
        $this->_sections['video_ids']['show'] = false;
} else
    $this->_sections['video_ids']['total'] = 0;
if ($this->_sections['video_ids']['show']):

            for ($this->_sections['video_ids']['index'] = $this->_sections['video_ids']['start'], $this->_sections['video_ids']['iteration'] = 1;
                 $this->_sections['video_ids']['iteration'] <= $this->_sections['video_ids']['total'];
                 $this->_sections['video_ids']['index'] += $this->_sections['video_ids']['step'], $this->_sections['video_ids']['iteration']++):
$this->_sections['video_ids']['rownum'] = $this->_sections['video_ids']['iteration'];
$this->_sections['video_ids']['index_prev'] = $this->_sections['video_ids']['index'] - $this->_sections['video_ids']['step'];
$this->_sections['video_ids']['index_next'] = $this->_sections['video_ids']['index'] + $this->_sections['video_ids']['step'];
$this->_sections['video_ids']['first']      = ($this->_sections['video_ids']['iteration'] == 1);
$this->_sections['video_ids']['last']       = ($this->_sections['video_ids']['iteration'] == $this->_sections['video_ids']['total']);
?>
<?php if ($this->_tpl_vars['videos'][$this->_sections['video_ids']['index']]['tb_video_name'] != $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_name']): ?>
<tr>
    <td width="135" height="160" align="center" valign="middle"><img name="news" src="<?php echo $this->_tpl_vars['videos'][$this->_sections['video_ids']['index']]['tb_video_picture']; ?>
" width="130" height="150" alt="" border="0"/></td>
    <td width="150" align="center" valign="top"><table width="154" height="160" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="20" colspan="2" align="center"><?php echo $this->_tpl_vars['videos'][$this->_sections['video_ids']['index']]['tb_video_name']; ?>
</td>
      </tr>
      <tr>
        <td width="54" height="20" align="right" valign="middle">类型：</td>
        <td width="96"><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['videos'][$this->_sections['video_ids']['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="20" align="right" valign="middle">时间：</td>
        <td><?php echo $this->_tpl_vars['videos'][$this->_sections['video_ids']['index']]['tb_video_date']; ?>
</td>
      </tr>
      <tr>
        <td height="20" align="right" valign="middle">播客：</td>
        <td><?php echo $this->_tpl_vars['videos'][$this->_sections['video_ids']['index']]['tb_video_author']; ?>
</td>
      </tr>
      <tr>
        <td height="20" align="right" valign="middle">评论：</td>
        <td><?php echo $this->_tpl_vars['videos'][$this->_sections['video_ids']['index']]['tb_video_counts']; ?>
</td>
      </tr>
      <tr>
        <td height="20" align="right" valign="middle">播放：</td>
        <td><?php echo $this->_tpl_vars['videos'][$this->_sections['video_ids']['index']]['tb_video_play']; ?>
</td>
      </tr>
      <tr>
        <td height="20" colspan="2" align="center" valign="middle"><a href="look.php?video_id=<?php echo $this->_tpl_vars['videos'][$this->_sections['video_ids']['index']]['tb_video_id']; ?>
&video_name=<?php echo ((is_array($_tmp=$this->_tpl_vars['videos'][$this->_sections['video_ids']['index']]['tb_video_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
">
播放</a> &nbsp;&nbsp;&nbsp;&nbsp;<a href="download.php?id=<?php echo $this->_tpl_vars['videos'][$this->_sections['video_ids']['index']]['tb_video_id']; ?>
">下载</a></td>
      </tr>
    </table></td>
  </tr>
<?php endif; ?>
<?php endfor; endif; ?>
</table></td>
        <td width="23" background="images/视频_10_4.jpg">&nbsp;</td>
      </tr>
      <tr>
        <td colspan="3"><img src="images/视频_10_6.jpg" width="327" height="35"></td>
        </tr>
    </table></td>
  </tr>
</table><?php endfor; endif; ?>
<img src="images/登录后_11.gif" width="1004" height="85">
</body>
</html>
