Changeset 2288500
- Timestamp:
- 04/21/2020 03:06:32 PM (6 years ago)
- Location:
- apm-child/trunk
- Files:
-
- 1 added
- 10 edited
-
admin/apm-subscription-settings.php (modified) (2 diffs)
-
admin/classes/ESP.Class.php (modified) (9 diffs)
-
admin/list-aweber.php (modified) (11 diffs)
-
clickbank-instant-notification.php (modified) (4 diffs)
-
css/apm-style.css (modified) (1 diff)
-
functions/database-function.php (modified) (3 diffs)
-
mc-main.php (modified) (3 diffs)
-
optin-monster-settings.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
scripts/apm-settings.js (modified) (1 diff)
-
warrior-instant-notification.php (added)
Legend:
- Unmodified
- Added
- Removed
-
apm-child/trunk/admin/apm-subscription-settings.php
r2235661 r2288500 71 71 <label for="clickbank_affiliate_nickname">ClickBank Affiliate Username</label> 72 72 <input class="txt-apmbox" name="clickbank_affiliate_nickname" type="text" id="clickbank_affiliate_nickname" value="<?php echo esc_html($recordCrediantial['clickbank_affiliate_nickname']);?>" size="50" /> 73 74 75 <label for="warriorplus_affiliate_id">WarriorPlus Affiliate ID</label> 76 <input class="txt-apmbox" name="warriorplus_affiliate_id" type="text" id="warriorplus_affiliate_id" value="<?php echo esc_html($recordCrediantial['warriorplus_aff_id']);?>" size="50" /> 77 73 78 74 79 <label for="email_service_provider">Email Service Provider</label> … … 86 91 <p>Copy the listener URL and paste the value into your JVZoo Affiliate settings.</p> 87 92 <input type="text" class="jvzoo_ipn_clickboard_txt_box" id="copy_jvzoo_ipn_clickboard" value="<?php echo site_url()?>/apm-jvzoo-ipn-listener" readonly="readonly" /> <a onclick="copyJVZooIpnClickboard();" class="button jvzoo_ipn_clickboard_btn button-primary add-new-h2"> Copy to clipboard </a> 93 <br /><br /> 94 95 <p>Copy the listener URL and paste the value into your WarriorPlus Affiliate settings.</p> 96 <input type="text" class="jvzoo_ipn_clickboard_txt_box" id="copy_warriorplus_affliate_ipn_clickboard" value="http://affiliatepromembership.com/warriorplus_affliate_ipn.php " readonly="readonly" /> <a onclick="copyWarriorPlusClickboard();" class="button jvzoo_ipn_clickboard_btn button-primary add-new-h2"> Copy to clipboard </a> 97 88 98 </div> 89 99 -
apm-child/trunk/admin/classes/ESP.Class.php
r2269126 r2288500 17 17 $email_service_provider = $apm_arr_request_val['email_service_provider']; 18 18 $clickbank_affiliate_nickname = $apm_arr_request_val['clickbank_affiliate_nickname']; 19 $warriorplus_aff_id = $apm_arr_request_val['warriorplus_aff_id']; 19 20 20 21 … … 32 33 $egSql = $wpdb->prepare( 33 34 "INSERT INTO `".APM_OPTIONS_TABLE."` 34 (`first_name`,`last_name`, `email`, `jv_zoo_id`, `email_service_provider`, `clickbank_affiliate_nickname`, ` last_updated_date`)35 VALUES(%s, %s, %s, %s, %s,%s, %s )",36 array($first_name, $last_name, $email, $jv_zoo_id, $email_service_provider, $clickbank_affiliate_nickname, $ current_date));35 (`first_name`,`last_name`, `email`, `jv_zoo_id`, `email_service_provider`, `clickbank_affiliate_nickname`, `warriorplus_aff_id`, `last_updated_date`) 36 VALUES(%s, %s, %s, %s, %s,%s, %s, %s)", 37 array($first_name, $last_name, $email, $jv_zoo_id, $email_service_provider, $clickbank_affiliate_nickname, $warriorplus_aff_id, $current_date)); 37 38 38 39 $wpdb->query($egSql); … … 45 46 $option_id = $recordCrediantial['ID']; 46 47 47 $egSql = $wpdb->prepare("UPDATE `".APM_OPTIONS_TABLE."` SET `first_name` = %s, `last_name` = %s, `email` = %s, `jv_zoo_id` = %s, `email_service_provider` = %s, `clickbank_affiliate_nickname` = %s, ` last_updated_date` = %s WHERE ID = %d LIMIT 1", array($first_name, $last_name, $email, $jv_zoo_id, $email_service_provider, $clickbank_affiliate_nickname, $current_date, $option_id));48 $egSql = $wpdb->prepare("UPDATE `".APM_OPTIONS_TABLE."` SET `first_name` = %s, `last_name` = %s, `email` = %s, `jv_zoo_id` = %s, `email_service_provider` = %s, `clickbank_affiliate_nickname` = %s, `warriorplus_aff_id` = %s, `last_updated_date` = %s WHERE ID = %d LIMIT 1", array($first_name, $last_name, $email, $jv_zoo_id, $email_service_provider, $clickbank_affiliate_nickname, $warriorplus_aff_id, $current_date, $option_id)); 48 49 $wpdb->query($egSql); 49 50 } … … 105 106 $egmail_errors[] = $AWeberAPIException; 106 107 $consumerKey = $consumerSecret = $accessKey = $accessSecret = ''; 108 109 $egmail_errors = __($exc->message, 'apm-child'); 107 110 $egmail_error_found = TRUE; 108 111 } … … 236 239 } 237 240 238 if ($getresponse_custom_field == '')241 /*if ($getresponse_custom_field == '') 239 242 { 240 243 $egmail_errors = __('Please choose Custom field to for clickid mapping.', 'apm-child'); 241 244 $egmail_error_found = TRUE; 242 } 245 }*/ 243 246 244 247 … … 250 253 $getresponse_list = $getresponse->getCampaigns(); 251 254 252 if(is_array($getresponse_list) && sizeof($getresponse_list) > 0) 255 if(isset($getresponse_list->codeDescription)) 256 { 257 $egmail_errors = __($getresponse_list->codeDescription, 'apm-child'); 258 $egmail_error_found = TRUE; 259 $getresponse_api_key = ""; 260 } 261 else 253 262 { 254 263 $getresponse_api_key = $getresponse_api_key; 255 264 } 256 else 257 { 258 $egmail_errors = __('Something is wrong with GetResponse API Key', 'apm-child'); 259 $egmail_error_found = TRUE; 260 } 265 261 266 } 262 267 else … … 292 297 $egmail_errors = ''; 293 298 $egmail_error_found = false; 299 $show_aweber_list = $account = ''; 294 300 295 301 if($aweber_auth_code != '') … … 453 459 $email_service_provider = $recordCrediantial['email_service_provider']; 454 460 $clickbank_affiliate_nickname = $recordCrediantial['clickbank_affiliate_nickname']; 461 $warriorplus_aff_id = $recordCrediantial['warriorplus_aff_id']; 455 462 456 463 //--> AWeber API … … 495 502 'email_service_provider' => $email_service_provider, 496 503 'clickbank_affiliate_nickname' => $clickbank_affiliate_nickname, 504 'warriorplus_aff_id' => $warriorplus_aff_id, 497 505 'sendeagle_api_key' => $sendeagle_api_key, 498 506 'sendeagle_company_unique_id' => $sendeagle_company_unique_id, -
apm-child/trunk/admin/list-aweber.php
r2269126 r2288500 66 66 67 67 $form['clickbank_affiliate_nickname'] = isset($_POST['clickbank_affiliate_nickname']) ? sanitize_text_field($_POST['clickbank_affiliate_nickname']) : ''; 68 $form['warriorplus_affiliate_id'] = isset($_POST['warriorplus_affiliate_id']) ? sanitize_text_field($_POST['warriorplus_affiliate_id']) : ''; 68 69 69 70 70 71 if($egmail_error_found == FALSE) 71 72 { 72 $egmail_success = $_APMESP->apm_esp_add(array("first_name" => $form['first_name'], "last_name" => $form['last_name'], "email" => $form['email'], "jv_zoo_id" => $form['jv_zoo_id'], "email_service_provider" => $form['email_service_provider'], "clickbank_affiliate_nickname" => $form['clickbank_affiliate_nickname'] ));73 $egmail_success = $_APMESP->apm_esp_add(array("first_name" => $form['first_name'], "last_name" => $form['last_name'], "email" => $form['email'], "jv_zoo_id" => $form['jv_zoo_id'], "email_service_provider" => $form['email_service_provider'], "clickbank_affiliate_nickname" => $form['clickbank_affiliate_nickname'], "warriorplus_aff_id" => $form['warriorplus_affiliate_id'])); 73 74 } 74 75 … … 123 124 124 125 125 126 126 //--> Get Affiliate Settings details 127 127 $egSqlCrediantial = "SELECT * FROM `".APM_OPTIONS_TABLE."` WHERE 1"; … … 171 171 { 172 172 $InfusionsoftAPIUtil = new InfusionsoftAPIUtil($INFUSIONSOFT_APP_NAME, $INFUSIONSOFT_API_KEY); 173 173 174 $infusionsoft_lists = $InfusionsoftAPIUtil->getInfusionsoftTags(); 174 175 $custom_field_list = $InfusionsoftAPIUtil->getInfusionsoftDataFieldHTML(); … … 182 183 { 183 184 $mapping_type = "GetResponse"; 184 $getresponse_lists = '';185 $getresponse_lists = $getresponse_response = ''; 185 186 186 187 $getresponse_api_key = $recordCrediantial['getresponse_api_key']; … … 190 191 { 191 192 $getresponse = new GetResponse($getresponse_api_key); 193 192 194 $getresponse_list = $getresponse->getCampaigns(); 193 195 $custom_field_list = $getresponse->getCustomFields(); 196 197 if(isset($getresponse_list->codeDescription)) 198 $getresponse_response = $getresponse_list->codeDescription; 199 194 200 } 195 201 } … … 287 293 $resultFunnelList = json_decode($resultFunnelList); 288 294 289 if(count($resultFunnelList) > 0 )295 if(count($resultFunnelList) > 0 && $show_aweber_list == true) 290 296 { 291 297 foreach($resultFunnelList as $funnelList) … … 394 400 <div style="width:100%; margin:0; padding:0; clear:both"></div> 395 401 <?php 396 if(count($resultFunnelList) > 0 && is_array($infusionsoft_lists)) 397 { 398 if(count($custom_field_list) > 0) 402 if(is_array($infusionsoft_lists) && count($infusionsoft_lists) > 0) 403 { 404 405 if(count($resultFunnelList) > 0) 399 406 { 400 ?> 401 <div style="width:100%; display:block; max-width:785px; margin-bottom:15px;"> 402 <label for="getresponse_custom_field">Choose Custom field for clickid mapping.</label> 403 <select id="getresponse_custom_field" name="getresponse_custom_field" required> 404 <option value="">___</option> 405 <?php 406 foreach($custom_field_list as $custom_list) 407 { 408 ?> 409 <option value="<?php echo $custom_list->Name;?>" <?php if($getresponse_custom_field == $custom_list->Name){?> selected="selected" <?php } ?>><?php echo $custom_list->Label;?></option> 410 <?php 411 } 412 ?> 413 </select> 414 </div> 415 <?php 407 if(isset($custom_field_list) > 0) 408 { 409 ?> 410 <div style="width:100%; display:block; max-width:785px; margin-bottom:15px;"> 411 <label for="getresponse_custom_field">Choose Custom field for clickid mapping.</label> 412 <select id="getresponse_custom_field" name="getresponse_custom_field" required> 413 <option value="">___</option> 414 <?php 415 foreach($custom_field_list as $custom_list) 416 { 417 ?> 418 <option value="<?php echo $custom_list->Name;?>" <?php if($getresponse_custom_field == $custom_list->Name){?> selected="selected" <?php } ?>><?php echo $custom_list->Label;?></option> 419 <?php 420 } 421 ?> 422 </select> 423 </div> 424 <?php 425 } 426 ?> 427 <div style="width:100%; display:inline-block; margin-top:20px; margin-bottom:10px; max-width:785px"> 428 <div style="width:49%; display:inline-block;"><label style="font-weight:700; font-size:15px;">Funnel Name</label></div> 429 <div style="width:49%; display:inline-block;"><label style="font-weight:700; font-size:15px;">Infusionsoft Tags</label></div> 430 </div> 431 <?php 416 432 } 417 ?> 418 <div style="width:100%; display:inline-block; margin-top:20px; margin-bottom:10px; max-width:785px"> 419 <div style="width:49%; display:inline-block;"><label style="font-weight:700; font-size:15px;">Funnel Name</label></div> 420 <div style="width:49%; display:inline-block;"><label style="font-weight:700; font-size:15px;">Infusionsoft Tags</label></div> 421 </div> 422 <?php 423 } 424 425 433 434 } 435 426 436 $resultFunnelList = json_decode($resultFunnelList); 427 428 if(count($resultFunnelList) > 0 && is_array($infusionsoft_lists)) 429 { 430 foreach($resultFunnelList as $funnelList) 437 if(is_array($infusionsoft_lists) && count($infusionsoft_lists) > 0) 438 { 439 if(count($resultFunnelList)) 431 440 { 432 ?> 433 <div style="width:100%; margin:0; padding:0; clear:both"></div> 434 <div style="width:100%; display:inline-block; max-width:785px; margin-bottom:15px;"> 435 <div style="width:49%; display:inline-block"> 436 <span><input type="hidden" name="funnel_id[]" value="<?php echo $funnelList->ID;?>" /> <?php echo $funnelList->funnel_name;?></span> 437 </div> 438 <div style="width:49%; display:inline-block"> 439 <?php 440 if(is_array($infusionsoft_lists)) 441 { 442 ?> 443 <select class='infusionsoft_lists' name="esp_list_id[]"> 444 <option value="">_____________</option> 445 <?php 446 foreach($infusionsoft_lists as $infusionsoft_list) 447 { 448 ?> 449 <option value="<?php echo $infusionsoft_list->tagId; ?>" <?php if(@$MappingFunnelIndexArr[$funnelList->ID] == $infusionsoft_list->tagId){?> selected="selected" <?php }?>><?php echo esc_html($infusionsoft_list->tagName)?></option> 450 451 <?php 452 } 453 ?> 454 </select><br /> 455 <?php 456 } 457 ?> 458 <div id='result'></div> 459 </div> 460 </div> 461 <?php 462 } 441 foreach($resultFunnelList as $funnelList) 442 { 443 ?> 444 <div style="width:100%; margin:0; padding:0; clear:both"></div> 445 <div style="width:100%; display:inline-block; max-width:785px; margin-bottom:15px;"> 446 <div style="width:49%; display:inline-block"> 447 <span><input type="hidden" name="funnel_id[]" value="<?php echo $funnelList->ID;?>" /> <?php echo $funnelList->funnel_name;?></span> 448 </div> 449 <div style="width:49%; display:inline-block"> 450 <?php 451 if(is_array($infusionsoft_lists)) 452 { 453 ?> 454 <select class='infusionsoft_lists' name="esp_list_id[]"> 455 <option value="">_____________</option> 456 <?php 457 foreach($infusionsoft_lists as $infusionsoft_list) 458 { 459 ?> 460 <option value="<?php echo $infusionsoft_list->tagId; ?>" <?php if(@$MappingFunnelIndexArr[$funnelList->ID] == $infusionsoft_list->tagId){?> selected="selected" <?php }?>><?php echo esc_html($infusionsoft_list->tagName)?></option> 461 462 <?php 463 } 464 ?> 465 </select><br /> 466 <?php 467 } 468 ?> 469 <div id='result'></div> 470 </div> 471 </div> 472 <?php 473 } 474 } 463 475 } 464 476 } … … 473 485 <div style="width:100%; margin:0; padding:0; clear:both"></div> 474 486 <?php 475 if(is_array($getresponse_list) && count($getresponse_list) > 0) 487 488 if(isset($getresponse_list) && $getresponse_response == '') 476 489 { 477 490 if(count($resultFunnelList) > 0) 478 491 { 479 if( count($custom_field_list) > 0)492 if(isset($custom_field_list) > 0) 480 493 { 481 494 ?> … … 507 520 $resultFunnelList = json_decode($resultFunnelList); 508 521 509 if(is _array($getresponse_list) && count($getresponse_list) > 0)522 if(isset($getresponse_list) && $getresponse_response == '') 510 523 { 511 524 if(count($resultFunnelList) > 0) … … 520 533 </div> 521 534 <div style="width:49%; display:inline-block"> 522 <?php523 if(is_array($getresponse_list) && count($getresponse_list) > 0)524 {525 ?>526 535 <select name="esp_list_id[]"> 527 536 <option value="">_____________</option> … … 537 546 </select> 538 547 <br /> 539 <?php540 }541 ?>542 548 </div> 543 549 </div> -
apm-child/trunk/clickbank-instant-notification.php
r2235661 r2288500 5 5 6 6 $TodaysDate = date('Y-m-d H:i:s'); 7 $responseMsg = "Failed"; 7 8 8 9 //--> Tracking jvZoo response. … … 20 21 $sql = $wpdb->prepare("INSERT INTO `".$wpdb->prefix."cso_my_income` 21 22 (`inc_caffitid`, `inc_ccustcc`, `inc_ccustemail`, `inc_ccustname`, `inc_ccuststate`, `inc_cproditem`, `inc_cprodtitle`, `inc_cprodtype`, `inc_ctransaction`, `inc_ctransaffiliate`, `inc_ctransamount`, `inc_commision_amt`, `inc_ctranspaymentmethod`, `inc_ctransreceipt`, `inc_ctranstime`, `inc_ctransvendor`, `inc_cverify`, `inc_processed`, `income_date`, `cron_status`, `inc_income_type`) 22 VALUES(%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, NOW(), 'Yes', 'ClickBank')",23 array(addslashes_gpc(sanitize_text_field($_REQUEST['caffitid'])), addslashes_gpc(sanitize_text_field($_REQUEST['ccustcc'])), addslashes_gpc(sanitize_text_field($_REQUEST['ccustemail'])), addslashes_gpc(sanitize_text_field($_REQUEST['ccustname'])), addslashes_gpc(sanitize_text_field($_REQUEST['ccuststate'])), addslashes_gpc(sanitize_text_field($_REQUEST['cproditem'])), addslashes_gpc(sanitize_text_field($_REQUEST['cprodtitle'])), addslashes_gpc(sanitize_text_field($_REQUEST['cprodtype'])), addslashes_gpc(sanitize_text_field($_REQUEST['ctransaction'])), addslashes_gpc(sanitize_text_field($_REQUEST['ctransaffiliate'])), addslashes_gpc(sanitize_text_field($_REQUEST['ctransamount'])), addslashes_gpc(sanitize_text_field($_REQUEST['affiliatePayout'])), addslashes_gpc(sanitize_text_field($_REQUEST['ctranspaymentmethod'])), addslashes_gpc(sanitize_text_field($_REQUEST['ctransreceipt'])), addslashes_gpc(sanitize_text_field($_REQUEST['ctranstime'])), addslashes_gpc(sanitize_text_field($_REQUEST['ctransvendor'])), addslashes_gpc(sanitize_text_field($_REQUEST['cverify'])), 'No' ));23 VALUES(%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, 'Yes', 'ClickBank')", 24 array(addslashes_gpc(sanitize_text_field($_REQUEST['caffitid'])), addslashes_gpc(sanitize_text_field($_REQUEST['ccustcc'])), addslashes_gpc(sanitize_text_field($_REQUEST['ccustemail'])), addslashes_gpc(sanitize_text_field($_REQUEST['ccustname'])), addslashes_gpc(sanitize_text_field($_REQUEST['ccuststate'])), addslashes_gpc(sanitize_text_field($_REQUEST['cproditem'])), addslashes_gpc(sanitize_text_field($_REQUEST['cprodtitle'])), addslashes_gpc(sanitize_text_field($_REQUEST['cprodtype'])), addslashes_gpc(sanitize_text_field($_REQUEST['ctransaction'])), addslashes_gpc(sanitize_text_field($_REQUEST['ctransaffiliate'])), addslashes_gpc(sanitize_text_field($_REQUEST['ctransamount'])), addslashes_gpc(sanitize_text_field($_REQUEST['affiliatePayout'])), addslashes_gpc(sanitize_text_field($_REQUEST['ctranspaymentmethod'])), addslashes_gpc(sanitize_text_field($_REQUEST['ctransreceipt'])), addslashes_gpc(sanitize_text_field($_REQUEST['ctranstime'])), addslashes_gpc(sanitize_text_field($_REQUEST['ctransvendor'])), addslashes_gpc(sanitize_text_field($_REQUEST['cverify'])), 'No', addslashes_gpc(sanitize_text_field($_REQUEST['record_date'])) )); 24 25 $wpdb->query($sql); 25 26 … … 27 28 28 29 $commision_insert_id = $wpdb->insert_id; 30 31 if($commision_insert_id > 0) 32 { 33 $responseMsg = "Successful"; 34 } 29 35 } 30 36 … … 102 108 fwrite($fp, $new_data); 103 109 110 echo $responseMsg;die; 111 104 112 //---> This page will be called through IPN so, we can die it. 105 113 exit(); -
apm-child/trunk/css/apm-style.css
r1972763 r2288500 14 14 .form-col{width:49%; float:left;} 15 15 .row-full-width{width:100%; float:left; margin:10px 0;} 16 .jvzoo_ipn_clickboard_txt_box{width:100%; max-width: 800px;}16 .jvzoo_ipn_clickboard_txt_box{width:100%; max-width:550px;} 17 17 .jvzoo_ipn_clickboard_btn{margin-top:3px !important} 18 18 #my_income_from_date, #my_income_to_date{width:100%;} -
apm-child/trunk/functions/database-function.php
r2235661 r2288500 40 40 last_updated_date DATETIME, 41 41 user_email_id varchar(255), 42 clickbank_affiliate_nickname varchar(255), 42 clickbank_affiliate_nickname varchar(255), 43 warriorplus_aff_id varchar(255), 43 44 extra_field_1 varchar(255), 44 45 email_service_provider ENUM('Aweber', 'Sendeagle', 'Infusionsoft', 'GetResponse') NOT NULL DEFAULT 'Aweber', … … 89 90 cron_running_status ENUM('Running', 'Executed') NOT NULL DEFAULT 'Executed', 90 91 cron_status ENUM('Yes', 'No') NOT NULL DEFAULT 'No', 91 inc_income_type ENUM('JvZoo', 'ClickBank' ) NOT NULL DEFAULT 'JvZoo'92 inc_income_type ENUM('JvZoo', 'ClickBank', 'Warrior') NOT NULL DEFAULT 'JvZoo' 92 93 )$charset_collate;"; 93 94 require_once( ABSPATH . 'wp-admin/includes/upgrade.php' ); … … 186 187 187 188 189 //--> Create page for WarriorPlus Instant Notification 190 191 $valid_page_found = $wpdb->get_var( $wpdb->prepare( "SELECT ID FROM $wpdb->posts WHERE post_type='page' AND post_status NOT IN ( 'pending', 'trash', 'future', 'auto-draft' ) AND post_name = %s LIMIT 1;", 'warriorplus-instant-notification' ) ); 192 193 if ( $valid_page_found ) { 194 } else { 195 $ipn_page_data = array( 196 'post_status' => 'publish', 197 'post_type' => 'page', 198 'post_author' => 1, 199 'post_name' => 'warriorplus-instant-notification', 200 'post_title' => 'WarriorPlus Instant Notification', 201 'post_content' => 'Do not delete this page.', 202 'post_parent' => '', 203 'comment_status' => 'closed', 204 ); 205 $ipn_page_id = wp_insert_post( $ipn_page_data ); 206 } 207 208 188 209 return true; 189 210 } -
apm-child/trunk/mc-main.php
r2269126 r2288500 9 9 Author: Nick James 10 10 E-mail: admin@nickjamesadmin.com 11 Version: 2.4. 611 Version: 2.4.7 12 12 Author URI: http://www.pluginpixie.com 13 13 */ 14 ini_set('display_errors',1);14 //ini_set('display_errors',1); 15 15 global $APM_SUBSCRIPTION_VER; 16 $APM_SUBSCRIPTION_VER = "2.4. 6";16 $APM_SUBSCRIPTION_VER = "2.4.7"; 17 17 18 18 define('APM_SUBSCRIPTION_PATH', plugins_url().'/'. basename(dirname(__FILE__)).'/'); … … 31 31 include_once ('affiliate-jvzoo-ipn-listener.php'); 32 32 include_once ('clickbank-instant-notification.php'); 33 include_once ('warrior-instant-notification.php'); 33 34 include_once ('add-manual-commission.php'); 34 35 include_once ('jvzoo-affiliate-commission-api.php'); … … 128 129 } 129 130 131 //--> Fire WarriorPlus INP page 132 if(strpos($current_url, 'warriorplus-instant-notification') !== false) 133 { 134 execute_warriorplus_instant_notification(); 135 } 136 130 137 //--> Fire Add Manual Commission page 131 138 if(strpos($current_url, 'add-manual-commission') !== false) -
apm-child/trunk/optin-monster-settings.php
r2235661 r2288500 45 45 app.setCustomVariable('list_id', '<input type="hidden" name="list_id" value="<?php echo esc_html($recordCrediantial['aweber_list_id'],'apm-child')?>" />'); 46 46 app.setCustomVariable('clickbank_nickname', '<?php echo __($recordCrediantial['clickbank_affiliate_nickname'],'apm-child')?>'); 47 app.setCustomVariable('warriorplus_aff_id', '<?php echo __($recordCrediantial['warriorplus_aff_id'],'apm-child')?>'); 47 48 app.setCustomVariable('jv_zoo_id', '<?php echo __($recordCrediantial['jv_zoo_id'],'apm-child')?>'); 48 49 app.setCustomVariable('customer_email', '<input type="hidden" name="customer_email" value="<?php echo esc_html($recordCrediantial['user_email_id'],'apm-child')?>" />'); -
apm-child/trunk/readme.txt
r2269126 r2288500 159 159 *Bug fixes 160 160 *Version Update. 161 162 2.4.7 163 *WarriorPlus Integration. 164 *Changes at ClickBank Integration. 165 *Bug fixes 166 *Version Update. -
apm-child/trunk/scripts/apm-settings.js
r2188308 r2288500 73 73 } 74 74 75 76 function copyWarriorPlusClickboard() 77 { 78 79 var url = document.getElementById("copy_warriorplus_affliate_ipn_clickboard"); 80 url.select(); 81 document.execCommand("Copy"); 82 } 83 84 75 85 function RetryClickMagicSubmission(id) 76 86 {
Note: See TracChangeset
for help on using the changeset viewer.