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 ('software/init.php');
02  
03   $Page->title->subject = 'Screen Saver Library';
04  
05   $Page->location->append ('Software', '../');
06   $Page->location->append ($Page->title->subject);
07  
08   $Page->start_display ();
09  
10   $path = $Page->resolve_path ('{data}software/screen_saver/downloads');
11 ?>
12 <div class="main-box">
13   <div class="columns text-flow">
14     <div>
15       <p>Always wanted to make a screen saver? It doesn't look too hard,
16         does it? Well, anything that involves the Windows API can end up
17         wasting days of your time. Why not take a shortcut and use this
18         compact set of classes written for <a href="http://www.borland.com/delphi">Delphi
19           5.0</a>? It takes care of all of the work of creating a screen saver
20         and lets you concentrate on your content.</p>
21       <p>This library contains all of the basic classes needed to build
22         a screen saver, including a basic form that should suit most purposes.
23         There is also a <code>TTestBedForm</code> that can serve as a platform for testing
24         the preview, configuration, and password services of the screen
25         saver.</p>
26       <p>The <a href="sw_index.php">earthli Shockwave Screen Saver</a> is based on this library.</p>
27       <div class="info-box-bottom">
28         <p>
29           Created 12/2/2000
30         </p>
31       </div>
32     </div>
33     <div class="right-sidebar">
34       <h2>Source files</h2>
35       <?php $Page->start_icon_container('{icons}buttons/download_to_hd', Sixteen_px); ?>
36       <p>
37         <a href="<?php echo $path; ?>earthli_screen_saver_src.zip">Download</a> it now!
38       </p>
39       <?php $Page->finish_icon_container(); ?>
40       <h2>Documentation</h2>
41       <?php $Page->start_icon_container('{icons}file_types/text_file', Sixteen_px); ?>
42       <p>
43         Read the <a href="docs.php">documentation</a>
44       </p>
45       <?php $Page->finish_icon_container(); ?>
46     </div>
47   </div>
48 </div>
49 <?php $Page->finish_display (); ?>
50