<?php /* Smarty version 2.6.19, created on 2008-08-13 10:25:15
         compiled from delete_channel.tpl */ ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>删除频道</title>
</head>
<link rel="stylesheet" type="text/css" href="css/style.css">
<body>
<table width="710" height="23" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td><img src="images/删除频道频道组_3.jpg" width="710" height="23"></td>
  </tr>
</table>
<table width="710" border="1" cellpadding="1" cellspacing="1" bordercolor="#FFFFFF" bgcolor="#D6D6D4">
  <tr>
    <td height="23" align="center" bgcolor="#A3CE26"><span class="STYLE12">频道名称</span></td>
    <td align="center" bgcolor="#A3CE26"><span class="STYLE12">所属频道组</span></td>
    <td align="center" bgcolor="#A3CE26"><span class="STYLE12">频道地址</span></td>
    <td align="center" bgcolor="#A3CE26"><span class="STYLE12">操作</span></td>
  </tr>
<?php unset($this->_sections['channel_id']);
$this->_sections['channel_id']['name'] = 'channel_id';
$this->_sections['channel_id']['loop'] = is_array($_loop=$this->_tpl_vars['channel']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['channel_id']['show'] = true;
$this->_sections['channel_id']['max'] = $this->_sections['channel_id']['loop'];
$this->_sections['channel_id']['step'] = 1;
$this->_sections['channel_id']['start'] = $this->_sections['channel_id']['step'] > 0 ? 0 : $this->_sections['channel_id']['loop']-1;
if ($this->_sections['channel_id']['show']) {
    $this->_sections['channel_id']['total'] = $this->_sections['channel_id']['loop'];
    if ($this->_sections['channel_id']['total'] == 0)
        $this->_sections['channel_id']['show'] = false;
} else
    $this->_sections['channel_id']['total'] = 0;
if ($this->_sections['channel_id']['show']):

            for ($this->_sections['channel_id']['index'] = $this->_sections['channel_id']['start'], $this->_sections['channel_id']['iteration'] = 1;
                 $this->_sections['channel_id']['iteration'] <= $this->_sections['channel_id']['total'];
                 $this->_sections['channel_id']['index'] += $this->_sections['channel_id']['step'], $this->_sections['channel_id']['iteration']++):
$this->_sections['channel_id']['rownum'] = $this->_sections['channel_id']['iteration'];
$this->_sections['channel_id']['index_prev'] = $this->_sections['channel_id']['index'] - $this->_sections['channel_id']['step'];
$this->_sections['channel_id']['index_next'] = $this->_sections['channel_id']['index'] + $this->_sections['channel_id']['step'];
$this->_sections['channel_id']['first']      = ($this->_sections['channel_id']['iteration'] == 1);
$this->_sections['channel_id']['last']       = ($this->_sections['channel_id']['iteration'] == $this->_sections['channel_id']['total']);
?>
  <tr>
    <td bgcolor="#FFFFFF"><span class="STYLE12"><?php echo $this->_tpl_vars['channel'][$this->_sections['channel_id']['index']]['tb_channel_name']; ?>
</span></td>

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

            for ($this->_sections['channel_group_id']['index'] = $this->_sections['channel_group_id']['start'], $this->_sections['channel_group_id']['iteration'] = 1;
                 $this->_sections['channel_group_id']['iteration'] <= $this->_sections['channel_group_id']['total'];
                 $this->_sections['channel_group_id']['index'] += $this->_sections['channel_group_id']['step'], $this->_sections['channel_group_id']['iteration']++):
$this->_sections['channel_group_id']['rownum'] = $this->_sections['channel_group_id']['iteration'];
$this->_sections['channel_group_id']['index_prev'] = $this->_sections['channel_group_id']['index'] - $this->_sections['channel_group_id']['step'];
$this->_sections['channel_group_id']['index_next'] = $this->_sections['channel_group_id']['index'] + $this->_sections['channel_group_id']['step'];
$this->_sections['channel_group_id']['first']      = ($this->_sections['channel_group_id']['iteration'] == 1);
$this->_sections['channel_group_id']['last']       = ($this->_sections['channel_group_id']['iteration'] == $this->_sections['channel_group_id']['total']);
?>

<?php if ($this->_tpl_vars['channel_group'][$this->_sections['channel_group_id']['index']]['tb_channel_group_id'] == $this->_tpl_vars['channel'][$this->_sections['channel_id']['index']]['tb_channel_group']): ?>
    <td bgcolor="#FFFFFF"><span class="STYLE12"><?php echo $this->_tpl_vars['channel_group'][$this->_sections['channel_group_id']['index']]['tb_channel_group_name']; ?>
</span></td>
<?php endif; ?>
<?php endfor; endif; ?>


    <td bgcolor="#FFFFFF"><span class="STYLE12"><?php echo $this->_tpl_vars['channel'][$this->_sections['channel_id']['index']]['tb_channel_address']; ?>
</span></td>
    <td bgcolor="#FFFFFF" class="STYLE12"><a href="delete_channel_ok.php?channel_id=<?php echo $this->_tpl_vars['channel'][$this->_sections['channel_id']['index']]['tb_channel_id']; ?>
" class="STYLE12">删除</a></td>
  </tr>
<?php endfor; endif; ?>
</table>
</body>
</html>
