| Server IP : 188.114.97.2 / Your IP : 104.23.243.201 Web Server : Apache/2.4.59 (Debian) System : Linux EDL-STRETCH 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64 User : edlftp ( 1002) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/git/sms.edl.codes.solutions/application/views/frontend/default/ |
Upload File : |
<?php
$gallery_info = $this->frontend_model->get_gallery_info_by_id($gallery_id);
foreach ($gallery_info as $row) {
$this->db->where('frontend_gallery_id', $row['frontend_gallery_id']);
$this->db->order_by('frontend_gallery_image_id', 'DESC');
$query = $this->db->get('frontend_gallery_image', $per_page, $this->uri->segment(4));
$images = $query->result_array();
?>
<div class="single-album-area page-content-area">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="single-album-wrapper">
<div class="album-header">
<h1 class="album-title">
<?php echo $row['title']; ?>
</h1>
<span class="album-meta"><?php echo date('d M, Y', $row['date_added']); ?></span>
<p class="album-description">
<?php echo $row['description']; ?>
</p>
<hr>
</div>
<div class="album-content lightbox-popup">
<div class="card-columns">
<?php foreach ($images as $image) { ?>
<div class="card">
<a href="uploads/frontend/gallery_images/<?php echo $image['image'];?>">
<img class="img-fluid" alt=""
src="uploads/frontend/gallery_images/<?php echo $image['image'];?>">
</a>
</div>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col">
<div class="album-grid-pagination">
<nav aria-label="pagination">
<?php echo $this->pagination->create_links(); ?>
</nav>
</div>
</div>
</div>
</div>
</div>
<?php } ?>