• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP strLinkView_BizRecord函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: showItemInfo

function showItemInfo(&$clsRpt, &$item, &$auction, $lPackageID, $lItemID)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    global $genumDateFormat;
    openBlock('Silent Auction Item', strLinkEdit_AuctionItem($lPackageID, $lItemID, 'Edit item information', true) . '  ' . '       ' . strLinkRem_AuctionItem($lPackageID, $lItemID, 'Remove this item record', true, true));
    echoT($clsRpt->openReport());
    // Item ID
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Item ID:') . $clsRpt->writeCell(str_pad($lItemID, 5, '0', STR_PAD_LEFT)) . $clsRpt->closeRow());
    // Item Name
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Name:') . $clsRpt->writeCell($item->strSafeItemName) . $clsRpt->closeRow());
    // Date Obtained
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Date Obtained:') . $clsRpt->writeCell(date($genumDateFormat, $item->dteObtained)) . $clsRpt->closeRow());
    // Item Donor
    if ($item->itemDonor_bBiz) {
        $strNameLink = ' <i>(business)</i> ' . strLinkView_BizRecord($item->lItemDonorID, 'View business record', true);
    } else {
        $strNameLink = ' ' . strLinkView_PeopleRecord($item->lItemDonorID, 'View people record', true);
    }
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Item Donor:') . $clsRpt->writeCell($item->itemDonor_safeName . $strNameLink) . $clsRpt->closeRow());
    // Donor Acknowledgement
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Donor Ack.:') . $clsRpt->writeCell(htmlspecialchars($item->strDonorAck)) . $clsRpt->closeRow());
    // Est. Value
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Est. Value:') . $clsRpt->writeCell($auction->strCurrencySymbol . ' ' . number_format($item->curEstAmnt, 2)) . $clsRpt->closeRow());
    // Out-of-Pocket
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Out-of-Pocket:') . $clsRpt->writeCell($auction->strCurrencySymbol . ' ' . number_format($item->curOutOfPocket, 2)) . $clsRpt->closeRow());
    // Public Notes
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Public Notes:') . $clsRpt->writeCell(nl2br(htmlspecialchars($item->strDescription))) . $clsRpt->closeRow());
    // Private Notes
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Private Notes:') . $clsRpt->writeCell(nl2br(htmlspecialchars($item->strInternalNotes))) . $clsRpt->closeRow());
    echoT($clsRpt->closeReport());
    closeBlock();
}
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:34,代码来源:item_record_view.php


示例2: writeAutoChargeRow

