<?
 
 
// add the class
 
require_once("paypaltabs.class.php");
 
 
// the item var will determine which tab is raised
 
 
if($HTTP_GET_VARS[item] == "") $item = 'Yahoo';
 
else $item = $HTTP_GET_VARS[item];
 
 
/*
 
// Create an array of tab items with urls, then declare the tabs 
 
// class and add the array with an image url for the tab images.
 
// Keep in mind the items are case sensitive.
 
*/
 
 
$tabs_items  = array(    'Google'=>$PHP_SELF.'?item=Google',
 
                'Yahoo'=>$PHP_SELF.'?item=Yahoo',
 
                'Dmoz'=>$PHP_SELF.'?item=Dmoz',
 
                'Dogpile'=>$PHP_SELF.'?item=Dogpile'
 
 
);
 
 
// specify the location of the images to be used
 
 
$tab_images_url = "/paypaltabs";
 
 
$tabs = new PayPalTabs($tabs_items,$tab_images_url);
 
 
$tabs->ShowTabs($item);
 
 
 
?>
 
 |