vendor id) before * including this. Posts what domainFormSet() (functions/domain.php) reads. * * Tabs: Domain (the name, checked as it is typed - or several pasted at once * when adding - what it is for, the star, the expiry and auto-renew), Who * (the registrar and who hosts DNS, the website and email), Details (tags) * and Notes. The records themselves are looked up, never typed, and show in * the domain's quick look. * * Should not be accessed directly. */ isset($mysqli) || die("Direct file access is not allowed"); $client_options = $vendor_options = []; if ($client_id) { $vendor_options = domainVendorChoices($client_id, array_values($domain_vendor_ids)); $client_name_for_vendors = getFieldById('clients', $client_id, 'client_name'); } else { $sql = mysqli_query($mysqli, "SELECT client_id, client_name, client_abbreviation FROM clients WHERE client_archived_at IS NULL " . clientScopeSql('clients.client_id') . " ORDER BY client_name ASC"); while ($row = mysqli_fetch_assoc($sql)) { $client_options[] = $row; } } $form_id = 'domainForm' . ($domain_form_mode === 'edit' ? $domain_id : 'New'); ?>
Domain ID = $domain_id ?>