<?php /* Smarty version 2.6.19, created on 2008-07-02 10:17:53
         compiled from top.tpl */ ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>明日播客</title>
</head>
<script src="js/chk.js"></script>
<link rel="stylesheet" href="css/reg.css"/>
<link rel="stylesheet" href="css/style.css"/>
<body>
<table width="100%" height="208" border="0" cellpadding="0" cellspacing="0">
 <table width="98%" height="100" border="1" align="center" cellpadding="1" cellspacing="1">
   <form name="form1" method="post" action="select_video.php" > 
  <tr>
    <td colspan="7" align="center">视频
      <input name="video" type="radio" value="视频" checked> 播客
      <input type="radio" name="video" value="播客">      <input name="select_video_play" type="text" size="25">      <input type="submit" name="Submit" value="视频搜索" onClick="return chk_select()"></td>
    </tr>
</form>
 <tr>
    <td width="172" height="25"><a href="index.php" target="_blank">首页</a></td>
    <td width="128"><a href="video.php" target="_blank">视频</a></td>
    <td width="110"><a href="play_user.php" target="_blank">播客</a></td>
    <td width="50">&nbsp;</td>
    <td width="108">&nbsp;</td>
    <td width="234">&nbsp;</td>
    <td width="229">&nbsp;</td>
 </tr>
<tr>
  <td colspan="7"><table width="100%" height="30" border="0" cellpadding="0" cellspacing="0">
    <tr>
 <td width="172" height="25"><a href="hot_play.php?video_type=热播排行">热播排行</a></td>
<td width="172"><a href="new_play.php?video_type=最新推出">最新推出</a></td>
<?php unset($this->_sections['type_id']);
$this->_sections['type_id']['name'] = 'type_id';
$this->_sections['type_id']['loop'] = is_array($_loop=$this->_tpl_vars['video_type']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['type_id']['show'] = true;
$this->_sections['type_id']['max'] = $this->_sections['type_id']['loop'];
$this->_sections['type_id']['step'] = 1;
$this->_sections['type_id']['start'] = $this->_sections['type_id']['step'] > 0 ? 0 : $this->_sections['type_id']['loop']-1;
if ($this->_sections['type_id']['show']) {
    $this->_sections['type_id']['total'] = $this->_sections['type_id']['loop'];
    if ($this->_sections['type_id']['total'] == 0)
        $this->_sections['type_id']['show'] = false;
} else
    $this->_sections['type_id']['total'] = 0;
if ($this->_sections['type_id']['show']):

            for ($this->_sections['type_id']['index'] = $this->_sections['type_id']['start'], $this->_sections['type_id']['iteration'] = 1;
                 $this->_sections['type_id']['iteration'] <= $this->_sections['type_id']['total'];
                 $this->_sections['type_id']['index'] += $this->_sections['type_id']['step'], $this->_sections['type_id']['iteration']++):
$this->_sections['type_id']['rownum'] = $this->_sections['type_id']['iteration'];
$this->_sections['type_id']['index_prev'] = $this->_sections['type_id']['index'] - $this->_sections['type_id']['step'];
$this->_sections['type_id']['index_next'] = $this->_sections['type_id']['index'] + $this->_sections['type_id']['step'];
$this->_sections['type_id']['first']      = ($this->_sections['type_id']['iteration'] == 1);
$this->_sections['type_id']['last']       = ($this->_sections['type_id']['iteration'] == $this->_sections['type_id']['total']);
?>      
<td height="25">
<a href="include.php?video_type=<?php echo $this->_tpl_vars['video_type'][$this->_sections['type_id']['index']]['tb_type_id']; ?>
"><?php echo $this->_tpl_vars['video_type'][$this->_sections['type_id']['index']]['tb_type_name']; ?>
</a></td>
<?php endfor; endif; ?>        </tr>
       
  </table></td>
</tr>
<?php if ($this->_tpl_vars['session_name'] == 'T'): ?>
  <tr>
<td colspan="7">
<table width="950" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="121" align="right"><span class="l_td">用户名：</span></td>
    <td width="106" height="25"><span class="l_td"><?php echo $this->_tpl_vars['name']; ?>
</span></td>
    <td width="107"><a href="cancel_subscibe.php?video_user=<?php echo $this->_tpl_vars['name']; ?>
">我的订阅</a></td>
    <td width="124"><span class="l_td"><a href="mod_vip.php" target="_blank">修改会员资料</a></span></td>
    <td width="128"><a href="individualism.php?user_id=<?php echo $this->_tpl_vars['id']; ?>
&&video_user=<?php echo $this->_tpl_vars['name']; ?>
" target="_blank"><?php echo $this->_tpl_vars['name']; ?>
的个人主页</a></td>
    <td width="121"><a href="my_video_manage.php?video_user=<?php echo $this->_tpl_vars['name']; ?>
">我的视频</a></td>
    <td width="121"><a href="trans.php" target="_blank">上传文件</a></td>
    <td width="122"><span class="l_td"><a href="#" onClick="return l_chk();">退出登录</a></span></td>
  </tr>
</table></td>
  </tr>
<?php else: ?>
<tr>
    <td colspan="7"><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "login.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></td>
  </tr>
<?php endif; ?>
</table>
