MMCT TEAM
Server IP : 192.185.129.71  /  Your IP : 18.223.135.15
Web Server : Apache
System : Linux bh-ht-3.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : svymadmin ( 4072)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home4/svymadmin/public_html/vivekaexcel.edu.in/school/application/views/frontend/default/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home4/svymadmin/public_html/vivekaexcel.edu.in/school/application/views/frontend/default/event.php
<?php
  $this->db->where('status', 1);
  $this->db->order_by('timestamp', 'DESC');
  $query = $this->db->get('frontend_events', $per_page, $this->uri->segment(3));
  $events = $query->result_array();
  $recent_notices = $this->frontend_model->get_frontend_recent_noticeboard();
?>
<div class="single-news-area page-content-area">
    <div class="container">
        <div class="row page-title">
            <div class="col-md-6">
                <div>
                    <h1><?php echo $page_title; ?></h1>
                </div>
            </div>
            <div class="col-md-6">
                <nav aria-label="pagination">
                    <?php echo $this->pagination->create_links(); ?>
                </nav>
            </div>
            <div class="col">
                <hr>
            </div>
        </div>
        <div class="row">
            <div class="col-lg-8 col-md-12">
                <div class="event-list-wrapper">
                  <div class="event-list">
                    <ul>
                      <?php foreach ($events as $row) { ?>
                      <li>
                        <div class="event-date text-center">
                          <h6 class="date">
                            <?php echo date('d', $row['timestamp']); ?>
                            <span class="month"><?php echo date('M', $row['timestamp']); ?></span>
                          </h6>
                        </div>
                        <h5 class="event-title">
                          <?php echo $row['title']; ?>
                        </h5>
                      </li>
                    <?php } ?>
                    </ul>
                  </div>

      <div class="row">
        <div class="col">
          <div class="event-list-pagination">
            <nav aria-label="pagination">
              <?php echo $this->pagination->create_links(); ?>
            </nav>
          </div>
        </div>
      </div>
                </div>
            </div>
            <div class="col-lg-4 col-md-12">
                <div class="sidebar-widgets">
                    <div class="widgets recent-news-widget">
                        <div class="widget-title">
                            <h4><?php echo get_phrase('recent_notices'); ?></h4>
                        </div>
                        <div class="widgets-content">
                          <ul>
                            <?php foreach ($recent_notices as $row) { ?>
                            <li>
                              <h5 class="news-title">
                                <a href="<?php echo site_url('home/notice_details/'.$row['notice_id']);?>">
                                  <?php echo $row['notice_title']; ?>
                                </a>
                              </h5>
                              <span class="meta"><?php echo date('d M, Y', $row['create_timestamp']); ?></span>
                            </li>
                          <?php } ?>
                          </ul>
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

MMCT - 2023