Mini Shell

Direktori : /var/www/vhosts/ccp.ac.th/backup_full/httpdocs/smtp/
Upload File :
Current File : /var/www/vhosts/ccp.ac.th/backup_full/httpdocs/smtp/activity_news.php

<!doctype html>
<html lang="en">

 <?php    include 'head.php'; ?>
<body>
<header class="header_inner courses_page">
<!-- Preloader -->

<?php    include 'header.php'; ?>

</header> <!-- End nav -->

<?php
        include 'admin/function_date.php';
        $newstype_id3 = 003;
        $sql_type3 = "SELECT * FROM news INNER JOIN  newstype ON news.newstype_id = newstype.newstype_id WHERE news.newstype_id = $newstype_id3 and news.news_status = '0' ORDER BY news_id DESC LIMIT 12";
        $result_type3 = mysqli_query($link, $sql_type3);
        ?> 

<!-- ข่าวกิจกรรม -->

<section class="blog">
    <div class="container">
        <div class="row">
            <div class="col-12 col-sm-12 col-md-12 col-lg-12">
                <div class="sub_title">
                    <h2>ข่าวกิจกรรม</h2>
                    <p>ข่าวกิจกรรม หลักสูตร (SMTP)</p>  
                </div><!-- ends: .section-header -->
            </div>
               <?php
                            while ($row_type3 = mysqli_fetch_array($result_type3)) {
                            ?>
                          <?php
                            $date3 = $row_type3['new_date'];
                            $show_date3 = displaydate($date3);
                           ?>
            <div class="col-12 col-sm-6 col-md-4 col-lg-4">
                 <div class="single_item single_item_first">
                    <div class="blog-img">
                        <a href="news_details.php?news_id=<?php echo $row_type3['news_id']; ?>" title=""><img src="admin/images/<?php echo $row_type3['news_images']; ?>" alt="" class="img-fluid"></a>
                    </div>
                    <div class="blog_title">
                        <span><?php echo $row_type3['topic_detail']; ?>...</span>  
                        <h3><a href="news_details.php?news_id=<?php echo $row_type3['news_id']; ?>" title=""><?php echo $row_type3['news_topic']; ?></a></h3> 
                        <div class="post_bloger">
                            <span><?php echo $show_date3; ?> </span> <span class="bloger_name"> <?php echo $row_type3['counter']; ?> ครั้ง</span>
                        </div>               
                    </div>   
                </div>
            </div>
         <?php  }  ?>
         
        </div>
    </div>
</section><!-- End Blog  -->



<!-- Footer -->  
<?php    include 'footer.php'; ?>

</body>


</html>

Zerion Mini Shell 1.0