'History of Go -- China', 'author' => 'Jan van der Steen', 'editor' => 'editor@gobase.org', 'modified' => '2002-11-24', 'section_path' => array( 'General Information', 'History of Go', 'China', ), 'references' => array( 'home' => array( 'url' => "/", ), 'index' => array( 'url' => "../", ), 'part-1' => array( 'txt' => 'I', ), 'part-2' => array( 'txt' => 'II', ), 'part-3' => array( 'txt' => 'III', ), 'part-4' => array( 'txt' => 'IV', ), 'part-5' => array( 'txt' => 'V', ), 'part-6' => array( 'txt' => 'literature', ), ), 'path' => array( array( 'txt' => 'home', 'url' => '/', ), array( 'txt' => 'History of Go', 'url' => '../', ), array( 'txt' => 'Edo', ), ), ); if ($sec != 'part-1') $page_meta['references']['part-1']['url'] = "?sec=part-1"; if ($sec != 'part-2') $page_meta['references']['part-2']['url'] = "?sec=part-2"; if ($sec != 'part-3') $page_meta['references']['part-3']['url'] = "?sec=part-3"; if ($sec != 'part-4') $page_meta['references']['part-4']['url'] = "?sec=part-4"; if ($sec != 'part-5') $page_meta['references']['part-5']['url'] = "?sec=part-5"; if ($sec != 'part-6') $page_meta['references']['part-6']['url'] = "?sec=part-6"; $page_meta['path'][] = array('txt' => $sec); function sec_part() { global $sec; readfile("txt/$sec.txt"); } function sec_notes() { readfile('txt/translation.txt'); } emit_page_open($page_meta); switch ($sec) { case 'part-1': page_section('Introduction', 'sec_part', 'balanced'); break; case 'part-2': page_section('The Legends of the Sage Kings and Divination', 'sec_part', 'balanced'); break; case 'part-3': page_section('Go and War', 'sec_part', 'balanced'); break; case 'part-4': page_section('Go in the Classics', 'sec_part', 'balanced'); break; case 'part-5': page_section('Confusion in Han and Wei Times', 'sec_part', 'balanced'); break; case 'part-6': page_section("Literature", 'sec_part', 'balanced'); break; } emit_page_close($page_meta); ?>