2009-01-07 16:13:16 +01:00
|
|
|
<?php if($GLOBALS['enableAdminColors']!=false && isset($userid) && $userservice->isAdmin($userid)): ?>
|
|
|
|
<div id="sidebar" class="adminBackground">
|
|
|
|
<?php else: ?>
|
2007-12-12 17:29:16 +01:00
|
|
|
<div id="sidebar">
|
2009-01-07 16:13:16 +01:00
|
|
|
<?php endif ?>
|
|
|
|
|
|
|
|
|
|
|
|
<?php
|
2009-03-15 16:52:37 +01:00
|
|
|
echo $GLOBALS['sidebarTopMessage'].' ';
|
2009-01-07 16:13:16 +01:00
|
|
|
|
|
|
|
$size = count($sidebar_blocks);
|
|
|
|
for ($i = 0; $i < $size; $i++) {
|
|
|
|
$this->includeTemplate('sidebar.block.'. $sidebar_blocks[$i]);
|
|
|
|
}
|
2009-03-15 16:52:37 +01:00
|
|
|
|
|
|
|
echo $GLOBALS['sidebarBottomMessage'];
|
2009-01-07 16:13:16 +01:00
|
|
|
?>
|
|
|
|
|
2009-03-15 16:52:37 +01:00
|
|
|
</div>
|