}
    echoT($clsGF->strGenericCheckEntry('Hide table', 'chkHide', 'true', false, $bHidden));
    $clsGF->strExtraFieldText = 'Check to remove<br><table><tr><td style="width: 300pt; font-style:italic">
               Checking this box will remove this table
               and the associated data, from your database.
               <font color="red"><b>This action can not be undone!</b></font>
               </td></tr></table>';
    echoT($clsGF->strGenericCheckEntry('Remove table', 'chkRetire', 'YES', false, false));
}
echoT('</table>');
closeBlock();
/*----------------------
     Validation file
  ----------------------*/
openBlock('Validation', '');
echoT('<table class="enpView">');
$strNote = '<i>You can optionally provide your own software to manage complex validation.<br>' . 'The validation software is in the form of a codeIgniter helper file. Save your file<br>' . 'in directory </i><font style="font-family: courier;">
         application/helpers/custom_verification</font><i>
         and your <br> file name must end with
         </i><font style="font-family: courier;">"_helper.php"</font><i>.
         Please see the user\'s guide for more details.<br>';
echoT($clsGF->strLabelRowOneCol($strNote, 2));
$clsGF->strExtraFieldText = form_error('txtVerificationModule');
echoT($clsGF->strGenericTextEntry('Validation File', 'txtVerificationModule', false, $txtVerificationModule, 60, 255));
$clsGF->strExtraFieldText = '<br>' . '<i>If you specify a validation file, this is where you specify the name of your function <br>' . 'to call. Your routine returns false if the form data is not valid.<br>' . form_error('txtVModEntryPoint');
echoT($clsGF->strGenericTextEntry('Entry Point', 'txtVModEntryPoint', false, $txtVModEntryPoint, 60, 255));
echoT('</table>');
closeBlock();
echoT($clsGF->strSubmitEntry('Submit', 1, 'cmdSubmit', ' width: 120pt; '));
echoT(form_close('<br><br>'));
echoT('<script type="text/javascript">frmAddEdit.addEditEntry.focus();</script>');
$clsForm->strExtraFieldText = form_error('ddlTimeGrain');
echoT($clsForm->strLabelRow('Time Granularity', $formData->strTimeGrainDDL, 1));
//------------------------
// 24 Hour Timeclock
//------------------------
$clsForm->strStyleExtraLabel = 'padding-top: 4px;';
$clsForm->strExtraFieldText = '&nbsp;<i>If checked, 4:42 PM will be displayed as 16:42.</i>';
echoT($clsForm->strGenericCheckEntry('24-Hour Time Display', 'chk24Hour', 'true', false, $formData->b24HrTime));
//------------------------
// Hidden?
//------------------------
if (!$bNew) {
    $clsForm->strStyleExtraLabel = 'padding-top: 4px;';
    $clsForm->strExtraFieldText = '<br><i>You can hide a time sheet and it not be available
                    to users.<br>
                    You can unhide it later without loss of data. Even when hidden, <br>
                    the time sheet information will be included in time sheet reports.</i>';
    echoT($clsForm->strGenericCheckEntry('Hidden?', 'chkHidden', 'true', false, $formData->bHidden));
}
//------------------------
// Acknowledgment Text
//------------------------
echoT($clsForm->strNotesEntry('Acknowledgment Text', 'txtAck', false, $formData->txtAck, 3, 40));
//------------------------
// Notes
//------------------------
echoT($clsForm->strNotesEntry('Notes', 'txtNotes', false, $formData->txtNotes, 3, 40));
echoT($clsForm->strSubmitEntry('Save', 2, 'cmdSubmit', 'text-align: center; width: 80pt;'));
echoT('</table>' . form_close('<br>'));
echoT('<script type="text/javascript">frmAddEdit.addEditEntry.focus();</script>');
closeBlock();
<?php

