Code:

<div class="container">
    <div id="preview"></div>
    <form id="form" method="post" enctype="multipart/form-data">
    <div class="form-body">
    <div class="form-group">
      <label class="control-label col-md-3">Title</label>
      <div class="col-md-9">
        <input name="title" placeholder="Holiday" class="form-control" type="text">
      </div>
    </div>
    </div>
    <div class="form-body">
    <div class="form-group">
      <label class="control-label col-md-3">Image1</label>
      <div class="col-md-9">
        <input type='file' name='image1' class='form-control'>
        <img class="image1 img-thumbnail" style="display:none" alt="image1" width="100" height="100" /> </div>
    </div>
    </div>
    <div class="form-body">
    <div class="form-group">
      <label class="control-label col-md-3">Image2</label>
      <div class="col-md-9">
        <input type='file' name='image2' class='form-control'>
        <img class="image2 img-thumbnail" style="display:none" alt="image2" width="100" height="100" /> </div>
    </div>
    </div>

    <button type="button" id="btnSave" onclick="save()" class="btn btn-primary">Save</button>
    </form>
    <div id="err"></div>
    </div>

    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> 

    <script type="text/javascript">
    function save() 
    {
        $.ajax
        ({
            url: "ajax.php",
            type: "POST",
            data:  new FormData(this),
            contentType: false,
            cache: false,
            processData:false,
            beforeSend : function()
            {
                $("#err").fadeOut();
            },
            success: function(data)
            {
            if(data=='invalid file')
            {
                $("#err").html("Invalid File !").fadeIn();
            }
            else
            {
                $("#preview").html(data).fadeIn();
                $("#form")[0].reset(); 
            }
            },
            error: function(e) 
            {
                $("#err").html(e).fadeIn();
            }          
        });
    };
    </script>

