1var vakitLabelsMap = vakitLabelsMap || { 2 0: { tr: "İmsak", ar: "اÙÙØ¬Ø±" }, 3 1: { tr: "GüneÅ", ar: "Ø§ÙØ´Ù س" }, 4 2: { tr: "ÃÄle", ar: "Ø§ÙØ¸Ùر" }, 5 3: { tr: "İkindi", ar: "Ø§ÙØ¹ØµØ±" }, 6 4: { tr: "AkÅam", ar: "اÙ٠غرب" }, 7 5: { tr: "Yatsı", ar: "Ø§ÙØ¹Ø´Ø§Ø¡" } 8}; 9 10 11//console.log("lang ", currentCulture, " ", dibLang); 12var geocoder; 13if (navigator.geolocation) { 14 navigator.geolocation.getCurrentPosition(successFunction, errorFunction); 15 // SetCurrentPrayerTimeColor(); 16} 17function successFunction(position) { 18 var lat = position.coords.latitude; 19 var lng = position.coords.longitude; 20 codeLatLng(lat, lng); 21} 22var cityName; 23function errorFunction(ex) { 24 console.log(ex); 25 initVakitContent("ANKARA"); 26} 27 28function codeLatLng(lat, lng) { 29 geocoder = new google.maps.Geocoder(); 30 var latlng = new google.maps.LatLng(lat, lng); 31 geocoder.geocode({ 'latLng': latlng }, function (results, status) { 32 if (status === google.maps.GeocoderStatus.OK) { 33 if (results[1]) { 34 var indice = 0; 35 var city, region, country; 36 var fullAddress = results[0].formatted_address;//konuma ait tüm adres bilgisini getirir. 37 //if (fullAddress.indexOf("Türkiye") >= 0 || fullAddress.indexOf("Turkey") >= 0) {//eÄer ilgili adres türkiye lokasyonunda ise. 38 // city = results[0].address_components[3].long_name.toUpperCase(); 39 // region = results[0].address_components[2].long_name; 40 // country = results[0].address_components[4].long_name 41 // //Namaz Vakitlerini ile Göre Getir 42 // if (city) { 43 // $("#header-city-name").text(city); 44 // $(".nv-rt-city").text(city); 45 // initVakitContent(city); 46 // } 47 //} 48 //else { 49 50 //Yurt dıÅı ülke bilgileri getiriliyor 51 try { 52 $.getJSON("https://namazvakitleri.diyanet.gov.tr/assets/locations/countries.json", function (data) { 53 var country = new Array(); 54 if (fullAddress.toUpperCase().indexOf("TÃRKIYE") > -1 || fullAddress.toUpperCase().indexOf("TÃRKİYE") > -1 || fullAddress.toUpperCase().indexOf("TURKEY") > -1) { 55 country = $.grep(data, function (val) { 56 return val.CountryName.toUpperCase() == "TURKEY"; 57 }); 58 } else { 59 country = $.grep(data, function (val) { 60 return (fullAddress.toUpperCase().indexOf(val.CountryName.toUpperCase()) > 0); 61 }); 62 } 63 64 if (country && country.length > 0) { 65 country = country[0]; 66 //ülkeye ait Åehir bilgisi getiriliyor 67 $.getJSON("https://namazvakitleri.diyanet.gov.tr/assets/locations/" + country.CountryName + ".json", function (data) { 68 var selectedLocation; 69 var selectedState; 70 //önce state bilgisinin eÅleÅmesine bakılıyor. ayrı ayrı bakılmamasının nedeni örnek olarak ankara bala ilçesi için veri city bilgisinde arandıÄında ankara ve bala olarak iki sonuç döndürecektir. Yani state bilgisi ile city bilgisi aynı olabildiÄi için aradaki city'i ayıklamak için aÅaÄıdaki kod kullanılmıÅtır. 71 selectedState = $.grep(data, function (val) { 72 return fullAddress.toUpperCase().indexOf(val.State.toUpperCase()) > -1; 73 }); 74 if (selectedState && selectedState.length > 0) { 75 selectedState = selectedState[0]; 76 selectedCity = $.grep(data, function (val) { 77 return (fullAddress.toUpperCase().indexOf(val.City.toUpperCase()) > -1 && fullAddress.toUpperCase().indexOf(selectedState.State) > -1); 78 }); 79 if (selectedCity && selectedCity.length > 0) { 80 selectedCity = selectedCity[0]; 81 selectedLocation = selectedCity; 82 $("#header-city-name").text(selectedLocation.City); 83 $(".nv-rt-city").text(selectedLocation.City); 84 } 85 else { 86 selectedLocation = selectedState; 87 $("#header-city-name").text(selectedLocation.State); 88 $(".nv-rt-city").text(selectedLocation.State); 89 } 90 initVakitContentByCityID(selectedLocation.CityID); 91 92 } else { 93 initVakitContent("ANKARA"); 94 } 95 }); 96 }; 97 }).fail(function (ex) { 98 console.log(ex); 99 initVakitContent("ANKARA"); 100 }); 101 } catch (e) { 102 console.log(e.message); 103 initVakitContent("ANKARA"); 104 } 105 106 //} 107 //for (var i = 0; i < results[j].address_components.length; i++) { 108 // if (results[j].address_components[i].types[0] == "locality") { 109 // //this is the object you are looking for 110 // city = results[j].address_components[i]; 111 // } 112 // if (results[j].address_components[i].types[0] == "administrative_area_level_1") { 113 // //this is the object you are looking for 114 // region = results[j].address_components[i]; 115 // } 116 // if (results[j].address_components[i].types[0] == "country") { 117 // //this is the object you are looking for 118 // country = results[j].address_components[i]; 119 // } 120 //} 121 122 123 } 124 else { 125 // alert("No results found"); 126 } 127 } 128 else { 129 // alert("Geocoder failed due to: " + status); 130 } 131 });
132} 133 134var vakitDataReadyCall; 135var vakit_label_el = null; 136var vakit_value_el = null; 137var vakit_value_el_2 = null; 138function initTodayData() { 139 var headerVakitEl = $("#header-time-table"); 140 vakit_label_el = $(".nv-rt-vakit-txt"); 141 vakit_value_el_2 = $(".nv-tr-vakit-value"); 142 vakit_value_el = $(".header-time-remaining"); 143 144 145 var date = new Date(); 146 var mm = moment(date); 147 // console.log(mm); 148 if (dibLang == "tr") { 149 $(".todayDayNum").html(date.getDate()); 150 var mounthName = "EYLÃL"; 151 switch (date.getMonth()) { 152 case 0: 153 mounthName = "OCAK"; 154 break; 155 case 1: 156 mounthName = "ÅUBAT"; 157 break; 158 case 2: 159 mounthName = "MART"; 160 break; 161 case 3: 162 mounthName = "NİSAN"; 163 break; 164 case 4: 165 mounthName = "MAYIS"; 166 break; 167 case 5: 168 mounthName = "HAZİRAN"; 169 break; 170 case 6: 171 mounthName = "TEMMUZ"; 172 break; 173 case 7: 174 mounthName = "AÄUSTOS"; 175 break; 176 case 8: 177 mounthName = "EYLÃL"; 178 break; 179 case 9: 180 mounthName = "EKİM"; 181 break; 182 case 10: 183 mounthName = "KASIM"; 184 break; 185 case 11: 186 mounthName = "ARALIK"; 187 break; 188 189 } 190 var weekday = new Array(7); 191 weekday[0] = "PAZARTESİ"; 192 weekday[1] = "SALI"; 193 weekday[2] = "ÃARÅAMBA"; 194 weekday[3] = "PERÅEMBE"; 195 weekday[4] = "CUMA"; 196 weekday[5] = "CUMARTESİ"; 197 weekday[6] = "PAZAR"; 198 var det = date.getDay() - 1; 199 var mw = weekday[det]; 200 201 $(".currMounth").html(mounthName); 202 $(".weekDay").html(mw); 203 204 205 } else { // if (dibLang == "ar") { 206 207 var mw = mm.format("dddd"); 208 209 $(".weekDay").html(mw); 210 211 $(".currMounth").html(mm.format("MMMM")); 212 $(".todayDayNum").html(mm.format("D")); 213 } 214 215 216} 217 218function initVakitContentByCityID(cityID) { 219 initTodayData(); 220 $('#Country').change(function () { 221 var select = 'Seciniz'; 222 mainCountryChange($(this), select); 223 }); 224 setPrayTimeByCityId("2", cityID); 225} 226 227function initVakitContent(cityName) { 228 initTodayData(); 229 $('#Country').change(function () { 230 var select = 'Seciniz'; 231 mainCountryChange($(this), select); 232 }); 233 mainStateChange("2", cityName); 234} 235 236function mainCountryChange(e, t) { 237 $("#loading").show(); 238 var n = document.getElementById("stateHtml"); 239 var r = e.val(); 240 if (r != null && r != "") { 241 $.getJSON("/PrayerTime/FillMainPageState", { 242 countryCode: r 243 }, function (e) { 244 var n = $("#State"); 245 n.empty(); 246 var r = '<option value="-1" selected>' + t + "</option>"; 247 $.each(e, function (e, t) { 248 r += "<option value='" + t.Value + "'>" + t.Text + "</option>" 249 }); 250 $("#State").html(r) 251 }) 252 } 253 $("#loading").hide() 254} 255 256function setPrayTimeByCityId(e, cityId) { 257 $.ajax({
258 url: "/" + currentCulture + "/PrayerTimes/GetPrayerTimesByCityId?cityID=" + cityId, 259 type: "GET", 260 dataType: "json", 261 contentType: "application/json; charset=utf-8", 262 success: function (e) { 263 SetDataResult(e); 264 if (vakitDataReadyCall != null) { 265 myTimer('main'); 266 vakitDataReadyCall(e); 267 } 268 var hicriTakvim = e.DateHijri; 269 $(".nv-tr-hicri-takvim").text(hicriTakvim); 270 // $(".hicri-vakit").text(hicriTakvim); 271 if (hicriTakvim && dibLang != "ru") { 272 var _arr = hicriTakvim.split(" "); 273 if (_arr.length > 2) { 274 $(".today-day-num-hicri").text(_arr[0]); 275 $(".curr-mounth-hicri").text(_arr[1]); 276 $(".year-hicri").text(_arr[2]); 277 } 278 279 } else { 280 $(".number-of-month-hicri").remove(); 281 $(".day-of-month-hicri").remove(); 282 } 283 284 setInterval(myTimer, 1000); 285 } 286 }); 287} 288 289function mainStateChange(e, cityName) { 290 var n = { 291 // countryName: e, 292 cityName: cityName//"506"//"ANKARA"// 506//$("option:selected", t).val() 293 }; 294 if (n.cityName.indexOf("Seçiniz") == -1 /*&& n.countryName.indexOf("Seçiniz") == -1 && n.name != "-1"*/) { 295 var r = n;//JSON.stringify(n); 296 //debugger; 297 var tttt = currentCulture; 298 $.ajax({
299 url: "/" + currentCulture + "/PrayerTimes/GetPrayerTimesByStateName?stateName=" + cityName, 300 type: "GET", 301 dataType: "json", 302 contentType: "application/json; charset=utf-8", 303 success: function (e) { 304 SetDataResult(e); 305 if (vakitDataReadyCall != null) { 306 myTimer('main'); 307 vakitDataReadyCall(e); 308 } 309 var hicriTakvim = e.DateHijri; 310 $(".nv-tr-hicri-takvim").text(hicriTakvim); 311 // $(".hicri-vakit").text(hicriTakvim); 312 if (hicriTakvim && dibLang != "ru") { 313 var _arr = hicriTakvim.split(" "); 314 if (_arr.length > 2) { 315 $(".today-day-num-hicri").text(_arr[0]); 316 $(".curr-mounth-hicri").text(_arr[1]); 317 $(".year-hicri").text(_arr[2]); 318 } 319 320 } else { 321 $(".number-of-month-hicri").remove(); 322 $(".day-of-month-hicri").remove(); 323 } 324 325 //console.log("vakit result" ,hicriTakvim); 326 // console.log(e); 327 328 $(".hicri-vakit").text(hicriTakvim); 329 setInterval(myTimer, 1000); 330 } 331 }); 332 } 333} 334 335function countryChange(e, t) { 336 var n = document.getElementById("stateHtml"); 337 var r = document.getElementById("cityHtml"); 338 var i = e.val(); 339 if (i != null && i != "") { 340 if (i == "33" || i == "52" || i == "2") { 341 r.style.display = "block" 342 } else { 343 r.style.display = "none" 344 } 345 $.getJSON("/PrayerTime/FillState", { 346 countryCode: i 347 }, function (e) { 348 var n = $("#State"); 349 n.empty(); 350 var r = '<option value="-1" selected>' + t + "</option>"; 351 $.each(e, function (e, t) { 352 r += "<option value='" + t.Value + "'>" + t.Text + "</option>" 353 }); 354 $("#State").html(r) 355 }); 356 n.style.display = "block" 357 } 358} 359 360function stateChange(e, t, n) { 361 var r = $("option:selected", t).val(); 362 var i = { 363 countryName: e, 364 stateName: r, 365 name: r 366 }; 367 if (i == null || i.name == null || i.name == "-1") { 368 return 369 } 370 if (e == "2" || e == "33" || e == "52") { 371 var s = t.val(); 372 var o = document.getElementById("cityHtml"); 373 if (s != null && s != "") { 374 $.getJSON("/PrayerTime/FillCity", { 375 itemId: s 376 }, function (e) { 377 var t = $("#City"); 378 t[0].value = ""; 379 t.empty(); 380 var r = '<option value="-1" selected>' + n + "</option>"; 381 $.each(e, function (e, t) { 382 r += "<option value='" + t.Value + "'>" + t.Text + "</option>" 383 }); 384 if (o) { 385 o.style.display = "block" 386 } 387 $("#City").html(r) 388 }) 389 } 390 } else { 391 if (i.name.indexOf("Seçiniz") == -1 && i.countryName.indexOf("Seçiniz") == -1) { 392 var u = JSON.stringify(i); 393 $.ajax({
394 url: "/PrayerTime/PrayerTimesSet", 395 type: "POST", 396 dataType: "json", 397 data: u, 398 contentType: "application/json; charset=utf-8", 399 success: function (e) { 400 SetDataResult(e) 401 } 402 }) 403 } 404 } 405} 406 407function cityChange(e, t, n) { 408 var r = { 409 countryName: t, 410 stateName: n, 411 name: $("option:selected", e).val() 412 }; 413 if (r == null || r.name == null || r.name == "-1") { 414 return 415 } 416 if (r.name.indexOf("Seçiniz") == -1 && r.countryName.indexOf("Seçiniz") == -1) { 417 var i = JSON.stringify(r); 418 $.ajax({ 419 url: "/PrayerTime/PrayerTimesSet", 420 type: "POST", 421 dataType: "json", 422 data: i, 423 contentType: "application/json; charset=utf-8", 424 success: function (e) { 425 SetDataResult(e) 426 } 427 }) 428 } 429} 430 431function myTimer(e) { 432 //if (!document.getElementById("currentTime")) return; 433 var t = new Date; 434 var n = t.getHours(); 435 var r = t.getMinutes(); 436 var i = "00"; 437 i = String(r); 438 if (i.length == 1) { 439 i = "0" + i 440 } 441 // document.getElementById("currentTime").innerHTML = n + ":" + i; 442 get_time_difference(t, e) 443} 444function update_remaining(label, obj) { 445 var i = obj; 446 //console.log(label, obj); 447 var K = "00"; 448 if (i.hours > 0) { 449 K = String(i.hours) 450 } 451 if (K.length == 1) { 452 K = "0" + K 453 } 454 var Q = "00"; 455 if (i.minutes > 0) { 456 Q = String(i.minutes) 457 } 458 if (Q.length == 1) { 459 Q = "0" + Q 460 } 461 var G = "00"; 462 if (i.seconds > 0) { 463 G = String(i.seconds) 464 } 465 if (G.length == 1) { 466 G = "0" + G 467 } 468 var Y = K + ":" + Q + ":" + G; 469 i.duration = Y; 470 //console.log(Y); 471 472 vakit_label_el.text("/" + label); 473 vakit_value_el.text(Y); 474 vakit_value_el_2.text(Y); 475} 476function get_time_difference(e, t) { 477 // debugger; 478 var n = new Date; 479 if (e.getHours() >= 12) { 480 n.setDate(e.getDate() + 1) 481 } else { 482 n = e 483 } 484 /* 485 var r = document.getElementById("spRemainingTimeText"); 486 while (r.firstChild) { 487 r.removeChild(r.firstChild) 488 } 489 */ 490 var i = new Object; 491 /* 492 var s = document.getElementById("liImsak"); 493 var o = document.getElementById("liGunes"); 494 var u = document.getElementById("liOgle"); 495 var a = document.getElementById("liIkindi"); 496 var f = document.getElementById("liAksam"); 497 var l = document.getElementById("liYatsi"); 498 s.setAttribute("class", ""); 499 o.setAttribute("class", ""); 500 u.setAttribute("class", ""); 501 a.setAttribute("class", ""); 502 f.setAttribute("class", ""); 503 l.setAttribute("class", ""); 504 */ 505 var c = document.getElementById("spImsak"); 506 if (!c.firstChild) { 507 return; 508 } 509 var h = c.firstChild.data; 510 var p = h.split(":"); 511 var d = new Date(n.getFullYear(), n.getMonth(), n.getDate(), p[0], p[1], 0, 0); 512 var v = document.getElementById("spGunes"); 513 var m = v.firstChild.data; 514 var g = m.split(":"); 515 var y = new Date(e.getFullYear(), e.getMonth(), e.getDate(), g[0], g[1], 0, 0); 516 var b = document.getElementById("spOgle"); 517 var w = b.firstChild.data; 518 var E = w.split(":"); 519 var S = new Date(e.getFullYear(), e.getMonth(), e.getDate(), E[0], E[1], 0, 0); 520 var x = document.getElementById("spIkindi"); 521 var T = x.firstChild.data; 522 var N = T.split(":"); 523 var C = new Date(e.getFullYear(), e.getMonth(), e.getDate(), N[0], N[1], 0, 0); 524 var k = document.getElementById("spAksam"); 525 var L = k.firstChild.data; 526 var A = L.split(":"); 527 var O = new Date(e.getFullYear(), e.getMonth(), e.getDate(), A[0], A[1], 0, 0); 528 var M = document.getElementById("spYatsi"); 529 var _ = M.firstChild.data; 530 var D = _.split(":"); 531 var P = new Date(e.getFullYear(), e.getMonth(), e.getDate(), D[0], D[1], 0, 0); 532 var H = d.getTime() - e.getTime(); 533 var B = y.getTime() - e.getTime(); 534 var j = S.getTime() - e.getTime(); 535 var F = C.getTime() - e.getTime(); 536 var I = O.getTime() - e.getTime(); 537 var q = P.getTime() - e.getTime(); 538 var R; 539 var U = new Array; 540 U[0] = H; 541 U[1] = B; 542 U[2] = j; 543 U[3] = F; 544 U[4] = I; 545 U[5] = q; 546 for (var z = 0; z <= 6; z++) { 547 if (U[z] >= 0) { 548 if (R == null) { 549 R = U[z] 550 } else if (R > U[z]) { 551 R = U[z] 552 } 553 } 554 } 555 if (H >
555 0 && H == R) { 556 i.days = Math.floor(H / 1e3 / 60 / 60 / 24); 557 H -= i.days * 1e3 * 60 * 60 * 24; 558 i.hours = Math.floor(H / 1e3 / 60 / 60); 559 H -= i.hours * 1e3 * 60 * 60; 560 i.minutes = Math.floor(H / 1e3 / 60); 561 H -= i.minutes * 1e3 * 60; 562 i.seconds = Math.floor(H / 1e3); 563 //l.setAttribute("class", "active"); 564 //r.appendChild(document.createTextNode(document.getElementById("hfImsakText").value)); 565 update_remaining(vakitLabelsMap[0][dibLang], i); 566 } else if (B > 0 && B == R) { 567 i.days = Math.floor(B / 1e3 / 60 / 60 / 24); 568 B -= i.days * 1e3 * 60 * 60 * 24; 569 i.hours = Math.floor(B / 1e3 / 60 / 60); 570 B -= i.hours * 1e3 * 60 * 60; 571 i.minutes = Math.floor(B / 1e3 / 60); 572 B -= i.minutes * 1e3 * 60; 573 i.seconds = Math.floor(B / 1e3); 574 update_remaining(vakitLabelsMap[1][dibLang], i); 575 // s.setAttribute("class", "active"); 576 //r.appendChild(document.createTextNode(document.getElementById("hfGunesText").value)) 577 } else if (j > 0 && j == R) { 578 i.days = Math.floor(j / 1e3 / 60 / 60 / 24); 579 j -= i.days * 1e3 * 60 * 60 * 24; 580 i.hours = Math.floor(j / 1e3 / 60 / 60); 581 j -= i.hours * 1e3 * 60 * 60; 582 i.minutes = Math.floor(j / 1e3 / 60); 583 j -= i.minutes * 1e3 * 60; 584 i.seconds = Math.floor(j / 1e3); 585 // o.setAttribute("class", "active"); 586 //r.appendChild(document.createTextNode(document.getElementById("hfOgleText").value)); 587 /* 588 if (t == "inner") { 589 if (i.days == "0" && i.hours == "0" && i.minutes == "0" && i.seconds == "1") { 590 var W = $("#ezanogle").get(0); 591 W.play() 592 } 593 } 594 */ 595 update_remaining(vakitLabelsMap[2][dibLang], i); 596 } else if (F > 0 && F == R) { 597 i.days = Math.floor(F / 1e3 / 60 / 60 / 24); 598 F -= i.days * 1e3 * 60 * 60 * 24; 599 i.hours = Math.floor(F / 1e3 / 60 / 60); 600 F -= i.hours * 1e3 * 60 * 60; 601 i.minutes = Math.floor(F / 1e3 / 60); 602 F -= i.minutes * 1e3 * 60; 603 i.seconds = Math.floor(F / 1e3); 604 /* 605 u.setAttribute("class", "active"); 606 r.appendChild(document.createTextNode(document.getElementById("hfIkindiText").value)); 607 if (t == "inner") { 608 if (i.days == "0" && i.hours == "0" && i.minutes == "0" && i.seconds == "1") { 609 var X = $("#ezanikindi").get(0); 610 X.play() 611 } 612 } 613 */ 614 update_remaining(vakitLabelsMap[3][dibLang], i); 615 } else if (I > 0 && I == R) { 616 i.days = Math.floor(I / 1e3 / 60 / 60 / 24); 617 I -= i.days * 1e3 * 60 * 60 * 24; 618 i.hours = Math.floor(I / 1e3 / 60 / 60); 619 I -= i.hours * 1e3 * 60 * 60; 620 i.minutes = Math.floor(I / 1e3 / 60); 621 I -= i.minutes * 1e3 * 60; 622 i.seconds = Math.floor(I / 1e3); 623 /* 624 a.setAttribute("class", "active"); 625 r.appendChild(document.createTextNode(document.getElementById("hfAksamText").value)); 626 if (t == "inner") { 627 if (i.days == "0" && i.hours == "0" && i.minutes == "0" && i.seconds == "1") { 628 var V = $("#ezanaksam").get(0); 629 V.play() 630 } 631 } 632 */ 633 update_remaining(vakitLabelsMap[4][dibLang], i); 634 } else if (q > 0 && q == R) { 635 i.days = Math.floor(q / 1e3 / 60 / 60 / 24); 636 q -= i.days * 1e3 * 60 * 60 * 24; 637 i.hours = Math.floor(q / 1e3 / 60 / 60); 638 q -= i.hours * 1e3 * 60 * 60; 639 i.minutes = Math.floor(q / 1e3 / 60); 640 q -= i.minutes * 1e3 * 60; 641 i.seconds = Math.floor(q / 1e3); 642 /* 643 f.setAttribute("class", "active"); 644 r.appendChild(document.createTextNode(document.getElementById("hfYatsiText").value)); 645 if (t == "inner") { 646 if (i.days == "0" && i.hours == "0" && i.minutes == "0" && i.seconds == "1") { 647 var J = $("#ezanyatsi").get(0); 648 J.play() 649 } 650 } 651 */ 652 update_remaining(vakitLabelsMap[5][dibLang], i); 653 } 654 655 /* 656 var Z = document.getElementById("remainingTime"); 657 while (Z.firstChild) { 658 Z.removeChild(Z.firstChild) 659 } 660 Z.appendChild(document.createTextNode(Y)) 661*/ 662} 663 664function SetDataResult(e) { 665 var t = document.getElementById("moonSrc"); 666 if (t) { 667 // t.src = "/UserFiles/AyEvreleri/" + e.MoonSrc 668 } 669 var n = document.getElementById("spKibleSaati"); 670 if (n) { 671 while (n.firstChild) { 672 n.removeChild(n.firstChild); 673 } 674 n.appendChild(document.createTextNode(e.KibleSaati)); 675 } 676 var r = document.getElementById("spGunesDogus"); 677 if (r) { 678 while (r.firstChild) { 679 r.removeChild(r.firstChild); 680 } 681 r.appendChild(document.createTextNode(e.Sunrise)); 682 } 683 var i = document.getElementById("spGunesBatis"); 684 if (i) { 685 while (i.firstChild) { 686 i.removeChild(i.firstChild) 687 } 688 i.appendChild(document.createTextNode(e.Sunset)); 689 // i.appendChild(document.createTextNode(e.Maghrib)); 690 } 691 var s = document.getElementById("spkibleAcisi"); 692 if (s) { 693 while (s.firstChild) { 694 s.removeChild(s.firstChild) 695 } 696 s.appendChild(document.createTextNode(e.KibleAcisi)); 697 } 698 var o = document.getElementById("spUlkeAdi"); 699 if (o) { 700 while (o.firstChild) { 701 o.removeChild(o.firstChild) 702 } 703 o.appendChild(document.createTextNode(e.UlkeAdi)); 704 } 705 var u = document.getElementById("spSehirAdi"); 706 if (u) { 707 while (u.firstChild) { 708 u.removeChild(u.firstChild) 709 } 710 u.appendChild(document.createTextNode(e.CityName)); 711 } 712 var a = document.getElementById("spImsak"); 713 if (a) { 714 while (a.firstChild) { 715 a.removeChild(a.firstChild) 716 } 717 a.appendChild(document.createTextNode(e.Fajr)); 718 } 719 var f = document.getElementById("spGunes"); 720 if (f) { 721 while (f.firstChild) { 722 f.removeChild(f.firstChild) 723 } 724 f.appendChild(document.createTextNode(e.Sun)); 725 // f.appendChild(document.createTextNode(e.Sunrise)); 726 } 727 var l = document.getElementById("spOgle"); 728 if (l) { 729 while (l.firstChild) { 730 l.removeChild(l.firstChild) 731 } 732 l.appendChild(document.createTextNode(e.Dhuhr)); 733 } 734 var c = document.getElementById("spIkindi"); 735 if (c) { 736 while (c.firstChild) { 737 c.removeChild(c.firstChild) 738 } 739 c.appendChild(document.createTextNode(e.Asr)); 740 } 741 var h = document.getElementById("spAksam"); 742 if (h) { 743 while (h.firstChild) { 744 h.removeChild(h.firstChild) 745 } 746 h.appendChild(document.createTextNode(e.Maghrib)) 747 } 748 var p = document.getElementById("spYatsi"); 749 if (p) { 750 while (p.firstChild) { 751 p.removeChild(p.firstChild) 752 } 753 p.appendChild(document.createTextNode(e.Isha)) 754 } 755}
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.