PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Eugene Panin   OCFLib   index.php   Download  
File: index.php
Role: ???
Content type: text/plain
Description: Example of using OCF to handle menus
Class: OCFLib
Author: By
Last change:
Date: 22 years ago
Size: 279 bytes
 

Contents

Class file image Download
<? error_reporting(0); require 'Menulib.php'; require 'OCFLib.php'; ?> <html> <body bgcolor=white> <? $ocf = new OCFParser('./cat.xml'); $root =& $ocf->getMenu(); $menuid = ($menuid)?$menuid:''; echo $root->display($menuid,"$PHP_SELF?menuid="); ?> </body> </html>