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 require_once ('quizzes/init.php');
02
03 $Page->template_options->title = "Quiz";
04 $Page->location->add_root_link ();
05 $Page->location->append ("Quizzes");
06
07 $Page->title->subject = "Quizzes";
08 $Page->location->append ('Quizzes');
09
10 $Page->start_display ();
11
12 ?>
13 <div class="main-box">
14 <div class="text-flow">
15 <ul>
16 <li><a href="view_quiz.php?id=1">Bush's First Year in Office</a></li>
17 <li><a href="view_quiz.php?id=2">Real or Fake?</a></li>
18 </div>
19 </div>
20 <?php
21 $Page->finish_display ();
22 ?>
23