X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-earnings.php;h=f551ef47b7591c74e7b59193e56a1fa6505a87ab;hb=f6014bce7255a915872f2f463247440c0d58f9a9;hp=3842cd7709a5bf7e8320c144ea74f8f581e82d67;hpb=4a0e224c4e1754dbc2151fd707a926521dbafa7f;p=mailer.git diff --git a/inc/modules/member/what-earnings.php b/inc/modules/member/what-earnings.php index 3842cd7709..f551ef47b7 100644 --- a/inc/modules/member/what-earnings.php +++ b/inc/modules/member/what-earnings.php @@ -1,111 +1,3 @@ 0) { - // Init output - $OUT = ''; - - // List all entries - while ($content = SQL_FETCHARRAY($result)) { - // Do we have user_earning data available? - if (is_null($content['earning_active'])) { - // Load row template "open subscription" - $OUT .= loadTemplate('member_earning_' . strtolower($content['earning_group']) . '_form_row', true, $content); - } else { - // Load row template "already subscribed" - $OUT .= loadTemplate('member_earning_' . strtolower($content['earning_group']) . '_row', true, $content); - } - } // END - while - - // Load main template - loadTemplate('member_earning', false, $OUT); -} else { - // Display message - displayMessage('{--MEMBER_EARNINGS_404--}'); -} - -// Free result -SQL_FREERESULT($result); - -// [EOF] +// @DEPRECATED ?>