<?php /* Smarty version 2.6.19, created on 2008-07-03 09:10:46
         compiled from cancel_subscibe.tpl */ ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><?php echo $this->_tpl_vars['name']; ?>
订阅的播客</title>
</head>
<script src="js/channel_conment.js"></script>
<script type="text/javascript" src="js/delete_video.js"></script>
<body>
<table border="0" cellpadding="0" cellspacing="0">
<?php if ($this->_tpl_vars['user'] == $this->_tpl_vars['name']): ?> 
 <tr>
	<td width="100"><a href="index.php">首页</a></td>
    <td width="99"><a href="individualism_video.php?user_id=<?php echo $this->_tpl_vars['user_id']; ?>
&&video_user=<?php echo $this->_tpl_vars['user']; ?>
">视频</a></td>
    <td width="200"><a href="subscibe_program.php?user_id=<?php echo $this->_tpl_vars['user_id']; ?>
&&video_user=<?php echo $this->_tpl_vars['user']; ?>
">订阅(<?php echo $this->_tpl_vars['subscibe_counts']; ?>
)</a></td>
    <td width="107" height="34"><a href="my_video_manage.php?video_user=<?php echo $this->_tpl_vars['name']; ?>
">我上传的节目</a></td>
    <td width="445"><a href="cancel_subscibe.php?video_user=<?php echo $this->_tpl_vars['name']; ?>
">我订阅的播客</a></td>
  </tr>
 <tr>
   <td>&nbsp;</td>
   <td height="34" colspan="3">我订阅的播客</td>
   <td>&nbsp;</td>
 </tr>
<?php endif; ?>
</table>

<table width="718" height="208" border="0" cellpadding="0" cellspacing="0">
  
  <?php $number=0; ?>
  <?php unset($this->_sections['subscibe_id']);
