<div class="grid_12 sky"> <h1 id="branding" class="fancy"> <a href="#"><?php echo htmlentities($section->getTitle()); ?> </a> </h1> <div class="grid_4 alpha"> <?php GexfExplorer($section->getMapById($section->getFrontMap()), 300, 250); ?> <p align="center"><a href="map.php?map=<?php echo htmlentities($section->getMapById($section->getFrontMap())->getId()); ?> ">More about this map...</a></p> </div> <div class="grid_5"> <div class="block"> <?php if ($article = $section->getArticleById($section->getFrontArticle())) { $textId = $article->getText(); ?> <h3><a href="article.php?article=<?php echo htmlentities($article->getId()); ?> "><?php echo htmlentities($article->getTitle()); ?> </a></h3> <?php echo $section->showArticleHtmlContent($article->getId(), false);
<?php $map = $section->getMapById($map_id); ?> <div class="grid_12"> <div style="height:50px;"></div> <h2 id="page-heading"><?php echo htmlentities($map->getTitle()); ?> </h2> </div> <div class="clear"></div> <div class="grid_12"> <?php GexfExplorer($map, 940, 500); ?> </div> <div class="clear"></div> <?php if ($legend = $section->getDocumentById($map->getLegend())) { $link = $legend->getFile(); ?> <div class="grid_8"> <div class="box"> <h2> <a href="#" id="toggle-articles">Legend</a> </h2> <div class="block"> <a href="<?php
if ($first) { echo '<div class="first article">'; $first = false; } else { echo '<div class="article">'; } ?> <h3><a href="map.php?map=<?php echo htmlentities($map->getId()); ?> "><?php echo htmlentities($map->getTitle()); ?> </a></h3> <?php GexfExplorer($map, 280, 120); ?> <br/> <?php echo $section->showMapHtmlContent($map->getId(), false); ?> <p/> </div> <?php } } ?> </div> </div> </div>