function chapterInfo($clsRpt, $strLabWidth, $chapterRec) { //--------------------------------------------------------------------- // //--------------------------------------------------------------------- $bUSDateFormat = $chapterRec->bUS_DateFormat; if ($bUSDateFormat) { $strDateFormat = 'US (m/d/Y)'; } else { $strDateFormat = 'Europe/India (d/m/Y)'; } openBlock('Your Organization', strLinkEdit_Chapter($chapterRec->lKeyID, 'Edit organization record', true) . ' ' . strLinkEdit_Chapter($chapterRec->lKeyID, 'Edit organization record', false)); echoT($clsRpt->openReport() . $clsRpt->openRow() . $clsRpt->writeLabel('Name:', $strLabWidth) . $clsRpt->writeCell(htmlspecialchars($chapterRec->strChapterName)) . $clsRpt->closeRow() . $clsRpt->openRow() . $clsRpt->writeLabel('Banner Tag:', $strLabWidth) . $clsRpt->writeCell(htmlspecialchars($chapterRec->strBannerTagLine)) . $clsRpt->closeRow() . $clsRpt->openRow() . $clsRpt->writeLabel('Address:', $strLabWidth) . $clsRpt->writeCell($chapterRec->strAddress) . $clsRpt->closeRow() . $clsRpt->openRow() . $clsRpt->writeLabel('Phone:', $strLabWidth) . $clsRpt->writeCell($chapterRec->strPhone) . $clsRpt->closeRow() . $clsRpt->openRow() . $clsRpt->writeLabel('Fax:', $strLabWidth) . $clsRpt->writeCell($chapterRec->strFax) . $clsRpt->closeRow() . $clsRpt->openRow() . $clsRpt->writeLabel('Email:', $strLabWidth) . $clsRpt->writeCell($chapterRec->strEmail) . $clsRpt->closeRow() . $clsRpt->openRow() . $clsRpt->writeLabel('Web Site:', $strLabWidth) . $clsRpt->writeCell($chapterRec->strWebSite) . $clsRpt->closeRow() . $clsRpt->closeReport()); $attributes = new stdClass(); $attributes->strExtraText = '<br>'; closeBlock($attributes); }
function chapterInfo($clsRpt, $strLabWidth, $chapterRec) { //--------------------------------------------------------------------- // //--------------------------------------------------------------------- global $gclsChapterVoc; $bUSDateFormat = $chapterRec->bUS_DateFormat; if ($bUSDateFormat) { $strDateFormat = 'US (m/d/Y)'; } else { $strDateFormat = 'Europe/India (d/m/Y)'; } openBlock('Your Organization', strLinkEdit_Chapter($chapterRec->lKeyID, 'Edit organization record', true)); echoT($clsRpt->openReport() . $clsRpt->openRow() . $clsRpt->writeLabel('Name:', $strLabWidth) . $clsRpt->writeCell(htmlspecialchars($chapterRec->strChapterName)) . $clsRpt->closeRow() . $clsRpt->openRow() . $clsRpt->writeLabel('Banner Tag:', $strLabWidth) . $clsRpt->writeCell(htmlspecialchars($chapterRec->strBannerTagLine)) . $clsRpt->closeRow() . $clsRpt->openRow() . $clsRpt->writeLabel('Address:', $strLabWidth) . $clsRpt->writeCell($chapterRec->strAddress) . $clsRpt->closeRow() . $clsRpt->openRow() . $clsRpt->writeLabel('Phone:', $strLabWidth) . $clsRpt->writeCell($chapterRec->strPhone) . $clsRpt->closeRow() . $clsRpt->openRow() . $clsRpt->writeLabel('Fax:', $strLabWidth) . $clsRpt->writeCell($chapterRec->strFax) . $clsRpt->closeRow() . $clsRpt->openRow() . $clsRpt->writeLabel('Email:', $strLabWidth) . $clsRpt->writeCell($chapterRec->strEmail) . $clsRpt->closeRow() . $clsRpt->openRow() . $clsRpt->writeLabel('Web Site:', $strLabWidth) . $clsRpt->writeCell($chapterRec->strWebSite) . $clsRpt->closeRow() . $clsRpt->openRow() . $clsRpt->writeLabel('Default Area Code:', $strLabWidth) . $clsRpt->writeCell($chapterRec->strDefAreaCode) . $clsRpt->closeRow() . $clsRpt->openRow() . $clsRpt->writeLabel('Default ' . $gclsChapterVoc->vocState . ':', $strLabWidth) . $clsRpt->writeCell($chapterRec->strDefState) . $clsRpt->closeRow() . $clsRpt->openRow() . $clsRpt->writeLabel('Default Country:', $strLabWidth) . $clsRpt->writeCell($chapterRec->strDefCountry) . $clsRpt->closeRow() . $clsRpt->openRow() . $clsRpt->writeLabel('Default Date Format:', $strLabWidth) . $clsRpt->writeCell($strDateFormat) . $clsRpt->closeRow() . $clsRpt->openRow() . $clsRpt->writeLabel('Time Zone:', $strLabWidth) . $clsRpt->writeCell($chapterRec->strTimeZone, '', '', 1, 1, ' id="orgTZ" ') . $clsRpt->closeRow() . $clsRpt->openRow() . $clsRpt->writeLabel('Default Accounting Country:', $strLabWidth) . $clsRpt->writeCell($chapterRec->strCountryName . ' ' . $chapterRec->strFlagImg) . $clsRpt->closeRow() . $clsRpt->closeReport()); $attributes = new stdClass(); $attributes->strExtraText = '<br>'; closeBlock($attributes); }