$clsGF = new generic_form();
$clsGF->bValueEscapeHTML = false;
$attributes = array('name' => 'frmLoc', 'id' => 'frmAddEdit');
echo form_open('admin/admin_special_lists/sponsorship_lists/addEditProg/' . $lSPID, $attributes);
echoT('<br><br><table class="enpRptC">');
echoT($clsGF->strTitleRow(($bNew ? 'Add new ' : 'Update ') . 'Sponsorship Program', 2, ''));
$clsGF->strExtraFieldText = form_error('txtProg');
$clsGF->strID = 'addEditEntry';
echoT($clsGF->strGenericTextEntry('Program Name', 'txtProg', true, $strSponProg, 40, 80));
if (is_numeric($curDefMonthlyCommit)) {
    $strCommit = number_format($curDefMonthlyCommit, 2);
} else {
    //      $strCommit = htmlspecialchars($curDefMonthlyCommit);
    $strCommit = $curDefMonthlyCommit;
}
$clsGF->strExtraFieldText = form_error('txtCommit');
echoT($clsGF->strGenericTextEntry('Monthly Commitment', 'txtCommit', true, $strCommit, 8, 8));
echoT('
      <tr>
         <td class="enpRptLabel">
            <b>Accounting Country*:</b>
         </td>
         <td class="enpRpt">' . $strACORadio . form_error('rdoACO') . '</td>
      </tr>');
echoT($clsGF->strSubmitEntry('Save', 2, 'cmdSubmit', ''));
echoT('</table></form><br><br>');
echoT('<script type="text/javascript">frmAddEdit.addEditEntry.focus();</script>');
$attributes = array('name' => $strForm, 'id' => 'frmAddEdit');
echoT(form_open('volunteers/events_add_edit/addEditEvent/' . $lEventID, $attributes));
$clsForm = new generic_form();
$clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel';
$clsForm->strEntryClass = 'enpView';
if ($bNew) {
    $strEventID = '<i>new</i>';
} else {
    $strEventID = str_pad($lEventID, 5, '0', STR_PAD_LEFT);
}
echoT('<table>');
$clsForm->strStyleExtraLabel = 'width: 100pt; padding-top: 2px;';
$clsForm->bValueEscapeHTML = false;
echoT($clsForm->strLabelRow('Event ID', $strEventID, 1));
$clsForm->strStyleExtraLabel = 'width: 100pt; padding-top: 8px;';
$clsForm->strID = 'addEditEntry';
$clsForm->strExtraFieldText = form_error('txtEvent');
echoT($clsForm->strGenericTextEntry('Event Name', 'txtEvent', true, $formData->strEventName, 53, 255));
echoT($clsForm->strNotesEntry('Note', 'txtNote', false, $formData->strDescription, 4, 50));
echoT($clsForm->strNotesEntry('Location', 'txtLocation', false, $formData->strLocation, 4, 50));
echoT($clsForm->strGenericTextEntry('Contact', 'txtContact', false, $formData->strContact, 53, 255));
echoT($clsForm->strGenericTextEntry('Phone', 'txtPhone', false, $formData->strPhone, 53, 80));
$clsForm->strExtraFieldText = form_error('txtEmail');
echoT($clsForm->strGenericTextEntry('Email', 'txtEmail', false, $formData->strEmail, 53, 200));
echoT($clsForm->strGenericTextEntry('Web Link', 'txtWebLink', false, $formData->strWebSite, 53, 200));
if ($bNew) {
    echoT($recurringOpts);
}
echoT($clsForm->strSubmitEntry('Save Event', 2, 'cmdSubmit', ''));
echoT('</table></form>');
echoT('<script type="text/javascript">frmAddEdit.addEditEntry.focus();</script>');
$clsForm = new generic_form();
$clsForm->strLabelClass = 'enpRptLabel';
$clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel';
$clsForm->strTitleClass = 'enpViewTitle';
$clsForm->strEntryClass = 'enpView';
$lEntryID = $clsEntry->lKeyID;
$attributes = array('name' => 'frmClientStat');
echoT(form_open('clients/client_rec_stat/addEditStatusEntry/' . $lClientID . '/' . $lStatusID, $attributes));
echoT('<table class="enpView">');
$lMatchID = $bNew ? -1 : $clsEntry->lStatusID;
echoT($clsForm->strTitleRow(($bNew ? 'Add new ' : 'Update ') . 'status for ' . $client->strSafeName, 2, ''));
//---------------------------
// status category and entry
//---------------------------
echoT($clsForm->strLabelRow('Status Category', $client->strStatusCatName, 1));
$clsForm->strExtraFieldText = form_error('ddlStatus');
echoT($clsForm->strGenericDDLEntry('Status', 'ddlStatus', true, $statDDL));
//---------------------------
// Packet status?
//---------------------------
$clsForm->strExtraFieldText = ' (if checked, this status will be included in packet export)';
echoT($clsForm->strGenericCheckEntry('Packet Status?', 'chkPacket', 'TRUE', false, $bPacketStatus));
//--------------------
// status date
//--------------------
echoT(strDatePicker('datepicker1', false));
$clsForm->strExtraFieldText = form_error('txtDate');
echoT($clsForm->strGenericDatePicker('Date', 'txtDate', true, $txtDate, 'frmClientStat', 'datepicker1'));
echoT($clsForm->strNotesEntry('Notes', 'txtNotes', false, $txtNotes, 5, 46));
echoT($clsForm->strSubmitEntry('Submit', 1, 'cmdSubmit', 'text-align: left;'));
echoT('</table></form>');
$clsForm->strEntryClass = 'enpView';
$clsForm->bValueEscapeHTML = false;
echoT('<table width="600" border="0">');
$clsForm->strStyleExtraLabel = 'text-align: right; width: 130pt; padding-top: 8px;';
//------------------------
// Reporting month
//------------------------
$clsForm->strExtraFieldText = form_error('txtMonth');
echoT($clsForm->strLabelRow('Month', '<input type="text" value="' . $txtMonth . '" name="txtMonth" size="8" id="month1">', 1, ''));
//------------------------
// Show case notes summary
//------------------------
$clsForm->strStyleExtraLabel = 'padding-top: 4px;';
echoT($clsForm->strGenericCheckEntry('Show case notes summary', 'chkCNotes', 'true', false, $formData->bShowCNotes));
//------------------------
// Show duration
//------------------------
echoT($clsForm->strGenericCheckEntry('Show duration', 'chkDuration', 'true', false, $formData->bShowDuration));
//------------------------
// Show activity
//------------------------
echoT($clsForm->strGenericCheckEntry('Show activity', 'chkActivity', 'true', false, $formData->bShowActivity));
//------------------------
// Show attendance link
//------------------------
echoT($clsForm->strGenericCheckEntry('Show ' . $cprog->strSafeAttendLabel . ' link', 'chkALink', 'true', false, $formData->bShowALink));
$clsForm->strStyleExtraLabel = 'text-align: left;';
echoT($clsForm->strSubmitEntry('View Attendance', 2, 'cmdSubmit', ''));
echoT('</table>' . form_close('<br>'));
echoT('<script type="text/javascript">frmCPAttend.addEditEntry.focus();</script>');
closeblock();
// activity date
//----------------------
echoT(strDatePicker('datepicker1', false, 2000));
$clsForm->strExtraFieldText = form_error('txtDate');
echoT($clsForm->strGenericDatePicker('Date of vol. activity', 'txtDate', true, $formData->txtDate, 'frmHrsLog', 'datepicker1'));
/*-------------------------------
     Start Time
  -------------------------------*/
$clsForm->strExtraFieldText = form_error('ddlStart');
echoT($clsForm->strGenericDDLEntry('Start Time', 'ddlStart', true, $formData->lStartTime));
/*-------------------------------
     Duration
  -------------------------------*/
$clsForm->strExtraFieldText = form_error('ddlDuration');
echoT($clsForm->strGenericDDLEntry('Duration', 'ddlDuration', true, $formData->enumDuration));
/*-------------------------------
     Activity
  -------------------------------*/
$clsForm->strExtraFieldText = form_error('ddlActivity');
echoT($clsForm->strLabelRow('Activity', $formData->strVolActivity, 1));
// job code for shift
echoT($clsForm->strLabelRow('Job Code', $strDDLJobCode, 1));
/*-------------------------------
     Notes
  -------------------------------*/
$clsForm->strStyleExtraLabel = 'vertical-align: top; padding-top: 2pt; ';
$clsForm->strExtraFieldText = form_error('txtNotes');
echoT($clsForm->strNotesEntry('Notes', 'txtNotes', false, $formData->strNotes, 3, 34));
echoT($clsForm->strSubmitEntry('Save activity info', 2, 'cmdSubmit', ''));
echoT('</table></form>');
closeBlock();
openBlock('Consolidate Duplicate ' . $strLabel . ' Records', '');
echoT('<table class="enpView">');
//----------------------
// Good ID
//----------------------
$clsForm->strStyleExtraLabel = 'width: 120pt; padding-top: 8px;';
$clsForm->strExtraFieldText = form_error('txtGoodID');
$clsForm->strID = 'addEditEntry';
echoT($clsForm->strGenericTextEntry('Correct ' . $strLabel . ' ID', 'txtGoodID', true, $formData->txtGoodID, 8, 8));
//----------------------
// Bad IDs
//----------------------
$clsForm->strExtraFieldText = '<br><i>Enter one or more comma-seperated duplicate ' . $strLabel . ' IDs.</i>' . form_error('txtBadIDs');
$clsForm->strID = 'addEditEntry';
echoT($clsForm->strGenericTextEntry('Duplicate ' . $strLabel . ' IDs', 'txtBadIDs', true, $formData->txtBadIDs, 60, 120));
echoT($clsForm->strSubmitEntry('Review ' . $strLabel . ' Records', 2, 'cmdSubmit', 'text-align: center;'));
echoT('</table>' . form_close('<br>'));
echoT('<script type="text/javascript">frmAddEdit.addEditEntry.focus();</script>');
switch ($enumContext) {
    case CENUM_CONTEXT_CLIENT:
        echoT('<i>This utility will transfer client information from the duplicate records<br>
                to the correct record. The transferred information includes:<br>
                <ul>
                   <li>Sponsorships
                   <li>Multi-record personalized client table information
                   <li>Client program enrollment and attendance records
                   <li>Client documents and images
                   <li>EMF measurements
                   <li>Pre/Post Tests
                </ul>');
        break;
$clsForm->strTitleClass = 'enpViewTitle';
$clsForm->strEntryClass = 'enpView';
$clsForm->bValueEscapeHTML = false;
if ($bNew) {
    $strQuestID = '<i>new</i>';
} else {
    $strQuestID = str_pad($lQuestID, 5, '0', STR_PAD_LEFT);
}
$attributes = array('name' => 'frmEditCProg', 'id' => 'frmAddEdit');
echoT(form_open('cpre_post_tests/ppquest_add_edit/addEditQuest/' . $lQuestID . '/' . $lPPTestID, $attributes));
openBlock(($bNew ? 'Add New' : 'Update') . ' Test Question', '');
echoT('<table>');
// question ID
$clsForm->strStyleExtraLabel = 'width: 90pt;';
echoT($clsForm->strLabelRow('Question ID', $strQuestID, 1));
//----------------------
// Question
//----------------------
$clsForm->strExtraFieldText = form_error('txtQuestion');
$clsForm->strID = 'addEditEntry';
echoT($clsForm->strNotesEntry('Question', 'txtQuestion', false, $formData->txtQuestion, 3, 50));
//----------------------
// Answer
//----------------------
$clsForm->strExtraFieldText = form_error('txtAnswer');
echoT($clsForm->strNotesEntry('Answer', 'txtAnswer', false, $formData->txtAnswer, 3, 50));
$clsForm->strStyleExtraLabel = 'text-align: left;';
echoT($clsForm->strSubmitEntry(($bNew ? 'Add ' : 'Update ') . 'Pre/Post Test Question', 2, 'cmdSubmit', 'text-align: center;'));
echoT('</table>' . form_close('<br>'));
echoT('<script type="text/javascript">frmAddEdit.addEditEntry.focus();</script>');
closeBlock();
$clsForm->bValueEscapeHTML = false;
echoT('<table  border="0">');
//--------------------------------
// Time Frame
//--------------------------------
$clsForm->strStyleExtraLabel = 'vertical-align: top; padding-top: 6px;';
$clsForm->strStyleExtraValue = 'vertical-align: top;';
echoT($clsForm->strLabelRow('Time Frame', $dateRanges, 1));
//--------------------------------
// Client Programs
//--------------------------------
$clsForm->strExtraFieldText = form_error('chkCProgs');
echoT($clsForm->strLabelRowOneCol('<b>View enrollees from the following programs:</b>', 2, '', 260));
$clsForm->bAddLabelColon = false;
/* -------------------------------------
echo('<font class="debug">'.substr(__FILE__, strrpos(__FILE__, '\\'))
   .': '.__LINE__.'<br>$cprogs   <pre>');
echo(htmlspecialchars( print_r($cprogs, true))); echo('</pre></font><br>');
// ------------------------------------- */
foreach ($cprogs as $cprog) {
    if ($cprog->bShowCProgLink) {
        $lCProgID = $cprog->lKeyID;
        $strChecked = in_array($lCProgID, $formData->cProgSelectedIDs) ? 'checked' : '';
        $strProg = '<input type="checkbox" name="chkCProgs[]" value="' . $lCProgID . '" ' . $strChecked . '> ' . htmlspecialchars($cprog->strProgramName);
        echoT($clsForm->strLabelRow('', $strProg, 1));
    }
}
$clsForm->strStyleExtraLabel = 'text-align: left;';
echoT($clsForm->strSubmitEntry('View Enrollees', 2, 'cmdSubmit', 'text-align: center;'));
echoT('</table>' . form_close('<br>'));
closeblock();
        $strCheckAllNone = '';
    } else {
        $strCheckAllNone = '&nbsp;&nbsp;' . '<input type="button" value="Check All" onclick="checkByParent(\'' . $strDiv . '\', true);">&nbsp;
                <input type="button" value="Clear All" onclick="checkByParent(\'' . $strDiv . '\', false);">&nbsp;';
    }
    openBlock($strTable . $strTType . $strCheckAllNone, '', $attributes);
    if (!$bReadOnly) {
        $attributes->bStartOpen = false;
    }
    showCFields($table, $idx, $bReadOnly);
    $attributes->bCloseDiv = true;
    closeBlock($attributes);
    ++$idx;
}
if (!$bReadOnly) {
    echoT('<br><br>' . $clsForm->strSubmitEntry('Save', 1, 'cmdSubmit', 'text-align: center; width: 70pt;'));
    echoT(form_close('<br><br>'));
}
function showCFields(&$table, $idx, $bReadOnly)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    echo '<table>';
    $lTableID = $table->lTableID;
    foreach ($table->fields as $field) {
        if (!($field->enumType == 'Heading' || $field->enumType == 'Log')) {
            if ($field->fTypeLabel == '#error#') {
                $strFType = '';
            } else {
                $strFType = '&nbsp;<i>(' . $field->fTypeLabel . ')</i>';
<?php

global $gbAdmin;
if (!$gbAdmin) {
    echoT('You must be an Administrator to use this feature.');
} else {
    openBlock('Database backup', '');
    $attributes = array('name' => 'frmBackup', 'id' => 'backupDB');
    echoT(form_open('admin/db_zutil/backupRun', $attributes));
    $clsForm = new generic_form();
    $clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel';
    $clsForm->strTitleClass = 'enpViewTitle';
    $clsForm->strEntryClass = 'enpView';
    $clsForm->strStyleExtraLabel = 'width: 120pt;';
    $clsForm->bValueEscapeHTML = false;
    echoT('<table width="800" border="0">');
    echoT($clsForm->strLabelRow('Backup as', '
                                  <input type="radio" name="rdoType" value="zip" checked>zip&nbsp;&nbsp;
                                  <input type="radio" name="rdoType" value="gzip" >gzip&nbsp;&nbsp;
                                  <input type="radio" name="rdoType" value="txt"  >text&nbsp;&nbsp;
                                   ', 1));
    echoT($clsForm->strGenericCheckEntry('Include "DROP TABLE"', 'chkDrop', 'true', false, true));
    $clsForm->strStyleExtraLabel = 'text-align: left;';
    echoT($clsForm->strSubmitEntry('Run Backup', 2, 'cmdSubmit', 'text-align: left;'));
    echoT('</table>' . form_close('<br>'));
    closeblock();
}
<?php

global $genumDateFormat;
$attributes = array('name' => 'frmTemplate', 'id' => 'frmTemplate');
echoT(form_open('auctions/bid_templates/addSheetTempSelect', $attributes));
$clsForm = new generic_form();
$clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel';
$clsForm->strEntryClass = 'enpView';
$clsForm->bValueEscapeHTML = false;
$clsForm->strStyleExtraLabel = 'width: 100pt;';
openBlock('New Bid Sheet', '');
echoT('<table>');
//-------------------------------
// Auction
//-------------------------------
$clsForm->strExtraFieldText = form_error('ddlAuction');
echoT($clsForm->strLabelRow('Auction', $strAuctionDDL, 1));
//-------------------------------
// Default Bid Sheet
//-------------------------------
$clsForm->strStyleExtraLabel = 'vertical-align: top; padding-top: 4pt; ';
echoT($clsForm->strLabelRow('Base bid sheet on', $strRadioTemplates, 1));
//------------------------------------------
// Save / Close form
//------------------------------------------
echoT($clsForm->strSubmitEntry('Select and Configure', 2, 'cmdSubmit', 'width: 140pt;'));
echoT(form_close());
echoT('</table>');
closeBlock();
echoT($clsForm->strGenericTextEntry('Address 2', 'txtAddr2', false, $formD->txtAddr2, 40, 100));
echoT($clsForm->strGenericTextEntry('City', 'txtCity', false, $formD->txtCity, 40, 50));
echoT($clsForm->strGenericTextEntry($gclsChapterVoc->vocState, 'txtState', false, $formD->txtState, 40, 50));
echoT($clsForm->strGenericTextEntry($gclsChapterVoc->vocZip, 'txtZip', false, $formD->txtZip, 20, 25));
echoT($clsForm->strGenericTextEntry('Country', 'txtCountry', false, $formD->txtCountry, 40, 200));
$clsForm->strStyleExtraLabel = 'padding-top: 3px;';
$clsForm->strExtraFieldText = '<i>If checked, show Delightful Labor medical features for clients at this location.</i>';
echoT($clsForm->strGenericCheckEntry('Allow med. features?', 'chkAllowEMR', 'true', false, $formD->chkAllowEMR));
echoT($clsForm->strNotesEntry('Description', 'txtDescription', false, $formD->txtDescription, 3, 35));
// allow user to select which sponsorship programs the location participates in
echoT('
      <tr>
         <td class="enpViewLabel">
            Participates in<br>
            these sponsorship<br>
            programs:
         </td>
         <td class="enpView">');
foreach ($sponProgs as $clsProg) {
    $lSPID = $clsProg->lKeyID;
    echoT('
         <input type="checkbox" name="chkSponProgs[]" value="' . $lSPID . '" id="chkSP_' . $lSPID . '" ' . $progInUse[$lSPID] . ' ' . 'value="TRUE">' . htmlspecialchars($clsProg->strProg) . '<br>');
}
echoT('
         </td>
      </tr>');
echoT($clsForm->strSubmitEntry('Submit', 1, 'cmdSubmit', 'text-align: center; width: 70pt;'));
echoT('</table>' . form_close('<br><br>'));
echoT('<script type="text/javascript">frmAddEdit.addEditEntry.focus();</script>');
?>
   
<?php

if ($bMultiEntry) {
    return;
}
// shouldn't be here!
if ($lNumTables == 0) {
    echoT('<br><i>Sorry, there are no tables available for transfer. Please create a new table first.<br><br></i>');
    return;
}
$clsForm = new generic_form();
$clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel';
$clsForm->strTitleClass = 'enpViewTitle';
$clsForm->strEntryClass = 'enpView';
$clsForm->bValueEscapeHTML = false;
$attributes = array('name' => 'frmXferField', 'id' => 'frmXferField');
echoT(form_open('admin/uf_fields/xfer1/' . $lTableID . '/' . $lFieldID, $attributes));
openBlock('Transfer a field to another personalized table', '');
echoT('<br><table class="enpView">');
echoT($clsForm->strLabelRow('Field Name', htmlspecialchars($ufield->pff_strFieldNameUser), 1));
// source table
echoT($clsForm->strLabelRow('Source Table', htmlspecialchars($strUserTableName), 1));
// destination table
$clsForm->strExtraFieldText = form_error('ddlTables');
echoT($clsForm->strLabelRow('Destination Table', $strDDL, 1));
$clsForm->strStyleExtraLabel = 'text-align: left;';
echoT($clsForm->strSubmitEntry('Transfer', 2, 'cmdSubmit', 'width: 100pt; text-align: center;'));
echoT('</table>' . form_close('<br>'));
echoT('<script type="text/javascript">frmAddEdit.addEditEntry.focus();</script>');
closeBlock();
<?php

global $gbAdmin;
if (!$gbAdmin) {
    echoT('You must be an Administrator to use this feature.');
} else {
    openBlock('Database Optimization', '');
    $attributes = array('name' => 'frmBackup', 'id' => 'backupDB');
    echoT(form_open('admin/db_zutil/optRun', $attributes));
    echoT('<br><b><i>It is recommended that you back up your database before running this utility</b></i><br><br>');
    $clsForm = new generic_form();
    $clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel';
    $clsForm->strTitleClass = 'enpViewTitle';
    $clsForm->strEntryClass = 'enpView';
    $clsForm->strStyleExtraLabel = 'width: 120pt;';
    $clsForm->bValueEscapeHTML = false;
    echoT('<table width="800" border="0">');
    $clsForm->strStyleExtraLabel = 'text-align: left;';
    echoT($clsForm->strSubmitEntry('Run Optimization ', 2, 'cmdSubmit', 'text-align: left;'));
    echoT('</table>' . form_close('<br>'));
}
    //----------------------
    // Bio
    //----------------------
    echoT($clsForm->strNotesEntry("{$strClientVName} Bio", 'txtBio', false, $formData->txtBio, 5, 50));
    //------------------------
    // Address
    //------------------------
    $clsForm->strStyleExtraLabel = 'width: 120pt; padding-top: 8px;';
    echoT($clsForm->strGenericTextEntry('Address 1', 'txtAddr1', false, $formData->txtAddr1, 40, 80));
    echoT($clsForm->strGenericTextEntry('Address 2', 'txtAddr2', false, $formData->txtAddr2, 40, 80));
    echoT($clsForm->strGenericTextEntry('City', 'txtCity', false, $formData->txtCity, 40, 80));
    echoT($clsForm->strGenericTextEntry($gclsChapterVoc->vocState, 'txtState', false, $formData->txtState, 40, 80));
    echoT($clsForm->strGenericTextEntry($gclsChapterVoc->vocZip, 'txtZip', false, $formData->txtZip, 20, 40));
    echoT($clsForm->strGenericTextEntry('Country', 'txtCountry', false, $formData->txtCountry, 20, 80));
    //------------------------
    // Email / Phone
    //------------------------
    $clsForm->strExtraFieldText = form_error('txtEmail');
    echoT($clsForm->strGenericTextEntry('Email', 'txtEmail', false, $formData->txtEmail, 40, 120));
    echoT($clsForm->strGenericTextEntry('Phone', 'txtPhone', false, $formData->txtPhone, 20, 40));
    echoT($clsForm->strGenericTextEntry('Cell', 'txtCell', false, $formData->txtCell, 20, 40));
    //--------------------------
    // Attributed to
    //--------------------------
    $clsForm->strStyleExtraLabel = 'width: 120pt; padding-top: 8px;';
    echoT($clsForm->strLabelRow('Attributed To', $strAttribDDL, false));
    echoT($clsForm->strSubmitEntry($strButton, 1, 'cmdSubmit', 'text-align: center;'));
    echoT('</table>' . form_close('<br>'));
    echoT('<script type="text/javascript">frmAddEdit.addEditEntry.focus();</script>');
    closeBlock();
}
<?php

$clsForm = new generic_form();
$clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel';
$clsForm->strTitleClass = 'enpViewTitle';
$clsForm->strEntryClass = 'enpView';
$clsForm->bValueEscapeHTML = false;
echoT(form_open('clients/client_rec_voc/addEdit/' . $lClientID));
echoT('<table class="enpView">');
echoT($clsForm->strTitleRow('Vocabulary Association', 2, ''));
echoT($clsForm->strGenericDDLEntry('Vocabulary', 'ddlVoc', true, $ddlVoc));
echoT($clsForm->strSubmitEntry('Update Client\'s Vocabulary', 2, 'cmdSubmit', ''));
echoT('</table></form><br><br><br>');
echoT('The following vocabularies are defined for your organization:<br>');
echoT(htmlVocList(false, $vocs, false));
<?php

$attributes = array('name' => 'frmMAAG', 'id' => 'maag');
echoT(form_open('staff/mgr_perf_rpt/maagOpts', $attributes));
openBlock('Status Reports By Month', '');
$clsForm = new generic_form();
$clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel';
$clsForm->strTitleClass = 'enpViewTitle';
$clsForm->strEntryClass = 'enpView';
$clsForm->bValueEscapeHTML = false;
echoT('<table width="600" border="0">');
$clsForm->strStyleExtraLabel = 'text-align: right; width: 90pt; padding-top: 8px;';
//------------------------
// Reporting month
//------------------------
$clsForm->strExtraFieldText = form_error('txtMonth');
echoT($clsForm->strLabelRow('Month', '<input type="text" value="' . $txtMonth . '" name="txtMonth" size="8" id="month1">', 1, ''));
$clsForm->strStyleExtraLabel = 'text-align: left;';
echoT($clsForm->strSubmitEntry('View Status Reports for Month', 2, 'cmdSubmit', ''));
echoT('</table>' . form_close('<br>'));
echoT('<script type="text/javascript">frmCPAttend.addEditEntry.focus();</script>');
closeblock();
$clsForm->strExtraFieldText = form_error('txtADate');
echoT($clsForm->strGenericDatePicker('Attendance Date', 'txtADate', true, $formData->txtADate, 'frmCloneAttendance', 'datepicker1'));
//----------------------
// skip duplicates
//----------------------
$clsForm->strStyleExtraLabel = 'padding-top: 4px;';
$clsForm->strExtraFieldText = '<br><i>If checked, skip clients who already
                have attendance records<br>for the specified date.</i>';
echoT($clsForm->strGenericCheckEntry('Skip duplicates', 'chkSkipDups', 'true', false, $bSkipDups));
// the client list
$clsForm->strStyleExtraLabel = 'padding-top: 8px;';
$strClientChk = strHTMLSetClearAllButton(true, 'frmCloneAttendance', 'chkClient[]', 'Select All') . '&nbsp;&nbsp;' . strHTMLSetClearAllButton(false, 'frmCloneAttendance', 'chkClient[]', 'Clear All') . '<br>' . "\n";
foreach ($clients as $client) {
    if ($client->lNumERecs > 0) {
        $lClientID = $client->lClientID;
        foreach ($client->erecs as $erec) {
            $strEDates = ' <i>(enrollment: ' . date('m/d/Y', $erec->dteStart) . ' - ';
            if (is_null($erec->dteEnd) || $erec->dteEnd == 0) {
                $strEDates .= 'ongoing)</i>';
            } else {
                $strEDates .= date('m/d/Y', $erec->dteEnd) . ')</i>';
            }
            $strClientChk .= '<div><input type="checkbox" name="chkClient[]" ' . ($client->bSelected ? 'checked' : '') . ' value="' . $client->lClientID . '_' . $erec->lKeyID . '">' . strLinkView_ClientRecord($lClientID, 'View client record', true) . '&nbsp;' . htmlspecialchars($client->strClientLName . ', ' . $client->strClientFName) . ' ' . $strEDates . '</div>' . "\n";
        }
    }
}
echoT($clsForm->strLabelRow('Clone to', $strClientChk, 1));
echoT($clsForm->strSubmitEntry('Clone', 2, 'cmdSubmit', 'text-align: center; width: 150px;', 'return(verifyBoxChecked(\'frmCloneAttendance\', \'chkClient[]\', \' (Clients)\'))'));
echoT('</table>' . form_close('<br>'));
echoT('<script type="text/javascript">frmAddEdit.addEditEntry.focus();</script>');
closeBlock();
$attributes = array('name' => 'frmAcctLoc', 'id' => 'acctOpts');
echoT(form_open('hospice/super/accounts/locSelect', $attributes));
openBlock('Accounts by Location', '');
$clsForm = new generic_form();
$clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel';
$clsForm->strTitleClass = 'enpViewTitle';
$clsForm->strEntryClass = 'enpView';
$clsForm->bValueEscapeHTML = false;
$clsForm->strStyleExtraLabel = 'width: 80pt;';
echoT('<table width="500" border="0">');
/*   
      //------------------------
      // Year
      //------------------------
   $strYearDDL = '<select name="ddlYear">'."\n";
   $lYear = (int)date('Y');
   for ($idx=1; $idx<=20; ++$idx){
      $strYearDDL .= '<option value="'.$lYear.'">'.$lYear.'</option>'."\n";
      --$lYear;
   }
   $strYearDDL .= '</select>'."\n";   
   echoT($clsForm->strLabelRow('For the year', $strYearDDL, 1, ''));
*/
//-----------------------------
// Location
//-----------------------------
echoT($clsForm->strLabelRow('Location', $ddlLocation, 1, ''));
//   $clsForm->strStyleExtraLabel = 'text-align: left; width: 100pt;';
echoT($clsForm->strSubmitEntry('View Accounts', 1, 'cmdSubmit', ''));
echoT('</table>' . form_close('<br>'));
closeblock();
    echoT($clsForm->strGenericCheckEntry('Hidden?', 'chkHidden', 'true', false, $formData->bHidden));
}
// Mentor/Mentee Program?
$clsForm->strStyleExtraLabel = 'padding-top: 4px;';
//   $clsForm->strExtraFieldText = '<br>For mentor/mentee programs, two volunteer personalized tables are required.<br>See user\'s guide for details.';
echoT($clsForm->strGenericCheckEntry('Mentor/Mentee Program?', 'chkMentorMentee', 'true', false, $formData->bMentorMentee));
echoT('</table>');
closeBlock();
/*----------------------
     Validation file
  ----------------------*/
openBlock('Validation', '');
echoT('<table class="enpView">');
$strNote = '<i>You can optionally provide your own software to manage complex enrollment/attendance validation.<br>' . 'The validation software is in the form of a codeIgniter helper file. Save your file<br>' . 'in directory </i><font style="font-family: courier;">
         application/helpers/custom_verification</font><i>
         and your <br> file name must end with
         </i><font style="font-family: courier;">"_helper.php"</font><i>.
         Please see the user\'s guide for more details.<br>';
echoT($clsForm->strLabelRowOneCol($strNote, 2));
$clsForm->strExtraFieldText = form_error('txtE_VerificationModule');
echoT($clsForm->strGenericTextEntry('Validation File (enrollment)', 'txtE_VerificationModule', false, $formData->txtE_VerificationModule, 60, 255));
$clsForm->strExtraFieldText = '<br>' . '<i>If you specify a validation file, this is where you specify the name of your function <br>' . 'to call. Your routine returns false if the form data is not valid.<br>' . form_error('txtE_VModEntryPoint');
echoT($clsForm->strGenericTextEntry('Entry Point (enrollment)', 'txtE_VModEntryPoint', false, $formData->txtE_VModEntryPoint, 60, 255));
$clsForm->strExtraFieldText = form_error('txtA_VerificationModule');
echoT($clsForm->strGenericTextEntry('Validation File (attendance)', 'txtA_VerificationModule', false, $formData->txtA_VerificationModule, 60, 255));
$clsForm->strExtraFieldText = '<br>' . '<i>If you specify a validation file, this is where you specify the name of your function <br>' . 'to call. Your routine returns false if the form data is not valid.<br>' . form_error('txtA_VModEntryPoint');
echoT($clsForm->strGenericTextEntry('Entry Point (attendance)', 'txtA_VModEntryPoint', false, $formData->txtA_VModEntryPoint, 60, 255));
echoT($clsForm->strSubmitEntry($strBlockLabel, 1, 'cmdSubmit', 'text-align: center;'));
echoT('</table>' . form_close('<br>'));
echoT('<script type="text/javascript">frmAddEdit.addEditEntry.focus();</script>');
closeBlock();
<?php

echoT(form_open('reports/pre_clients/bDay_run'));
if ($lNumLocations == 0) {
    echoT('<br><i>There are no client locations defined in your database.</i><br><br>');
    return;
}
openBlock('Client Birthdays', '');
$clsForm = new generic_form();
$clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel';
$clsForm->strTitleClass = 'enpViewTitle';
$clsForm->strEntryClass = 'enpView';
$clsForm->strStyleExtraLabel = 'width: 90pt;';
$clsForm->bValueEscapeHTML = false;
echoT('<table width="800" border="0">');
// location selection
$clsForm->strStyleExtraLabel = 'width: 80pt; padding-top: 8px;';
$strOut = '<select name="ddlLoc">
         <option value="-1" selected>All locations</option>' . $ddlLocs . '</select>';
echoT($clsForm->strLabelRow('Location', $strOut, 1));
// month selection
$strOut = '<select name="ddlMonth">' . "\n";
for ($idx = 1; $idx <= 12; ++$idx) {
    $strOut .= '<option value="' . $idx . '">' . strXlateMonth($idx) . '</option>' . "\n";
}
$strOut .= '</select>' . "\n";
echoT($clsForm->strLabelRow('Birthdays in', $strOut, 1));
echoT($clsForm->strSubmitEntry('Run Report', 2, 'cmdSubmit', 'text-align: center;'));
echoT('</table>' . form_close('<br>'));
closeblock();
<?php

$clsForm = new generic_form();
$clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel';
$clsForm->strTitleClass = 'enpViewTitle';
$clsForm->strEntryClass = 'enpView';
$clsForm->bValueEscapeHTML = false;
echoT(form_open('accts_camp/campaigns/xferCampaignSubmit/' . $lCampID));
$attributes = new stdClass();
$attributes->lTableWidth = 800;
$attributes->lUnderscoreWidth = 300;
openBlock('Transfer Campaign', '', $attributes);
echoT('<table class="enpView">');
echoT($clsForm->strLabelRow('campaignID', str_pad($lCampID, 5, '0', STR_PAD_LEFT), 1));
echoT($clsForm->strLabelRow('Campaign Name', $strCamp, 1));
echoT($clsForm->strLabelRow('Current Account', $strAcct, 1));
$strDDL = '';
foreach ($accts as $acct) {
    $lKeyID = $acct->lKeyID;
    if ($lKeyID != $lAcctID) {
        $strDDL .= '<option value="' . $lKeyID . '" >' . $acct->strSafeName . '</option>' . "\n";
    }
}
$clsForm->strStyleExtraLabel = 'width: 80pt; padding-top: 8px;';
echoT($clsForm->strGenericDDLEntry('New Account', 'ddlAcct', true, $strDDL));
echoT($clsForm->strSubmitEntry('Transfer Campaign', 2, 'cmdSubmit', 'text-align: left;'));
echoT('</table>' . form_close('<br>'));
closeBlock();
<?php

$attributes = array('name' => 'frmRptOptsSUDE', 'id' => 'rptOptsSUDE');
echoT(form_open('hospice/reports/su_data_entry/opts', $attributes));
openBlock('Monthly Data Entry Report', '');
$clsForm = new generic_form();
$clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel';
$clsForm->strTitleClass = 'enpViewTitle';
$clsForm->strEntryClass = 'enpView';
$clsForm->bValueEscapeHTML = false;
$clsForm->strStyleExtraLabel = 'width: 100pt; padding-top: 6px;';
echoT('<table width="500" border="0">');
//------------------------
// starting month
//------------------------
$clsForm->strExtraFieldText = form_error('txtMonth');
echoT($clsForm->strLabelRow('For the month', '<input type="text" value="' . $txtMonth . '" name="txtMonth" size="8" id="month1">', 1, ''));
$clsForm->strStyleExtraLabel = 'text-align: left; width: 100pt;';
echoT($clsForm->strSubmitEntry('View Report', 1, 'cmdSubmit', ''));
echoT('</table>' . form_close('<br>'));
closeblock();
$clsGF->strExtraFieldText = form_error('txtBanner');
echoT($clsGF->strGenericTextEntry('Banner Tag Line', 'txtBanner', true, $clsChapter->strBanner, 50, 80));
echoT($clsGF->strGenericTextEntry('Address', 'txtAddr1', false, $clsChapter->strAddr1, 30, 80));
echoT($clsGF->strGenericTextEntry('Address 2', 'txtAddr2', false, $clsChapter->strAddr2, 30, 80));
echoT($clsGF->strGenericTextEntry('City', 'txtCity', false, $clsChapter->strCity, 30, 40));
echoT($clsGF->strGenericTextEntry('State', 'txtState', false, $clsChapter->strState, 30, 40));
echoT($clsGF->strGenericTextEntry('Country', 'txtCountry', false, $clsChapter->strCountry, 30, 40));
echoT($clsGF->strGenericTextEntry('Zip', 'txtZip', false, $clsChapter->strZip, 12, 25));
echoT($clsGF->strGenericTextEntry('Phone', 'txtPhone', false, $clsChapter->strPhone, 30, 50));
echoT($clsGF->strGenericTextEntry('Fax', 'txtFax', false, $clsChapter->strFax, 30, 50));
$clsGF->strExtraFieldText = form_error('txtEmail');
echoT($clsGF->strGenericTextEntry('Email', 'txtEmail', false, $clsChapter->strEmail, 30, 80));
echoT($clsGF->strGenericTextEntry('Web Site', 'txtWebSite', false, $clsChapter->strWebSite, 30, 100));
/*
   echoT($clsGF->strGenericTextEntry  ('Default Area Code', 'txtDefAC',      false,  $clsChapter->strDefAreaCode, 16, 10));
   echoT($clsGF->strGenericTextEntry  ('Default State',     'txtDefState',   false,  $clsChapter->strDefState,    16, 40));
   echoT($clsGF->strGenericTextEntry  ('Default Country',   'txtDefCountry', false,  $clsChapter->strDefCountry,  16, 40));

   $clsGF->strStyleExtraLabel = 'padding-top: 2px;';
   echoT($clsGF->strLabelRow          ('Default Date Format', $clsChapter->strDateFormatRadio, 1));
   $clsGF->strStyleExtraLabel = 'padding-top: 8px;';
   echoT($clsGF->strLabelRow          ('Default Accounting Country', $clsChapter->strACORadio, 1));

   $clsGF->strExtraFieldText = form_error('ddlTZ');
   echoT($clsGF->strLabelRow          ('Time Zone', $clsChapter->strTimeZoneDDL, 1));
*/
echoT($clsGF->strSubmitEntry('Save', 2, 'cmdSubmit', 'width: 90pt;'));
echoT('</table>');
closeBlock();
echoT(form_close('<br><br>'));
echoT('<script type="text/javascript">frmAddEdit.addEditEntry.focus();</script>');
// Accounting country of Origin
//-------------------------------
$clsForm->strStyleExtraLabel = 'vertical-align: middle; ';
echoT($clsForm->strLabelRow('Accounting Country', $formData->strACORadio, 1));
//-------------------------------
// Past Due Duration
//-------------------------------
$clsForm->strStyleExtraLabel = '';
echoT($clsForm->strLabelRow('Past Due Duration', 'At least 
                      <select name="ddlPastDue">
                        <option value="1">1</option> 
                        <option value="2" selected>2</option> 
                        <option value="3">3</option> 
                        <option value="4">4</option> 
                        <option value="5">5</option> 
                        <option value="6">6</option> 
                      </select> months past due', 1));
//-------------------------------
// Include inactive?
//-------------------------------
echoT($clsForm->strGenericCheckEntry('Include inactive?', 'chkInactive', 'true', false, false));
//----------------------
// Sponsorship Program
//----------------------
//   $clsForm->strExtraFieldText = form_error('rdoGender');
//   echoT($clsForm->strGenderRadioEntry('Gender', 'rdoGender', true, $formData->rdoGender));
$clsForm->strStyleExtraLabel = ' text-align: left; ';
echoT($clsForm->strSubmitEntry('Run Report', 2, 'cmdSubmit', 'width: 150pt;'));
echoT('</table>' . form_close('<br>'));
echoT('<script type="text/javascript">skillsRpt.addEditEntry.focus();</script>');
closeblock();
//----------------------
// report start
//----------------------
$clsForm->strStyleExtraLabel = 'vertical-align: top; padding-top: 6pt; ';
echoT(strDatePicker('datepicker1', false));
$clsForm->strExtraFieldText = form_error('txtSDate');
echoT($clsForm->strGenericDatePicker('Start', 'txtSDate', true, $txtSDate, 'frmNewDeposit', 'datepicker1'));
//----------------------
// report end
//----------------------
echoT(strDatePicker('datepicker2', true));
$clsForm->strExtraFieldText = form_error('txtEDate');
echoT($clsForm->strGenericDatePicker('End', 'txtEDate', true, $txtEDate, 'frmNewDeposit', 'datepicker2'));
//------------------------
// Bank
//------------------------
$clsForm->strExtraFieldText = form_error('txtBank');
echoT($clsForm->strGenericTextEntry('Bank', 'txtBank', false, $formData->txtBank, 30, 80));
//------------------------
// Account
//------------------------
$clsForm->strExtraFieldText = form_error('txtAccount');
echoT($clsForm->strGenericTextEntry('Account', 'txtAccount', false, $formData->txtAccount, 30, 80));
//----------------------
// Notes
//----------------------
$clsForm->strStyleExtraLabel = 'vertical-align: top; padding-top: 3pt; ';
echoT($clsForm->strNotesEntry('Notes', 'txtNotes', false, $formData->txtNotes, 4, 40));
echoT($clsForm->strSubmitEntry('Create Deposit', 2, 'cmdSubmit', 'text-align: center;'));
echoT('</table>' . form_close('<br>'));
closeblock();
$clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel';
$clsForm->strEntryClass = 'enpView';
$clsForm->bValueEscapeHTML = false;
$clsForm->strStyleExtraLabel = 'width: 100pt;';
openBlock('Ajax Demo', '');
echoT('<table>');
//-------------------------------
// Name
//-------------------------------
$clsForm->strStyleExtraLabel = 'vertical-align: top; padding-top: 6pt; ';
$clsForm->strExtraFieldText = form_error('ddlNames');
$clsForm->strID = 'donorName';
$clsForm->strTxtControlExtra = ' onkeyup="showResult(this.value)" autocomplete="off" ';
$clsForm->strExtraFieldText = '
                <span id="notFound" style="visibility: hidden;">(no matches)</span> 
                <br><select name="ddlNames" id="selNames" 
                        size="4" 
                        style="visibility: hidden;"
                        onchange="populateSearch()"></select>
                        
                        ';
echoT('<!--  ------------------------------------------------------------- -->');
echoT('<!--  ------------------------------------------------------------- -->');
echoT($clsForm->strGenericTextEntry('Donor Name', 'txtDonor', true, '', 40, 120));
echoT('<!--  ------------------------------------------------------------- -->');
echoT('<!--  ------------------------------------------------------------- -->');
echoT($clsForm->strSubmitEntry('Save', 2, 'cmdSubmit', 'width: 100pt;'));
echoT(form_close());
echoT('<script type="text/javascript">frmAjaxDemo.donorName.focus();</script>');
echoT('</table>');
closeBlock();
$clsForm->bValueEscapeHTML = false;
$attributes = array('name' => 'frmClientDups', 'id' => 'frmAddEdit');
echoT(form_open('clients/client_dups/opts', $attributes));
openBlock('Consolidate Duplicate Client Records', '');
echoT('<table class="enpView">');
//----------------------
// Good client ID
//----------------------
$clsForm->strStyleExtraLabel = 'width: 120pt; padding-top: 8px;';
$clsForm->strExtraFieldText = form_error('txtGoodCID');
$clsForm->strID = 'addEditEntry';
echoT($clsForm->strGenericTextEntry('Correct client ID', 'txtGoodCID', true, $formData->txtGoodCID, 8, 8));
//----------------------
// Bad client ID
//----------------------
$clsForm->strExtraFieldText = '<br><i>Enter one or more comma-seperated duplicate client IDs.</i>' . form_error('txtBadCIDs');
$clsForm->strID = 'addEditEntry';
echoT($clsForm->strGenericTextEntry('Duplicate client IDs', 'txtBadCIDs', true, $formData->txtBadCIDs, 60, 120));
echoT($clsForm->strSubmitEntry('Review Client Records', 2, 'cmdSubmit', 'text-align: center;'));
echoT('</table>' . form_close('<br>'));
echoT('<script type="text/javascript">frmAddEdit.addEditEntry.focus();</script>');
echoT('<i>This utility will transfer client information from the duplicate records<br>
             to the correct record. The transferred information includes:<br>
             <ul>
                <li>Sponsorships
                <li>Multi-record personalized client table information
                <li>Client program enrollment and attendance records
             </ul>
          You will have an opportunity to review the client records before 
          committing to this operation.<br>');
closeBlock();