function writeAutoChargeRow($clsACInfo)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    $lCID = $clsACInfo->lKeyID;
    $lSponID = $clsACInfo->lSponsorshipID;
    $bBiz = $clsACInfo->bBiz;
    $lFID = $clsACInfo->lForeignID;
    $lClientID = $clsACInfo->lClientID;
    if (is_null($lClientID)) {
        $strClientRow = 'n/a';
    } else {
        $strClientRow = strLinkView_ClientRecord($lClientID, 'View Client', true) . ' ' . str_pad($lClientID, 5, '0', STR_PAD_LEFT) . ' ' . $clsACInfo->strClientSafeNameFL . ' / ' . htmlspecialchars($clsACInfo->strLocation);
    }
    if ($bBiz) {
        $strFLink = strLinkView_BizRecord($lFID, 'View business record', true);
    } else {
        $strFLink = strLinkView_PeopleRecord($lFID, 'View people record', true);
    }
    echoT('
      <tr>
         <td class="enpRpt" style="text-align:center">' . strLinkView_SponsorCharge($lCID, 'View charge record', true) . '&nbsp;' . str_pad($lCID, 5, '0', STR_PAD_LEFT) . '
         </td>');
    echoT('
         <td class="enpRpt" style="text-align:center">' . strLinkView_Sponsorship($lSponID, 'View sponsorship record', true) . '&nbsp;' . str_pad($lSponID, 5, '0', STR_PAD_LEFT) . '
         </td>');
    //------------------------------
    // sponsor
    //------------------------------
    echoT('
         <td class="enpRpt">' . $strFLink . '&nbsp;' . $clsACInfo->strSponSafeNameFL . '
         </td>');
    //------------------------------
    // charge
    //------------------------------
    echoT('
         <td class="enpRpt" style="text-align: right;">' . $clsACInfo->strCurSymbol . '&nbsp;' . number_format($clsACInfo->curChargeAmnt, 2) . '&nbsp;' . $clsACInfo->strFlagImage . '
         </td>');
    //------------------------------
    // client
    //------------------------------
    echoT('
         <td class="enpRpt">' . $strClientRow . '
         </td>');
    echoT('
      </tr>');
}
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:48,代码来源:auto_charge_record_view.php


示例3: showBizInfo

function showBizInfo($clsDateTime, $clsRpt, $biz, $dupIDs)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    global $gbDateFormatUS, $genumDateFormat, $glclsDTDateFormat;
    // Biz ID
    $lBizID = $biz->lKeyID;
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Business ID:') . $clsRpt->writeCell(strLinkView_BizRecord($lBizID, 'View business record', true) . '&nbsp;' . str_pad($lBizID, 5, '0', STR_PAD_LEFT)) . $clsRpt->closeRow());
    // Name
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Name:') . $clsRpt->writeCell($biz->strSafeName) . $clsRpt->closeRow());
    // Address
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Address:') . $clsRpt->writeCell($biz->strAddress) . $clsRpt->closeRow());
    // Phone
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Phone:') . $clsRpt->writeCell(htmlspecialchars(strPhoneCell($biz->strPhone, $biz->strCell))) . $clsRpt->closeRow());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Consolidated With:') . $clsRpt->writeCell('Business IDs: ' . implode(', ', $dupIDs)) . $clsRpt->closeRow());
}
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:17,代码来源:dup_complete_biz_view.php


示例4: showBizInfo

function showBizInfo($clsDateTime, $clsRpt, $biz)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    $lBID = $biz->lKeyID;
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Business ID:') . $clsRpt->writeCell(strLinkView_BizRecord($lBID, 'View business record', true) . '&nbsp;' . str_pad($lBID, 5, '0', STR_PAD_LEFT)) . $clsRpt->closeRow());
    // Name
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Name:') . $clsRpt->writeCell($biz->strSafeName) . $clsRpt->closeRow());
    // Address
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Address:') . $clsRpt->writeCell($biz->strAddress) . $clsRpt->closeRow());
    // Phone
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Phone:') . $clsRpt->writeCell(htmlspecialchars(strPhoneCell($biz->strPhone, $biz->strCell))) . $clsRpt->closeRow());
    /* -------------------------------------
    echo('<font class="debug">'.substr(__FILE__, strrpos(__FILE__, '\\'))
       .': '.__LINE__.'<br>$biz   <pre>');
    echo(htmlspecialchars( print_r($biz, true))); echo('</pre></font><br>');
    // ------------------------------------- */
}
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:19,代码来源:dup_rec_review_view.php


示例5: showPayRec

function showPayRec($clsRpt, &$pRec, $lSponID, $lFPayerID, $lPayID)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    global $genumDateFormat;
    openBlock('Sponsor payment record ', strLinkEdit_SponsorPayment($lSponID, $lFPayerID, $lPayID, 'Edit payment record', true) . '&nbsp;&nbsp;' . strLinkAdd_SponsorPayment($lSponID, 'Add new payment', true) . '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' . strLinkRem_SponsorPayment($lSponID, $lPayID, 'Remove payment', true, true));
    echoT($clsRpt->openReport() . $clsRpt->openRow() . $clsRpt->writeLabel('Payment ID:') . $clsRpt->writeCell(str_pad($lPayID, 5, '0', STR_PAD_LEFT), '', '', 1, 1, 'id="sponPayID"') . $clsRpt->closeRow());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Amount:') . $clsRpt->writeCell($pRec->strCurSymbol . ' ' . number_format($pRec->curPaymentAmnt, 2) . ' ' . $pRec->strFlagImage) . $clsRpt->closeRow());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Date of payment:') . $clsRpt->writeCell(date($genumDateFormat, $pRec->dtePayment)) . $clsRpt->closeRow());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Payment type:') . $clsRpt->writeCell(htmlspecialchars($pRec->strPaymentType)) . $clsRpt->closeRow());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Check #:') . $clsRpt->writeCell(htmlspecialchars($pRec->strCheckNum)) . $clsRpt->closeRow());
    if ($pRec->lSponPeopleID == $pRec->lDonorID) {
        $strPayer = $pRec->strSponSafeNameFL . ' (sponsor)';
    } else {
        if ($pRec->bDonorBiz) {
            $strPayer = strLinkView_BizRecord($pRec->lDonorID, 'View business record', true) . ' ';
        } else {
            $strPayer = strLinkView_PeopleRecord($pRec->lDonorID, 'View people record', true) . ' ';
        }
        $strPayer .= $pRec->strDonorSafeNameFL . ' <b>(THIRD PARTY PAYER)</b>';
    }
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Payer:') . $clsRpt->writeCell($strPayer) . $clsRpt->closeRow() . $clsRpt->closeReport());
}
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:24,代码来源:payment_record_view.php


示例6: writeAuctionItemsTable

