Patnos’ta öğrenci servislerine yönelik denetimler sürüyor
Ağrı’nın Patnos ilçesinde öğrencilerin okullarına güvenli ulaşımını sağlamak amacıyla öğrenci servislerine yönelik denetimler gerçekleştirildi.
‘;
printHtml += cleanHeaderHtml;
}
if (media) {
printHtml += media.outerHTML;
}
if (articleBody) {
const articleClone = articleBody.cloneNode(true);
articleClone.querySelectorAll(‘.post-flash’).forEach(function (el) {
el.parentNode.removeChild(el);
});
printHtml += articleClone.outerHTML;
}
const iframe = document.createElement(‘iframe’);
iframe.style.position = ‘fixed’;
iframe.style.right = ‘0’;
iframe.style.bottom = ‘0’;
iframe.style.width = ‘0’;
iframe.style.height = ‘0’;
iframe.style.border = ‘0’;
document.body.appendChild(iframe);
const frameWindow = iframe.contentWindow || iframe;
const title = document.title || ‘Yazdır’;
// Yazdırma belgesi DOM API ile kurulur. Eskiden doc.write ile tam bir HTML
// belgesi metni yazılıyordu; o metin sayfa kaynağında fazladan head/body
// etiketleri gibi görünüp SEO denetim araçlarını yanıltıyordu.
// Yalnız doctype yazılır: standart modda (quirks değil) boş html/head/body oluşur.
const doc = frameWindow.document;
doc.open();
doc.write(”);
doc.close();
doc.documentElement.lang = ‘tr’;
const charset = doc.createElement(‘meta’);
charset.setAttribute(‘charset’, ‘utf-8’);
doc.head.appendChild(charset);
doc.title = title;
// Sayfanın stilleri kopyalanır; ‘ler yüklenince yazdırılır (aksi halde çıktı stilsiz kalır)
const styleLoads = [];
document.querySelectorAll(‘link[rel=”stylesheet”], style’).forEach(function (el) {
const clone = doc.importNode(el, true);
if (clone.tagName === ‘LINK’) {
styleLoads.push(new Promise(function (resolve) {
clone.onload = clone.onerror = resolve;
}));
}
doc.head.appendChild(clone);
});
const printStyle = doc.createElement(‘style’);
printStyle.textContent =
‘html, body { margin: 0; padding: 0; background: #ffffff; }’ +
‘.printed-article { margin: 0; padding: 20px; box-shadow: none; background: #ffffff; }’;
doc.head.appendChild(printStyle);
const wrapper = doc.createElement(‘div’);
wrapper.className = ‘printed-article’;
wrapper.innerHTML = printHtml;
doc.body.appendChild(wrapper);
// Stil dosyası takılırsa yazdırma sonsuza dek beklemesin
const stylesReady = Promise.race([
Promise.all(styleLoads),
new Promise(function (resolve) { setTimeout(resolve, 3000); })
]);
stylesReady.then(function () {
try {
frameWindow.focus();
frameWindow.print();
} finally {
setTimeout(function () {
document.body.removeChild(iframe);
}, 1000);
}
});
}
var dropdownButton = document.querySelector(‘.dropdownButton’);
if (dropdownButton) {
var icon = dropdownButton.querySelector(‘#icon’);
var parentDropdown = dropdownButton.closest(‘.dropdown’);
if (parentDropdown && icon) {
parentDropdown.addEventListener(‘show.bs.dropdown’, function () {
icon.classList.remove(‘fa-plus’);
icon.classList.add(‘fa-minus’);
});
parentDropdown.addEventListener(‘hide.bs.dropdown’, function () {
icon.classList.remove(‘fa-minus’);
icon.classList.add(‘fa-plus’);
});
}
}
‘;
printHtml += cleanHeaderHtml;
}
if (media) {
printHtml += media.outerHTML;
}
if (articleBody) {
const articleClone = articleBody.cloneNode(true);
articleClone.querySelectorAll(‘.post-flash’).forEach(function (el) {
el.parentNode.removeChild(el);
});
printHtml += articleClone.outerHTML;
}
const iframe = document.createElement(‘iframe’);
iframe.style.position = ‘fixed’;
iframe.style.right = ‘0’;
iframe.style.bottom = ‘0’;
iframe.style.width = ‘0’;
iframe.style.height = ‘0’;
iframe.style.border = ‘0’;
document.body.appendChild(iframe);
const frameWindow = iframe.contentWindow || iframe;
const title = document.title || ‘Yazdır’;
// Yazdırma belgesi DOM API ile kurulur. Eskiden doc.write ile tam bir HTML
// belgesi metni yazılıyordu; o metin sayfa kaynağında fazladan head/body
// etiketleri gibi görünüp SEO denetim araçlarını yanıltıyordu.
// Yalnız doctype yazılır: standart modda (quirks değil) boş html/head/body oluşur.
const doc = frameWindow.document;
doc.open();
doc.write(”);
doc.close();
doc.documentElement.lang = ‘tr’;
const charset = doc.createElement(‘meta’);
charset.setAttribute(‘charset’, ‘utf-8’);
doc.head.appendChild(charset);
doc.title = title;
// Sayfanın stilleri kopyalanır; ‘ler yüklenince yazdırılır (aksi halde çıktı stilsiz kalır)
const styleLoads = [];
document.querySelectorAll(‘link[rel=”stylesheet”], style’).forEach(function (el) {
const clone = doc.importNode(el, true);
if (clone.tagName === ‘LINK’) {
styleLoads.push(new Promise(function (resolve) {
clone.onload = clone.onerror = resolve;
}));
}
doc.head.appendChild(clone);
});
const printStyle = doc.createElement(‘style’);
printStyle.textContent =
‘html, body { margin: 0; padding: 0; background: #ffffff; }’ +
‘.printed-article { margin: 0; padding: 20px; box-shadow: none; background: #ffffff; }’;
doc.head.appendChild(printStyle);
const wrapper = doc.createElement(‘div’);
wrapper.className = ‘printed-article’;
wrapper.innerHTML = printHtml;
doc.body.appendChild(wrapper);
// Stil dosyası takılırsa yazdırma sonsuza dek beklemesin
const stylesReady = Promise.race([
Promise.all(styleLoads),
new Promise(function (resolve) { setTimeout(resolve, 3000); })
]);
stylesReady.then(function () {
try {
frameWindow.focus();
frameWindow.print();
} finally {
setTimeout(function () {
document.body.removeChild(iframe);
}, 1000);
}
});
}
var dropdownButton = document.querySelector(‘.dropdownButton’);
if (dropdownButton) {
var icon = dropdownButton.querySelector(‘#icon’);
var parentDropdown = dropdownButton.closest(‘.dropdown’);
if (parentDropdown && icon) {
parentDropdown.addEventListener(‘show.bs.dropdown’, function () {
icon.classList.remove(‘fa-plus’);
icon.classList.add(‘fa-minus’);
});
parentDropdown.addEventListener(‘hide.bs.dropdown’, function () {
icon.classList.remove(‘fa-minus’);
icon.classList.add(‘fa-plus’);
});
}
}
Gözden kaçırmayın
Patnos İlçe Millî Eğitim Müdürlüğü koordinesinde yürütülen denetimler, Şube Müdürü Suzan Cihangir’in koordinasyonunda emniyet birimleriyle iş birliği içerisinde yapıldı.

Denetimlerde öğrenci servis araçlarının mevzuata uygunluğu, öğrencilerin güvenli taşınması ve araçlarda bulunması gereken güvenlik tedbirleri kontrol edildi.
Öğrencilerin can güvenliğini ön planda tutan denetimlerin, ilgili kurumların iş birliğiyle belirli aralıklarla sürdürüleceği belirtildi.
Kaynak: dogubayazitgazetesi.com

