$href = basename($_SERVER['PHP_SELF']); // by default open liste if ($low_action == '') { $low_action = 'list'; } //----------------------------------------------------- // Remove a card //----------------------------------------------------- if (isset($_POST['delete_card'])) { if ($g_user->check_action(FICADD) == 0) { alert(_('Vous ne pouvez pas enlever de fiche')); return; } $f_id = $_REQUEST['f_id']; $fiche = new Bank($cn, $f_id); $fiche->remove(); $low_action = "list"; } //----------------------------------------------------- // list of supplier //----------------------------------------------------- if ($low_action == "list") { ?> <div class="content"> <div> <form method="get" action="<?php echo $href; ?> "> <?php echo dossier::hidden();