<div class="col-sm-8">
    <div class="row ">

        <div class="col-sm-12 ">
            <h3 class="text-center" style="text-align: center !important"> My Wishlist</h3><hr>
        </div>
        <div class="col-sm-12">
            <?php
            if (!$wish_list_info) {
                echo '<h4 style=color:green>You do not have any wish list<h4>';
            }
            ?>
        </div>
        <div class="col-sm-12 ">
            <?php foreach ($wish_list_info as $v_wish_list_info) { ?>
                <div class="col-sm-12 gray">
                    <div class="col-sm-3 ">
                        <?php if ($v_wish_list_info->course_image_thumb) { ?>
                            <img src="<?php echo base_url() . $v_wish_list_info->course_image_thumb; ?>" class="img-responsive" alt="logo">
                        <?php } else { ?>
                            <img src="<?php echo base_url() . 'image/upcoming_course.jpg'; ?>" class="img-responsive" alt="logo">
                        <?php } ?>
                    </div>
                    <div class="col-sm-5 ">
                        <address class="text-left">
                            <a href="<?php echo base_url() . $v_wish_list_info->url; ?>" target="-blank"><b><?php echo $v_wish_list_info->course_name ?></b></a>
                            <br>by  
                            by  <a href="<?php echo base_url() . $v_wish_list_info->resource_person_url; ?>" target="-blank">
                                <?php echo $v_wish_list_info->resource_person_first_name . ' ' . $v_wish_list_info->resource_person_last_name; ?>
                            </a>
                            <br>
                            <?php
                            if ($v_wish_list_info->course_type == 1) {
                                echo 'Paid Course';
                            } else {
                                echo 'Free Course ';
                            }
                            ?>
<!--                            <span class="rating-read-only"></span>-->
                            <br>
                            Cource Price <?php echo $v_wish_list_info->course_price; ?><br>
<!--                            Offered by  <a href="#"> talhatraining.net</a>-->

                        </address>
                    </div>
                    <div class="col-sm-4 ">
                        <address class="text-left">
                            <!--Added July 14,2015 <br>-->
                            <br>
                            <a href="<?php echo base_url() .'preview-as-student/'. $url[$v_wish_list_info->course_id]->url; ?>"  onclick="ChangeWishlistStatus()"target="-blank">  
                                <i class="fa fa-sign-in" title="Register Course"></i>  
                            </a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                         <!--<a class="btn btn-success" data-toggle="tooltip" title="Register Now!" data-placement="top"><i class="fa fa-sign-in"></i></a>-->
                            <a onclick="return check_remove()" href="<?php echo base_url() ?>profile/delete_wishlist/<?php echo $v_wish_list_info->wish_list_management_id ?>"> 
                                <i class="fa fa-trash-o" title="Delete Wishlist"></i>
                            </a>

                        </address>
                    </div>
                </div>
            <?php } ?>
        </div>

        <div class="col-sm-12 "  >
            <hr><br>
        </div>
        <div class="col-sm-12 "  >
            <div class="col-sm-12">
                <h3 style="text-align: center !important">
                    TT upcoming course:
                </h3>
                <hr><br>
            </div>
            <div class="col-sm-12 " style="padding: 0">

                <div class="row gray" >
                    <div class="col-sm-7 text-left" ><a href="#" class="red">Making Practicle Apps using Laraval the php framework.</a><br>
                        By- <span class="green"><a href="#">Safiul Alam</a></span>
                    </div>
                    <!--<div class="col-sm-2" style="padding: 0"><div class="rating-read-only" ></div></div>-->
                    <div class="col-sm-3"><span class="red">Advanced </span>&nbsp;BDT 15,500</div>
                    <div class="col-sm-2" style="padding-left:0;">
                        <a class="btn btn-success" data-toggle="tooltip" title="Get enrollment in the course!" data-placement="top"><i class="fa fa-plus-square-o"></i></a> 
                    </div>
                </div>
                <div><br></div>
                <div class="row white" >
                    <div class="col-sm-7 text-left" ><a href="#" class="red">Making Practicle Apps using Laraval the php framework.</a><br>
                        By- <span class="green"><a href="#">Safiul Alam</a></span>
                    </div>
                    <!--<div class="col-sm-2" style="padding: 0"><div class="rating-read-only" ></div></div>-->
                    <div class="col-sm-3"><span class="red">Advanced </span>&nbsp;BDT 15,500</div>
                    <div class="col-sm-2" style="padding-left:0;">
                        <a class="btn btn-success" data-toggle="tooltip" title="Get enrollment in the course!" data-placement="top"><i class="fa fa-plus-square-o"></i></a> 
                    </div>
                </div>
                <div><br></div>
                <div class="text-right"><a href="<?php echo base_url() ?>all-course" >More ...</a></div>
            </div>
            <div class="col-sm-12">
                <h3 style="text-align: center !important">
                    TT upcoming Video course :
                </h3>
                <hr><br>

            </div>
            <div class="col-sm-12 " style="padding: 0">
                <div class="row gray" >
                    <div class="col-sm-7 text-left" ><a href="#" class="red">Making Practicle Apps using Laraval the php framework.</a><br>
                        By- <span class="green"><a href="#">Safiul Alam</a></span>
                    </div>
                    <!--<div class="col-sm-2" style="padding: 0"><div class="rating-read-only" ></div></div>-->
                    <div class="col-sm-3"><span class="red">Advanced </span>&nbsp;BDT 15,500</div>
                    <div class="col-sm-2" style="padding-left:0;">
                        <a class="btn btn-success" data-toggle="tooltip" title="Get enrollment in the course!" data-placement="top"><i class="fa fa-plus-square-o"></i></a> 
                    </div>
                </div>
                <div><br></div>
                <div class="row white" >
                    <div class="col-sm-7 text-left" ><a href="#" class="red">Making Practicle Apps using Laraval the php framework.</a><br>
                        By- <span class="green"><a href="#">Safiul Alam</a></span>
                    </div>
                    <!--<div class="col-sm-2" style="padding: 0"><div class="rating-read-only" ></div></div>-->
                    <div class="col-sm-3"><span class="red">Advanced </span>&nbsp;BDT 15,500</div>
                    <div class="col-sm-2" style="padding-left:0;">
                        <a class="btn btn-success" data-toggle="tooltip" title="Get enrollment in the course!" data-placement="top"><i class="fa fa-plus-square-o"></i></a> 
                    </div>
                </div>

                <div><br></div>
                <div class="text-right"><a href="<?php echo base_url() ?>all-course" >More ...</a></div>
                <div><br><br></div>
            </div>      
            <div class="col-sm-12 " style="padding: 0">
                <nav class="course-pagination">
                    <ul class="pagination">
                        <li>
                            <a href="#" aria-label="Previous">
                                <span aria-hidden="true" title="First Page">&laquo;&laquo;</span>
                            </a>
                        </li>
                        <li>
                            <a href="#" aria-label="Previous">
                                <span aria-hidden="true" title="Previous Page">&laquo;</span>
                            </a>
                        </li>
                        <li><a href="#">1</a></li>
                        <li><a href="#">2</a></li>
                        <li><a href="#">3</a></li>
                        <li><a href="#">4</a></li>
                        <li><a href="#">5</a></li>
                        <li>
                            <a href="#" aria-label="Next">
                                <span aria-hidden="true" title="Next Page">&raquo;</span>
                            </a>
                        </li>
                        <li>
                            <a href="#" aria-label="Next">
                                <span aria-hidden="true" title="Last Page">&raquo;&raquo;</span>
                            </a>
                        </li>
                    </ul>
                </nav>


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

<script type="text/javascript">
    function check_remove()
    {
        var check = confirm('Are You shure ?');
        if (check)
        {
            return true;
        } else
        {
            return false;
        }
    }
    function ChangeWishlistStatus(){
        
    }
</script>