okay i solve the (redirects to #=) issue is sovled by using redirect();
But i am unable to logout also.....
can anyone say whats wrong with my facebook logout ?

You mean in config file?
facebook.php

$config['facebook_app_id']              = 'xxxxxxx';
$config['facebook_app_secret']          = 'xxxxx

I tried both not working

$config['facebook_login_redirect_url']  = 'oauth/fbprofile#';
$config['facebook_login_redirect_url']  = 'oauth/fbprofile/#';

This is my array

Array
(
    [33] => Array
        (
            [for sale] => Array
                (
                    [1] => villas
                    [2] => plots
                    [3] => flats
                    [4] => houses
                )

        )

    [34] => Array
        (
            [for rent] => Array
                (
                    [5] => in house
                    [6] => appartment
                    [7] => godams
                )

        )

    [35] => Array
        (
            [hostels] => Array
                (
                    [8] => boys
                    [9] => girls
                )

        )

    [36] => Array
        (
            [pg accommodation] => Array
                (
                    [10] => boys
                    [11] => girls
                )

        )

)

and my php code is this..

while($row = mysql_fetch_array($select4)){
    $final[$row['child_category_id']][$row['child_category_name']][$row['sub_child1_category_id']] = $row['sub_child1_category_name'];

}
echo '<pre>';print_r($final);echo'</pre>';

foreach($final as $k1 => $arr1)
{

    foreach($arr1 as $k2 => $arr2){
           echo '<b>'.$k2.'</b><br>';
        foreach($arr2 as $subcat){
            echo $subcat.'<br/>';
        }

    }
}

It displays the records like this

for sale
villas
plots
flats
houses

for rent
in house
appartment
godams

hostels
boys
girls

pg accommodation
boys
girls

How to align them inline..
i need to display 2 records in a row

eg:

For sale and For rent with sub categories in 1 row

Then

hostels and pg accomodation in another row

When the child menu is selected, the page loads..and the menu hightlight vanishes...
it only works when onclick on child....
what need to be modified in js

even tried this

$(document).ready(function() {
$('#menu1').find('li').on("click", function() {
       //removing the previous selected menu state
       $('#menu1').find('li').removeClass('active');

        //is this element from the second level menu?
        if($(this).closest('ul').hasClass('mega-menu-submenu')){
             $(this).parents('li').addClass('active');

        //this is a parent element
        }else{
             $(this).addClass('active');
        }
    });
});

Here is my code its not highlighting parent menu on selecting child menu..

http://jsfiddle.net/chaitu11/smy2c3gb/1/

I want to hightlight my parent menu.. when its child is selected...
Just similar to daniweb menu hightlighter

i added an id to ul(#menu1) in html for the above
<ul class="nav navbar-nav" id="menu1">

i tried something like this bu its not working...

<script>
$('#menu1').find('li').click(function(){
       //removing the previous selected menu state
       $('#menu1').find('li').removeClass('active');

        //is this element from the second level menu?
        if($(this).closest('ul').hasClass('mega-menu-submenu')){
             $(this).parents('li').addClass('active');

        //this is a parent element
        }else{
             $(this).addClass('active');
        }
    });
</script>
<div class="hor-menu ">
                <ul class="nav navbar-nav">
                    <li class="active">
                        <a href="index.html">Dashboard</a>
                    </li>
                    <li class="menu-dropdown mega-menu-dropdown">
                        <a data-hover="megamenu-dropdown" data-close-others="true" data-toggle="dropdown" href="javascript:;" class="dropdown-toggle">
                        Categories <i class="fa fa-angle-down"></i>
                        </a>
                        <ul class="dropdown-menu" style="min-width: 710px">
                            <li>
                                <div class="mega-menu-content">
                                    <div class="row">
                                        <div class="col-md-4">
                                            <ul class="mega-menu-submenu">
                                                <li>
                                                    <h3>Level 1</h3>
                                                </li>
                                                <li>
                                                    <a href="add_category.php" class="iconify">
                                                    <i class="icon-plus"></i>
                                                    Add Categories </a>
                                                </li>
                                                <li>
                                                    <a href="ecommerce_orders.html" class="iconify">
                                                    <i class="icon-basket"></i>
                                                    Manage Categories </a>
                                                </li>
                                                <li>
                                                    <a href="ecommerce_orders_view.html" class="iconify">
                                                    <i class="icon-tag"></i>
                                                    Categories View </a>
                                                </li>
                                                <li>
                                                    <a href="ecommerce_products.html" class="iconify">
                                                    <i class="icon-handbag"></i>
                                                    Manage Categories </a>
                                                </li>
                                                <li>
                                                    <a href="ecommerce_products_edit.html" class="iconify">
                                                    <i class="icon-pencil"></i>
                                                    Categories Edit </a>
                                                </li>
                                            </ul>
                                        </div>
                                        <div class="col-md-4">
                                            <ul class="mega-menu-submenu">
                                                <li>
                                                    <h3>Level 2</h3>
                                                </li>
                                                <li>
                                                    <a href="layout_fluid.html" class="iconify">
                                                    <i class="icon-cursor-move"></i>
                                                    Fluid Layout </a>
                                                </li>
                                                <li>
                                                    <a href="layout_mega_menu_fixed.html" class="iconify">
                                                    <i class="icon-pin"></i>
                                                    Fixed Mega Menu </a>
                                                </li>
                                                <li>
                                                    <a href="layout_top_bar_fixed.html" class="iconify">
                                                    <i class="icon-bar-chart"></i>
                                                    Fixed Top Bar </a>
                                                </li>
                                                <li>
                                                    <a href="layout_light_header.html" class="iconify">
                                                    <i class="icon-paper-plane"></i>
                                                    Light Header Dropdowns </a>
                                                </li>
                                                <li>
                                                    <a href="layout_blank_page.html" class="iconify">
                                                    <i class="icon-doc"></i>
                                                    Blank Page Layout </a>
                                                </li>
                                            </ul>
                                        </div>
                                        <div class="col-md-4">
                                            <ul class="mega-menu-submenu">
                                                <li>
                                                    <h3>Level 3</h3>
                                                </li>
                                                <li>
                                                    <a href="layout_click_dropdowns.html" class="iconify">
                                                    <i class="icon-speech"></i>
                                                    Click vs. Hover Dropdowns </a>
                                                </li>
                                                <li>
                                                    <a href="layout_fontawesome_icons.html" class="iconify">
                                                    <i class="icon-link"></i>
                                                    Layout with Fontawesome </a>
                                                </li>
                                                <li>
                                                    <a href="layout_glyphicons.html" class="iconify">
                                                    <i class="icon-settings"></i>
                                                    Layout with Glyphicon </a>
                                                </li>
                                                <li>
                                                    <a href="layout_language_bar.html" class="iconify">
                                                    <i class="icon-globe"></i>
                                                    Language Switch Bar </a>
                                                </li>
                                                <li>
                                                    <a href="layout_disabled_menu.html" class="iconify">
                                                    <i class=" icon-lock"></i>
                                                    Disabled Menu Links </a>
                                                </li>
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            </li>
                        </ul>
                    </li>
                    <li class="menu-dropdown mega-menu-dropdown mega-menu-full ">
                        <a data-hover="megamenu-dropdown" data-close-others="true" data-toggle="dropdown" href="javascript:;" class="dropdown-toggle">
                        UI Components <i class="fa fa-angle-down"></i>
                        </a>
                        <ul class="dropdown-menu">
                            <li> ...

I tried , but i am not getting response

<?php 
require 'Core/Request.php';
require 'Couriers.php';
$courier = new AfterShip\Couriers('API-KEY');
$response = $courier->get();

echo $response;
?>

I need After-ship API integration for e-commerce website.

https://www.aftership.com/docs/api/4

which will be useful in tracking the order status.

I have downloaded sdk from

https://github.com/abishekrsrikaanth/aftership-php-sdk

I have given the api key in AfterShip/Core/request.php.

But its not working can anyone suggest me steps to integrate it.

I am implementing stay login functionality using codeingiter 3

Steps:

  1. If user signin's successfully , checking the remember me checkbox.
  2. Then i am setting 2 cookies for that user.
  3. $cookie 1: is 128 length random string ,(series)
  4. $cookie 2: is the hash of (email,password,ip,useragent). (token)
  5. Now i am storing the series , hash(token) in a table <user_cookie>.

<user_cookies>

user_id(fk) series(128 varchar) token(200 varchar)

Now my doubt is how should validate autologin, when user visits my webpage next time?

   $rand128_hex = bin2hex(openssl_random_pseudo_bytes(16));

   $cookie1 = array(
                    'name' => 'series',
                    'value' => $rand128_hex,
                    'expire' => '86400'
                );

                  $cookie2 = array(
                    'name' => 'remb_token',
                    'value' => hash_hmac('bcrypt',PEPPER_KEY,$remb_token,FALSE),
                    'expire' => '86400'
                );

               $this->input->set_cookie($cookie1);
               $this->input->set_cookie($cookie2);
I am using codeigniter 3
And i am trying to build stay signing functionality
In hash_hmac() i am passing an array , but i want to convert it into a string ,
Can any one tell me how to convert it?

     /*
            | ---------------------------------------------------------------------------
            | REMEMBER ME TOKEN
            | ---------------------------------------------------------------------------
            | When a user logs in and selects the remember me option then you will generate a key using PHP's hash_hmac function. 
            | The data will be the IP address, browser name, username and password and the key (hash_hmac's 3rd parameter) 
            | will be a random string of any length you desire. 
            | The algorithm can be bcrypt/SHA512/crypt/etc.. This should give you a key of 128 characters in length. 
            | Store this key within the table RememberMe. 
            | Table contains user ID, 128 char long key ,expiry date of the key.      

            */

                 if($remember_me == TRUE){

                    $this->load->library('user_agent');

                    $user_agent = $this->agent->browser();
                    $user_agent_version = $this->agent->version();
                    $ip = $this->input->ip_address();

                    $rand128_hex = bin2hex(openssl_random_pseudo_bytes(16));

                    $data = array(
                            'ip' => $ip,
                            'user_agent' => $user_agent,
                            'email' => $email,
                            'password' => $password
                        );

                    echo hash_hmac('crypt', $data, $rand128_hex);

                 }

i am using http://localhost:8080/
and when i try to pass domain name and its below attributes in that array , i fail to view cookie value and name in browser.
Please once view the below image

http://i.stack.imgur.com/4b8nT.png

My Model : admin_login_model.php

Unable to view them in browser as shown in the image below

http://i.stack.imgur.com/fychj.png

i am working on CodeIgniter version 3

Can anyone tell me what is the issue

 if ($email === $admin_email && $password = $password) {

            echo 'credential match';

            $this->load->helper('cookie');

            if ($remember_me == '1') {                            

                $email    = $this->input->post('email');
                $password    = $this->input->post('password');
                $remember = $this->input->post('remember_me');

                $cookie1 = array(
                    'name' => 'email',
                    'value' => $email,
                    'expire' => '86400',
                    'domain' => base_url(),
                    'path' => '/admin/',
                    'prefix' => 'myprefix_',
                    'secure' => TRUE

                );

                $this->input->set_cookie($cookie1);
                echo "<pre>";

                var_dump($cookie1);
                echo"</pre>";
                echo 'Checked';
            }

        }
    return TRUE; // if credential matches
    } else {
        return False;
    }

Quoted Text Here

we have to load security helper
$this->load->helper('security');

then only we can use xss_clean

ok i got the error
in admin.php i changed
$this->form_validation->set_rules('email', 'Email', 'trim|required|valid_email|xss_clean');

to
$this->form_validation->set_rules('email', 'Email', 'trim|required|valid_email');

but why can't i use xss_clean for email id validation?

I am using codeigniter
if ($this->form_validation->run() ) always returns false.
please help me out with this
Here is my controller and view page as shown bellow

This is controller admin.php

<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Admin extends CI_Controller {

    public function index()
    {
        $this->login();
    }

    public function login()
    {
        //echo 'This is admin controller login function';
        $this->load->view('admin/admin_login');
    }

    public function login_validation()
    {
        $this->load->helper('form');
        $this->load->library('form_validation');

        $this->form_validation->set_rules('email', 'Email', 'trim|required|valid_email|xss_clean');
        $this->form_validation->set_rules('password', 'Password', 'trim|required|sha1');

        $email = $this->input->post('email');
        $password = $this->input->post('password');
        print $password . $email;

        if ($this->form_validation->run() == TRUE)
        {
            //redirect('admin/profile');
            $this->load->view('success');
        }
        else
        {
            $this->load->view('errorrr');

        }

    }
}

admin_login.php is the view

<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>

<!DOCTYPE html>
<html lang="en">
   <head>
      <meta charset="UTF-8">
      <title>Admin Login</title>
      <link rel="stylesheet" media="screen" href="<?=site_url('assets/css/bootstrap.min.css');?>" />
   </head>
   <body>
      <div class="container">
         <div id="loginbox" style="margin-top:50px;" class="mainbox col-md-6 col-md-offset-3 col-sm-8 col-sm-offset-2">
            <div class="panel panel-info" >
               <div class="panel-heading">
                  <div class="panel-title">Admin Login</div>
                  <div style="float:right; font-size: 80%; position: relative; top:-10px">
                  <a href="#" onClick="$('#loginbox').hide(); $('#forgotbox').show()">Forgot password?</a></div>

               </div>
               <div style="padding-top:30px" class="panel-body" >
                  <div style="display:none" id="login-alert" class="alert alert-danger col-sm-12"></div>

                  <?php
                     $form_attributes = array(
                        'class' => 'form-horizontal', 
                        'id' => 'loginform',
                        'role' => 'form'
                        );
                     echo form_open('admin/login_validation', $form_attributes);
                     echo validation_errors();
                  ?>
                     <div style="margin-bottom: 25px" class="input-group">
                        <span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>
                       <?php 
                        $email_attributes = array(
                        'id'=>'login-username',
                        'class' => 'form-control',
                        'name'=>'email',
                        'placeholder' => 'Email',
                        'value'=>set_value('email'),
                        'required'=>'required',
                        'placeholder'=>'UserName',
                        );

                        echo form_input($email_attributes);
                       ?>                                     
                     </div>
                     <div style="margin-bottom: 25px" class="input-group">
                        <span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span>
                     <?php 
                        $password_attributes = array(
                        'id'=>'login-password',
                        'class' => 'form-control',
                        'name'=>'password',
                        'placeholder' => 'password',
                        'value'=>set_value('password'),
                        'required'=>'required',
                        'placeholder'=>'Password',
                        );

                        echo form_password($password_attributes);  
                     ?> 
                     </div>
                     <div class="input-group">
                        <div class="checkbox">
                           <label> ...

yes its codeigniter, mvc

i am creating an admin panel in my project.
So to sepeate admin files i am creating admin folder in my views

can i also create admin folder in my controller and model.
to seperate admin related file?

is that a correct procedure?

I have a gallery in grid.
For eg: https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSegNVXMSnTRzHETnAjZXCd6siwHQysMXc_jp1OyiSDie2_9jhsIg

Each row can cont max of 4 images.

I have written while loop.
i want to get the total count of images in each row

For eg: row1 -> 4 (images)
row2 -> 3 (images)

   <!----------------------------------------------------------------------------->    

   <div class="main_bg">
   <div class="top_bg1">
   <div class="">
          <div class="main">

       <div class="top_main">
              <h1>Today's Offer</h1>
              <div class="clear"></div>
            </div>

<?php
    $query1 = mysql_query("select * from offer");
    $x = 0;
    while($row = mysql_fetch_array($query1)){    
?>     

           <?php
           if($x==0){
           ?>
             <div class="grids_of_3">
           <?php
           }
           ?>

        <!-- start grids_of_3 -->

        <div class="grid1_of_3">
        <a href="offer_details.php?fid=<?php echo $row['offer_id']; ?>"> 
            <?php echo "<img src=admin/offer/".$row['image']." />"; ?>
            <h4><?php echo $row['offer_title']; ?></h4>
            <span class="price"><?php echo 'Rs: '.$row['price']; ?></span> <span class="price1 bg">Hot Sale</span> 
        </a> 
                <h3><a href="offer_details.php?fid=<?php echo $row['offer_id']; ?>" class="myButton">Add to cart</a></h3>

        </div>

         <?php
                $x++;
                echo $x;
                if($x==4){
                  echo '<div class="clear"></div></div>';
                  $x=0;

                }

   }  // while

?>

         <!-- start grids_of_3 -->

  </div>
  </div>
  </div>
  </div>
<!----------------------------------------------------------------------------->    

<!-- start footer -->

</div>
</div>

Solved

while instering i used
$descrr = mysql_escape_string(trim($_POST['descr']));

while displaying
$descrr = stripslashes($row['descr']));

