当前位置: 首页>>代码示例>>PHP>>正文


PHP closeBlock函数代码示例

本文整理汇总了PHP中closeBlock函数的典型用法代码示例。如果您正苦于以下问题:PHP closeBlock函数的具体用法?PHP closeBlock怎么用?PHP closeBlock使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了closeBlock函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: showVolStats

function showVolStats($clsRpt, $strLabel, $volStats, $bUseAtts, $attributes, $lMonth)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    if ($bUseAtts) {
        $attributes->bCloseDiv = false;
        $attributes->divID = 'group_' . $lMonth . '_Div';
        $attributes->divImageID = 'group_' . $lMonth . '_DivImg';
        openBlock($strLabel, '', $attributes);
    } else {
        openBlock($strLabel, '');
    }
    echoT($clsRpt->openReport());
    // new volunteers
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('# New Volunteers:') . $clsRpt->writeCell(number_format($volStats->lNewVols)) . $clsRpt->closeRow());
    // inactive volunteers
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('# Inactive Volunteers:') . $clsRpt->writeCell(number_format($volStats->lInactiveVols) . ' <i>(volunteers who became inactive in this time period)</i>') . $clsRpt->closeRow());
    // patient visit hours
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Patient Visit Hours:') . $clsRpt->writeCell(number_format($volStats->sngPVisitHrs, 2) . ' hrs.') . $clsRpt->closeRow());
    // other volunteer hours
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Other Volunteer Hours:') . $clsRpt->writeCell(number_format($volStats->sngNonPVHrs, 2) . ' hrs.') . $clsRpt->closeRow());
    // Total volunteer training hours
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Vol. Training Hours:') . $clsRpt->writeCell(number_format($volStats->sngVolTrainingHrs, 2) . ' hrs.') . $clsRpt->closeRow());
    // Total volunteer training sessions
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Vol. Training Sessions:') . $clsRpt->writeCell(number_format($volStats->lNumTrainingSessions)) . $clsRpt->closeRow());
    echoT($clsRpt->closeReport());
    if ($bUseAtts) {
        $attributes->bCloseDiv = true;
        closeBlock($attributes);
    } else {
        closeBlock();
    }
}
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:34,代码来源:vol_stats_view.php

示例2: showJobCodes

