PKK'ya operasyon! 2'si HDP ilçe başkanı olmak üzere 10 gözaltı PKK'ya operasyon! 2'si HDP ilçe başkanı olmak üzere 10 gözaltı

PKK'ya operasyon! 2'si HDP ilçe başkanı olmak üzere 10 gözaltı

`;
}

return html;
}
function checkMobileOrTablet() {
var isInfinite = false;

if (!deviceInfo.isMobile) {
SabahSurmansetAjaxCall(“haberdetay”);
var HTML = “”;
if (isInfinite) {
HTML = ‘

‘;
} else {
HTML = ‘

‘;
}
//$(“#second-18bd85ac-3218-477c-a2ea-397b898fbc49”).append(HTML);
}
}

var sonuc;

// Start – Get Sabah Surmanset
function SabahSurmansetAjaxCall(type, Id) {
var attribute = “752×640”;

var _isMobile = typeof (deviceInfo) != “undefined” && typeof (deviceInfo.isMobile) != “undefined” ? deviceInfo.isMobile : false;

var _url = ”
_url += “?utm_source=ahaber_” + (_isMobile ? “mobil” : “web”) + “_anasayfa”;
_url += “&utm_medium=ahaber_” + (_isMobile ? “mobil” : “web”) + “_anasayfa”;
_url += “&utm_campaign=ahaber_” + (_isMobile ? “mobil” : “web”) + “_anasayfa”;
_url += “#a{articleId}”;

if (type == “haberdetay” || type == “galeridetay”) {

$.ajax({
method: “GET”,
async: false,
url: “/json/getarticlesbyrange”,
data: {
webSiteId: “50450B66-F39E-4DD8-867B-4D2E15726A5F”,
categoryId: “F949437E-A568-4E52-BAAC-EBEF5CC218D9”,
skip: 20,
take: 5,
attributes: attribute
},
dataType: “json”
}).done(function (result) {
if (result.success) {
isMobileLoadSabahNews = true;
sonuc = result.items;
sonuc = sonuc.slice(0, 4);
sonuc.splice(2, 1);
sonuc.splice(3, 1);
var _filteredList = Shuffle(sonuc).slice(0, 2);

$.each(_filteredList, function (index, item) {
currentUrl = _url.replace(‘{articleId}’, item.ArticleId);

var r = $(““, { href: currentUrl, alt: item.TitleShort, target: “_blank” }),
a = r.clone(),
n = $(““, { src: ” class: “lazyload” }),
span = $(““, {});
n.attr(“width”, 314).attr(“height”, 225).attr(“data-src”, (!item.Path ? item.Path2 : item.Path));
var o = $(“

“, { class: “multiple boxShadowSet” }).append(r.append(span.append(n)));
var i = $(“

“).append(a.text(item.TitleShort));
o.append(i);
var div4 = $(“

“, { class: “col-sm-12 view10” }).append(o);
});

$.getJSON(“/json/GetMansetForRightMenu”, function (e) {
if (e.Success) {
var r = 0;
if (e.List != null && e.List != undefined && e.List.length > 0) {
e.List = e.List.reverse();
}
mostReadList = e.List;
$.each(e.List, function (e, a) {
if (‘False’ === ‘False’) {
if (r “;
_html += ” “;
_html += ” \""“;
_html += ” “;
_html += ”

” + item.Title + “
“;
_html += “”;
$(“#news_” + Id).append(_html);
});
}, 2000);
}
});
});
}
}

function Shuffle(array) {
var m = array.length, t, i;
while (m) {
i = Math.floor(Math.random() * m–);
t = array[m];
array[m] = array[i];
array[i] = t;
}
return array;
}
// End – Get Sabah Surmanset

Kaynak URL