"use strict";
$(function () {
    $("#main-wrapper").AdminSettings({
        Theme: false, // this can be true or false ( true means dark and false means light ),
        Layout: 'vertical',
        LogoBg: 'skin6', // You can change the Value to be skin1/skin2/skin3/skin4/skin5/skin6 
        NavbarBg: 'skin1', // You can change the Value to be skin1/skin2/skin3/skin4/skin5/skin6
        SidebarType: 'mini-sidebar', // You can change it full / mini-sidebar / iconbar / overlay
        SidebarColor: 'skin6', // You can change the Value to be skin1/skin2/skin3/skin4/skin5/skin6
        SidebarPosition: true, // it can be true / false ( true means Fixed and false means absolute )
        HeaderPosition: true, // it can be true / false ( true means Fixed and false means absolute )
        BoxedLayout: false, // it can be true / false ( true means Boxed and false means Fluid ) 
    });
});

$(function () {
    cdp_load(1);
});




//Cargar datos AJAX
function cdp_load(page) {
    var search = $("#search").val();
    var gateway = $("#gateway").val();
    var parametros = {
        "page": page,
        'search': search,
        'gateway': gateway
    };
    $("#loader").fadeIn('slow');
    $.ajax({
        url: './ajax/customers_packages/payments_gateways_list_ajax.php',
        data: parametros,
        beforeSend: function (objeto) { },
        success: function (data) {
            $(".outer_div").html(data).fadeIn('slow');
        }
    })
}