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