Your IP : 13.58.245.158


Current Path : /home/lentoinv/covisclubinternational.com/profile/
Upload File :
Current File : /home/lentoinv/covisclubinternational.com/profile/readnews.php

<?php
session_start();
include("lib/connect.inc.php");
$uid = $covis->Uid();

if(isset($_GET['u'])){
    $sn = $_GET['u'];


}
?>

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>COVIS CLUB</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta name="viewport" content="width=device-width, initial-scale=1">


    <!-- Vendor CSS -->
    <link rel="stylesheet" href="../vendor/bootstrap4/css/bootstrap.min.css">
    <link rel="stylesheet" href="../vendor/themify-icons/themify-icons.css">
    <link rel="stylesheet" href="../vendor/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="../vendor/animate.css/animate.min.css">
    <link rel="stylesheet" href="../vendor/jscrollpane/jquery.jscrollpane.css">
    <link rel="stylesheet" href="../vendor/waves/waves.min.css">
    <link rel="stylesheet" href="../vendor/switchery/dist/switchery.min.css">
    <link rel="stylesheet" href="../vendor/morris/morris.css">
    <link rel="stylesheet" href="../vendor/jvectormap/jquery-jvectormap-2.0.3.css">

    <!-- Neptune CSS -->
    <link rel="stylesheet" href="css/core.css">
    <!-- Font Awesome -->
    <?php include('head.php'); ?>
</head>
<body class="hold-transition sidebar-mini layout-fixed">
<div class="wrapper">

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

    <!-- Content Header (Page header) -->
   
            <!-- Content Wrapper. Contains page content -->
            <div class="content-wrapper">
                <section class="content-header">
      <div class="container-fluid">
        <div class="row mb-2">
          <div class="col-sm-6">
            <h1>Read News</h1>
          </div>
          <div class="col-sm-6">
            <ol class="breadcrumb float-sm-right">
              <li class="breadcrumb-item"><a href="index.php">Home</a></li>
              <li class="breadcrumb-item active">Read News</li>
            </ol>
          </div>
        </div>
      </div><!-- /.container-fluid -->
    </section>

    <div class="content">
        <div class="container-fluid">
            <div class="row">
                <div class="col-md-12">
                    <div class="card">
                        <div class="card-header text-white bg-dark">
                            <h5>News</h5>
                        </div>
                        <div id="refresh"><?php if(isset($report)){$covis->Alert(); } ?></div>
                        <div class="card-body">
                            <div class="table-responsive">
                            </br>
                             <?php $sql = $db->query("SELECT * FROM news WHERE sha1(sn)='$sn'");
    $row = $sql->fetch_assoc();  ?>
                <div class="col-md-12">
                    <div class="box bg-white ">
                        <div class="box-block">
                            <div class="row">
                                <div class="col-md-12">
                                    <h5><?php echo $row['title'] ?></h5>
                                    <hr/>
                                    <br/>
                                    <h6><?php echo $row['news'] ?></h6>
                                </div>
                                <div class="col-md-12" style="text-align:right">
                                    <img src="news/<?php echo $row['image'] ?>" alt="" width="100%" />
                                </div>
                            </div>

                        </div>

                    </div>
                </div>
                               


                            </div>
                            


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


    <div class="content">
        <div class="container-fluid">
            <div class="row">
                <div class="col-md-12">
                    <div class="card">
                        <div class="card-header text-white bg-dark">
                             <h5>Related News </h5>
                        </div>
                      <div class="card-body">
                            <div class="table-responsive">
                            </br>
                                <?php $sql = $db->query("SELECT * FROM news ORDER BY time DESC LIMIT 10");
                                while($row1 = $sql->fetch_assoc()){
                                    if($row1['sn'] == $row['sn']){continue;}else{
                                ?>
                                <div class="col-md-4">
                                    <a href="?u=<?php echo sha1($row1['sn']) ?>">
                                    <img src="news/<?php echo $row1['image'] ?>" alt="" width="100%"/><br>
                                    <b><?php echo $row1['title']; ?></b>
                                                <br/> <?php echo substr($row1['news'],0,20) ?>...
                                           
                                    </a>
                                </div>
                                <?php }} ?>


                            </div>
                            


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









                <!-- Content Header (Page header) -->
                
    </div>

    <?php include("footer.php")  ?>
</div>




<!-- Header -->


</div>


<!-- Neptune JS -->



<!-- Vendor JS -->
<script type="text/javascript" src="../vendor/jquery/jquery-1.12.3.min.js"></script>
<script type="text/javascript" src="../vendor/tether/js/tether.min.js"></script>
<script type="text/javascript" src="../vendor/bootstrap4/js/bootstrap.min.js"></script>
<script type="text/javascript" src="../vendor/detectmobilebrowser/detectmobilebrowser.js"></script>
<script type="text/javascript" src="../vendor/jscrollpane/jquery.mousewheel.js"></script>
<script type="text/javascript" src="../vendor/jscrollpane/mwheelIntent.js"></script>
<script type="text/javascript" src="../vendor/jscrollpane/jquery.jscrollpane.min.js"></script>
<script type="text/javascript" src="../vendor/jquery-fullscreen-plugin/jquery.fullscreen-min.js"></script>
<script type="text/javascript" src="../vendor/waves/waves.min.js"></script>
<script type="text/javascript" src="../vendor/switchery/dist/switchery.min.js"></script>
<script type="text/javascript" src="../vendor/flot/jquery.flot.min.js"></script>
<script type="text/javascript" src="../vendor/flot/jquery.flot.resize.min.js"></script>
<script type="text/javascript" src="../vendor/flot.tooltip/js/jquery.flot.tooltip.min.js"></script>
<script type="text/javascript" src="../vendor/CurvedLines/curvedLines.js"></script>
<script type="text/javascript" src="../vendor/TinyColor/tinycolor.js"></script>
<script type="text/javascript" src="../vendor/sparkline/jquery.sparkline.min.js"></script>
<script type="text/javascript" src="../vendor/raphael/raphael.min.js"></script>
<script type="text/javascript" src="../vendor/morris/morris.min.js"></script>
<script type="text/javascript" src="../vendor/jvectormap/jquery-jvectormap-2.0.3.min.js"></script>
<script type="text/javascript" src="../vendor/jvectormap/jquery-jvectormap-world-mill.js"></script>
<script type="text/javascript" src="../vendor/peity/jquery.peity.js"></script>

<!-- Neptune JS -->


<!-- Neptune JS -->

<script type="text/javascript" src="../vendor/dropify/dist/js/dropify.min.js"></script>

<!-- Neptune JS -->
<script type="text/javascript" src="js/app.js"></script>
<script type="text/javascript" src="js/demo.js"></script>
<script type="text/javascript" src="js/forms-upload.js"></script>

<script type="text/javascript" src="js/index.js"></script>


</body>

<!-- Mirrored from big-bang-studio.com/neptune/neptune-default/index.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 26 Jun 2019 14:00:01 GMT -->
</html>

?>