function showJobCodes($strLabel, $lNumJC, $jobCodes, $bUseAtts, $attributes, $lMonth)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    if ($bUseAtts) {
        $attributes->bCloseDiv = false;
        $attributes->divID = 'group_' . $lMonth . '_Div';
        $attributes->divImageID = 'group_' . $lMonth . '_DivImg';
        openBlock($strLabel, '', $attributes);
    } else {
        openBlock($strLabel, '');
    }
    if ($lNumJC == 0) {
        echoT('<i>No job code information for this month.</i><br>');
    } else {
        echoT('<br>
            <table class="enpRpt">
               <tr>
                  <td class="enpRptLabel">
                     Job Code
                  </td>
                  <td class="enpRptLabel">
                     # Activities
                  </td>
                  <td class="enpRptLabel">
                     Hours
                  </td>
               </tr>');
        $sngTotHrs = 0.0;
        foreach ($jobCodes as $jc) {
            $sngTotHrs += $jc->dHours;
            echoT('
               <tr class="makeStripe">
                  <td class="enpRpt">' . htmlspecialchars($jc->strActivity) . '
                  </td>
                  <td class="enpRpt" style="text-align: center;">' . number_format($jc->lNumActs) . '
                  </td>
                  <td class="enpRpt" style="text-align: right;">' . number_format($jc->dHours, 2) . ' hrs
                  </td>
               </tr>');
        }
        echoT('
            <tr class="makeStripe">
               <td class="enpRptLabel" colspan="2">
                  Total
               </td>
               <td class="enpRpt" style="text-align: right;"><b>' . number_format($sngTotHrs, 2) . ' hrs</b>
               </td>
            </tr>');
        echoT('
            </table><br>');
    }
    if ($bUseAtts) {
        $attributes->bCloseDiv = true;
        closeBlock($attributes);
    } else {
        closeBlock();
    }
}
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:60,代码来源:job_code_view.php

示例3: userTable

function userTable(&$clsForm, &$utable, &$errMessages, $strSafeAttendLabel, $strSafeEnrollLabel)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    global $glLabelWidth, $gbInDiv, $gdivAtt;
    openBlock($utable->strTableLabel, '');
    echoT('<table class="enpView" >');
    $clsForm->strStyleExtraLabel = 'width: ' . $glLabelWidth . 'pt; padding-top: 6px;';
    if ($utable->bCProg) {
        if ($utable->bEnrollment) {
            cProgramEDefaultFields($clsForm, $utable, $errMessages, $strSafeEnrollLabel);
        } else {
            cProgramADefaultFields($clsForm, $utable, $errMessages, $strSafeAttendLabel);
        }
    }
    if (isset($utable->ufields)) {
        foreach ($utable->ufields as $ufield) {
            showUserField($clsForm, $ufield, $errMessages);
        }
    }
    echoT($clsForm->strLabelRowOneCol('<i>* Required fields</i>', 1));
    if ($gbInDiv) {
        $gdivAtt->bCloseDiv = true;
        echoT('</table>' . "\n" . strCloseBlock($gdivAtt));
        closeBlock();
    } else {
        echoT('</table>');
        closeBlock();
    }
}
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:31,代码来源:uf_multi_rec_add_edit_view.php

示例4: userTables

function userTables(&$clsForm, $lNumTables, &$utables, &$errMessages)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    global $glLabelWidth;
    if ($lNumTables == 0) {
        return;
    }
    foreach ($utables as $utable) {
        $strBLabel = '<font style="font-variant: normal; font-size: 9pt;">';
        if ($utable->bMultiEntry) {
            $strBLabel .= ' <i>(adds new record)</i>';
        } else {
            $strBLabel .= ' <i>(updates existing record)</i>';
        }
        $strBLabel .= '</font>';
        openBlock(htmlspecialchars($utable->strUserTableName) . $strBLabel, '');
        echoT('<table class="enpView" >');
        $clsForm->strStyleExtraLabel = 'width: ' . $glLabelWidth . 'pt; padding-top: 6px;';
        foreach ($utable->ufields as $ufield) {
            showUserField($clsForm, $ufield, $errMessages);
        }
        echoT($clsForm->strLabelRowOneCol('<i>* Required fields</i>', 1));
        echoT('</table>');
        closeBlock();
    }
}
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:28,代码来源:custom_form_data_entry_view.php

示例5: showAuctionInfo

function showAuctionInfo(&$clsRpt, &$auction, $lAuctionID)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    global $genumDateFormat;
    $attributes = new stdClass();
    $attributes->lUnderscoreWidth = 600;
    openBlock('Silent Auction Overview: <b>' . htmlspecialchars($auction->strAuctionName) . '</b>', strLinkView_AuctionRecord($lAuctionID, 'View auction record', true) . '&nbsp;&nbsp;' . strLinkEdit_Auction($lAuctionID, 'Edit auction information', true) . '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' . strLinkRem_Auction($lAuctionID, 'Remove this auction record', true, true), $attributes);
    echoT($clsRpt->openReport());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Auction ID:') . $clsRpt->writeCell(str_pad($lAuctionID, 5, '0', STR_PAD_LEFT)) . $clsRpt->closeRow() . $clsRpt->openRow() . $clsRpt->writeLabel('Name:') . $clsRpt->writeCell(htmlspecialchars($auction->strAuctionName)) . $clsRpt->closeRow());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Date of Auction:') . $clsRpt->writeCell(date($genumDateFormat, $auction->dteAuction)) . $clsRpt->closeRow());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Contact:') . $clsRpt->writeCell(htmlspecialchars($auction->strContact)) . $clsRpt->closeRow() . $clsRpt->openRow() . $clsRpt->writeLabel('Email:') . $clsRpt->writeCell(htmlspecialchars($auction->strEmail)) . $clsRpt->closeRow());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Phone:') . $clsRpt->writeCell(htmlspecialchars($auction->strPhone)) . $clsRpt->closeRow() . $clsRpt->openRow() . $clsRpt->writeLabel('Location:') . $clsRpt->writeCell(htmlspecialchars($auction->strLocation)) . $clsRpt->closeRow());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Account/Campaign:') . $clsRpt->writeCell(htmlspecialchars($auction->strAccount . ' / ' . $auction->strCampaign)) . $clsRpt->closeRow());
    // Accounting Country
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Accounting Country:') . $clsRpt->writeCell($auction->strFlagImg . ' ' . $auction->strCurrencySymbol) . $clsRpt->closeRow());
    // description
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Description:') . $clsRpt->writeCell(nl2br(htmlspecialchars($auction->strDescription))) . $clsRpt->closeRow());
    // default bidsheet
    if (is_null($auction->lBidsheetID)) {
        echoT($clsRpt->openRow() . $clsRpt->writeLabel('Default Bid Sheet:') . $clsRpt->writeCell('<i>Not set!</i>&nbsp;&nbsp; Click ' . strLinkView_BidSheets('here', false) . ' to work with bid sheet templates.') . $clsRpt->closeRow());
    } else {
        echoT($clsRpt->openRow() . $clsRpt->writeLabel('Default Bid Sheet:') . $clsRpt->writeCell(htmlspecialchars($auction->strSheetName) . ' ' . strLinkView_BidSheetRecord($auction->lDefaultBidSheet, 'View bid sheet', true) . ' (based on template "' . $auction->tInfo->title . '")') . $clsRpt->closeRow());
    }
    echoT($clsRpt->closeReport());
    closeBlock();
}
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:28,代码来源:auction_overview_view.php

