Ağrı’da kumar bağımlılığına karşı eğitim
Ağrı’da denetimli serbestlik personeline yönelik kumar bağımlılığıyla mücadele konusunda eğitim düzenlendi.
‘;
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’);
});
}
}
Ağrı Aile ve Sosyal Hizmetler İl Müdürlüğü tarafından, bağımlılıkla mücadele çalışmaları kapsamında Ağrı Denetimli Serbestlik personeline yönelik eğitim gerçekleştirildi.
Aile ve Sosyal Hizmetler Bakanlığının bağımlılıkla mücadele çalışmaları doğrultusunda düzenlenen eğitimde, kumar bağımlılığıyla mücadele konusu ele alındı.

Gözden kaçırmayın
Eğitim il müdürlüğü personeli tarafından verildi
Ağrı Aile ve Sosyal Hizmetler İl Müdürlüğü personeli tarafından verilen eğitim, denetimli serbestlik çalışanlarına yönelik gerçekleştirildi.
İl Müdürlüğünün sosyal medya hesabından yapılan açıklamada, “Bakanlığımızın bağımlılıkla mücadele çalışmaları kapsamında, Ağrı Denetimli Serbestlik personeline yönelik, İl Müdürlüğümüz personeli tarafından ‘Kumar Bağımlılığıyla Mücadele’ konulu eğitim verildi.” ifadelerine yer verildi.
Kaynak: dogubayazitgazetesi.com

