$result[1]"; echo "
$result[5]
"; echo "
Help Navigation
"; ///// generate navigation links $rs = @pg_query("SELECT id, page_title FROM website_schema WHERE id IN ('".str_replace(", ", "', '", $result[2].", ".$result[3].", ".$result[4])."')"); if($rs && pg_num_rows($rs) > 0) { $links = array_combine(pg_fetch_all_columns($rs, 0), pg_fetch_all_columns($rs, 1)); echo ""; echo ""; echo ""; echo ""; echo "
"; $parent = explode(", ", $result[2]); foreach($parent as $link) echo "$links[$link]
"; echo "
".$links[$result[4]].""; $child = explode(", ", $result[3]); foreach($child as $link) echo "$links[$link]
"; echo "
"; } echo "
"; @pg_free_result($rs); ///// create editor link echo "
Edit
"; echo "
"; echo "
"; echo "pass
"; echo "
"; } include "include/footer.php"; ?>