function writeAuctionItemsTable(&$package, &$items, $bDescriptions)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    $lPackageID = $package->lKeyID;
    echoT('
         <table class="enpRpt">
            <tr>
               <td class="enpRptTitle" colspan="8">
                  Items in the package <b>"' . $package->strPackageSafeName . '"</b>
               </td>
            </tr>');
    echoT('
         <tr>
            <td class="enpRptLabel">
               item ID
            </td>
            <td class="enpRptLabel">
               &nbsp;
            </td>
            <td class="enpRptLabel">
               &nbsp;
            </td>
            <td class="enpRptLabel">
               Name
            </td>
            <td class="enpRptLabel">
               Est. Value
            </td>
            <td class="enpRptLabel">
               Out of Pocket
            </td>
            <td class="enpRptLabel">
               From
            </td>
         </tr>');
    $curTotVal = $curTotOOP = 0.0;
    foreach ($items as $item) {
        $lItemID = $item->lKeyID;
        if ($item->itemDonor_bBiz) {
            $strNameLink = ' <i>(business)</i> ' . strLinkView_BizRecord($item->lItemDonorID, 'View business record', true);
        } else {
            $strNameLink = ' ' . strLinkView_PeopleRecord($item->lItemDonorID, 'View people record', true);
        }
        echoT('
            <tr class="makeStripe">
               <td class="enpRpt" style="text-align: center; width: 20pt;">' . str_pad($lItemID, 5, '0', STR_PAD_LEFT) . '&nbsp;' . strLinkView_AuctionItem($lItemID, 'View auction item', true) . '
               </td>
               <td class="enpRpt" style="text-align: center;">' . strLinkEdit_AuctionItem($lPackageID, $lItemID, 'Edit Item', true) . '
               </td>
               <td class="enpRpt" style="text-align: center; width: 20pt;">' . strLinkRem_AuctionItem($lPackageID, $lItemID, 'Remove auction item', true, true) . '
               </td>
               <td class="enpRpt" style="width: 140pt;">' . $item->strSafeItemName . '
               </td>
               <td class="enpRpt" style="width: 40pt; text-align: right;">' . number_format($item->curEstAmnt, 2) . '
               </td>
               <td class="enpRpt" style="width: 40pt; text-align: right;">' . number_format($item->curOutOfPocket, 2) . '
               </td>
               <td class="enpRpt" style="width: 110pt;">' . $item->itemDonor_safeName . $strNameLink . '
               </td>
            </tr>');
        $curTotVal += $item->curEstAmnt;
        $curTotOOP += $item->curOutOfPocket;
    }
    echoT('
         <tr class="makeStripe">
            <td class="enpRpt" colspan="4">
               <b>Total:</b>
            </td>
            <td class="enpRpt" style="width: 40pt; text-align: right;"><b>' . number_format($curTotVal, 2) . '</b>
            </td>
            <td class="enpRpt" style="width: 40pt; text-align: right;"><b>' . number_format($curTotOOP, 2) . '</b>
            </td>
            <td colspan="2">
               &nbsp;
            </td>
         </tr>');
    echoT('
         </table><br>');
}
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:81,代码来源:auction_helper.php


示例7: showSponsorsPayments

function showSponsorsPayments(&$sponInfo, &$clsForm, &$linkOpts, &$validation)
{
    //                 $strSort, $lSponProgID, $lStartRec, $lRecsPerPage){
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    openSponsorPaymentTable($clsForm, $linkOpts);
    foreach ($sponInfo as $spon) {
        $lSponID = $spon->lKeyID;
        $lFID = $spon->lForeignID;
        echoT('<input type="hidden" name="hdnAOCID[' . $lSponID . ']" value="' . $spon->lCommitACO . '">' . "\n");
        echoT('<input type="hidden" name="hdnFID[' . $lSponID . ']"   value="' . $spon->lForeignID . '">' . "\n");
        if ($spon->bSponBiz) {
            $strFLink = 'bizID: ' . str_pad($lFID, 6, '0', STR_PAD_LEFT) . '&nbsp;' . strLinkView_BizRecord($lFID, 'View business record (new window)', true, 'target="_blank"');
        } else {
            $strFLink = 'peopleID: ' . str_pad($lFID, 6, '0', STR_PAD_LEFT) . '&nbsp;' . strLinkView_PeopleRecord($lFID, 'View people record (new window)', true, 'target="_blank"');
        }
        $strRadioName = 'rdoPayType' . $lSponID;
        $lClientID = $spon->lClientID;
        if (is_null($lClientID)) {
            $strClient = 'client: n/a';
        } else {
            $strClient = 'client: ' . str_pad($lClientID, 6, '0', STR_PAD_LEFT) . strLinkView_ClientRecord($lClientID, 'View client record (new window)', true, 'target="_blank"') . '&nbsp;' . $spon->strClientSafeNameFL;
        }
        echoT('
         <tr class="makeStripe">
            <td class="enpRpt" style="text-align: center;">' . str_pad($lSponID, 6, '0', STR_PAD_LEFT) . '&nbsp;' . strLinkView_Sponsorship($lSponID, 'View sponsorship (new window)', true, 'target="_blank"') . '
            </td>');
        echoT('
            <td class="enpRpt" style="width: 230pt;"><b>' . $spon->strSponSafeNameLF . '</b><br>' . $strFLink . '<br>' . $strClient . '<br>
               program: ' . htmlspecialchars($spon->strSponProgram) . '
            </td>');
        echoT('
            <td class="enpRpt" style="text-align: right;">' . $spon->strCommitACOCurSym . '&nbsp;' . number_format($spon->curCommitment, 2) . '&nbsp;' . $spon->strCommitACOFlagImg . '
            </td>');
        echoT('
            <td class="enpRpt" style="vertical-align: top;">' . $spon->strCommitACOCurSym . '&nbsp;' . '<input type="text"
                     name="' . $spon->strAmountFN . '" style="width: 60pt; text-align: right;"
                     onChange="bUserDataEntered = true;"
                     value="' . $spon->txtAmount . '">' . $validation->amount[$lSponID] . '<br><span style="font-size: 8pt;">' . $spon->strLastPay . '</span>
            </td>');
        echoT('
            <td class="enpRpt">
               <table cellpadding="0" cellspacing="0">
                  <tr>
                     <td style="text-align: right; font-size: 8pt;">
                        check #:
                     </td>
                     <td>
                        <input type="text" style="width: 60pt;"
                           onChange="bUserDataEntered = true;"
                           name="' . $spon->strCheckFN . '"
                           value="' . $spon->txtCheckNum . '">
                     </tr>');
        echoT('     <tr>
                     <td style="text-align: right; vertical-align: top; font-size: 8pt; padding-top: 4px;">
                        payment type:
                     </td>
                     <td>' . $spon->strDDLPayType . $validation->paymentType[$lSponID] . '
                     </td>
                  </tr>');
        //----------------------
        // Payment Date
        //----------------------
        echoT('     <tr>
                     <td style="text-align: right; vertical-align: top; font-size: 8pt; padding-top: 6px;">
                        payment date:
                     </td>
                     <td>' . $clsForm->strGenericDatePicker('', 'txtPayDate' . $lSponID, true, $spon->txtPayDate, 'frmBatchPayments', 'datepicker' . $lSponID, '', true) . $validation->paymentDate[$lSponID] . '
                     </td>
                  </tr>');
        echoT('
               </table>
            </td>');
        echoT('
         </tr>');
        echoT(strDatePicker('datepicker' . $lSponID, true));
    }
    closeSponsorPaymentTable();
}
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:80,代码来源:batch_payments_form_view.php


示例8: showGiftContactInfo

function showGiftContactInfo($clsRpt, $lGID, $lFID, $bBiz, $clsPeopleRec, $clsBiz, $strDonor)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    if ($bBiz) {
        $strLink = strLinkView_BizRecord($lFID, 'View business/organization record', true);
        $strAddr = $clsBiz->strAddress;
        $strPhone = $clsBiz->strPhone;
    } else {
        $strLink = strLinkView_PeopleRecord($lFID, 'View people record', true);
        $strAddr = $clsPeopleRec->strAddress;
        $strPhone = $clsPeopleRec->strPhone;
    }
    openBlock('Donor', '');
    echoT($clsRpt->openReport() . $clsRpt->openRow() . $clsRpt->writeLabel('Donor:') . $clsRpt->writeCell($strLink . ' ' . $strDonor) . $clsRpt->closeRow());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Donor Type:') . $clsRpt->writeCell($bBiz ? 'Business/Organization' : 'Individual') . $clsRpt->closeRow());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Address:') . $clsRpt->writeCell($strAddr) . $clsRpt->closeRow());
    echoT($clsRpt->openRow() . $clsRpt->writeLabel('Phone:') . $clsRpt->writeCell($strPhone) . $clsRpt->closeRow());
    echoT($clsRpt->closeReport(''));
    closeBlock();
}
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:22,代码来源:donation_record_view.php


示例9: showPeopleBizContacts

function showPeopleBizContacts($lPID, $people, $lNumContacts, $contacts, &$clsRpt)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    $attributes = new stdClass();
    $attributes->lTableWidth = 900;
    $attributes->divID = 'peopleBizCon';
    $attributes->divImageID = 'preBizConDivImg';
    openBlock('Business Contacts <span style="font-size: 9pt;">(' . $lNumContacts . ')</span>', '', $attributes);
    if ($lNumContacts == 0) {
        echoT('<i>There are no business contacts for this person.</i><br>');
    } else {
        echoT($clsRpt->openReport());
        foreach ($contacts as $clsCon) {
            echoT($clsRpt->openRow() . $clsRpt->writeCell(strLinkView_BizRecord($clsCon->lBizID, 'View business record', true)) . $clsRpt->writeCell(htmlspecialchars($clsCon->strBizName)));
            if ($clsCon->strRelationship . '' == '') {
                echoT($clsRpt->writeCell('&nbsp;'));
            } else {
                echoT($clsRpt->writeCell('(' . htmlspecialchars($clsCon->strRelationship) . ')'));
            }
            if ($clsCon->bSoftCash) {
                echoT($clsRpt->writeCell('<img src="' . DL_IMAGEPATH . '/misc/dollar.gif" border="0" title="soft cash relationship">'));
            } else {
                echoT($clsRpt->writeCell('&nbsp;'));
            }
            echoT($clsRpt->closeRow());
        }
        echoT($clsRpt->closeReport());
    }
    $attributes = new stdClass();
    $attributes->bCloseDiv = true;
    closeBlock($attributes);
}
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:34,代码来源:people_record_view.php


示例10: strLinkView_ViaRecType

function strLinkView_ViaRecType($enumSearchType, $lFKey01 = null, $lFKey02 = null)
{
    //-----------------------------------------------------------------
    //
    //-----------------------------------------------------------------
    switch ($enumSearchType) {
        case CENUM_CONTEXT_HOUSEHOLD:
            return strLinkView_Household($lFKey01, $lFKey02, 'View household', true);
            break;
        case CENUM_CONTEXT_PEOPLE:
            return strLinkView_PeopleRecord($lFKey01, 'View people record', true);
            break;
        case CENUM_CONTEXT_BIZ:
            return strLinkView_BizRecord($lFKey01, 'View business/prganization record', true);
            break;
        case CENUM_CONTEXT_CLIENT:
            return strLinkView_ClientRecord($lFKey01, 'View client record', true);
            break;
        case CENUM_CONTEXT_SPONSORSHIP:
            return strLinkView_Sponsorship($lFKey01, 'View sponsor record', true);
            break;
        default:
            screamForHelp($enumSearchType . ': invalid link type<br>error on <b>line:</b> ' . __LINE__ . '<br><b>file: </b>' . __FILE__ . '<br><b>function: </b>' . __FUNCTION__);
            break;
    }
}
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:26,代码来源:link_helper.php


示例11: echoT

    echoT($clsRpt->writeCell($bz->strAddress, 160));
    echoT($clsRpt->writeCell(strPhoneCell($bz->strPhone, $bz->strCell, true, true) . '<br>' . $bz->strEmailFormatted));
    if ($bz->lNumBiz == 0) {
        echoT($clsRpt->writeCell('<i>none</i>', 260));
    } else {
        $strOut = '<table width="100%">' . "\n";
        foreach ($bz->biz as $biz) {
            if ($biz->bSoftCash) {
                $strSoft = '<img src="' . IMGLINK_DOLLAR . '" border="0" title="Soft cash relationship">';
            } else {
                $strSoft = '';
            }
            if ($biz->strRelationship . '' == '') {
                $strRel = '&nbsp;';
            } else {
                $strRel = '&nbsp;<i>(' . htmlspecialchars($biz->strRelationship) . ')</i>';
            }
            $strOut .= '
               <tr>
                  <td style="width: 130pt;">' . strLinkView_BizRecord($biz->bizID, 'View business record', true) . '&nbsp;' . $biz->strBizSafeName . '
                  </td>
                  <td>' . $strRel . ' ' . $strSoft . '
                  </td>
               </tr>' . "\n";
        }
        $strOut .= '</table>' . "\n";
        echoT($clsRpt->writeCell($strOut, 300));
    }
    echoT($clsRpt->closeRow());
}
echoT($clsRpt->closeReport());
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:31,代码来源:contact_dir.php


示例12: foreach

         <td class="enpRptLabel">
            Date of Donation
         </td>
         <td class="enpRptLabel">
            Account
         </td>
         <td class="enpRptLabel">
            Campaign
         </td>
      </tr>');
foreach ($gifts as $gift) {
    $lGiftID = $gift->gi_lKeyID;
    $lDonorID = $gift->gi_lForeignID;
    $bBizGift = $gift->pe_bBiz;
    if ($bBizGift) {
        $strLinkDonor = strLinkView_BizRecord($lDonorID, 'View business record', true);
    } else {
        $strLinkDonor = strLinkView_PeopleRecord($lDonorID, 'View people record', true);
    }
    echoT('
            <tr class="makeStripe">
               <td class="enpRpt">' . strLinkView_GiftsRecord($lGiftID, 'View gift record', true) . '&nbsp;' . str_pad($lGiftID, 5, '0', STR_PAD_LEFT) . '
               </td>
               <td class="enpRpt">' . $strLinkDonor . '&nbsp;' . str_pad($lDonorID, 5, '0', STR_PAD_LEFT) . '
               </td>
               <td class="enpRpt">' . htmlspecialchars($gift->strImportID) . '
               </td>
               <td class="enpRpt">' . $gift->strSafeNameLF . '
               </td>
               <td class="enpRpt" style="text-align: right;">' . $gift->strFormattedAmnt . '
               </td>
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:31,代码来源:import_details_gifts.php


示例13: loadImgDocInfoViaContext

 private function loadImgDocInfoViaContext($enumContext, $imgDoc, $row)
 {
     //---------------------------------------------------------------------
     //
     //---------------------------------------------------------------------
     global $genumDateFormat, $glChapterID;
     $lFID = (int) $imgDoc->lForeignID;
     switch ($enumContext) {
         case CENUM_CONTEXT_CLIENT:
             $imgDoc->strNameLabel = 'Client';
             $imgDoc->strName = strLinkView_ClientRecord($lFID, 'View Client Record', true) . '&nbsp;' . str_pad($lFID, 6, '0', STR_PAD_LEFT) . '&nbsp;&nbsp;<b>' . htmlspecialchars($row->cr_strLName . ', ' . $row->cr_strFName) . '</b>';
             $imgDoc->strAddressLabel = 'Address';
             $imgDoc->strAddr = strBuildAddress($row->cr_strAddr1, $row->cr_strAddr2, $row->cr_strCity, $row->cr_strState, $row->cr_strCountry, $row->cr_strZip, true);
             $strPhone = strPhoneCell($row->cr_strPhone, $row->cr_strCell);
             if ($strPhone != '') {
                 $imgDoc->strAddr .= '<br>' . $strPhone;
             }
             break;
         case CENUM_CONTEXT_PEOPLE:
             $imgDoc->strNameLabel = 'Name';
             $imgDoc->strName = strLinkView_PeopleRecord($lFID, 'View People Record', true) . '&nbsp;' . str_pad($lFID, 6, '0', STR_PAD_LEFT) . '&nbsp;&nbsp;<b>' . htmlspecialchars($row->pe_strLName . ', ' . $row->pe_strFName) . '</b>';
             $imgDoc->strAddressLabel = 'Address';
             $imgDoc->strAddr = strBuildAddress($row->pe_strAddr1, $row->pe_strAddr2, $row->pe_strCity, $row->pe_strState, $row->pe_strCountry, $row->pe_strZip, true);
             $strPhone = strPhoneCell($row->pe_strPhone, $row->pe_strCell);
             if ($strPhone != '') {
                 $imgDoc->strAddr .= '<br>' . $strPhone;
             }
             break;
         case CENUM_CONTEXT_LOCATION:
             $imgDoc->strNameLabel = 'Client Location';
             $imgDoc->strName = strLinkView_ClientLocation($lFID, 'View client location', true) . '&nbsp;' . htmlspecialchars($row->cl_strLocation);
             break;
         case CENUM_CONTEXT_GRANTPROVIDER:
             $imgDoc->strNameLabel = 'Funder/Provider';
             $imgDoc->strName = strLinkView_GrantProvider($lFID, 'View funder/provider', true) . '&nbsp;' . htmlspecialchars($row->gpr_strGrantOrg);
             break;
         case CENUM_CONTEXT_INVITEM:
             $imgDoc->strNameLabel = 'Inventory Item';
             $imgDoc->strName = strLinkView_InventoryItem($lFID, 'View inventory item', true) . '&nbsp;' . htmlspecialchars($row->ivi_strItemName);
             break;
         case CENUM_CONTEXT_AUCTION:
             $imgDoc->strNameLabel = 'Silent Auction';
             $imgDoc->strName = strLinkView_AuctionRecord($lFID, 'View Auction', true) . '&nbsp;' . htmlspecialchars($row->auc_strAuctionName) . ' (' . date($genumDateFormat, dteMySQLDate2Unix($row->auc_dteAuctionDate)) . ')';
             break;
         case CENUM_CONTEXT_AUCTIONITEM:
             $imgDoc->strNameLabel = 'Auction Item';
             $imgDoc->strName = strLinkView_AuctionItem($lFID, 'View Auction Item', true) . '&nbsp;' . 'item: ' . htmlspecialchars($row->ait_strItemName) . '<br>package: ' . htmlspecialchars($row->ap_strPackageName) . '<br>auction: ' . htmlspecialchars($row->auc_strAuctionName);
             break;
         case CENUM_CONTEXT_AUCTIONPACKAGE:
             $imgDoc->strNameLabel = 'Auction Package';
             $imgDoc->strName = strLinkView_AuctionPackageRecord($lFID, 'View Auction Package', true) . '&nbsp;' . 'package: ' . htmlspecialchars($row->ap_strPackageName) . '<br>auction: ' . htmlspecialchars($row->auc_strAuctionName);
             break;
         case CENUM_CONTEXT_BIZ:
             $imgDoc->strNameLabel = 'Business/Organization Name';
             $imgDoc->strName = strLinkView_BizRecord($lFID, 'View Business/Organization Record', true) . '&nbsp;' . str_pad($lFID, 6, '0', STR_PAD_LEFT) . '&nbsp;&nbsp;<b>' . htmlspecialchars($row->pe_strLName) . '</b>';
             $imgDoc->strAddressLabel = 'Address';
             $imgDoc->strAddr = strBuildAddress($row->pe_strAddr1, $row->pe_strAddr2, $row->pe_strCity, $row->pe_strState, $row->pe_strCountry, $row->pe_strZip, true);
             $strPhone = strPhoneCell($row->pe_strPhone, $row->pe_strCell);
             if ($strPhone != '') {
                 $imgDoc->strAddr .= '<br>' . $strPhone;
             }
             break;
         case CENUM_CONTEXT_SPONSORSHIP:
             $bBiz = (bool) $row->pe_bBiz;
             if ($bBiz) {
                 $imgDoc->strNameLabel = 'Sponsor (Business/organization)';
                 $imgDoc->strName = strLinkView_PeopleRecord($lFID, 'View People Record', true) . '&nbsp;' . str_pad($lFID, 6, '0', STR_PAD_LEFT) . '&nbsp;&nbsp;<b>' . htmlspecialchars($row->pe_strLName . ', ' . $row->pe_strFName) . '</b>';
             } else {
                 $imgDoc->strNameLabel = 'Sponsor (Individual)';
                 $imgDoc->strName = strLinkView_BizRecord($lFID, 'View Business/Organization Record', true) . '&nbsp;' . str_pad($lFID, 6, '0', STR_PAD_LEFT) . '&nbsp;&nbsp;<b>' . htmlspecialchars($row->pe_strLName) . '</b>';
             }
             $imgDoc->strAddressLabel = 'Address';
             $imgDoc->strAddr = strBuildAddress($row->pe_strAddr1, $row->pe_strAddr2, $row->pe_strCity, $row->pe_strState, $row->pe_strCountry, $row->pe_strZip, true);
             $strPhone = strPhoneCell($row->pe_strPhone, $row->pe_strCell);
             if ($strPhone != '') {
                 $imgDoc->strAddr .= '<br>' . $strPhone;
             }
             break;
         case CENUM_CONTEXT_ORGANIZATION:
             $imgDoc->strNameLabel = 'Your organization';
             $imgDoc->strName = strLinkView_OrganizationRecord($lFID, 'View organization record', true) . '&nbsp;' . htmlspecialchars($row->ch_strChapterName);
             break;
         case CENUM_CONTEXT_STAFF:
             $imgDoc->strNameLabel = 'Staff Member';
             $imgDoc->strName = strLinkView_User($lFID, 'View staff member record', true) . '&nbsp;' . htmlspecialchars($row->strFirstName . ' ' . $row->strLastName);
             break;
         case CENUM_CONTEXT_VOLUNTEER:
             $imgDoc->strNameLabel = 'Name';
             $imgDoc->strName = strLinkView_Volunteer($lFID, 'View Volunteer Record', true) . '&nbsp;' . str_pad($lFID, 6, '0', STR_PAD_LEFT) . '&nbsp;&nbsp;<b>' . htmlspecialchars($row->pe_strLName . ', ' . $row->pe_strFName) . '</b>';
             $imgDoc->strAddressLabel = 'Address';
             $imgDoc->strAddr = strBuildAddress($row->pe_strAddr1, $row->pe_strAddr2, $row->pe_strCity, $row->pe_strState, $row->pe_strCountry, $row->pe_strZip, true);
             $strPhone = strPhoneCell($row->pe_strPhone, $row->pe_strCell);
             if ($strPhone != '') {
                 $imgDoc->strAddr .= '<br>' . $strPhone;
             }
             break;
         default:
             screamForHelp($enumContext . ': image context not currently implemented<br>error on line  <b> -- ' . __LINE__ . ' --</b>,<br>file ' . __FILE__ . ',<br>function ' . __FUNCTION__);
             break;
     }
//.........这里部分代码省略.........
开发者ID:nhom5UET,项目名称:tichhophethong,代码行数:101,代码来源:mimage_doc.php


示例14: packageHTMLSummary

 public function packageHTMLSummary()
 {
     //-----------------------------------------------------------------------
     // assumes user has called $cPackages->loadPackageByPacID($lPackageID);
     //-----------------------------------------------------------------------
     global $genumDateFormat;
     $params = array('enumStyle' => 'terse');
     $clsRpt = new generic_rpt($params);
     $clsRpt->setEntrySummary();
     $package =& $this->packages[0];
     $lAuctionID = $package->lAuctionID;
     $lPackageID = $package->lKeyID;
     $strOut = $clsRpt->openReport('', '') . $clsRpt->openRow(false) . $clsRpt->writeLabel('Auction Name:') . $clsRpt->writeCell(htmlspecialchars($package->strAuctionName)) . $clsRpt->closeRow() . $clsRpt->openRow(false) . $clsRpt->writeLabel('Overview:') . $clsRpt->writeCell(strLinkView_AuctionOverview($lAuctionID, 'Auction overview', true)) . $clsRpt->closeRow() . $clsRpt->openRow(false) . $clsRpt->writeLabel('Auction ID:') . $clsRpt->writeCell(str_pad($lAuctionID, 5, '0', STR_PAD_LEFT) . '&nbsp;' . strLinkView_AuctionRecord($lAuctionID, 'View auction record', true)) . $clsRpt->closeRow() . $clsRpt->openRow(false) . $clsRpt->writeLabel('Package Name:') . $clsRpt->writeCell($package->strPackageSafeName) . $clsRpt->closeRow() . $clsRpt->openRow(false) . $clsRpt->writeLabel('Package ID:') . $clsRpt->writeCell(str_pad($lPackageID, 5, '0', STR_PAD_LEFT) . '&nbsp;' . strLinkView_AuctionPackageRecord($lPackageID, 'View auction package record', true)) . $clsRpt->closeRow();
     if (is_null($package->lBidWinnerID)) {
         $strOut .= $clsRpt->openRow(false) . $clsRpt->writeLabel('Bid Winner:') . $clsRpt->writeCell('<i>Not set</i>') . $clsRpt->closeRow();
     } else {
         if ($package->bw_bBiz) {
             $strLink = strLinkView_BizRecord($package->lBidWinnerID, 'View business record', true);
         } else {
             $strLink = strLinkView_PeopleRecord($package->lBidWinnerID, 'View people record', true);
         }
         $strOut .= $clsRpt->openRow(false) . $clsRpt->writeLabel('Bid Winner:') . $clsRpt->writeCell($package->bw_strSafeName . '&nbsp;' . $strLink) . $clsRpt->closeRow();
     }
     $strOut .= $clsRpt->closeReport('<br>');
     return $strOut;
 }
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:26,代码来源:mpackages.php


示例15: strPeopleBizDupWarning

 function strPeopleBizDupWarning($bPeople, $strCheckBoxName, $lNumMatches, $matches)
 {
     //---------------------------------------------------------------------
     //
     //---------------------------------------------------------------------
     $strWarning = '';
     $strLabel1 = $bPeople ? 'people' : 'business/organization';
     $strLabel2 = $bPeople ? 'People' : 'Biz/Org';
     $strWarning = '<br><div class="formError" style="width: 400pt;">
          <b><i>Delightful Labor</i></b> has detected ' . $lNumMatches . ' ' . $strLabel1 . '
             records with similar names to your new entry.<br><br>
             To prevent duplicate records, please verify that your
             new ' . $strLabel1 . ' record <b><i>is not</i></b> in the database.<br>
         <table style="border:2px solid #ff0000; border-collapse:collapse;">
            <tr>
               <td class="enpRptTitle" colspan="3" style="background-color: #ffd3d3;">
                  ' . $strLabel2 . ' records in the database
               </td>
            </tr>
            <tr>
               <td class="enpRptLabel" style="background-color: #ffd3d3;">
                  ' . $strLabel2 . ' ID
               </td>
               <td class="enpRptLabel" style="background-color: #ffd3d3;">
                  Name
               </td>
               <td class="enpRptLabel" style="background-color: #ffd3d3;">
                  Address
               </td>';
     $strWarning .= '</tr>';
     foreach ($matches as $match) {
         $lKeyID = $match->lKeyID;
         if ($bPeople) {
             $strLink = strLinkView_PeopleRecord($lKeyID, 'View people record', true);
         } else {
             $strLink = strLinkView_BizRecord($lKeyID, 'View business/organization record', true);
         }
         $strWarning .= '
            <tr>
               <td class="enpRpt" style="text-align: center;background-color: #fff5f5;">' . str_pad($lKeyID, 6, '0', STR_PAD_LEFT) . '&nbsp;' . $strLink . '
               </td>
               <td class="enpRpt" style="background-color: #fff5f5;">' . $match->strSafeNameLF . '
               </td>
               <td class="enpRpt" style="background-color: #fff5f5;">' . $match->strAddress . '
               </td>';
         $strWarning .= '</tr>';
     }
     $strWarning .= '
         </table><br>
         <div style="width: 300pt; border: 1px solid black; padding: 3px 3px 6px 3px;
             background-color: #fff; vertical-align: middle;">
         <input type="checkbox" name="' . $strCheckBoxName . '" value="true">
         I have verified that this <b>IS NOT</b> a duplicate entry<br>
         </div>
        </div>';
     return $strWarning;
 }
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:57,代码来源:mdup_checker.php


示例16: strLinkView_BizRecord

 //---------------------------
 // sponsor name
 //---------------------------
 if ($showFields->bName) {
     if ($sponRec->bSponBiz) {
         $strLinkFID = 'business ID: ' . strLinkView_BizRecord($lFID, 'View business record', true);
     } else {
         $strLinkFID = 'people ID: ' . strLinkView_PeopleRecord($lFID, 'View people record', true);
     }
     $strLinkFID .= str_pad($lFID, 5, '0', STR_PAD_LEFT);
     $strHonoree = '';
     if ($showFields->bHonoree) {
         if ($sponRec->bHonoree) {
             $lHFID = $sponRec->lHonoreeID;
             if ($sponRec->bHonBiz) {
                 $strLinkHFID = 'business ID: ' . strLinkView_BizRecord($lHFID, 'View business record', true);
             } else {
                 $strLinkHFID = 'people ID: ' . strLinkView_PeopleRecord($lHFID, 'View people record', true);
             }
             $strLinkHFID .= str_pad($lHFID, 5, '0', STR_PAD_LEFT);
             $strHonoree = '<br><br>Honoree: ' . $sponRec->strHonSafeNameLF . '<br>' . $strLinkHFID;
         }
     }
     echoT('
           <td class="enpRpt" style="width: 130pt;' . $strIStyle . '">' . '<b>' . $sponRec->strSponSafeNameLF . '</b>' . '<br>' . $strLinkFID . $strHonoree . '<br>
             program: ' . htmlspecialchars($sponRec->strSponProgram) . '
          </td>');
 }
 //---------------------------
 // address / contact
 //---------------------------
开发者ID:simple-gifts,项目名称:Delightful-Labor,代码行数:31,代码来源:rpt_generic_spon_list.php


示例17: loadBizContext

该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP strLinkView_ClientRecord函数代码示例发布时间:2022-05-23
下一篇:
PHP strLen函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap