The best way to learn how to use the WebCore is by example. See the documentation for more information.
The requested URL is always shown first; if a page uses one or more WebCore templates, those are shown afterwards.
00 <?php
01 include_once ('quake/init.php');
02
03 $Page->title->subject = 'Editing';
04
05 $Page->location->append ("Quake III Arena", "./");
06 $Page->location->append ("Editing");
07
08 $Page->start_display ();
09
10 $page = read_var ('page');
11 if (! $page)
12 {
13 $page = "compile_options";
14 }
15 ?>
16 <div class="main-box">
17 <div class="columns text-flow">
18 <div class="left-sidebar">
19 <ul>
20 <li><a href="editing.php?page=zoid">Zoid's Tips</a></li>
21 <li><a href="editing.php?page=compile_options">Compiler Options</a></li>
22 <li><a href="editing.php?page=links">Links</a></li>
23 </ul>
24 </div>
25 <div>
26 <?php
27 include ("pages/editing/$page.php");
28 ?>
29 </div>
30 </div>
31 </div>
32 <?php $Page->finish_display (); ?>
33
34