$descrr = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."

$descrr = stripslashes($_POST['descr']);

$insert = mysql_query("insert into offer(
    descr
    ) 
    values(
    '".$descrr."'
    )")
    or die(mysql_error($con));

Error while inserting description text:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's standard dummy text ever since the 1500s, when an unknown printer took a galle' at line 4
$descrr = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."

$descrr = stripslashes($_POST['descr']);

$insert = mysql_query("insert into offer(
    offer_title,
    price,
    descr
    ) 
    values(
    '".$offer_name."',
    '".$price."',
    '".$descrr."'
    )")
    or die(mysql_error($con));

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's standard dummy text ever since the 1500s, when an unknown printer took a galle' at line 4

Problem:On click logout it again shows the html page content which i dont want to show

<?php
    session_start();

    if(isset($_GET['action']) == 'logout'){

        session_destroy();

        unset($_SESSION['user']);
        unset($_SESSION['pass']);
        echo '<pre>';
        print_r($_SESSION);

        //header('location:index.php/');
        exit();
    }

    if(isset($_SESSION['user'])== ' '){
        header('location:index.php');
        exit();
    }

    if( !( isset($_SERVER['PHP_AUTH_USER']) && $_SERVER['PHP_AUTH_USER'] == "a" && $_SERVER['PHP_AUTH_PW'] == "a" ) ){
        header('WWW-Authenticate: Basic realm="My Realm"');
        header('HTTP/1.0 401 Unauthorized');
        echo 'You are not authenticated';
        exit;
    }else{
        $_SESSION['user'] = $_SERVER['PHP_AUTH_USER'];
        $_SESSION['pass'] = $_SERVER['PHP_AUTH_PW'];

?>

html code
<?php
include('db.php');
$sel = mysql_query("select * from alumini");
?>
        <div class="row">
            <div id="carousel-reviews" class="carousel slide" data-ride="carousel">
              <div class="carousel-inner">

  <?php

  while($row = mysql_fetch_array($sel)){
  ?>
                    <div class="item active">
                     <!-------------------------------->
                        <div class="col-md-4 col-sm-6">
                            <div class="block-text rel zmin">
                               <?php
                                echo $row['alumini_name'];

                                ?>

                            </div>
                        </div>

                </div><!------------------------------//item1------------------------------->   
    <?php

    }
    ?>

                </div> <!---carousel-reviews ---->

                <a class="left carousel-control" href="#carousel-reviews" role="button" data-slide="prev">
                    <span class="glyphicon glyphicon-chevron-left"></span>
                </a>
                <a class="right carousel-control" href="#carousel-reviews" role="button" data-slide="next">
                    <span class="glyphicon glyphicon-chevron-right"></span>
                </a>
            </div>
        i want to display this slideshow dynamically  please help me. 
        I am getting more than
        3 images if i put dynamic code

        <div class="row">
        <div id="carousel-reviews" class="carousel slide" data-ride="carousel">

        <div class="carousel-inner">
        <div class="item active">
            <!-------------------------------->
            <div class="col-md-4 col-sm-6">
            <div class="block-text rel zmin">
            <a title="" href="#">Active1</a>

            </div>
            </div>

            <!-------------------------------->
            <div class="col-md-4 col-sm-6 hidden-xs">
            <div class="block-text rel zmin">
            <a title="" href="#">Avtive2</a>

            </div>
            </div>
            <!-------------------------------->
            <div class="col-md-4 col-sm-6 hidden-sm hidden-xs">
            <div class="block-text rel zmin">
            <a title="" href="#">Avtive3</a>

            </div>
            </div>
            <!-------------------------------->

        </div><!------------------------------//item1------------------------------->   

        </div> <!---carousel-reviews ---->

        <a class="left carousel-control" href="#carousel-reviews" role="button" data-slide="prev">
        <span class="glyphicon glyphicon-chevron-left"></span>
        </a>
        <a class="right carousel-control" href="#carousel-reviews" role="button" data-slide="next">
        <span class="glyphicon glyphicon-chevron-right"></span>
        </a>
   </div>
        i want to display this slideshow dynamically  please help me. I am getting more than
        3 images if i put dynamic code

        <div class="row">
        <div id="carousel-reviews" class="carousel slide" data-ride="carousel">

        <div class="carousel-inner">
        <div class="item active">
        <!-------------------------------->
        <div class="col-md-4 col-sm-6">
        <div class="block-text rel zmin">
        <a title="" href="#">Active1</a>

        </div>
        </div>

        <!-------------------------------->
        <div class="col-md-4 col-sm-6 hidden-xs">
        <div class="block-text rel zmin">
        <a title="" href="#">Avtive2</a>

        </div>
        </div>
        <!-------------------------------->
        <div class="col-md-4 col-sm-6 hidden-sm hidden-xs">
        <div class="block-text rel zmin">
        <a title="" href="#">Avtive3</a>

        </div>
        </div>
        <!-------------------------------->

        </div><!------------------------------//item1------------------------------->   

        </div> <!---carousel-reviews ---->

        <a class="left carousel-control" href="#carousel-reviews" role="button" data-slide="prev">
        <span class="glyphicon glyphicon-chevron-left"></span>
        </a>
        <a class="right carousel-control" href="#carousel-reviews" role="button" data-slide="next">
        <span class="glyphicon glyphicon-chevron-right"></span>
        </a>
        </div>