echo base_url();
        ?>
channel_list/get_html/<?php 
        echo $channel['hosted_channel_id'];
        ?>
'); return false;" />
							&nbsp;&nbsp;
						
							<?php 
        unset($streaming_stats);
        ?>
							<?php 
        if (isset($tracker_stats[$channel_ids[$channel['hosted_channel_id']]])) {
            ?>
								<?php 
            $streaming_stats = get_streaming_stats($tracker_stats[$channel_ids[$channel['hosted_channel_id']]]);
            ?>
								<?php 
            if (!isset($streaming_stats['total_broadcaster_peers']) or $streaming_stats['total_broadcaster_peers'] == 0) {
                ?>
									<img style="padding-right: 5px" src="<?php 
                echo base_url();
                ?>
images/error.png" title="<?php 
                echo $this->lang->line('No broadcasters!');
                ?>
" />
								<?php 
            } else {
                ?>
									<img src="<?php 
 / <?php 
    echo $channel_info['xmltv_channel_id'];
    ?>
</option>
<?php 
}
?>
</select>
<input type="submit">
</form>

<br />
<table cellspacing="1" cellpadding="1" width="1200" >
<?php 
foreach ($stats as $channel_id => $peer_list) {
    $streaming_stats = get_streaming_stats($peer_list);
    ?>
    <tr>
        <td colspan="11">
        <table cellspacing="1" cellpadding="1" >
            <tr><td><b>Estimated Streaming Bitrate:</b></td><td><?php 
    printf("%.1f", $streaming_stats['streaming_bitrate']);
    ?>
 Kbps</td></tr>
            <tr><td><b>Peers connected:</b></td><td><?php 
    echo $streaming_stats['total_peers'];
    ?>
</td></tr>
            <tr><td><b>Opened Ports:</b></td><td><?php 
    printf("%.1f", $streaming_stats['opened_port_peers']);
    ?>
            echo $channel_ids[$index]['thumb'];
        } else {
            echo base_url() . 'images/goalbit-logo.png';
        }
        ?>
" />
								<?php 
        echo $channel_ids[$index]['name'];
        ?>
							&nbsp;&nbsp;
							</a>
						<?php 
    }
    ?>
						<?php 
    $streaming_stats = get_streaming_stats($channel_stats);
    ?>
						<?php 
    echo $this->lang->line('Estimated Streaming Bitrate:');
    ?>
						<?php 
    printf("%.1f", $streaming_stats['streaming_bitrate']);
    ?>
 <?php 
    echo $this->lang->line('Kbps');
    ?>
&nbsp;&nbsp;
						<?php 
    echo $this->lang->line('Peers connected:');
    ?>
						<?php