Mini Shell

Direktori : /home/rizant5/public_html_old/development/
Upload File :
Current File : /home/rizant5/public_html_old/development/benefits.php

<?php require_once('function-file.php');

require_once('function-menu.php');

require_once('function-testo-footer.php');

require_once("config.php");?>

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="utf-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <meta name="description" content="">

    <meta name="author" content="">

    <title>Benefits | Lanka Virtual Academy</title>

	<?php commoncss();?> 

    <style>
    .margin-bot20{margin-bottom:20px;}
    .mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_draggerRail, .mCS-rounded-dots.mCSB_scrollTools .mCSB_draggerRail{ border-right: 4px dotted #ccc !important;background-image: unset !important; }
    .mCSB_dragger_bar{ background-color: #ccc !important; }
    .benifits-text{ height: 240px;overflow: auto; }
    </style>   

</head><!--/head-->

<body class="benefits video_tutorial">

    <?php headermenu();?>

    <?php video_tutorial(); ?>

   <section class="header-title">

   		<div class="container">

            <div class="row">

                <div class="col-sm-12"><h2>BENEFITS</h2></div>

            </div>

        </div>        

   </section>

	<section>

    	 <div class="container">

             <div class="row margin-bot20">

             <?php $data=$conn->prepare("select * from benifits");

			 $data->execute();$result=$data->fetchall();$i=0;

			 foreach($result as $row){?>

                <div class="col-sm-3 col-xs-12">

                	<div class="benifits">

                        <div class="benifits-head">

                                <p><img src="admin/img/benifits/<?php echo $row['ben_img'];?>" height="100"></p>

                                <h4><?php echo $row['ben_name'];?></h4>

                        </div>

                        <div class="benifits-text">

                            <!--<p><?php echo substr($row['ben_msg'],0,200);?></p>-->
                            <p><?php echo nl2br($row['ben_msg']);?></p><hr/>End of content.

                        </div>

                    </div>    

            </div>

            <?php $i++;if($i==4){echo"</div><div class='row margin-bot20'>";$i=0;}

			}?>

           </div>

        </div>

    </section>

  <?php testofooter();  newssletter();  ?>

<?php footer(); commonjs();?>   

<script type="text/javascript">
  $(".benifits-text").mCustomScrollbar({
    theme:"rounded-dots",
    scrollInertia:400
  });
</script>

</body>

</html>

Zerion Mini Shell 1.0