Ejemplo n.º 1
0
		<img src="images/loading.gif" style="margin:100px auto;" alt="" /></div>';
            }
        }
    }
    $tabs = new Tabs(1, 'xp', TABS_DIR, '?admin=statistics');
    //$tabs->SetHttpVars(array('admin'));
    $tab1 = $tabs->AddTab(_CUSTOMERS . ' (' . _MAP_OVERLAY . ')', $first_tab_content);
    $tab2 = $tabs->AddTab(_CUSTOMERS . ' (' . _REGISTRATIONS . ')', $second_tab_content);
    $tab3 = $tabs->AddTab(_CUSTOMERS . ' (' . _LOGINS . ')', $third_tab_content);
    ## +---------------------------------------------------------------------------+
    ## | 2. Customizing:                                                           |
    ## +---------------------------------------------------------------------------+
    ## *** set container's width in pixels (px), inches (in) or points (pt)
    $tabs->SetWidth('696px');
    ## *** set container's height in pixels (px), inches (in) or points (pt)
    $tabs->SetHeight('auto');
    // 'auto'
    ## *** set alignment inside the container (left, center or right)
    $tabs->SetAlign('left');
    ## *** set container's color in RGB format or using standard names
    /// $tabs->SetContainerColor('#64C864');
    ## *** set border's width in pixels (px), inches (in) or points (pt)
    /// $tabs->SetBorderWidth('5px');
    ## *** set border's color in RGB format or using standard names
    /// $tabs->SetBorderColor('#64C864');
    /// $tabs->SetBorderColor('blue');
    /// $tabs->SetBorderColor('#445566');
    ## *** show debug info - false|true
    $tabs->Debug(false);
    ## *** allow refresh selected tabs - false|true
    /// $tabs->AllowRefreshSelectedTabs(true);