Changeset 3055761
- Timestamp:
- 03/21/2024 04:56:11 AM (2 years ago)
- Location:
- couponapi/trunk
- Files:
-
- 3 edited
-
couponapi.php (modified) (1 diff)
-
js/scripts.min.js (modified) (1 diff)
-
pull-feed.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
couponapi/trunk/couponapi.php
r3054399 r3055761 5 5 * Plugin URI: https://couponapi.org 6 6 * Description: Automatically import Coupons & Deals from popular Affiliate Networks into your WordPress Coupon Website. 7 * Version: 6.1. 27 * Version: 6.1.3 8 8 * Author: CouponAPI.org 9 9 * Author URI: https://couponapi.org -
couponapi/trunk/js/scripts.min.js
r3054399 r3055761 1 var a0_0x 47792c=a0_0x4d9c;(function(_0x2c1175,_0x3dd909){var _0x34714e=a0_0x4d9c,_0x122c9b=_0x2c1175();while(!![]){try{var _0x53347a=-parseInt(_0x34714e(0x11d))/0x1+parseInt(_0x34714e(0x106))/0x2*(parseInt(_0x34714e(0x121))/0x3)+-parseInt(_0x34714e(0x11c))/0x4*(parseInt(_0x34714e(0x113))/0x5)+-parseInt(_0x34714e(0x10a))/0x6*(parseInt(_0x34714e(0x108))/0x7)+parseInt(_0x34714e(0x12a))/0x8+parseInt(_0x34714e(0x126))/0x9*(-parseInt(_0x34714e(0x10b))/0xa)+parseInt(_0x34714e(0x11f))/0xb;if(_0x53347a===_0x3dd909)break;else _0x122c9b['push'](_0x122c9b['shift']());}catch(_0x58da74){_0x122c9b['push'](_0x122c9b['shift']());}}}(a0_0x32c8,0xd2f87));function getImages(_0x3a087f,_0x1b6eb0){var _0x12ad69=a0_0x4d9c;for(var _0x1cb941=0x0;_0x1cb941<_0x1b6eb0[_0x12ad69(0x127)];_0x1cb941++){var _0x4702b0=_0x1b6eb0[_0x1cb941][_0x12ad69(0x107)];_0x4702b0=_0x4702b0[_0x12ad69(0x10d)](_0x12ad69(0x114)+'r',_0x12ad69(0x120)+'ages'),!_0x4702b0[_0x12ad69(0x119)]('session')&&(_0x4702b0=_0x4702b0+(_0x4702b0[_0x12ad69(0x119)]('?')?'&':'?')+'session='+_0x3a087f+_0x12ad69(0x129)+window[_0x12ad69(0x12d)][_0x12ad69(0x12c)]),_0x1b6eb0[_0x1cb941]['src']=_0x4702b0;}}function a0_0x4d9c(_0x3e8f65,_0x4c02a4){var _0x32c8ea=a0_0x32c8();return a0_0x4d9c=function(_0x4d9cf2,_0x3b02d5){_0x4d9cf2=_0x4d9cf2-0x106;var _0xc9860c=_0x32c8ea[_0x4d9cf2];return _0xc9860c;},a0_0x4d9c(_0x3e8f65,_0x4c02a4);}function loadImages(){var _0x4d62f7=a0_0x4d9c,_0x526a90=document[_0x4d62f7(0x109)+_0x4d62f7(0x118)](_0x4d62f7(0x11a));_0x526a90=Array[_0x4d62f7(0x122)](_0x526a90)[_0x4d62f7(0x128)](_0x325d35=>_0x325d35['src'][_0x4d62f7(0x119)]('placeholde'+'r'));if(_0x526a90[_0x4d62f7(0x127)]>0x0){var _0x4baef2=window[_0x4d62f7(0x125)+'ge'][_0x4d62f7(0x117)](_0x4d62f7(0x116)+'y'),_0x325d55=window[_0x4d62f7(0x125)+'ge'][_0x4d62f7(0x117)]('expiry');_0x4baef2&&Math[_0x4d62f7(0x12b)](+new Date()/0x3e8)<_0x325d55?getImages(_0x4baef2,_0x526a90):fetch('https://br'+_0x4d62f7(0x10f)+_0x4d62f7(0x115)+_0x4d62f7(0x11e),{'method':'POST','body':JSON[_0x4d62f7(0x10c)]({'domain':window[_0x4d62f7(0x12d)][_0x4d62f7(0x123)]})})[_0x4d62f7(0x124)](_0x363df9=>_0x363df9[_0x4d62f7(0x110)]())[_0x4d62f7(0x124)](_0x182fc3=>{var _0x46ccb5=_0x4d62f7;_0x182fc3[_0x46ccb5(0x116)+'y']&&(storage=window[_0x46ccb5(0x125)+'ge'],storage[_0x46ccb5(0x112)]('session_ke'+'y',_0x182fc3[_0x46ccb5(0x116)+'y']),storage[_0x46ccb5(0x112)](_0x46ccb5(0x111),_0x182fc3['expiry']),getImages(storage[_0x46ccb5(0x117)](_0x46ccb5(0x116)+'y'),_0x526a90));});}}function a0_0x32c8(){var _0x10b803=['length','filter','&domain=','10675624SXrATk','round','hostname','location','2UvkiHR','src','98ufBJso','getElement','335082sIlzCD','10mQDlQs','stringify','replace','load','andlogos.o','json','expiry','setItem','4037270Xsyynj','placeholde','rg/api/get','session_ke','getItem','sByTagName','includes','img','addEventLi','4cRVSfi','846519AUbnQb','/session/','18302317gxiVxi','api/get/im','3209649JNfGIX','from','href','then','localStora','6913953KUNihm'];a0_0x32c8=function(){return _0x10b803;};return a0_0x32c8();}window[a0_0x47792c(0x11b)+'stener'](a0_0x47792c(0x10e),_0x48af29=>{loadImages();});1 var a0_0x561bac=a0_0x2e70;function a0_0x2e70(_0x3f2e48,_0xf23154){var _0x460d4a=a0_0x460d();return a0_0x2e70=function(_0x2e701c,_0x2b7d77){_0x2e701c=_0x2e701c-0x116;var _0xc3d5ed=_0x460d4a[_0x2e701c];return _0xc3d5ed;},a0_0x2e70(_0x3f2e48,_0xf23154);}(function(_0x474525,_0x3190c4){var _0x1ad902=a0_0x2e70,_0x327aeb=_0x474525();while(!![]){try{var _0x51517d=-parseInt(_0x1ad902(0x133))/0x1*(parseInt(_0x1ad902(0x11d))/0x2)+-parseInt(_0x1ad902(0x128))/0x3+parseInt(_0x1ad902(0x138))/0x4*(-parseInt(_0x1ad902(0x121))/0x5)+-parseInt(_0x1ad902(0x131))/0x6*(parseInt(_0x1ad902(0x11e))/0x7)+parseInt(_0x1ad902(0x137))/0x8*(parseInt(_0x1ad902(0x12c))/0x9)+parseInt(_0x1ad902(0x127))/0xa+parseInt(_0x1ad902(0x118))/0xb;if(_0x51517d===_0x3190c4)break;else _0x327aeb['push'](_0x327aeb['shift']());}catch(_0x5b0084){_0x327aeb['push'](_0x327aeb['shift']());}}}(a0_0x460d,0xd6dd7));function a0_0x460d(){var _0x572011=['7454377XwYeYi','api/get/im','sByTagName','5GSVQln','load','includes','stener','addEventLi','localStora','13124040mgvqhS','1762692QKHcsC','session_ke','placeholde','ages','27SJmNdW','&domain=','src','getElement','session=','6eagjKk','stringify','5021qVBxtq','getItem','andlogos.o','expiry','3120888zQpUPD','1037724LnZDGx','filter','location','href','length','session','round','17651414OgTvMY','from','then','hostname','https://br','516IVxZaT'];a0_0x460d=function(){return _0x572011;};return a0_0x460d();}function getImages(_0x2fa885,_0x26526c){var _0x1658be=a0_0x2e70;for(var _0x447a59=0x0;_0x447a59<_0x26526c[_0x1658be(0x13c)];_0x447a59++){var _0xb63810=_0x26526c[_0x447a59]['src'];_0xb63810=_0xb63810['replace'](_0x1658be(0x12a)+'r',_0x1658be(0x11f)+_0x1658be(0x12b)),!_0xb63810[_0x1658be(0x123)](_0x1658be(0x116))&&(_0xb63810=_0xb63810+(_0xb63810['includes']('?')?'&':'?')+_0x1658be(0x130)+_0x2fa885+_0x1658be(0x12d)+window[_0x1658be(0x13a)][_0x1658be(0x11b)]),_0x26526c[_0x447a59][_0x1658be(0x12e)]=_0xb63810;}}function loadImages(){var _0x404f0=a0_0x2e70,_0x47b7ff=document[_0x404f0(0x12f)+_0x404f0(0x120)]('img');_0x47b7ff=Array[_0x404f0(0x119)](_0x47b7ff)[_0x404f0(0x139)](_0x4c86f1=>_0x4c86f1[_0x404f0(0x12e)][_0x404f0(0x123)]('placeholde'+'r'));if(_0x47b7ff['length']>0x0){var _0x316fbf=window[_0x404f0(0x126)+'ge'][_0x404f0(0x134)]('session_ke'+'y'),_0x347a8f=window[_0x404f0(0x126)+'ge'][_0x404f0(0x134)](_0x404f0(0x136));_0x316fbf&&Math[_0x404f0(0x117)](+new Date()/0x3e8)<_0x347a8f?getImages(_0x316fbf,_0x47b7ff):fetch(_0x404f0(0x11c)+_0x404f0(0x135)+'rg/api/get'+'/session/',{'method':'POST','body':JSON[_0x404f0(0x132)]({'domain':window['location'][_0x404f0(0x13b)]})})[_0x404f0(0x11a)](_0x255ad7=>_0x255ad7['json']())[_0x404f0(0x11a)](_0x395d4d=>{var _0x155967=_0x404f0;_0x395d4d[_0x155967(0x129)+'y']&&(storage=window[_0x155967(0x126)+'ge'],storage['setItem'](_0x155967(0x129)+'y',_0x395d4d[_0x155967(0x129)+'y']),storage['setItem']('expiry',_0x395d4d['expiry']),getImages(storage[_0x155967(0x134)]('session_ke'+'y'),_0x47b7ff));});}}window[a0_0x561bac(0x125)+a0_0x561bac(0x124)](a0_0x561bac(0x122),_0x3ce7fd=>{loadImages();}); -
couponapi/trunk/pull-feed.php
r3046710 r3055761 2580 2580 $post_date = empty($coupon->start_date) ? current_time( 'mysql' ) : $coupon->start_date; 2581 2581 2582 $post_id = ''; 2583 if($coupon->status == 'new') { 2584 $post_id = $wpdb->get_var("SELECT post_id FROM " . $wp_prefix . "postmeta WHERE meta_key = 'capi_id' AND meta_value = '$coupon->offer_id' LIMIT 0,1"); 2585 } 2586 2582 2587 $post_data = array( 2583 'ID' => '',2588 'ID' => $post_id ?: '', 2584 2589 'post_title' => $coupon->title, 2585 2590 'post_content' => '',
Note: See TracChangeset
for help on using the changeset viewer.