').append($(this).contents());
});
var $html;
if ($(('.board-gallery')).hasClass('masonry-board')) {
$html = '
';
} else {
$html = '
';
}
$('.board-gallery .bbsnewf5').each(function () {
var $galleryBoard = $(this).closest('.board-gallery');
var $galleryItem = $(this).closest('tr');
var $checkbox = $galleryItem.find('input[type="checkbox"][name="delete_check_notice[]"]');
var $imageLink = $galleryItem.find('a');
var $imageUrl = $imageLink.find('img').attr('src');
var $galleryTitle = $galleryItem.find('.gallery_subject > a');
var $galleryEtc = $galleryItem.find('.gallery_etc');
var galleryItemTag = $galleryBoard.hasClass('masonry-board') ? '
' : '
';
if ($galleryBoard.hasClass('ect-hidden')) {
$galleryEtc.find("font").each(function () {
var text = $(this).text().trim();
var startIndex = text.indexOf(':') + 1;
var newText = text.substring(startIndex).trim();
$(this).replaceWith("
`);
$table.replaceWith($div);
});
$(window).on('load', function () {
$('.main-masonry-gallery').isotope({
itemSelector: '.gallery-item',
layoutMode: 'masonry'
});
});
$(window).on('load', function () {
$('.masonry-list').isotope({
itemSelector: '.gallery-item',
layoutMode: 'masonry'
});
});
});
/* ---------- js ---------- */
jQuery(function ($) {
$(function () {
$(".formmail_title_bgcolor").each(function () {
var placeholder_text = $(this).find("font").text();
$(this).parent("tr").find(".formmail_cell_bgcolor input:first-of-type").attr("placeholder", placeholder_text);
$(this).parent("tr").find(".formmail_cell_bgcolor textarea:first-of-type").attr("placeholder", placeholder_text);
});
$("table.base_formmail > tbody > tr > td input[name=com_formmail_check_safe]").each(function () {
$(this).parent().parent().parent().parent().parent().parent().addClass("check_safe");
});
$("table.base_formmail > tbody > tr > td .formmail_textarea_style").each(function () {
$(this).closest("tr").addClass("textarea_Message");
});
$("table.base_formmail > tbody > tr > td input[name=captcha_code]").each(function () {
$(this).parent("td").parent("tr").addClass("captcha_code");
});
// ????
$(".eng-body table.base_formmail > tbody > tr > td input[name=com_formmail_check_safe]").each(function () {
$(this).closest('tr').find("td:first-of-type").text("Personal Information Collection and Usage Purpose");
$(this).closest('tr').find("td:last-of-type").contents().filter(function () {
return this.nodeType === 3;
}).each(function () {
this.nodeValue = "I agree to the purpose of collection and use of my personal information";
});
$(this).closest('table').find("textarea").val(
`Personal Information Collection and Usage Purpose\n- To verify your identity, confirm your intention to join, and provide age-restricted services.\n- To deliver notifications, handle complaints, and ensure accurate delivery information.\n- To inform you of new services and provide personalized services.\n- To offer smooth and high-quality services.\n\nList of Personal Information Collected\n- Name, email, resident registration number, address, contact details, mobile number, and other optional items.\n\nRetention and Use Period\n- Personal information is destroyed promptly once the purpose of collection or provision is achieved.\n- Exceptionally, information may be retained for 3 months after consultation for smooth service, or longer if required by laws such as the Consumer Protection Act in E-commerce.`
);
});
$(".jpn-body table.base_formmail > tbody > tr > td input[name=com_formmail_check_safe]").each(function () {
$(this).closest('tr').find("td:first-of-type").text("Personal Information Collection and Usage Purpose");
$(this).closest('tr').find("td:last-of-type").contents().filter(function () {
return this.nodeType === 3;
}).each(function () {
this.nodeValue = "I agree to the purpose of collection and use of my personal information";
});
$(this).closest('table').find("textarea").val(
`Personal Information Collection and Usage Purpose\n- To verify your identity, confirm your intention to join, and provide age-restricted services.\n- To deliver notifications, handle complaints, and ensure accurate delivery information.\n- To inform you of new services and provide personalized services.\n- To offer smooth and high-quality services.\n\nList of Personal Information Collected\n- Name, email, resident registration number, address, contact details, mobile number, and other optional items.\n\nRetention and Use Period\n- Personal information is destroyed promptly once the purpose of collection or provision is achieved.\n- Exceptionally, information may be retained for 3 months after consultation for smooth service, or longer if required by laws such as the Consumer Protection Act in E-commerce.`
);
});
$(".chn-body table.base_formmail > tbody > tr > td input[name=com_formmail_check_safe]").each(function () {
$(this).closest('tr').find("td:first-of-type").text("Personal Information Collection and Usage Purpose");
$(this).closest('tr').find("td:last-of-type").contents().filter(function () {
return this.nodeType === 3;
}).each(function () {
this.nodeValue = "I agree to the purpose of collection and use of my personal information";
});
$(this).closest('table').find("textarea").val(
`Personal Information Collection and Usage Purpose\n- To verify your identity, confirm your intention to join, and provide age-restricted services.\n- To deliver notifications, handle complaints, and ensure accurate delivery information.\n- To inform you of new services and provide personalized services.\n- To offer smooth and high-quality services.\n\nList of Personal Information Collected\n- Name, email, resident registration number, address, contact details, mobile number, and other optional items.\n\nRetention and Use Period\n- Personal information is destroyed promptly once the purpose of collection or provision is achieved.\n- Exceptionally, information may be retained for 3 months after consultation for smooth service, or longer if required by laws such as the Consumer Protection Act in E-commerce.`
);
});
});
});