function showAccts($bSuper, $acct)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    $lAcctID = $acct->us_lKeyID;
    $bActive = !$acct->us_bInactive;
    if ($bActive) {
        $strColor = ' color: #000; ';
        $strLinkActInAct = '<br>' . strLink_AcctActiveInactive($lAcctID, !$bActive, 'Inactivate account', true);
    } else {
        $strLinkActInAct = '<br>' . strLink_AcctActiveInactive($lAcctID, !$bActive, 'Activate account', true);
        $strColor = ' color: #999; ';
    }
    echoT('
      <tr class="makeStripe">
         <td class="enpRpt" style="text-align: center; ' . $strColor . '" nowrap>' . strLinkEdit_Account($lAcctID, 'Edit account', true) . '&nbsp;' . str_pad($lAcctID, 5, '0', STR_PAD_LEFT) . '
         </td>
         <td class="enpRpt" style="text-align: center; ' . $strColor . '">' . ($bActive ? 'Active' : 'Inactive') . '<br>' . $strLinkActInAct . '
         </td>

         <td class="enpRpt" style="text-align: center; ' . $strColor . '">' . strLinkEdit_ResetPWord($lAcctID, true, 'Reset password') . '&nbsp;' . strLinkEdit_ResetPWord($lAcctID, false, 'Reset') . '
         </td>
         <td class="enpRpt" style=" ' . $strColor . ' width: 100pt;">' . htmlspecialchars($acct->us_strUserName) . '
         </td>
         <td class="enpRpt" style=" ' . $strColor . ' width: 120pt;">' . $acct->strSafeNameLF . '
         </td>
         <td class="enpRpt" style=" ' . $strColor . ' width: 120pt;">' . $acct->strAddress . '
         </td>
         <td class="enpRpt" style="width: 160pt; ' . $strColor . '">
            <table style="width: 100%;">
               <tr><td style="width: 26%; padding-top: 0px;padding-bottom: 0px;"><b>phone: </b></td><td>' . htmlspecialchars($acct->us_strPhone) . '</td></tr>
               <tr><td style="width: 26%; padding-top: 0px;padding-bottom: 0px;"><b>cell: </b></td><td>' . htmlspecialchars($acct->us_strCell) . '</td></tr>
               <tr><td style="width: 26%; padding-top: 0px;padding-bottom: 0px;"><b>email: </b></td><td>' . htmlspecialchars($acct->us_strEmail) . '</td></tr>
            </table>
         </td>');
    //      if (!$bSuper){
    //         echoT('
    //            <td class="enpRpt" style=" '.$strColor.' width: 200pt;">'
    //               .htmlspecialchars($acct->strChapterName).'
    //            </td>');
    //      }
    echoT('</tr>');
}
    echoT($clsRpt->writeCell('<i>No volunteers match your search criteria</i>', '', '', $lNumCols));
    echoT($clsRpt->closeReport());
} else {
    foreach ($vols as $vol) {
        $bInactive = $vol->bInactive;
        $lVolID = $vol->lKeyID;
        $lAcctID = $vol->lAcctID;
        if ($bInactive) {
            $strColor = ' color: #888;';
        } else {
            $strColor = '';
        }
        if ($bInactive) {
            $strLinkResetPW = $strLinkAddMiscAct = $strLinkAddNewAssoc = $strLinkTraining = '';
        } else {
            $strLinkResetPW = strLinkEdit_ResetPWord($lAcctID, true, 'Password') . '&nbsp;' . strLinkEdit_ResetPWord($lAcctID, false, 'Password') . '<br>';
            $strLinkAddMiscAct = strLinkAdd_VolMgrAddMiscVolActivity($lVolID, 'Vol. activity', true, ' id="otherVAct_' . $lVolID . '" ') . '&nbsp;' . strLinkAdd_VolMgrAddMiscVolActivity($lVolID, 'Vol. activity', false) . '<br>';
            $strLinkAddNewAssoc = strLinkAdd_PatientAssociation($lVolID, 'Add association', true, ' id="pvAssoc_' . $lVolID . '" ') . '&nbsp;' . strLinkAdd_PatientAssociation($lVolID, 'Add association', false) . '<br>';
            $strLinkTraining = strLinkView_VMgrViewVolTraining($lVolID, 'Training Log', true, ' id="vTrain_' . $lVolID . '" ') . '&nbsp;' . strLinkView_VMgrViewVolTraining($lVolID, 'Training Log', false);
        }
        echoT($clsRpt->openRow(true));
        echoT($clsRpt->writeCell(strLinkView_VolRecord($lVolID, 'View record', true, ' id="vvolRec_' . $lVolID . '" ') . '&nbsp;' . str_pad($lVolID, 5, '0', STR_PAD_LEFT), 60, 'text-align: center;' . $strColor));
        echoT($clsRpt->writeCell(($vol->bInactive ? 'No' : 'Yes') . '&nbsp;' . strLink_VolActiveInactive($lVolID, $bInactive, 'Set to ' . ($bInactive ? 'active' : 'inactive'), true), 60, 'text-align: center;' . $strColor));
        //---------------------------
        // name
        //---------------------------
        echoT($clsRpt->writeCell($vol->strSafeNameLF . '<br><br>' . strLinkView_VMgrViewVolLog($lVolID, 'Volunteer Log', true) . '&nbsp;' . strLinkView_VMgrViewVolLog($lVolID, 'Volunteer Log', false) . '<br>', 220, $strColor));
        //---------------------------
        // address
        //---------------------------
        $strPC = trim(strPhoneCell($vol->strPhone, $vol->strCell, true, true));