Location: PHPKode > projects > Phpman > phpman-2.0a_RC2/inc_toc.php
<?php
/**
* Print TOC
* @package phpman
* @copyright (c) 2004 Samuel Suter
* @author Samuel Suter <hide@address.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License
* @version 1.0
**/
?>
<?php
/** Fetch authors */
$table1 = $tbl_prefix . "authors";
$table2 = $tbl_prefix . "manuals_authors";
$query = "SELECT t1.* FROM `#__users` AS t1 INNER JOIN `#__manuals_authors` AS t2 ON t1.user_ID=t2.user_ID WHERE t2.manual_ID='".$manual_data["manual_ID"]."'";
$database->setQuery($query);
$authors = $database->loadRowsAssoc();
pmFrontendHTML::showTitlepage($manual_data,$authors);

$pages = get_pages_array($manual_data["root_ID"],0,$_GET["lang"],0,TRUE);
pmFrontendHTML::showToc($pages);
?>
Return current item: Phpman