$_POST["num_chq"] = ''; } } } /* * View */ $html = new Form($db); $now = dol_now(); llxHeader('', $langs->trans("Subscriptions"), 'EN:Module_Foundations|FR:Module_Adhérents|ES:Módulo_Miembros'); if ($rowid) { $result = $adh->fetch($rowid); $result = $adh->fetch_optionals($rowid); $adht->fetch($adh->typeid); // fetch optionals attributes and labels $adho->fetch_optionals(); $head = member_prepare_head($adh); dol_fiche_head($head, 'subscription', $langs->trans("Member"), 0, 'user'); $rowspan = 9; if (empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED)) { $rowspan += 1; } if ($conf->societe->enabled) { $rowspan++; } print '<form action="' . $_SERVER["PHP_SELF"] . '" method="POST">'; print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">'; print '<input type="hidden" name="rowid" value="' . $adh->id . '">'; print '<table class="border" width="100%">'; // Ref print '<tr><td width="20%">' . $langs->trans("Ref") . '</td>';