{$resultMessage}\n"; } $ret .= GetMembershipStatus($memberID, false); $ret = "
\n{$ret}\n
\n"; return DesignBoxContent( _t("_Membership Status"), $ret, $oTemplConfig -> PageCompStatus_db_num ); } /** * payment subscriptions */ function PageCompSubscriptions( $memberID, $statusMessage ) { global $oTemplConfig; global $date_format; ob_start(); $subscriptionsRes = db_res( "SELECT `PaymentSubscriptions`.`TransactionID`, DATE_FORMAT(`PaymentSubscriptions`.`StartDate`, '$date_format' ) AS StartDate, `PaymentSubscriptions`.`Period`, `PaymentSubscriptions`.`ChargesNumber`, `Transactions`.`Description` FROM `PaymentSubscriptions` LEFT JOIN `Transactions` ON `PaymentSubscriptions`.`TransactionID` = `Transactions`.`ID` WHERE `Transactions`.`IDMember` = {$memberID} AND `Transactions`.`Status` = 'declined'" ); $daysLangString = _t('_days'); $cancelLangString = _t('_Cancel'); ?>
{$statusMessage}
\n"; ?>
 
PageCompSubscriptions_db_num ); } /** * purchase memberships */ function PageCompMemberships() { global $site; global $doll; global $oTemplConfig; $expl_win_h = 400; //not global $purchasableOnly = true; $purchasableMemberships = getMemberships($purchasableOnly); $ret = ''; foreach ($purchasableMemberships as $ID => $name) { ob_start(); ?>
" style="width: 100px; vertical-align: middle;" />
\n{$ret}\n\n"; return DesignBoxContent( _t("_Membership NEW"), $ret, $oTemplConfig -> PageCompMemberships_db_num ); } ?>