PageSourceSearch

https://armregistr.ru/catalog/view/javascript/blog/blog.blog.js

js armregistr.ru collected 2026-10-08 20:25:19 UTC 2,452 bytes, 72 lines download raw bytes

1/*
2 * Showmore records plugin for opencart
3 * Copyright (c) 2015 Shvarev Ruslan [email protected]
4 * Copyright (c) 2015 http://opencartadmin.com
5 */
6function records_more() {
7	    var $next = $('.pagination div.links b').next('a');
8	    if ($next.length == 0) {
9	        $next = $('.pagination li.active').next('li').find('a');
10	        if ($next.length == 0) {
11	        	return;
12	        }
13	    }
14	    $('#records_more a').append('<ins class="loading"><img src="catalog/view/theme/default/image/aloading16.png" alt=""></ins>');
15	    $.get($next.attr('href'), function (data) {�	        $data = $(data);
16	    	var $container = $('.seocmspro_content_main .record_columns');
17	        $container.append($data.find('.seocmspro_content_main .record_columns > *'));
18            $('.loading').remove();
19
20            $('.seocmspro_content_main div.pagination').html($data.find('.seocmspro_content_main div.pagination > *'));
21            $('#records_more').html($data.find('#records_more > *'))
22
23			if (localStorage.getItem('records_grid') == '100%') {
24				records_grid();
25			}
26
27		    var $next_load = $('.seocmspro_content_main .pagination div.links b').next('a');
28
29		    if ($next_load.length == 0) {
30		        $('#records_more').hide();
31
32		        $next_load = $('.seocmspro_content_main ul.pagination li.active').next('li').find('a');
33		        if ($next_load.length == 0) {
34		        } else {�		        	 $('#records_more').show();
35		        }
36		    }
37
38	        $data.filter('script').each(function () {
39	            if ((this.text || this.textContent || this.innerHTML).indexOf("document.write") >= 0) {
40	                return;
41	            }
42	            $.globalEval(this.text || this.textContent || this.innerHTML || '');
43	        });
44
45	    }, "html");
46
47
48
49
50
51
52	    return false;
53}
54
55function records_grid(width)
56{
57if (typeof(width) == "undefined") { width = '100%'; }
58�	$('.column_width_').css('width', width);
59	localStorage.setItem('records_grid', width);
60	if (width == '100%') {�		$('#ascp_list').prop('class', 'ascp_list_grid ascp_list_active');
61		$('#ascp_grid').prop('class', 'ascp_list_grid ascp_grid');
62	} else {�		$('#ascp_grid').prop('class', 'ascp_list_grid ascp_grid_active');
63		$('#ascp_list').prop('class', 'ascp_list_grid ascp_list');
64	}
65	return false;
66}
67
68$(document).ready(function(){
69	if (localStorage.getItem('records_grid') == '100%') {
70		records_grid();
71	}
72});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.