ok

Mini Shell

Direktori : /home/ngwcolle/public_html/
Upload File :
Current File : /home/ngwcolle/public_html/syllabus.php

<?php
include "header.php";
date_default_timezone_set('Asia/Kolkata');
include "admin/includes/config.php";
$cquery=mysqli_query($con, "SELECT * from tbl_college");    
$singleRow = mysqli_fetch_row($cquery); 
?>
<section class="inner-banner"></section>
<section class="breadcrumb-sec">
  <div class="container">
        <div class="row">
            <div class="col-md-12">
                <nav aria-label="breadcrumb">
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="index.html">Home</a></li>
                        <li><i class="fa fa-caret-right" aria-hidden="true"></i></li>
                        <li class="breadcrumb-item">Syllabus</li>
                    </ol>
                </nav>
            </div>
        </div>
    </div>
</section>
<section class="section-15 about-section" id="body">
    <div class="container">
      <div class="row">
        <div class="col-md-9">
          <div class="title">
            <h1><span>Syllabus</span></h1>
          </div>
          

<div class="point2">

<div class="container mt-4">
        <div class="row">
        <?php $query=mysqli_query($con,"select * from tbl_syllabus order by subject asc");
$cnt=1;
while($row=mysqli_fetch_array($query)){
?>
            <div class="col-md-4">
                <div class="card-box">
                    <div class="card-title">
                        <h2><?php echo $row['subject'];?></h2>
                        
                    </div>
                    <div class="card-link">
                        <a href="upload/syllabi/<?php echo $row['docpath'];?>" target="_blank" class="c-link">View
                            <i class="fa fa-angle-right"></i>
                        </a>
                    </div>
                </div>
            </div>
            <?php }?>         
          

        </div>
    </div>


<!-- card ens -->
</div>		  <!--for department start-->
						<!--for department end-->
        </div>
       <?php include"sidebar.php";?>
    </div>
</section>
<style>
   .card-box {
            background: #FAFAFA;
            min-height: 120px;
            position: relative;
            padding: 15px 20px 10px;
                   margin-bottom: 10px;
            display: -ms-flexbox;
            display: flex;
            -ms-flex-direction: column;
            flex-direction: column;
            -webkit-box-pack: justify;
            -ms-flex-pack: justify;
            justify-content: space-between;
            position: relative;
            cursor: pointer;
        }

        .card-box:hover {
            background: linear-gradient(to right, #1fa2ff17 0%, #12d8fa2b 51%, #1fa2ff36 100%);
        }

        .card-box:after {
            display: block;
            background: #2196F3;
            border-top: 2px solid #2196F3;
            content: '';
            width: 100%;
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
        }

        .card-title h2 {
            margin: 0;
            padding-top: 1%;
            color: #2196F3;
            font-family: 'Oswald', sans-serif;
            text-transform: uppercase;
            font-size: 24px;
            line-height: 1;
            margin-bottom: 1px;
        }

        .card-title p {
            margin: 0;
            margin-bottom: 5px;
            font-size: 16px;
        }

        .card-link a {
            text-decoration: none;
            font-family: 'Oswald', sans-serif;
            color: #FF5722;
            font-size: 15px;
        }
</style>
<?php include"footer.php";?>

Zerion Mini Shell 1.0