body { background-color:black; } .clear { clear: both; } .limit-wrapper { padding-left: 0; padding-right: 0; } .modal-backdrop { z-index: -1; } .modal { z-index: 99999999; background: #0000008a; overflow-y: auto; padding-top: 80px; } .modal-footer{ height: 10vh; overflow-y: auto; } #card-image-container { position: relative; display: block; margin-left: auto; margin-right: auto; /* max-height: 30vh; */ width: auto; } .small-image { width: 100px; max-height: 100px; } #card-title-container { text-align: left; } .card-title { color:white; } .modal-img-top { height: auto; object-fit: cover; } .card-img-top { /* max-height: 15vh; */ object-fit: contain; padding-top: 5px; } .card-img-top:hover { opacity: 0.7; } #selectedImage { width: 100%; } .modal-footer { direction: rtl; float: left; height: 100%; } .modalItem { cursor: pointer; transition: 0.3s; } #imgModalTitle { width: 100%; } #card-paragraph-container { float: left; text-align: left; color:white; } /* #card-date-container { float: right; } */ .modalContainer { margin-top: 10px; } a { color:white !important; } .card-text { color:white !important; } .modal-content { background-color: black !important; } jQuery(function($){ function getData (current_page, id = null) { let postData = {} let post_id = "" let current_url = window.location.href let indexOf = current_url.indexOf("?id=") for (let x = (indexOf + 4); x < current_url.length; x++) { post_id += current_url[x] } $.ajax({ type:"GET", url: "https://phpstack-235332-720409.cloudwaysapps.com/api/events.php", data: { "company" : "richwoodvcdotcom_true ", "id": post_id, "type" : 'event' }, success: function(res) { if (res.length == 1) { let data = res[0] let d = new Date(data.datetime) $("#card-title-container").html(data.name) $('#card-paragraph-container').html(data.description) $('#card-date-container').html(d.getFullYear() + "-" + ((d.getMonth() +1) < 10 ? ("0"+(d.getMonth() +1)) : (d.getMonth() +1)) + "-" + (d.getDate() { console.log(p) if (p.image_url) { if (p.upload_type == 'video') { $("#all-item-list").append(`

${p.name}

${p.description}

`); $('#modalItem'+p.id).click(function() { showImage('video', "https://www.youtube.com/embed/"+p.image_url, p.name ,p.description) }) } else { $("#all-item-list").append(`
${p.id}

${p.name}

${p.description}

`); $('#modalItem'+p.id).click(function() { showImage('image', "https://phpstack-235332-720409.cloudwaysapps.com/"+p.image_url, p.name, p.description ) }) } } }) } }, error: function(res) { console.log(res) } }) } function showImage (type, url, title, desc) { // $("#selectedImage").attr('src', e.target.src) $('#imgModalTitle').html("") if (type == 'image') { $('#imgModalTitle').append(``) } else { $('#imgModalTitle').append(`
`) } $('#imgModalBody').html("") $("#imgModalBody").append(`

${title}

`) $("#imgModalFooter").html(desc) $("#imgModal").modal('show') } getData(); })

ASIAPEZ ASSOCIATION/PANPAY/RICHWOOD VENTURES BERHAD-LOKASI 3: PERTUBUHAN KEBAJIKAN ORANG TUA XI YING (SUBANG USJ) 14/11/2021

2021-11-14   RICHWOOD VENTURES BERHAD

ASIAPEZ ASSOCIATION/PANPAY/RICHWOOD VENTURES BERHAD-LOKASI 3: PERTUBUHAN KEBAJIKAN ORANG TUA XI YING (SUBANG USJ) 14/11/2021 <a style="color:blue" PERTUBUHAN KEBAJIKAN ORANG TUA XI YING

<!--

-->
3291

3290

3289

3288

3287