示例6: showUFTableInfo

function showUFTableInfo(&$clsRpt, &$schema, $lTableID)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    $table =& $schema[$lTableID];
    /*
    echo('<font class="debug">'.substr(__FILE__, strrpos(__FILE__, '\\'))
       .': '.__LINE__.'<br>$schema   <pre>');
    echo(htmlspecialchars( print_r($schema, true))); echo('</pre></font><br>');
    echo('<font class="debug">'.substr(__FILE__, strrpos(__FILE__, '\\'))
       .': '.__LINE__.'<br>$table   <pre>');
    echo(htmlspecialchars( print_r($table, true))); echo('</pre></font><br>');
    */
    //      $lTableID = $table->lTableID;
    openBlock('User Table <b>' . htmlspecialchars($table->strUserTableName) . '</b>', '');
    echoT($clsRpt->openReport());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Table ID:') . $clsRpt->writeCell(str_pad($lTableID, 5, '0', STR_PAD_LEFT)) . $clsRpt->closeRow() . $clsRpt->openRow() . $clsRpt->writeLabel('User Name:') . $clsRpt->writeCell(htmlspecialchars($table->strUserTableName)) . $clsRpt->closeRow());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Internal Name:') . $clsRpt->writeCell(htmlspecialchars($table->strDataTableName)) . $clsRpt->closeRow());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Parent Table:') . $clsRpt->writeCell(htmlspecialchars($table->enumAttachType)) . $clsRpt->closeRow());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Multi-Entry?:') . $clsRpt->writeCell($table->bMultiEntry ? 'Yes' : 'No') . $clsRpt->closeRow());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Field Prefix:') . $clsRpt->writeCell(htmlspecialchars($table->strFieldPrefix)) . $clsRpt->closeRow());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Data Table Key FN:') . $clsRpt->writeCell(htmlspecialchars($table->strDataTableKeyID)) . $clsRpt->closeRow());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Data Table Foreign FN:') . $clsRpt->writeCell(htmlspecialchars($table->strDataTableFID)) . $clsRpt->closeRow());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('# Fields:') . $clsRpt->writeCell($table->lNumFields) . $clsRpt->closeRow());
    echoT($clsRpt->closeReport());
    closeBlock();
}
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:28,代码来源:debug_uftable_view.php

示例7: closeUserBlock

function closeUserBlock()
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    $attributes = new stdClass();
    $attributes->bCloseDiv = true;
    closeBlock($attributes);
}
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:9,代码来源:user_via_access_view.php

示例8: showChargeRecENPStats

