Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
in Q2A Core by
<section id="slider"><!--slider-->
            <div class="container">
                        $result = mysql_query("SELECT * FROM mas_banner" ) ;                        
                        $result_ar = mysql_fetch_assoc($result)                       
            <div class="row">
                <div class="col-sm-12">
                    <div id="slider-carousel" class="carousel slide" data-ride="carousel">
                        <ol class="carousel-indicators">
                            <li data-target="#slider-carousel" data-slide-to="0" class="active"></li>
                            <li data-target="#slider-carousel" data-slide-to="1"></li>
                            <li data-target="#slider-carousel" data-slide-to="2"></li>
                        <div class="carousel-inner">
                            <div class="item active">
                                <div class="col-sm-6">
                                    <h1><span></span><?php echo $result_ar['title']; ?></h1>
                                    <h2><?php echo $result_ar['subtitle']; ?></h2>
                                    <p><?php echo $result_ar['content']; ?> </p>
                    <button type="submit" class="btn btn-default get" onclick="parent.location='boobalan/Eshopper/<?php echo $result_ar['btnlink']; ?>'">Get it now</button>
                                <div class="col-sm-6">
                                    <img src="<?php echo $result_ar['mainimg']; ?>" class="girl img-responsive" alt="" />                                    <img src="<?php echo $result_ar['subimg']; ?>"  class="pricing" alt="" />
                                    //if($result_arr = mysql_fetch_row($result1))
                        <a href="#slider-carousel" class="left control-carousel hidden-xs" data-slide="prev">
                            <i class="fa fa-angle-left"></i>
                        <a href="#slider-carousel" class="right control-carousel hidden-xs" data-slide="next">
                            <i class="fa fa-angle-right"></i>
            </div> <?php

Please log in or register to answer this question.