Login   Register  
PHP Classes
elePHPant
Icontem

File: contentManagerTest.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of eikron morgauin  >  Content Manager  >  contentManagerTest.php  >  Download  
File: contentManagerTest.php
Role: Example script
Content type: text/plain
Description: test and example page
Class: Content Manager
Content Manager based on local files
Author: By
Last change:
Date: 2004-07-21 02:57
Size: 1,081 bytes
 

Contents

Class file image Download
<?php

/**
 * 
 *
 * @version $Id: contentManagerTest.php,v 1.1 2004/07/21 09:24:28 eikron Exp $
 * @copyright 2004 
 **/
require_once('./contentManager.class.php');

$cMgr= new contentManager('it');
$cMgr->location='test';
$cMgr->defaultLang='en';
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>contentManagerTest</title>
<style type="text/css">
body{
    font-family: arial,helvetica;
    font-size: 85%;

}
div.boxed{
    border-style: dashed;
    border-width: 2px 2px 2px 2px;
    margin: 10px 10px 10px 10px;
    padding: 5px;
    border-color: #CCC;
    color: #323542;

}
</style>
</head>
<body>
<h1>TestContentManager</h1>
<div class="boxed">Content managed: test_it <?php print $cMgr->getContent('test_it')?> </div>
<div class="boxed">Content managed: test_default_noit (test_noit) <?php print $cMgr->getContent('test_noit')?> </div>
<div class="boxed">Content managed: test_default_catchall (test_noit_noen) <?php print $cMgr->getContent('test_noit_noen')?> </div>

</body>