<?php 
	include_once("../view/header-footer/header.php");
	include_once("../all-ajax/inner-header.php");
?> 
<script>   

$(document).ready(function()
{  
    $("#wishlist_results").load("WishListLoad.php"); //load initial records    
    //executes code below when user click on pagination links
    $("#wishlist_results").on( "click", ".pagination a", function (e){
    	e.preventDefault();
    	$(".loading-div").show(); //show loading element
    
    	var page = $(this).attr("data-page"); //get page number from link  
    	$("#wishlist_results").load("WishListLoad.php",{"page":page}, function()
    	{ //get content from PHP page
    		$(".loading-div").hide(); //once done, hide loading element
    	});
    });

	
	
});     

</script>
<div id="body" class="grey-bg">
<div class="wrapper">
	<div class="bradeCrubs">
	<a href="<?php echo ROOTPATH;?>">Home</a>
	<a href="<?php echo ROOTPATH;?>/MyDetails/">My Account</a>
	<a href="<?php echo ROOTPATH;?>/MyDetails/all-wishlist.php" class="current">My WishList</a>
	</div>   
		<div class="welcome-menu">
		<?php include_once("side-menu.php");  ?> 
		</div>
		<div class="col-md-10 newRigth row">
        <div class="col-md-7 plr">
    <div id="dataRight" class="leftDataSpc">
    
	<!--<a href="javascript:void(0)" class="rightLink">Create New Alert</a>-->
	<ul class="resList white-box">
	    <li><div class="leftHead">My WishList</div></li>
	<!--<li class="border-box">
	<h3 class="postJobMin"><a class="btn" href="javascript:void(0)" id="active_jobtab">Active (<?php echo $active_rows; ?>)</a></h3>
	<h3 class="postJobMin"><a class="btn btn-blk" href="javascript:void(0)" id="inactive_jobtab">Inactive (<?php echo $inactive_rows; ?>)</a></h3>
		<div class="clearfix"></div>
	</li>-->
	
	
	

	<!--  active ads start -->
<li id="active_details">
	<!--<h3 class="postJobMin"><a class="btn" href="javascript:void(0)">Active All Ads</a></h3>
	<h3 class="postJobMin"><a class="btn btn-blk" href="javascript:void(0)">Matching ads</a></h3>-->	
	
	<div class="loading-div"><img src="<?php echo ROOTPATH;?>/view/images/ajax-loader.gif" ></div>
	<span id="wishlist_results"><!-- content will be loaded here --></span>

	<div class="clear"></div> 
		
</li> 


 
        </ul>
    </div>
    </div>
    
    <div class="col-md-3 plr">
    <div class="add-box">
			<?php 
            /*foreach($RightImagesResult as $images)
            {  
        ?>  
            <img src="<?php echo ROOTPATH.'/uploads/advertise/service/full-screen/'.$images->name;?>" width="100%"> 
        <?php }*/ ?>  
	</div>
	</div>

    </div>
	
<div class="clear"></div>
</div>
<br>

</div>

	


<?php include_once("../view/header-footer/footer.php");  