summaryrefslogtreecommitdiff
path: root/templates/sidebar.tpl.php
blob: 7ae1fa1ff04c01732d52be6e125c31c280d16214 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<div id="sidebar">
    <?php

    $size = count($sidebar_blocks);
    for ($i = 0; $i < $size; $i++) {
        $this->includeTemplate('sidebar.block.'. $sidebar_blocks[$i]);
    }

    $size = count($rsschannels);
    for ($i = 0; $i < $size; $i++) {
        echo '<p><a href="'. $rsschannels[$i][1] .'" title="'. $rsschannels[$i][0] .'"><img src="'. $GLOBALS['root'] .'rss.gif" width="16" height="16" alt="'. $rsschannels[$i][0] .'" /></a></p>'; 
    }
    ?>
</div>