<?php // DEBUT ONGLET // Creation du TabStrip $tab = new TabStrip(); $tab->includeTab(_('Contacts'), "../inc/tab/fiche_prospect_contacts.php", "contacts"); $tab->includeTab(_('Billing'), "../inc/tab/fiche_prospect_billing.php", "billing"); $tab->includeTab(_('Follow up'), "../inc/tab/fiche_prospect_log.php", "followup"); $tab->includeTab(_('Miscellaneous'), "../inc/tab/fiche_prospect_other.php", "other"); $tab->includeTab(_('Graphics'), "../inc/tab/fiche_prospect_graph.php", "graph"); $tab->includeTab(_('Events'), "../inc/tab/fiche_prospect_event.php", "event"); $tab->includeTab(_('Documents'), "../inc/tab/fiche_prospect_documents.php", "documents"); $tab->includeTab(_('Contracts'), "../inc/tab/fiche_prospect_contracts.php", "contracts"); $tab->includeTab(_('Direct Debits'), "../inc/tab/fiche_prospect_direct_debit.php", "direct debits"); if (isset($_GET['tab'])) { $tab->setFocusedTab($_GET['tab']); } $tab->realise(); // FIN ONGLET ?> </td> </tr> </table> </form> <script> focusOnglet('<?php echo $shown_tab; ?>