<?php /* Smarty version 2.6.19, created on 2008-07-03 08:54:41
         compiled from subscibe_program.tpl */ ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>

<body>

<table width="718" height="208" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="443">&nbsp;</td>
    <td width="31">&nbsp;</td>
    <td width="197">&nbsp;</td>
    <td width="47">&nbsp;</td>
  </tr>
  <?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 if ($this->_tpl_vars['subscibe'][$this->_sections['subscibe_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'][$this->_sections['subscibe_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; ?>

</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;<?php echo $this->_tpl_vars['video_user'][$this->_sections['video_user_id']['index']]['tb_video_user']; ?>
</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
<?php endif; ?><?php endfor; endif; ?>
</table>
		</td>

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

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

  <tr>
    <td height="31"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>
