?> <?php if (count($current_page->getChildPages()) > 0) { $parentPage = $current_page; } else { if ($current_page->getParentPage() != null) { $parentPage = $current_page->getParentPage(); } } if (isset($parentPage) && count($parentPage->getChildPages()) > 0) { echo '<h3>' . $parentPage->title . '</h3>'; echo '<ul class="submenu-box">'; foreach ($parentPage->getChildPages() as $child) { echo '<li'; if (VIPagemap::isCurrentPage($child)) { echo ' class="active"'; } echo '><a href="' . $child->displayURL() . '">' . $child->title . '</a></li>'; } echo '</ul>'; } ?> <?php // if ($current_page->id!='news') { require_once __DIR__ . '/data/news-items.php'; echo '<h3><a href="/news">Aktuell</a></h3>'; echo VINewsManager::getNewsBox(5); //echo '<br><a href="https://www.stura.uni-heidelberg.de/" target="_blank"><img src="img/brand/StuRa_Logo_CYMK.png" style="margin:30px 10px 10px 0"></a>'; // }