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.

Source for: https://www.earthli.com/shared/rights.php

Uses WebCore template(s):

00 <?php
01   require_once ('webcore/init.php');
02   require_once ($Page->page_template_for ('webcore/pages/rights.php'));
03 ?>

Source for template: webcore/pages/rights.php

00 <?php
01
02 /****************************************************************************
03  
04 Copyright (c) 2002-2014 Marco Von Ballmoos
05  
06 This file is part of earthli WebCore.
07  
08 earthli WebCore is free software; you can redistribute it and/or modify
09 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
12  
13 earthli WebCore is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 GNU General Public License for more details.
17  
18 You should have received a copy of the GNU General Public License
19 along with earthli WebCore; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
21  
22 For more information about the earthli WebCore, visit:
23  
24 http://www.earthli.com/software/webcore
25  
26 ****************************************************************************/
27  
28   $Page->template_options->title = 'Rights';
29   $Page->title->subject = 'Rights';
30  
31   $Page->location->add_root_link ();
32   $Page->location->append ('Rights');
33   $Page->start_display ();
34 ?>
35 <div class="main-box">
36   <div class="text-flow">
37     <p>This site and it's contents (including web pages, email notifications and
38     newsfeeds) belongs to the site owner, as indicated in the
39     copyright notice at the bottom of each page. Posted content, like
40     pictures, articles and comments, belong to the user that posted it, unless
41     otherwise indicated.</p>
42   </div>
43 </div>
44 <?php
45   $Page->finish_display ();
46 ?>