function showChargeRecENPStats($clsRpt, $cRec)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    openBlock('Record Information', '');
    echoT($clsRpt->showRecordStats($cRec->dteOrigin, $cRec->strStaffCFName . ' ' . $cRec->strStaffCLName, $cRec->dteLastUpdate, $cRec->strStaffLFName . ' ' . $cRec->strStaffLLName, $clsRpt->strWidthLabel));
    closeBlock();
}
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:9,代码来源:charge_record_view.php

示例9: showPVisitReview

function showPVisitReview($clsRpt, $strLabel, $visitInfo, $bUseAtts, $attributes, $lMonth)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    if ($bUseAtts) {
        $attributes->bCloseDiv = false;
        $attributes->divID = 'group_' . $lMonth . '_Div';
        $attributes->divImageID = 'group_' . $lMonth . '_DivImg';
        openBlock($strLabel, '', $attributes);
    } else {
        openBlock($strLabel, '');
    }
    echoT($clsRpt->openReport());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('# Patient Visits:') . $clsRpt->writeCell(number_format($visitInfo->lNumVisits)) . $clsRpt->closeRow());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Hours:') . $clsRpt->writeCell(number_format($visitInfo->sngHrsMins, 2) . ' hrs') . $clsRpt->closeRow());
    // those served
    $strURServed = '<ul style="margin-top: 0px; margin-left: -20px; margin-bottom: 0px;">
             <li>Patient: ' . number_format($visitInfo->lPatientServed) . '</li>
             <li>Caregiver: ' . number_format($visitInfo->lCaregiverServed) . '</li>
             <li>Bereaved: ' . number_format($visitInfo->lBereavedServed) . '</li>
             <li>Other: ' . number_format($visitInfo->lOtherServed) . '</li>
          </ul>';
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Those Served:') . $clsRpt->writeCell($strURServed) . $clsRpt->closeRow());
    // activities
    $strURActivity = '<ul style="margin-top: 0px; margin-left: -20px; margin-bottom: 0px;">' . "\n";
    foreach ($visitInfo->activities as $act) {
        $strURActivity .= '<li>' . htmlspecialchars($act->strActivity) . ': ' . number_format($act->lNumActs) . '</li>' . "\n";
    }
    $strURActivity .= '</ul>';
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Activities:') . $clsRpt->writeCell($strURActivity) . $clsRpt->closeRow());
    // Interventions
    $strULInt = '<ul style="margin-top: 0px; margin-left: -20px; margin-bottom: 0px;">
             <li>Companionship: ' . number_format($visitInfo->interventions->lCompanionship) . '</li>
             <li>Caregiver Relief: ' . number_format($visitInfo->interventions->lCaregiverRelief) . '</li>
             <li>Emotional Support: ' . number_format($visitInfo->interventions->lEmotionalSupport) . '</li>
             <li>Socialization: ' . number_format($visitInfo->interventions->lSocialization) . '</li>
             <li>Bereavement: ' . number_format($visitInfo->interventions->lBereavement) . '</li>
             <li>Telephone Call: ' . number_format($visitInfo->interventions->lTelephoneCall) . '</li>
             <li>Excursion/Errands: ' . number_format($visitInfo->interventions->lExcursionErrands) . '</li>
             <li>Music/Pet/Art: ' . number_format($visitInfo->interventions->lMusicPetArt) . '</li>
             <li>Food Preparation: ' . number_format($visitInfo->interventions->lFoodPrep) . '</li>
             <li>Household Chores: ' . number_format($visitInfo->interventions->lHouseholdChores) . '</li>
             <li>Other: ' . number_format($visitInfo->interventions->lOther) . '</li>
          </ul><br>
          <i>Note: intervention total may exceed total visits, since <br>
             multiple interventions may occur with each visit.</i>';
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Interventions:') . $clsRpt->writeCell($strULInt) . $clsRpt->closeRow());
    echoT($clsRpt->closeReport());
    if ($bUseAtts) {
        $attributes->bCloseDiv = true;
        closeBlock($attributes);
    } else {
        closeBlock();
    }
}
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:56,代码来源:pvisit_review_view.php

示例10: showSponViaProgram

