Login   Register  
PHP Classes
elePHPant
Icontem

File: Example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Rafia alotibi  >  Tab Control  >  Example.php  >  Download  
File: Example.php
Role: Example script
Content type: text/plain
Description: Sample
Class: Tab Control
Output a tab link bar using HTML tables
Author: By
Last change:
Date: 2005-12-03 20:10
Size: 367 bytes
 

Contents

Class file image Download
<?php

include 'tab_control.php';

$tab = new tab_control('ltr');
$tab->set_current($_GET[tabid]);
$tab->add_tab(0,'Example.php?tabid=0','Tab 1');
$tab->add_tab(1,'Example.php?tabid=1','Tab 2','Example Tab 2');
$tab->add_tab(2,'Example.php?tabid=2','Tab 3','Example Tab 3');
$tab->add_tab(3,'Example.php?tabid=3','Tab 4');
echo 
$tab->get_out('Welcome');
?>