İspanya’da Ukrayna’nın egemenliği vurgusu: Asla kabul etmeyeceğiz

var mostReadList = [];
$(function () {
fetch(“/json/mansetler”)
.then(response => {
if (response.ok) {
return response.json();
}
})
.then(data => {
if (data.Success) {
let count = 0;
data.List.forEach((item, index) => {
if (count !== 5 && uri.toLowerCase() !== item.GetUrl.toLowerCase()) {
item.SortOrder = count;
$(“.mansetlerCover”).eq(0).append(t(item, false));
count++;
}
});
}
})
.catch(error => console.error(“Error:”, error));

checkMobileOrTablet();
$(window).scroll(() => {
if ($(‘#first-article-frame’).length > 0) {
$(“#first-article-frame”).append(itemBox(/*Shuffle(*/mostReadList/*)*/.slice(0, 5)));
$(“#first-article-frame”).contents().unwrap();
}
});
});

var t = function (t, e) {
var r = $(“”, { href: t.GetUrl, “aria-label”: t.TitleShort, target: “_blank” }),
a = r.clone(),
n = $(““, { src: t.GetPath, alt: t.TitleShort}),
span = $(““, {}),
ilanSpan = “Resmi İlandır”;
n.attr(“width”, 314).attr(“height”, 225).attr(“decoding”, “async”);

if (t.SortOrder< 2 ) {
n.attr("loading", "lazy");
}
if (t.IsResmiIlan) {

}
var o = $("

“, { class: “multiple boxShadowSet” }).append(r.append(t.IsResmiIlan ? span.append(ilanSpan).append(n) : span.append(n)));
if (e) {
var i = $(“
“).append(a.text(t.TitleShort));
o.append(i);
}

var div4 = t.IsResmiIlan ? $(“

“, { class: “col-sm-12 view10 bik-ilan”, id: “bik-ilan-” + t.OfficalAdsNo }).append(o) : $(“

“, { class: “col-sm-12 view10″ }).append(o);
return div4;
};
const itemBox = (items) => {
let html = ”;
for (var i = 0; i < items.length; i++) {
items[i].GetUrl += "/";
items[i].GetPath = items[i].GetPath == null ? "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" : items[i].GetPath;

html +=
`

Add a Comment

Your email address will not be published. Required fields are marked *