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 ('systems/init.php');
02  
03   $Page->title->subject = "Installing Windows 2000";
04  
05   $Page->location->append ("Systems", "../");
06   $Page->location->append ("Guides");
07   $Page->location->append ("Installing Windows 2000");
08  
09   $page_name = read_var ('page_name');
10   if (! $page_name)
11   {
12     $page_name = 'installing_windows_2000';
13   }
14  
15   $Page->start_display ();
16 ?>
17 <div class="top-box">
18   <div class="button-content">
19     <a class="button" href="print_preview.php?page_name=<?php echo $page_name; ?>">
20       <?php echo $Page->get_icon_with_text('{icons}buttons/print', Sixteen_px, 'Print'); ?>
21     </a>
22   </div>
23 </div>
24 <div class="main-box">
25   <div class="text-flow">
26     <?php include ("pages/$page_name.php"); ?>
27   </div>
28 </div>
29 <?php $Page->finish_display (); ?>
30