summaryrefslogtreecommitdiff
path: root/templates/sidebar.tpl.php
blob: a90b584c1916204ee7facae445e4318822f8e989 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<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>