Skip to content

Recentste berichten

  • After 13 and a bit it’s time for 13!
  • Na 13 en een beetje, komt 13?
  • Dining-out!
  • Lekker eten
  • Special night

Most Used Categories

  • Algemeen (190)
  • Algemeen @en (106)
  • Werk (83)
  • Lekker (eten en drinken) (55)
    • Recepten (8)
  • Motor (36)
  • Trouwen (27)
  • Fiets (25)
Skip to content

tom.scholten.nu

Tom's personal log

Subscribe
  • About me
  • Archief
    • CMS Framework
    • Postfix LDAP Howto
      • Postfix LDAP Howto
      • Postfix LDAP Howto v2.0 part two
    • Scroller.txt
  • Archive
  • aXBo – Testing
  • Cookie Policy
  • iPad
  • iPad
  • iPhone
    • iPhone (1.0)
      • Modem/proxy usage
    • iPhone (2.0)
  • iPhone
  • LoBySS
  • LoBySS
  • Music
  • Muziek
    • Never ending story (Limahl)
    • SnoWMusic
    • The Load out / Stay (just a little bit longer)
  • OSX Tools and Stuff
  • OSX Tools and Stuff
  • Over mij
  • Postfix LDAP Howto v2.1
  • Postfix LDAP Howto v2.1
  • Postfix MySQL howto v1.0
  • Recipes
  • Speedtouch SIP spoof (716)
  • WPG2
  • Wiki

CMS Framework

Content Management Framework
 

WorkInProgress

w.i.p. document

Description

The layout of www.Wilhelmina.org (with tables) as visible on their website since 1998 was, being a table, not friendly to edit in any way. Due to webteam extensions in 2003/2004 a decision was made to create a class which creates the final HTML code, leaving ‘simpler’ code to the users;
Example at http://www.wilhelmina.org/?page=siteinfo

PHP-class

require_once ("functions.php");

/*
# Class w16Page
#
# This class will build the main page based upon several building blocks
#
*/

class w16Page {

/*
# Function BuiltPage ( location , pagename)
#
# This function will read all set blocks from a src-file
# and create a page from it, you can set the location optionally
# (defaulting to /src/)
#
*/
function BuiltPage ( $pagename, $location="src" ) {

/* CODE NOT SHOWN */

}

function AddFooter ($link,$data) {
global $w16_info;
$result=''.$data.'';
if ( !empty($w16_info['footer']) ) { $w16_info['footer'].= ' - '.$result; }
else { $w16_info['footer'] = $result; }
}

function fullBlock ($data,$table=0,$type="") {
if ( $table != 0 ) {
$table_start = "

".$data."

 

Geef een reactie

Your email address will not be published. Required fields are marked *

Copyright All Rights Reserved | Theme: BlockWP by Candid Themes.