function showSponViaProgram($strSponProgDDL, $strButton)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    openBlock('Sponsors Via Program', '');
    echoT(form_open('sponsors/spon_search/viaProgram'));
    echoT($strButton . '<select name="ddlSponProg">' . $strSponProgDDL . '</select></form>');
    echoT(form_close(''));
    closeBlock();
}
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:11,代码来源:search_opts_view.php

示例11: showitemENPStats

function showitemENPStats(&$clsRpt, &$item)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    $attributes = new stdClass();
    $attributes->divID = 'aucENPStats';
    $attributes->divImageID = 'aucENPStatsDivImg';
    openBlock('Record Information', '', $attributes);
    echoT($clsRpt->showRecordStats($item->dteOrigin, $item->strCFName . ' ' . $item->strCLName, $item->dteLastUpdate, $item->strLFName . ' ' . $item->strLLName, $clsRpt->strWidthLabel));
    $attributes = new stdClass();
    $attributes->bCloseDiv = true;
    closeBlock($attributes);
}
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:14,代码来源:item_record_view.php

示例12: displayOrgDataEntryStats

function displayOrgDataEntryStats($strLabel, &$clsRpt, &$attributes, $bUseAtts, $locID, $stats)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    $strStyleHeaders = ' style="border-bottom: 1px solid black; font-weight: normal; font-size:11pt;" ';
    $bSU = is_null($locID);
    if ($bUseAtts) {
        $attributes->bCloseDiv = false;
        $attributes->divID = 'group_' . $locID . '_Div';
        $attributes->divImageID = 'group_' . $locID . '_DivImg';
        openBlock($strLabel, '', $attributes);
    } else {
        openBlock($strLabel, '');
    }
    echoT($clsRpt->openReport());
    //--------------------
    // Log-Ins
    //--------------------
    echoT($clsRpt->openRow() . $clsRpt->writeTitle('Log-Ins', 366, '', 3, 1, $strStyleHeaders) . $clsRpt->closeRow());
    if ($bSU) {
        echoT($clsRpt->openRow() . $clsRpt->writeLabel('Sucessful Log-Ins:') . $clsRpt->writeCell(number_format($stats->lLogInGood)) . $clsRpt->closeRow());
        echoT($clsRpt->openRow() . $clsRpt->writeLabel('Unsucessful Log-Ins:') . $clsRpt->writeCell(number_format($stats->lLogInBad)) . $clsRpt->closeRow());
        echoT($clsRpt->openRow() . $clsRpt->writeLabel('Log-Ins <span style="font-weight: normal;">(Super User)</span>:') . $clsRpt->writeCell(number_format($stats->lLogInsSU)) . $clsRpt->closeRow());
    }
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Log-Ins <span style="font-weight: normal;">(Vol. Mgrs.)</span>:') . $clsRpt->writeCell(number_format($stats->lLogInsVM)) . $clsRpt->closeRow());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Log-Ins <span style="font-weight: normal;">(Vol.)</span>:') . $clsRpt->writeCell(number_format($stats->lLogInsVols)) . $clsRpt->closeRow());
    //--------------------
    // Patient Visits
    //--------------------
    echoT($clsRpt->blankRow());
    echoT($clsRpt->openRow() . $clsRpt->writeTitle('Patient Visits', 366, '', 3, 1, $strStyleHeaders) . $clsRpt->closeRow());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Records Entered <span style="font-weight: normal;">(Vol. Mgr.)</span>:') . $clsRpt->writeCell(number_format($stats->lPVRecsViaVM)) . $clsRpt->closeRow());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Records Entered <span style="font-weight: normal;">(Vol.)</span>:') . $clsRpt->writeCell(number_format($stats->lPVRecsViaVol)) . $clsRpt->closeRow());
    //-----------------------
    // Other Vol. Activities
    //-----------------------
    echoT($clsRpt->blankRow());
    echoT($clsRpt->openRow() . $clsRpt->writeTitle('Other Vol. Activities', 366, '', 3, 1, $strStyleHeaders) . $clsRpt->closeRow());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Records Entered <span style="font-weight: normal;">(Vol. Mgr.)</span>:') . $clsRpt->writeCell(number_format($stats->lVolActViaVM)) . $clsRpt->closeRow());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Records Entered <span style="font-weight: normal;">(Vol.)</span>:') . $clsRpt->writeCell(number_format($stats->lVolActViaVol)) . $clsRpt->closeRow());
    echoT($clsRpt->closeReport());
    if ($bUseAtts) {
        $attributes->bCloseDiv = true;
        closeBlock($attributes);
    } else {
        closeBlock();
    }
}
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:49,代码来源:su_data_entry_view.php

