X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-surfbar_book.php;h=f551ef47b7591c74e7b59193e56a1fa6505a87ab;hb=074b138e44c79cb56666b412781b17467ec79e6e;hp=97bc955c30e4b6f093c80d9b141920e0f3e98739;hpb=357b2ca133fc1f89db74097955c366cb4bee6996;p=mailer.git diff --git a/inc/modules/member/what-surfbar_book.php b/inc/modules/member/what-surfbar_book.php index 97bc955c30..f551ef47b7 100644 --- a/inc/modules/member/what-surfbar_book.php +++ b/inc/modules/member/what-surfbar_book.php @@ -1,89 +1,3 @@ 0? - if (($_POST['limited'] == "N") && ((isset($_POST['limit'])) && ($_POST['limit'] > 0)) || (!isset($_POST['limit']))) { - // Set it to unlimited - $_POST['limit'] = 0; - } // END - if - - // Register the new URL - $insertId = SURFBAR_MEMBER_ADD_URL($_POST['url'], $_POST['limit']); - - // Was this fine? - if ($insertId > 0) { - // URL added and waiting for unlock - $msg = MEMBER_SURFBAR_URL_ADDED; - } else { - // Something went wrong! - $msg = MEMBER_SURFBAR_URL_NOT_ADDED; - } - - // Load message template - LOAD_TEMPLATE("admin_settings_saved", false, $msg); -} else { - // Prepare some content - $content = array( - 'reward' => TRANSLATE_COMMA(SURFBAR_DETERMINE_REWARD(true)), - 'costs' => TRANSLATE_COMMA(SURFBAR_DETERMINE_COSTS(true)), - 'max_order' => $_CONFIG['surfbar_max_order'], - 'curr_order' => SURFBAR_GET_TOTAL_USER_URLS() - ); - - // Load surfbar order form - LOAD_TEMPLATE(sprintf("member_surfbar_book_%s", strtolower($_CONFIG['surfbar_pay_model'])), false, $content); -} - -// +// @DEPRECATED ?>