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


PHP openBlock函数代码示例

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


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

示例1: showCheckInForm

function showCheckInForm($clsForm, $item, $CICOrec, $formData, $strCICO_ID)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    global $genumDateFormat;
    openBlock('Check Out / Loan Inventory Item', '');
    echoT('<table class="enpView">');
    echoT($clsForm->strLabelRow('historyID', $strCICO_ID, 1));
    echoT($clsForm->strLabelRow('Item', htmlspecialchars($item->strItemName), 1));
    //----------------------
    // Checked Out To
    //----------------------
    echoT($clsForm->strLabelRow('Checked out to', htmlspecialchars($CICOrec->strCheckedOutTo), 1));
    //----------------------
    // Deposit
    //----------------------
    echoT($clsForm->strLabelRow('Deposit', htmlspecialchars($CICOrec->strSecurity), 1));
    //----------------------
    // Date checked out
    //----------------------
    echoT($clsForm->strLabelRow('Date checked out', date($genumDateFormat, $CICOrec->dteCheckedOut), 1));
    //----------------------
    // Date Returned
    //----------------------
    echoT(strDatePicker('datepicker1', true, 1970));
    $clsForm->strExtraFieldText = form_error('txtDateCICO');
    echoT($clsForm->strGenericDatePicker('Date Checked In', 'txtDateCICO', true, $formData->txtDateCICO, 'frmCICO', 'datepicker1'));
    //----------------------
    // Notes
    //----------------------
    $clsForm->strExtraFieldText = form_error('txtCI_Notes');
    $clsForm->strStyleExtraLabel = 'padding-top: 4px;';
    echoT($clsForm->strNotesEntry('Check-in Notes', 'txtCI_Notes', false, $formData->txtCI_Notes, 3, 50));
}
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:35,代码来源:cico_add_edit_view.php

示例2: 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

示例3: openShowAccts

function openShowAccts(&$attributes, $strLabel, $strDivID, $bSuper)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    $attributes->bCloseDiv = false;
    $attributes->divID = $strDivID . 'Div';
    // set to null for no hide/show
    $attributes->divImageID = $strDivID . 'DivImg';
    // set to null for no hide/show
    openBlock($strLabel, '', $attributes);
    echoT('<br>
         <table class="enpRpt">
            <tr>
               <td class="enpRptTitle" colspan="8">' . $strLabel . '
               </td>
            </tr>');
    echoT('
         <tr>
            <td class="enpRptLabel">acct ID</td>
            <td class="enpRptLabel">Status</td>
            <td class="enpRptLabel">Password</td>
            <td class="enpRptLabel">User Name</td>
            <td class="enpRptLabel">Name</td>
            <td class="enpRptLabel">Address</td>
            <td class="enpRptLabel">Contact</td>');
    if (!$bSuper) {
        echoT('
            <td class="enpRptLabel">Location</td>');
    }
    echoT('</tr>');
}
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:32,代码来源:accounts_su_vol_view.php

示例4: 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

示例5: 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

示例6: 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

示例7: 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

示例8: 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

示例9: imgDocsViaContext

function imgDocsViaContext($strTitle, $strLabel, $strDivGroup, $lNumContextGroups, $contextGroups)
{
    //---------------------------------------------------------------------
    // images/docs by context
    //---------------------------------------------------------------------
    $attributes = new stdClass();
    $attributes->lTableWidth = 900;
    $attributes->lUnderscoreWidth = 400;
    $attributes->divID = $strDivGroup;
    $attributes->divImageID = $strDivGroup . 'Img';
    $attributes->bStartOpen = true;
    $attributes->bAddTopBreak = true;
    openBlock($strTitle, '', $attributes);
    if ($lNumContextGroups == 0) {
        echoT('<i>There are no ' . $strLabel . ' that meet your search criteria.</i>');
    } else {
        echoT('<table>');
        foreach ($contextGroups as $cg) {
            echoT('
                  <tr>
                     <td style="width: 100pt;"><b>' . $cg->strGroup . '</b>
                     </td>
                     <td style="width: 30pt; text-align: right;">' . number_format($cg->lNumRecs) . '
                     </td>
                  </tr>');
        }
        echoT('</table>');
    }
    $attributes->bCloseDiv = true;
    closeBlock($attributes);
}
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:31,代码来源:image_doc_overview_view.php

示例10: 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

示例11: 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

示例12: 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

示例13: showReporting

function showReporting($clsRpt, $grant, $lGrantID, $attributes)
{
    //--------------------------------------------------
    //
    //--------------------------------------------------
    $attributes->divID = 'reportingDiv';
    $attributes->divImageID = 'reportingDivImg';
    openBlock('Reporting Requirements', '', $attributes);
    $attributes->bCloseDiv = true;
    closeBlock($attributes);
}
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:11,代码来源:grant_record_view.php

示例14: openUserBlock

function openUserBlock($strLabel, $idx)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    $attributes = new stdClass();
    $attributes->lTableWidth = 1200;
    $attributes->divID = 'userBlockDiv' . $idx;
    $attributes->divImageID = 'userBlockDivImg' . $idx;
    $attributes->bStartOpen = true;
    openBlock($strLabel, '', $attributes);
}
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:12,代码来源:user_via_access_view.php

示例15: 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


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