示例13: showCustomLocationTableInfo

function showCustomLocationTableInfo($strPT, $lNumPTablesAvail)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    $attributes = new stdClass();
    $attributes->lTableWidth = 1000;
    $attributes->divID = 'clientLTable';
    $attributes->divImageID = 'clientLTableDivImg';
    $attributes->bStartOpen = false;
    openBlock('Personalized Tables <span style="font-size: 9pt;">(' . $lNumPTablesAvail . ')</span>', '', $attributes);
    echoT($strPT);
    $attributes = new stdClass();
    $attributes->bCloseDiv = true;
    closeBlock($attributes);
}
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:16,代码来源:client_loc_rec_view.php

示例14: showGrants

function showGrants($clsRpt, $provider, $lProviderID)
{
    //--------------------------------------------------
    // grants section
    //--------------------------------------------------
    $attributes = new stdClass();
    $attributes->lTableWidth = 1200;
    $attributes->lUnderscoreWidth = 400;
    $attributes->divID = 'grantDiv';
    $attributes->divImageID = 'grantDivImg';
    $attributes->bStartOpen = true;
    $attributes->bAddTopBreak = true;
    openBlock('Grants <span style="font-size: 9pt;">(' . $provider->lNumGrants . ')</span>', strLinkAdd_Grant($lProviderID, 'Add new grant', true) . '&nbsp;' . strLinkAdd_Grant($lProviderID, 'Add new grant', false), $attributes);
    if ($provider->lNumGrants > 0) {
        echoT('<table class="enpView" >');
        echoT('<tr>
                  <td class="enpRptLabel">
                     grantID
                  </td>
                  <td class="enpRptLabel">
                     Name
                  </td>
                  <td class="enpRptLabel">
                     ACO
                  </td>
                  <td class="enpRptLabel">
                     Notes
                  </td>
               </tr>');
        foreach ($provider->grants as $grant) {
            $lGrantID = $grant->lGrantID;
            echoT('<tr class="makeStripe">
                  <td class="enpRpt" style="text-align: center;">' . str_pad($lGrantID, 5, '0', STR_PAD_LEFT) . '&nbsp;' . strLinkView_Grant($lGrantID, 'View grant record', true) . '
                  </td>
                  <td class="enpRpt" style="width: 180pt;">' . htmlspecialchars($grant->strGrantName) . '
                  </td>
                  <td class="enpRpt" style="text-align: center;">' . $grant->strFlagImg . '
                  </td>
                  <td class="enpRpt" style="width: 260pt;">' . nl2br(htmlspecialchars($grant->strNotes)) . '
                  </td>
               </tr>');
        }
        echoT('</table>');
    }
    $attributes->bCloseDiv = true;
    closeBlock($attributes);
}
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:47,代码来源:provider_record_view.php

示例15: showSearchOption

function showSearchOption(&$clsForm, &$formErr, $strBlockLabel, $idx, $strTxtFieldLabel)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    openBlock($strBlockLabel, '');
    echoT('<table cellpadding="0" cellspacing="0">');
    $attributes = array('name' => 'frmPSearch' . $idx, 'id' => 'pSearch' . $idx);
    echoT(form_open('people/people_search/searchOpts', $attributes));
    echoT(form_hidden('searchIdx', $idx));
    echoT('<tr><td style="vertical-align: top;">' . $clsForm->strSubmitButton('Search', 'submit', '') . '</td>
              <td style="width: 225pt;">
                 &nbsp;&nbsp;<input type="text" name="txtSearch' . $idx . '" style="width: 50pt;">' . $strTxtFieldLabel . $formErr[$idx] . '
              </td></tr>');
    echoT('</table>');
    echoT(form_close('<br>'));
    closeBlock();
}
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:18,代码来源:search_opts_view.php


注:本文中的closeBlock函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。