| Server IP : 27.254.66.5 / Your IP : 216.73.217.39 Web Server : Apache/2 System : Linux cs82.hostneverdie.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 User : technic2 ( 1951) PHP Version : 7.4.30 Disable Function : apache_child_terminate, apache_setenv, define_syslog_variables, escapeshellarg, escapeshellcmd,exec, fp, fput, highlight_file, ini_alter, ini_restore, inject_code, passthru,phpAds_remoteInfo, phpAds_XmlRpc,phpAds_xmlrpcDecode, phpAds_xmlrpcEncode, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid,posix_setuid, posix_setuid, posix_uname,proc_open,proc_close, proc_get_status, proc_nice, proc_terminate, shell_exec, syslog, system, xmlrpc_entity_decode, show_source,sleep,pcntl_exec,virtual,suexec,dbmopen,dl,symlink,disk_free_space,diskfreespace,leak MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/technic2/public_html/rytc/newgen/department/ |
Upload File : |
<section class="heading-page header-text" id="top" style="width: 100%; height: auto;">
<div class="container">
<div class="row">
<div class="col-lg-12">
<h6> <br></h6>
<h2> <br></h2>
</div>
</div>
</div>
</section>
<style>
/* ==============================
Administrative Page Responsive
ใช้ id #meetings เพื่อไม่ให้ CSS กระทบ template ส่วนอื่น
================================= */
#meetings .meeting-item .thumb img {
border-radius: 20px;
}
/* รูปหลักเดิม */
#meetings .main-admin-image {
width: 100%;
height: auto;
display: block;
border-radius: 20px;
}
/* ส่วนรูปภาพเพิ่มเติม */
#meetings .additional-gallery {
margin-top: 35px;
}
#meetings .gallery-title {
text-align: center;
margin-bottom: 25px;
}
#meetings .gallery-title h4 {
font-size: 24px;
font-weight: 700;
color: #1f272b;
margin-bottom: 8px;
}
#meetings .gallery-title p {
font-size: 15px;
color: #666;
margin-bottom: 0;
}
#meetings .gallery-card {
background: #ffffff;
border-radius: 18px;
overflow: hidden;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
transition: all 0.3s ease;
height: 100%;
}
#meetings .gallery-card:hover {
transform: translateY(-6px);
box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
}
#meetings .gallery-img-wrap {
width: 100%;
aspect-ratio: 16 / 10;
overflow: hidden;
background: #f5f5f5;
}
#meetings .gallery-img-wrap img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
border-radius: 0;
transition: transform 0.4s ease;
}
#meetings .gallery-card:hover .gallery-img-wrap img {
transform: scale(1.05);
}
#meetings .gallery-zoom-btn {
width: 100%;
border: 0;
padding: 0;
background: transparent;
cursor: zoom-in;
display: block;
}
#meetings .gallery-zoom-btn:focus {
outline: 3px solid rgba(6, 199, 85, 0.35);
outline-offset: 3px;
}
#meetings .gallery-img-wrap {
position: relative;
}
#meetings .gallery-img-wrap::after {
content: "คลิกเพื่อขยาย";
position: absolute;
left: 50%;
bottom: 12px;
transform: translateX(-50%);
background: rgba(0, 0, 0, 0.65);
color: #ffffff;
font-size: 13px;
padding: 6px 12px;
border-radius: 999px;
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none;
white-space: nowrap;
}
#meetings .gallery-card:hover .gallery-img-wrap::after {
opacity: 1;
}
/* Lightbox แสดงรูปใหญ่ ไม่พึ่ง Bootstrap JS เพื่อกัน template พัง */
.gallery-lightbox {
position: fixed;
inset: 0;
z-index: 99999;
display: none;
align-items: center;
justify-content: center;
padding: 24px;
background: rgba(0, 0, 0, 0.82);
}
.gallery-lightbox.active {
display: flex;
}
.gallery-lightbox-content {
position: relative;
width: min(100%, 980px);
max-height: 90vh;
background: #ffffff;
border-radius: 18px;
padding: 12px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.gallery-lightbox-img {
width: 100%;
max-height: 78vh;
object-fit: contain;
display: block;
border-radius: 12px;
}
.gallery-lightbox-caption {
margin: 10px 8px 4px;
font-size: 15px;
font-weight: 600;
color: #1f272b;
text-align: center;
}
.gallery-lightbox-close {
position: absolute;
top: -14px;
right: -14px;
width: 42px;
height: 42px;
border: 0;
border-radius: 50%;
background: #ffffff;
color: #1f272b;
font-size: 28px;
line-height: 1;
cursor: pointer;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.gallery-lightbox-close:hover {
background: #f2f2f2;
}
#meetings .gallery-content {
padding: 18px 18px 20px;
text-align: center;
}
#meetings .gallery-content h5 {
font-size: 18px;
font-weight: 700;
color: #1f272b;
margin-bottom: 8px;
}
#meetings .gallery-content p {
font-size: 14px;
line-height: 1.6;
color: #666;
margin-bottom: 0;
}
/* Tablet */
@media (max-width: 991.98px) {
#meetings .additional-gallery {
margin-top: 30px;
}
#meetings .gallery-title h4 {
font-size: 22px;
}
#meetings .gallery-card {
margin-bottom: 20px;
}
}
/* Mobile แนวตั้ง */
@media (max-width: 575.98px) {
#meetings .additional-gallery {
margin-top: 25px;
}
#meetings .gallery-title {
margin-bottom: 18px;
padding: 0 10px;
}
#meetings .gallery-title h4 {
font-size: 20px;
}
#meetings .gallery-title p {
font-size: 14px;
}
#meetings .gallery-content {
padding: 15px;
}
#meetings .gallery-content h5 {
font-size: 17px;
}
#meetings .gallery-content p {
font-size: 13px;
}
#meetings .gallery-img-wrap::after {
opacity: 1;
font-size: 12px;
bottom: 10px;
}
.gallery-lightbox {
padding: 12px;
}
.gallery-lightbox-content {
border-radius: 14px;
padding: 8px;
}
.gallery-lightbox-img {
max-height: 75vh;
}
.gallery-lightbox-close {
top: 8px;
right: 8px;
width: 38px;
height: 38px;
font-size: 26px;
}
}
</style>
<section class="meetings-page" id="meetings">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="row">
<div class="col-lg-12">
<div class="row grid justify-content-center">
<!-- ***** News Area Start ***** -->
<div class="col-lg-12 all">
<div class="meeting-item">
<div class="thumb">
<img src="../assets/department/administrative.gif" class="main-admin-image" alt="งานบริหารทั่วไป">
</div>
</div>
</div>
<!-- ***** News Area End ***** -->
</div>
</div>
<!-- ***** Additional Image Gallery Start ***** -->
<div class="col-lg-12">
<div class="additional-gallery">
<div class="gallery-title">
<h4>แผนผังโครงสร้าง</h4>
</div>
<div class="row justify-content-center">
<!-- Image 1 -->
<div class="col-lg-4 col-md-6 col-sm-12 mb-4">
<div class="gallery-card">
<div class="gallery-img-wrap">
<button type="button" class="gallery-zoom-btn" data-gallery-src="../assets/department/administrative-1.png" data-gallery-title="แผนภูมิการบริหารสถานศึกษา" aria-label="ขยายแผนภูมิการบริหารสถานศึกษา">
<img src="../assets/department/administrative-1.png" alt="แผนภูมิการบริหารสถานศึกษา">
</button>
</div>
<div class="gallery-content">
<h5>แผนภูมิการบริหารสถานศึกษา</h5>
<p>รายละเอียดของแผนภูมิการบริหารสถานศึกษา</p>
</div>
</div>
</div>
<!-- Image 2 -->
<div class="col-lg-4 col-md-6 col-sm-12 mb-4">
<div class="gallery-card">
<div class="gallery-img-wrap">
<button type="button" class="gallery-zoom-btn" data-gallery-src="../assets/department/administrative-2.png" data-gallery-title="แผนกวิชา" aria-label="ขยายแผนกวิชา">
<img src="../assets/department/administrative-2.png" alt="แผนกวิชา">
</button>
</div>
<div class="gallery-content">
<h5>แผนกวิชา</h5>
<p>รายละเอียดของแผนกวิชา</p>
</div>
</div>
</div>
<!-- Image 3 -->
<div class="col-lg-4 col-md-6 col-sm-12 mb-4">
<div class="gallery-card">
<div class="gallery-img-wrap">
<button type="button" class="gallery-zoom-btn" data-gallery-src="../assets/department/administrative-3.png" data-gallery-title="แผนกวิชาอุตสาหกรรม" aria-label="ขยายแผนกวิชาอุตสาหกรรม">
<img src="../assets/department/administrative-3.png" alt="แผนกวิชาอุตสาหกรรม">
</button>
</div>
<div class="gallery-content">
<h5>แผนกวิชาอุตสาหกรรม</h5>
<p>รายละเอียดของแผนกวิชาอุตสาหกรรม</p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- ***** Additional Image Gallery End ***** -->
</div>
</div>
</div>
</div>
</section>
<!-- ***** Gallery Lightbox Start ***** -->
<div class="gallery-lightbox" id="galleryLightbox" aria-hidden="true">
<div class="gallery-lightbox-content">
<button type="button" class="gallery-lightbox-close" id="galleryLightboxClose" aria-label="ปิดรูปภาพ">×</button>
<img src="" alt="" class="gallery-lightbox-img" id="galleryLightboxImg">
<div class="gallery-lightbox-caption" id="galleryLightboxCaption"></div>
</div>
</div>
<!-- ***** Gallery Lightbox End ***** -->
<script>
document.addEventListener('DOMContentLoaded', function () {
var lightbox = document.getElementById('galleryLightbox');
var lightboxImg = document.getElementById('galleryLightboxImg');
var lightboxCaption = document.getElementById('galleryLightboxCaption');
var closeBtn = document.getElementById('galleryLightboxClose');
var zoomButtons = document.querySelectorAll('#meetings .gallery-zoom-btn');
function openLightbox(src, title) {
lightboxImg.src = src;
lightboxImg.alt = title;
lightboxCaption.textContent = title;
lightbox.classList.add('active');
lightbox.setAttribute('aria-hidden', 'false');
document.body.style.overflow = 'hidden';
}
function closeLightbox() {
lightbox.classList.remove('active');
lightbox.setAttribute('aria-hidden', 'true');
lightboxImg.src = '';
document.body.style.overflow = '';
}
zoomButtons.forEach(function (button) {
button.addEventListener('click', function () {
openLightbox(button.getAttribute('data-gallery-src'), button.getAttribute('data-gallery-title'));
});
});
closeBtn.addEventListener('click', closeLightbox);
lightbox.addEventListener('click', function (event) {
if (event.target === lightbox) {
closeLightbox();
}
});
document.addEventListener('keydown', function (event) {
if (event.key === 'Escape' && lightbox.classList.contains('active')) {
closeLightbox();
}
});
});
</script>