PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Russell Nash   Expandable Menu   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example of how to use/implement the menu
Class: Expandable Menu
Generate an expandable menu of links
Author: By
Last change: new features explained
Date: 18 years ago
Size: 669 bytes
 

Contents

Class file image Download
<?php
header
("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
include
'./adv_exp_menu.php';
include
'./menu_data.php';
?>
<html>
<head>
<title>Advanced Expandable Menu</title>
</head>
<body<?= $mnu->LoadMenuState('Services') ?>>
<table cellpadding="0" cellspacing="0"><tr>
<td align="center" colspan="2"><br style="font-size:4pt">
My Menu<br />
 <?= date("l F j Y") ?><br /><br style="font-size:4pt"></td></tr>
<tr>
<td>
<!--
simply use the following line anywhere in a page to display the menu.
-->
<?= $mnu->BuildMenu(); ?>
</td></tr>
</td></form></tr>
</table>
</body>
</html>