Changeset 9984 for trunk/membership.php
- Timestamp:
- 04/06/09 22:50:09 (3 years ago)
- File:
-
- 1 edited
-
trunk/membership.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/membership.php
r9975 r9984 54 54 case 'cancel_subscription': 55 55 $transactionID = (int)$_REQUEST['tran_id']; 56 $subscriptionArr = db_arr( "SELECT `sys_payment_subscriptions`.`TransactionID`, DATE_FORMAT(`sys_payment_subscriptions`.`StartDate`, '$date_format' ) AS StartDate, `sys_payment_subscriptions`.`Period`, ` Transactions`.`Description`, `sys_payment_providers`.`Caption` AS `ProviderCaption` FROM `sys_payment_subscriptions`57 LEFT JOIN ` Transactions` ON `sys_payment_subscriptions`.`TransactionID` = `Transactions`.`ID`58 LEFT JOIN `sys_payment_providers` ON ` Transactions`.`IDProvider` = `sys_payment_providers`.`ID`56 $subscriptionArr = db_arr( "SELECT `sys_payment_subscriptions`.`TransactionID`, DATE_FORMAT(`sys_payment_subscriptions`.`StartDate`, '$date_format' ) AS StartDate, `sys_payment_subscriptions`.`Period`, `sys_transactions`.`Description`, `sys_payment_providers`.`Caption` AS `ProviderCaption` FROM `sys_payment_subscriptions` 57 LEFT JOIN `sys_transactions` ON `sys_payment_subscriptions`.`TransactionID` = `sys_transactions`.`ID` 58 LEFT JOIN `sys_payment_providers` ON `sys_transactions`.`IDProvider` = `sys_payment_providers`.`ID` 59 59 WHERE `sys_payment_subscriptions`.`TransactionID` = {$transactionID}" ); 60 60 … … 149 149 ob_start(); 150 150 151 $subscriptionsRes = db_res( "SELECT `sys_payment_subscriptions`.`TransactionID`, DATE_FORMAT(`sys_payment_subscriptions`.`StartDate`, '$date_format' ) AS StartDate, `sys_payment_subscriptions`.`Period`, `sys_payment_subscriptions`.`ChargesNumber`, ` Transactions`.`Description` FROM `sys_payment_subscriptions`152 LEFT JOIN ` Transactions` ON `sys_payment_subscriptions`.`TransactionID` = `Transactions`.`ID`153 WHERE ` Transactions`.`IDMember` = {$memberID}154 AND ` Transactions`.`Status` = 'declined'" );151 $subscriptionsRes = db_res( "SELECT `sys_payment_subscriptions`.`TransactionID`, DATE_FORMAT(`sys_payment_subscriptions`.`StartDate`, '$date_format' ) AS StartDate, `sys_payment_subscriptions`.`Period`, `sys_payment_subscriptions`.`ChargesNumber`, `sys_transactions`.`Description` FROM `sys_payment_subscriptions` 152 LEFT JOIN `sys_transactions` ON `sys_payment_subscriptions`.`TransactionID` = `sys_transactions`.`ID` 153 WHERE `sys_transactions`.`IDMember` = {$memberID} 154 AND `sys_transactions`.`Status` = 'declined'" ); 155 155 $daysLangString = _t('_days'); 156 156 $cancelLangString = _t('_Cancel');
Note: See TracChangeset
for help on using the changeset viewer.