$this->_sections['subscibe_id']['name'] = 'subscibe_id';
$this->_sections['subscibe_id']['loop'] = is_array($_loop=$this->_tpl_vars['subscibe']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['subscibe_id']['show'] = true;
$this->_sections['subscibe_id']['max'] = $this->_sections['subscibe_id']['loop'];
$this->_sections['subscibe_id']['step'] = 1;
$this->_sections['subscibe_id']['start'] = $this->_sections['subscibe_id']['step'] > 0 ? 0 : $this->_sections['subscibe_id']['loop']-1;
if ($this->_sections['subscibe_id']['show']) {
    $this->_sections['subscibe_id']['total'] = $this->_sections['subscibe_id']['loop'];
    if ($this->_sections['subscibe_id']['total'] == 0)
        $this->_sections['subscibe_id']['show'] = false;
} else
    $this->_sections['subscibe_id']['total'] = 0;
if ($this->_sections['subscibe_id']['show']):

            for ($this->_sections['subscibe_id']['index'] = $this->_sections['subscibe_id']['start'], $this->_sections['subscibe_id']['iteration'] = 1;
                 $this->_sections['subscibe_id']['iteration'] <= $this->_sections['subscibe_id']['total'];
                 $this->_sections['subscibe_id']['index'] += $this->_sections['subscibe_id']['step'], $this->_sections['subscibe_id']['iteration']++):
$this->_sections['subscibe_id']['rownum'] = $this->_sections['subscibe_id']['iteration'];
$this->_sections['subscibe_id']['index_prev'] = $this->_sections['subscibe_id']['index'] - $this->_sections['subscibe_id']['step'];
$this->_sections['subscibe_id']['index_next'] = $this->_sections['subscibe_id']['index'] + $this->_sections['subscibe_id']['step'];
$this->_sections['subscibe_id']['first']      = ($this->_sections['subscibe_id']['iteration'] == 1);
$this->_sections['subscibe_id']['last']       = ($this->_sections['subscibe_id']['iteration'] == $this->_sections['subscibe_id']['total']);
?>
      <?php if(($number % 2) == 0){  ?></tr>      
<tr> <?php 
} ?>

        <td colspan="5">
<table width="324" height="94" border="1" cellpadding="1" cellspacing="1">
<?php unset($this->_sections['video_user_id']);
$this->_sections['video_user_id']['name'] = 'video_user_id';
$this->_sections['video_user_id']['loop'] = is_array($_loop=$this->_tpl_vars['video_user']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['video_user_id']['show'] = true;
$this->_sections['video_user_id']['max'] = $this->_sections['video_user_id']['loop'];
$this->_sections['video_user_id']['step'] = 1;
$this->_sections['video_user_id']['start'] = $this->_sections['video_user_id']['step'] > 0 ? 0 : $this->_sections['video_user_id']['loop']-1;
if ($this->_sections['video_user_id']['show']) {
    $this->_sections['video_user_id']['total'] = $this->_sections['video_user_id']['loop'];
    if ($this->_sections['video_user_id']['total'] == 0)
        $this->_sections['video_user_id']['show'] = false;
} else
    $this->_sections['video_user_id']['total'] = 0;
if ($this->_sections['video_user_id']['show']):

            for ($this->_sections['video_user_id']['index'] = $this->_sections['video_user_id']['start'], $this->_sections['video_user_id']['iteration'] = 1;
                 $this->_sections['video_user_id']['iteration'] <= $this->_sections['video_user_id']['total'];
                 $this->_sections['video_user_id']['index'] += $this->_sections['video_user_id']['step'], $this->_sections['video_user_id']['iteration']++):
$this->_sections['video_user_id']['rownum'] = $this->_sections['video_user_id']['iteration'];
$this->_sections['video_user_id']['index_prev'] = $this->_sections['video_user_id']['index'] - $this->_sections['video_user_id']['step'];
$this->_sections['video_user_id']['index_next'] = $this->_sections['video_user_id']['index'] + $this->_sections['video_user_id']['step'];
$this->_sections['video_user_id']['first']      = ($this->_sections['video_user_id']['iteration'] == 1);
$this->_sections['video_user_id']['last']       = ($this->_sections['video_user_id']['iteration'] == $this->_sections['video_user_id']['total']);
?>
<?php if ($this->_tpl_vars['video_user'][$this->_sections['video_user_id']['index']]['tb_video_user'] == $this->_tpl_vars['subscibe'][$this->_sections['subscibe_id']['index']]['tb_video_user']): ?>      
	<tr>

   <td width="316"><?php unset($this->_sections['subscibe_program_id']);
$this->_sections['subscibe_program_id']['name'] = 'subscibe_program_id';
$this->_sections['subscibe_program_id']['loop'] = is_array($_loop=$this->_tpl_vars['subscibe_address']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['subscibe_program_id']['show'] = true;
$this->_sections['subscibe_program_id']['max'] = $this->_sections['subscibe_program_id']['loop'];
$this->_sections['subscibe_program_id']['step'] = 1;
$this->_sections['subscibe_program_id']['start'] = $this->_sections['subscibe_program_id']['step'] > 0 ? 0 : $this->_sections['subscibe_program_id']['loop']-1;
if ($this->_sections['subscibe_program_id']['show']) {
    $this->_sections['subscibe_program_id']['total'] = $this->_sections['subscibe_program_id']['loop'];
    if ($this->_sections['subscibe_program_id']['total'] == 0)
        $this->_sections['subscibe_program_id']['show'] = false;
} else
    $this->_sections['subscibe_program_id']['total'] = 0;
if ($this->_sections['subscibe_program_id']['show']):

            for ($this->_sections['subscibe_program_id']['index'] = $this->_sections['subscibe_program_id']['start'], $this->_sections['subscibe_program_id']['iteration'] = 1;
                 $this->_sections['subscibe_program_id']['iteration'] <= $this->_sections['subscibe_program_id']['total'];
                 $this->_sections['subscibe_program_id']['index'] += $this->_sections['subscibe_program_id']['step'], $this->_sections['subscibe_program_id']['iteration']++):
$this->_sections['subscibe_program_id']['rownum'] = $this->_sections['subscibe_program_id']['iteration'];
$this->_sections['subscibe_program_id']['index_prev'] = $this->_sections['subscibe_program_id']['index'] - $this->_sections['subscibe_program_id']['step'];
$this->_sections['subscibe_program_id']['index_next'] = $this->_sections['subscibe_program_id']['index'] + $this->_sections['subscibe_program_id']['step'];
$this->_sections['subscibe_program_id']['first']      = ($this->_sections['subscibe_program_id']['iteration'] == 1);
$this->_sections['subscibe_program_id']['last']       = ($this->_sections['subscibe_program_id']['iteration'] == $this->_sections['subscibe_program_id']['total']);
?>
<?php if ($this->_tpl_vars['subscibe_address'][$this->_sections['subscibe_program_id']['index']]['tb_video_user'] == $this->_tpl_vars['video_user'][$this->_sections['video_user_id']['index']]['tb_video_user']): ?>
<a href="my_subscibe_program.php?url=<?php echo $this->_tpl_vars['ip']; ?>
/MR/sl/21/01/subscibe/<?php echo $this->_tpl_vars['subscibe_address'][$this->_sections['subscibe_program_id']['index']]['tb_subscibe_address']; ?>
&video_user=<?php echo $this->_tpl_vars['video_user'][$this->_sections['video_user_id']['index']]['tb_video_user']; ?>
" target="_blank">
    <img src="head_picture.php?recid=<?php echo $this->_tpl_vars['video_user'][$this->_sections['video_user_id']['index']]['tb_user_id']; ?>
" width="120" height="135" border="0" ></a>
<?php endif; ?>
<?php endfor; endif; ?></td>
      </tr>
      <tr>
        <td height="17">&nbsp;</td>
      </tr>
<?php unset($this->_sections['video_counts_id']);
$this->_sections['video_counts_id']['name'] = 'video_counts_id';
$this->_sections['video_counts_id']['loop'] = is_array($_loop=$this->_tpl_vars['video_counts']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['video_counts_id']['show'] = true;
$this->_sections['video_counts_id']['max'] = $this->_sections['video_counts_id']['loop'];
$this->_sections['video_counts_id']['step'] = 1;
$this->_sections['video_counts_id']['start'] = $this->_sections['video_counts_id']['step'] > 0 ? 0 : $this->_sections['video_counts_id']['loop']-1;
if ($this->_sections['video_counts_id']['show']) {
    $this->_sections['video_counts_id']['total'] = $this->_sections['video_counts_id']['loop'];
    if ($this->_sections['video_counts_id']['total'] == 0)
        $this->_sections['video_counts_id']['show'] = false;
} else
    $this->_sections['video_counts_id']['total'] = 0;
if ($this->_sections['video_counts_id']['show']):

            for ($this->_sections['video_counts_id']['index'] = $this->_sections['video_counts_id']['start'], $this->_sections['video_counts_id']['iteration'] = 1;
                 $this->_sections['video_counts_id']['iteration'] <= $this->_sections['video_counts_id']['total'];
                 $this->_sections['video_counts_id']['index'] += $this->_sections['video_counts_id']['step'], $this->_sections['video_counts_id']['iteration']++):
$this->_sections['video_counts_id']['rownum'] = $this->_sections['video_counts_id']['iteration'];
$this->_sections['video_counts_id']['index_prev'] = $this->_sections['video_counts_id']['index'] - $this->_sections['video_counts_id']['step'];
$this->_sections['video_counts_id']['index_next'] = $this->_sections['video_counts_id']['index'] + $this->_sections['video_counts_id']['step'];
$this->_sections['video_counts_id']['first']      = ($this->_sections['video_counts_id']['iteration'] == 1);
$this->_sections['video_counts_id']['last']       = ($this->_sections['video_counts_id']['iteration'] == $this->_sections['video_counts_id']['total']);
?>
<?php if ($this->_tpl_vars['video_counts'][$this->_sections['video_counts_id']['index']]['tb_video_user'] == $this->_tpl_vars['video_user'][$this->_sections['video_user_id']['index']]['tb_video_user']): ?> 
     <tr>
        <td>
节目：&nbsp;<?php echo $this->_tpl_vars['video_counts'][$this->_sections['video_counts_id']['index']]['tb_up_counts']; ?>
</td>
      </tr>
<?php endif; ?>
<?php endfor; endif; ?>
      <tr>
        <td>播客：&nbsp;

<a href="my_subscibe_program.php?url=<?php echo $this->_tpl_vars['ip']; ?>
/MR/sl/21/01/subscibe/<?php echo $this->_tpl_vars['subscibe_address'][$this->_sections['subscibe_program_id']['index']]['tb_subscibe_address']; ?>
&video_user=<?php echo $this->_tpl_vars['video_user'][$this->_sections['video_user_id']['index']]['tb_video_user']; ?>
" target="_blank">
    <?php echo $this->_tpl_vars['video_user'][$this->_sections['video_user_id']['index']]['tb_video_user']; ?>
</a>
</td>
      </tr>
      <tr>
        <td align="center"><input type="submit" name="Submit" value="取消订阅" onClick="cancel_subscibe('<?php echo $this->_tpl_vars['video_user'][$this->_sections['video_user_id']['index']]['tb_video_user']; ?>
','<?php echo $this->_tpl_vars['name']; ?>
')"></td>
      </tr>
<?php endif; ?><?php endfor; endif; ?>
</table>
		</td>

        <?php if(($number %2) != 0){ ?> 
      <?php 

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