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 ('jass/init.php');
02  
03   $Page->location->append ('Jass Manual');
04  
05   $Page->start_display ();
06 ?>
07 <div class="main-box">
08   <div class="text-flow">
09     <p>Jass is a very popular card game (in Switzerland) that is played with 4 people.
10       It is relatively simple to learn the mechanics of it, but learning good
11       strategy takes longer. The Jass Manual teaches you how to play and gives
12       in-depth strategy suggestions gleaned from years of playing the game.</p>
13     <p>There are two versions of the manual:</p>
14     <dl>
15       <dt>
16         <?php echo $Page->get_icon_with_text('{icons}buttons/view', Sixteen_px, '<a href="manual.php">Browsable</a>'); ?>
17       </dt>
18       <dd>Optimized for browsing and searching; provides a menu for quick navigation.</dd>
19       <dt>
20         <?php echo $Page->get_icon_with_text('{icons}buttons/print', Sixteen_px, '<a href="printable.php">Printable</a>'); ?>
21       </dt>
22       <dd>Optimized for printing with all text in one big page (115KB) and a black on white theme.</dd>
23     </dl>
24     <div class="info-box-bottom">
25     <p>Last edited on October 31, 2001. See the <a href="change_log.php">revision history</a> for more information.</p>
26     </div>
27   </div>
28 </div>
29 <?php $Page->finish_display (); ?>
30