<!-- Navigationsleiste --> <div class="navigation" id="navigationSkip"> <a href="index.html" class="navlink">Home</a> <a href="about.php" class="navlink">About</a> <a href="about2.html" class="navlink">Company</a> <a href="news.php" class="navlink">News</a> <a href="article.html" class="navlink">Article</a> <a href="backend.php" class="navlink">Backend</a> </div> </header> <!-- Aufeinanderfolgende Autoren --> <div class = "autors" id="autorsSkip"> <!-- Generiert pro Autor ein Div mit dem Steckbrief. --> <?php $list = fetchAuthors(); $length = count($list); for ($i = 0; $i < $length; $i += 1) { echo "<div>\r\n <img src=\"" . $list[$i][6] . "\"/>\r\n <h3>" . $list[$i][1] . "</h3>\r\n <ul>\r\n <li>" . $list[$i][2] . "</li>\r\n <li>" . $list[$i][3] . "</li>\r\n <li>" . $list[$i][4] . "</li>\r\n <li>" . fetchCategory($list[$i][5]) . "</li>\r\n </ul>\r\n </div>"; } ?> </div> <footer> <!-- Lädt ein anderes Layout. --> <a onclick="toggleStyle()">Alternative Layout</a> <a href="contact.html">Kontakt</a> <a href="imprint.html">Impressum</a> Copyright (c) 2016 Copyright Holder All Rights Reserved. </footer> </body> </html>
function showDocman($gid) { global $_DOCMAN; require_once $_DOCMAN->getPath('includes_f', 'categories'); require_once $_DOCMAN->getPath('includes_f', 'documents'); $html = new StdClass(); $html->menu = fetchMenu($gid); $html->pathway = ''; //$pathway = fetchPathway($gid); $html->pathway = fetchPathway($gid); $html->category = ''; if ($gid > 0) { $html->category = fetchCategory($gid); } $html->cat_list = fetchCategoryList($gid); $html->doc_list = fetchDocumentList($gid); $html->pagenav = fetchPageNav($gid); $html->pagetitle = fetchPageTitle($gid); HTML_docman::pageDocman($html); }
function showDocman($gid) { $html = new StdClass(); $html->menu = fetchMenu($gid); $html->pathway = ''; //$pathway = fetchPathway($gid); $html->pathway = fetchPathway($gid); $html->category = ''; if ($gid > 0) { $html->category = fetchCategory($gid); } $html->cat_list = fetchCategoryList($gid); $html->doc_list = fetchDocumentList($gid); $html->pagenav = fetchPageNav($gid); $html->pagetitle = fetchPageTitle($gid); HTML_docman::pageDocman($html); }