Changeset 2409104
- Timestamp:
- 10/29/2020 02:03:45 PM (5 years ago)
- Location:
- auction-feed/trunk
- Files:
-
- 2 edited
-
auction-feed.php (modified) (5 diffs)
-
js/setup-feed.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
auction-feed/trunk/auction-feed.php
r2408396 r2409104 2 2 /** 3 3 * @package Auction_Feed 4 * @version 1.0. 34 * @version 1.0.4 5 5 */ 6 6 /* … … 8 8 Plugin URI: http://wordpress.org/plugins/auction-feed/ 9 9 Description: Display your eBay items on your own website allowing visitors to search your products and buy them easily. Choose options and styles to suit your wordpress theme for simple and seamless integration.. 10 Version: 1.0. 310 Version: 1.0.4 11 11 Author: OneStepDesign 12 12 Author URI: http://onestepdesign.co.uk/ … … 594 594 echo ' </div>' . PHP_EOL; 595 595 echo ' </div>' . PHP_EOL; 596 echo ' <input type="hidden" name="website" id="website" value="' . $_SERVER['SERVER_NAME'] . '">' . PHP_EOL; 596 597 echo ' <button type="button" class="btn update-btn"> DISPLAY RESULTS</button> ' . PHP_EOL; 597 598 wp_nonce_field(); … … 769 770 } 770 771 771 $ajaxUrl = '/v1/' . rawurlencode($sellerId) . '/' . $marketplaceId . '/' . rawurlencode($theme) . '/' . $language . '/' . $itemsPerPage . '/' . (int)$showCategories . '/' . (int)$showSearchBox . '/' . (int)$showMultiplePages . '/' . $sortOrder . '/' . (int)$showLogo . '/' . (int)$linksInNewTab . '/' . $listingType . '/' . $keywords . '/' . $categoryId . '/' . (int)$showBorder . '/' . $borderColour . '/' . $backgroundColour . '/' . $textColour . '/1/' ;772 $ajaxUrl = '/v1/' . rawurlencode($sellerId) . '/' . $marketplaceId . '/' . rawurlencode($theme) . '/' . $language . '/' . $itemsPerPage . '/' . (int)$showCategories . '/' . (int)$showSearchBox . '/' . (int)$showMultiplePages . '/' . $sortOrder . '/' . (int)$showLogo . '/' . (int)$linksInNewTab . '/' . $listingType . '/' . $keywords . '/' . $categoryId . '/' . (int)$showBorder . '/' . $borderColour . '/' . $backgroundColour . '/' . $textColour . '/1/' . $_SERVER['SERVER_NAME'] . '/'; 772 773 773 774 $dbArray = array( … … 840 841 } 841 842 842 $url = 'https://www.auctionfeedonyourwebsite.co.uk/ ebay' . $ajaxUrl . '?updateDatabase=wordpress';843 $url = 'https://www.auctionfeedonyourwebsite.co.uk/wordpress' . $ajaxUrl . '?updateDatabase=wordpress'; 843 844 $data = fopen($url, 'r'); 844 845 -
auction-feed/trunk/js/setup-feed.js
r2399370 r2409104 45 45 backgroundColour = jQuery('#backgroundColour').val().replace('#',''); 46 46 textColour = jQuery('#textColour').val().replace('#',''); 47 website = jQuery('#website').val(); 47 48 48 49 itemsPerPage = jQuery('#itemsPerPage').val(); … … 92 93 93 94 if (sellerId != '') { 94 link = '/v1/' + sellerId + '/' + marketplaceId + '/' + theme + '/' + language + '/' + itemsPerPage + '/' + showCategories + '/' + showSearchBox + '/' + showMultiplePages + '/' + sortOrder + '/' + showLogo + '/' + linksInNewTab + '/' + listingType + '/' + keywords + '/' + categoryId + '/' + showBorder + '/' + borderColour + '/' + backgroundColour + '/' + textColour + '/' + page + '/' ;95 link = '/v1/' + sellerId + '/' + marketplaceId + '/' + theme + '/' + language + '/' + itemsPerPage + '/' + showCategories + '/' + showSearchBox + '/' + showMultiplePages + '/' + sortOrder + '/' + showLogo + '/' + linksInNewTab + '/' + listingType + '/' + keywords + '/' + categoryId + '/' + showBorder + '/' + borderColour + '/' + backgroundColour + '/' + textColour + '/' + page + '/' + website + '/'; 95 96 96 97 jQuery.ajax({ 97 url: 'https://www.auctionfeedonyourwebsite.co.uk/ ebay' + link,98 url: 'https://www.auctionfeedonyourwebsite.co.uk/wordpress' + link, 98 99 methond: 'POST', 99 100 dataType: 'html',
Note: See TracChangeset
for help on using the changeset viewer.