MMCT TEAM
Server IP : 2a02:4780:3:1378:0:3736:a38e:10  /  Your IP : 3.145.42.238
Web Server : LiteSpeed
System : Linux sg-nme-web1278.main-hosting.eu 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User : u926327694 ( 926327694)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u926327694/domains/svschool.in/public_html/assets/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u926327694/domains/svschool.in/public_html/assets/../news.php
<?php
    include('header.php');
    $news_letter_class = "newsletter-area-2";
?>

<section class="page-banner">
    <div class="page-banner-bg bg_cover" style="background-image: url(assets/images/page-banner.jpg);">
        <div class="container">
            <div class="banner-content text-center">
                <h2 class="title">News</h2>
            </div>
        </div>
    </div>
</section>

<section class="mb-50">
    <div class="container">
        <div class="notice-content">
            <?php
                $sel_news = mysqli_query($con,"select * from announcements_news where is_active=1 and section='News' order by date desc");
                $i = 0;
                while($res_news = mysqli_fetch_array($sel_news))
                {
            ?>
            <div class="single-notice">
                <span class="number"><?php echo $i=$i+1; ?></span>
                <h3 class="notice-title"><?php echo $res_news['title']; ?> </h3>
                <b><?php echo Date('d M Y',strtotime($res_news['date'])); ?></b>
                <?php if($res_news['file']!='') { ?>
                <a href="adminweb/<?php echo $res_news['file']; ?>" class="ml-30" download>Download Document</a>
                <?php } ?>
                <p><?php echo $res_news['description']; ?></p>
            </div>
            <?php
                }
            ?>
        </div>
    </div>
</section>

<?php include('footer.php'); ?>

MMCT - 2023