$('.pager-blog .pager').bootpag({
total: 0{PAGER_PAGES},
page: 0{PAGER_PAGE},
maxVisible: 10
}).on("page", function(event, num){
var form = $(".pager-blog .form > form");
if ("undefined" !== typeof form[0].page && form[0].page == num){
return;
}
$("input[name='goto']", form).val(num);
WB.Ajax.update(form[0], "{CONTENT_PATH}");
form[0].page = num;
});