Warning: session_start(): open(/home/cttghldy/tmp/sess_bq2ffg7bbgn768et0v4kinfvm1, O_RDWR) failed: No space left on device (28) in /home/cttghldy/public_html/mediastore/js/pagination_js.php on line 2
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/cttghldy/public_html/mediastore/js/pagination_js.php:2) in /home/cttghldy/public_html/mediastore/js/pagination_js.php on line 2
Warning: Cannot modify header information - headers already sent by (output started at /home/cttghldy/public_html/mediastore/js/pagination_js.php:2) in /home/cttghldy/public_html/mediastore/js/pagination_js.php on line 8
// JavaScript Document
$(document).ready(function(){
function loading_show(){
$('#pagination').html("
Loading properties.........
");
$('#pagination').fadeIn('fast');
}
function loadData(page, type, item, radius){
loading_show();
$.ajax({
type: "POST",
url: "https://www.cottageholidaysin.co.uk/mediastore/scrpts/load_pagination_data.php",
data: "page=" + page + "&type=" + type + "&item=" + item + "&radius=" + radius,
success: function(pgntn){
$("#pagination").ajaxComplete(function(event, request, settings){
$("#pagination").html(pgntn);
});
}
});
}
loadData(1, "place", "E3007CF426", "0.5"); // For first time page load default results
$('#pagination li.active').live('click',function(){
// $(document).on("click", "#pagination li.active", function(){
var page = $(this).attr('p');
var type = "place";
var item = "E3007CF426";
var radius = "0.5";
loadData(page, type, item, radius);
});
// $(document).on("click", "#go_btn", function(){
$('#go_btn').live('click',function(){
var page = parseInt($('#goto').val());
var no_of_pages = parseInt($('.pag_total').attr('a'));
if(page != 0 && page <= no_of_pages){
var type = "place";
var item = "E3007CF426";
var radius = "0.5";
loadData(page, type, item, radius);
}
else{
alert('Enter a PAGE between 1 and '+no_of_pages);
$('.goto').val("").focus();
return false;
}
});
// $(document).on("click", "#go_btn_btm", function(){
$('#go_btn_btm').live('click',function(){
var page = parseInt($('#goto_btm').val());
var no_of_pages = parseInt($('.pag_total').attr('a'));
if(page != 0 && page <= no_of_pages){
var type = "place";
var item = "E3007CF426";
var radius = "0.5";
loadData(page, type, item, radius);
}
else{
alert('Enter a PAGE between 1 and '+no_of_pages);
$('#goto_btm').val("").focus();
return false;
}
});
});
Warning: Unknown: open(/home/cttghldy/tmp/sess_bq2ffg7bbgn768et0v4kinfvm1, O_RDWR) failed: No space left on device (28) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/home/cttghldy/tmp) in Unknown on line 0