var stats = response.data;
$('#total-urls').text(stats.total);
$('#indexed-urls').text(stats.indexed);
$('#not-indexed-urls').text(stats.not_indexed);
$('#pending-urls').text(stats.pending);
createIndexingChart(stats);
}
}
});
}
function createIndexingChart(stats) {
var ctx = document.getElementById('indexing-chart').getContext('2d');
new Chart(ctx, {
type: 'doughnut',
data: {
labels: ['Индексирани', 'Неиндексирани', 'Непроверени'],
datasets: [{
data: [stats.indexed, stats.not_indexed, stats.pending],
backgroundColor: ['#46b450', '#dc3232', '#ffb900']
}]
},
options: {
responsive: true,
maintainAspectRatio: false
}
});
}
function loadRecentChecks() {
$.ajax({
url: seoIndexingChecker.ajax_url,
type: 'POST',
data: {
action: 'get_recent_checks',
nonce: seoIndexingChecker.nonce
},
success: function(response) {
if (response.success) {
$('#recent-checks').html(response.data.html);
}
}
});
}
function loadSitemapsTable() {
$.ajax({
url: seoIndexingChecker.ajax_url,
type: 'POST',
data: {
action: 'get_sitemaps_table',
nonce: seoIndexingChecker.nonce
},
success: function(response) {
if (response.success) {
$('#sitemaps-table').html(response.data.html);
}
}
});
}
function loadSitemapFilter() {
$.ajax({
url: seoIndexingChecker.ajax_url,
type: 'POST',
data: {
action: 'get_sitemap_filter_options',
nonce: seoIndexingChecker.nonce
},
success: function(response) {
if (response.success) {
$('#filter-sitemap').html(response.data.html);
}
}
});
}
function loadUrlsTable() {
var sitemapFilter = $('#filter-sitemap').val();
var statusFilter = $('#filter-status').val();
var urlFilter = $('#filter-url').val();
$('#urls-table').html('
Зареждане...
');
$.ajax({
url: seoIndexingChecker.ajax_url,
type: 'POST',
data: {
action: 'get_urls_table',
nonce: seoIndexingChecker.nonce,
sitemap_filter: sitemapFilter,
status_filter: statusFilter,
url_filter: urlFilter,
page: currentPage
},
success: function(response) {
if (response.success) {
$('#urls-table').html(response.data.html);
$('#pagination').html(response.data.pagination);
}
}
});
}
function addSingleSitemap(sitemapUrl, sitemapName) {
$.ajax({
url: seoIndexingChecker.ajax_url,
type: 'POST',
data: {
action: 'parse_sitemap',
nonce: seoIndexingChecker.nonce,
sitemap_url: sitemapUrl,
sitemap_name: sitemapName
},
success: function(response) {
if (response.success) {
alert('Sitemap добавен успешно! Намерени са ' + response.data.count + ' URL-и.');
$('#sitemap-url').val('');
$('#sitemap-name').val('');
loadSitemapsTable();
loadDashboardStats();
loadSitemapFilter();
} else {
alert('Грешка при добавяне на sitemap: ' + response.data.message);
}
}
});
}
function addMultipleSitemaps(sitemapUrls) {
$.ajax({
url: seoIndexingChecker.ajax_url,
type: 'POST',
data: {
action: 'add_multiple_sitemaps',
nonce: seoIndexingChecker.nonce,
sitemap_urls: sitemapUrls
},
success: function(response) {
if (response.success) {
alert('Добавени са ' + response.data.added_count + ' sitemap-а от общо ' + sitemapUrls.length + '.');
$('#multiple-sitemaps').val('');
loadSitemapsTable();
loadDashboardStats();
loadSitemapFilter();
} else {
alert('Грешка при добавяне на sitemap-ове.');
}
}
});
}
function autoDetectSitemaps() {
$.ajax({
url: seoIndexingChecker.ajax_url,
type: 'POST',
data: {
action: 'auto_detect_sitemaps',
nonce: seoIndexingChecker.nonce
},
success: function(response) {
if (response.success) {
"Философски Възглед на Отрицание на Ценностите" Отговор на Кръстословица
Отговор на Загадка към Кръстословица Философски Възглед на Отрицание на Ценностите
Намерихме отговорът за подсказката към кръстословицата Философски Възглед на Отрицание на Ценностите. Най-доброто решение се определя от оценките, популярността и честотата на търсенията. Най-вероятният отговор за тази подсказка е НИХИЛИЗЪМ.
Кръстословица Дължина на дума Отговор Философски Възглед на Отрицание на Ценностите Кръстословица 9 НИХИЛИЗЪМ
Списък със синоними за отговор на загатката към кръстословица Философски Възглед на Отрицание на Ценностите
НИХИЛИЗЪМ – Философски Възглед на Отрицание на Ценностите
Свързани статии, прочетете още: