Điều 4 Văn bản hợp nhất 08/VBHN-BTNMT năm 2023 hợp nhất Nghị định hướng dẫn Luật Đất đai do Bộ Tài nguyên và Môi trường ban hành
Điều 4. Cơ quan quản lý đất đai
1. Cơ quan quản lý đất đai ở địa phương bao gồm:
a) Cơ quan quản lý đất đai ở tỉnh, thành phố trực thuộc Trung ương là Sở Tài nguyên và Môi trường;
b) Cơ quan quản lý đất đai ở huyện, quận, thị xã, thành phố thuộc tỉnh là Phòng Tài nguyên và Môi trường.
2.3.4.= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight);
const isInTabNoiDung = $(element).closest('#tab_noi_dung_vb').length > 0;
return isInViewport && isInTabNoiDung;
}
function getAddress(element) {
const validTags = ['trichyeu', 'cancu', 'phan', 'chuong', 'muc', 'tieumuc', 'dieu', 'khoan', 'diem'];
let parent = element.closest(validTags.join(','));
return parent ? $(parent).attr('address') : null;
}
function processTnplClasses($element) {
const tnplTextsInLine = new Set();
$element.find('tnpl').each(function () {
const $tnpl = $(this);
const tnplText = $tnpl.text().trim().toLowerCase();
if (tnplTextsInLine.has(tnplText)) {
return;
}
tnplTextsInLine.add(tnplText);
let tnplExists = false;
$('tnpl').each(function () {
const $existingTnpl = $(this);
const existingText = $existingTnpl.text().trim().toLowerCase();
if (
existingText === tnplText &&
$existingTnpl.hasClass('on') &&
isInViewportAndTabNoiDung($existingTnpl[0])
) {
tnplExists = true;
return false;
}
});
if (!tnplExists) {
$tnpl.addClass('on');
}
});
}
function processQueue() {
while (pendingRequests < maxConcurrentRequests && requestQueue.length > 0) {
const task = requestQueue.shift();
pendingRequests++;
task()
.always(() => {
pendingRequests--;
processQueue();
});
}
}
function processVisibleParagraphs() {
$('#tab_noi_dung_vb p:not([is-posted="1"])').each(function () {
let $element = $(this);
if (isInViewportAndTabNoiDung(this)) {
let p_innerHTML = $element.html();
let address = null;
if (cac_cau_hinh.loai_noi_dung.includes('docs')) {
address = getAddress($element);
}
$element.attr('is-posted', '1');
requestQueue.push(() =>
$.post(
'//tnpl' + (Math.floor(Math.random() * 10) + 1) + '.hethongphapluat.com/tien-ich/tim.tien.ich.php',
{ p_content: p_innerHTML, cac_cau_hinh, address },
function (response) {
$element.html(response);
processTnplClasses($element);
}
)
);
processQueue();
}
});
}
$(window).on('scroll resize', function () {
processVisibleParagraphs();
});
processVisibleParagraphs();
});