Software: Apache. PHP/5.5.15 uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 SYSTEM Safe-mode: OFF (not secure) C:\Users\DMZ\Desktop\cumbreclima\wp-content\plugins\wcp-contact-form\agp-core\assets\repeater\js\ drwxrwxrwx |
Viewing file: admin.js (1.23 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | (function($) { $(document).ready(function() { $(document).on('click', '.agp-del-row', function(e) { $(this).closest('.agp-row').remove(); }); $(document).on('click', '.agp-up-row', function(e) { var el = $(this).closest('.agp-row'); var prev = $(el).prev('.agp-row'); $(el).insertBefore(prev); }); $(document).on('click', '.agp-down-row', function(e) { var el = $(this).closest('.agp-row'); var next = $(el).next('.agp-row'); $(el).insertAfter(next); }); $(document).on('click', '.agp-add-row', function(e) { var content = $(this).closest('.agp-repeater').find('.agp-row.agp-row-template').html(); var index = 'xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {var r = Math.random()*16|0,v=c=='x'?r:r&0x3|0x8;return v.toString(16);}); content = '<tr class="agp-row">' + content.replace(/\[0\]/g, '[' + index + ']').replace(/_0_/g, '_' + index + '_') + '</tr>'; $(this).closest('.agp-repeater').find('tbody').append(content); }); }); })(jQuery); |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0312 ]-- |