<?php /* Smarty version 2.6.19, created on 2008-09-20 09:38:14
         compiled from include.tpl */ ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>视频</title>
</head>
<body>
<table width="1004" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="3"><img src="images/子页_02.gif" width="1004" height="40"></td>
  </tr>
  <tr>
    <td width="39" background="images/子页_03.gif">&nbsp;</td>
    <td width="908"><table width="900" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="36"><table width="880" height="36" border="0" cellpadding="0" cellspacing="0" background="images/子页_08.gif">
          <tr>
            <td width="65">&nbsp;</td>
            <td width="815"><span class="stpe_STYLE1"><?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']);
?>
                    <?php if ($this->_tpl_vars['video_type'][$this->_sections['video_type_id']['index']]['tb_type_id'] == $this->_tpl_vars['video_types']): ?>
                    <?php echo $this->_tpl_vars['video_type'][$this->_sections['video_type_id']['index']]['tb_type_name']; ?>

                    <?php endif; ?> 
                    <?php endfor; endif; ?></span></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td>
<table width="100%" height="49%" border="0" align="center" cellpadding="0" cellspacing="0">
   <?php if ($this->_tpl_vars['discuss_false'] == 'F'): ?>
  <tr>
    <td align="center">没有该类视频！</td>
  </tr>
<?php else: ?>


 <tr>
        <td height="10"></td>



      <?php $number=0; ?>
  <?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']);
?>
      <?php if(($number % 3) == 0){  ?>
</tr>      
<tr> <?php 
} ?>
        <td>


<table width="300" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="135" height="160" align="center" valign="top"><a href="look.php?video_id=<?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_id']; ?>
" target="_blank"><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"/></a></td>
            <td width="199" 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="30%" height="25" align="right" valign="middle">类型：</td>
                <td width="70%"><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><div style=" width:50px; height:12px; "><?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_explain']; ?>
</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" 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> <a href="download.php?id=<?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_id']; ?>
">下载</a> &nbsp;<a href="#" onClick="javascript:Wopen=open('intro.php?id=<?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_id']; ?>
','','height=700,width=665,scrollbars=no');">简介</a></td>
              </tr>
            </table></td>
          </tr>
        </table>
</td>
        <?php if(($number %3) != 0){ ?> 
      <?php 

}
      $number++;
       ?>
      <?php endfor; endif; ?>
  </tr> 

</table>

</td>
      </tr>

<tr><td>

<table width="100%" height="25" border="0" align="center" cellpadding="0" cellspacing="0">
            <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="include.php?video_type=<?php echo $this->_tpl_vars['video_types']; ?>
&video_id=<?php echo $this->_tpl_vars['video'][$this->_sections['video_id']['index']]['tb_video_id']; ?>
&&pages=1">首页</a>&nbsp;<a href="include.php?video_type=<?php echo $this->_tpl_vars['video_types']; ?>
&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="include.php?video_type=<?php echo $this->_tpl_vars['video_types']; ?>
&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="include.php?video_type=<?php echo $this->_tpl_vars['video_types']; ?>
&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 endif; ?>
    </table>
</td>
    <td width="57" background="images/子页_05.gif">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3"><img src="images/子页_12.gif" width="1004" height="35"></td>
  </tr>
</table>
<img src="images/登录后_11.gif" width="1004" height="85">
</body>
</html>
