{"gridview":"\r\n<div style=\"border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;\">\r\n\r\n<h4>A PHP Error was encountered<\/h4>\r\n\r\n<p>Severity: Notice<\/p>\r\n<p>Message:  Undefined variable: category_product<\/p>\r\n<p>Filename: ajax_search_product\/gridview_product.php<\/p>\r\n<p>Line Number: 97<\/p>\r\n\r\n\r\n\t<p>Backtrace:<\/p>\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\t\t<p style=\"margin-left:10px\">\r\n\t\t\tFile: \/home\/softscraft\/nifti.softscraft.com\/application\/views\/frontend\/ajax_search_product\/gridview_product.php<br \/>\r\n\t\t\tLine: 97<br \/>\r\n\t\t\tFunction: _error_handler\t\t\t<\/p>\r\n\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\t\t<p style=\"margin-left:10px\">\r\n\t\t\tFile: \/home\/softscraft\/nifti.softscraft.com\/application\/controllers\/fontend\/Product.php<br \/>\r\n\t\t\tLine: 254<br \/>\r\n\t\t\tFunction: view\t\t\t<\/p>\r\n\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\t\t<p style=\"margin-left:10px\">\r\n\t\t\tFile: \/home\/softscraft\/nifti.softscraft.com\/index.php<br \/>\r\n\t\t\tLine: 141<br \/>\r\n\t\t\tFunction: require_once\t\t\t<\/p>\r\n\r\n\t\t\r\n\t\r\n\r\n<\/div>\r\n<script>\r\n    $(document).ready(function() {\r\n        var valRes = $(\"#valRes\").val()\r\n        $(\"#showingRow\").text(valRes)\r\n    })\r\n    $(document).ready(function() {\r\n\r\n        function showcard() {\r\n            \/\/ Update the upper card\r\n            $.ajax({\r\n                type: 'POST',\r\n                url: \"https:\/\/nifti.softscraft.com\/Ajax_play\/total_card_item\",\r\n                success: function(data) {\r\n                    \/\/console.log(data);\r\n                    $('.cart-total_item').html(data);\r\n                    $('#cart-total_item').html(data);\r\n                }\r\n            });\r\n        }\r\n        $(\".cart-btn1\").click(function() {\r\n            var id = this.id;\r\n            $.ajax({\r\n                type: 'POST',\r\n                url: \"https:\/\/nifti.softscraft.com\/Ajax_play\/add_to_card_fontend\",\r\n                data: {\r\n                    id: id\r\n                },\r\n                success: function(data) {\r\n                    \/\/ console.log(data);\r\n                    if (data == 1) {\r\n                        swal({\r\n                            title: \"\",\r\n                            text: \"Product added to cart\",\r\n                            icon: \"success\",\r\n                            button: false,\r\n                            timer: 1000,\r\n                        });\r\n                    } else {\r\n                        swal({\r\n                            title: \"\",\r\n                            text: \"Insufficient quantity of product\",\r\n                            icon: \"error\",\r\n                        });\r\n                    }\r\n                    showcard();\r\n\r\n                }\r\n            });\r\n        });\r\n    });\r\n<\/script>","listview":"\r\n<div style=\"border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;\">\r\n\r\n<h4>A PHP Error was encountered<\/h4>\r\n\r\n<p>Severity: Notice<\/p>\r\n<p>Message:  Undefined variable: category_product<\/p>\r\n<p>Filename: ajax_search_product\/listview_product.php<\/p>\r\n<p>Line Number: 99<\/p>\r\n\r\n\r\n\t<p>Backtrace:<\/p>\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\t\t<p style=\"margin-left:10px\">\r\n\t\t\tFile: \/home\/softscraft\/nifti.softscraft.com\/application\/views\/frontend\/ajax_search_product\/listview_product.php<br \/>\r\n\t\t\tLine: 99<br \/>\r\n\t\t\tFunction: _error_handler\t\t\t<\/p>\r\n\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\t\t<p style=\"margin-left:10px\">\r\n\t\t\tFile: \/home\/softscraft\/nifti.softscraft.com\/application\/controllers\/fontend\/Product.php<br \/>\r\n\t\t\tLine: 255<br \/>\r\n\t\t\tFunction: view\t\t\t<\/p>\r\n\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\t\t<p style=\"margin-left:10px\">\r\n\t\t\tFile: \/home\/softscraft\/nifti.softscraft.com\/index.php<br \/>\r\n\t\t\tLine: 141<br \/>\r\n\t\t\tFunction: require_once\t\t\t<\/p>\r\n\r\n\t\t\r\n\t\r\n\r\n<\/div>","product_pagination_link":"<input type=\"hidden\" id=\"valRes\" value=\"\r\n<div style=\"border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;\">\r\n\r\n<h4>A PHP Error was encountered<\/h4>\r\n\r\n<p>Severity: Notice<\/p>\r\n<p>Message:  Undefined variable: category_product<\/p>\r\n<p>Filename: ajax_search_product\/product_pagination_link.php<\/p>\r\n<p>Line Number: 2<\/p>\r\n\r\n\r\n\t<p>Backtrace:<\/p>\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\t\t<p style=\"margin-left:10px\">\r\n\t\t\tFile: \/home\/softscraft\/nifti.softscraft.com\/application\/views\/frontend\/ajax_search_product\/product_pagination_link.php<br \/>\r\n\t\t\tLine: 2<br \/>\r\n\t\t\tFunction: _error_handler\t\t\t<\/p>\r\n\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\t\t<p style=\"margin-left:10px\">\r\n\t\t\tFile: \/home\/softscraft\/nifti.softscraft.com\/application\/controllers\/fontend\/Product.php<br \/>\r\n\t\t\tLine: 256<br \/>\r\n\t\t\tFunction: view\t\t\t<\/p>\r\n\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\t\t<p style=\"margin-left:10px\">\r\n\t\t\tFile: \/home\/softscraft\/nifti.softscraft.com\/index.php<br \/>\r\n\t\t\tLine: 141<br \/>\r\n\t\t\tFunction: require_once\t\t\t<\/p>\r\n\r\n\t\t\r\n\t\r\n\r\n<\/div>\r\n<div style=\"border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;\">\r\n\r\n<h4>A PHP Error was encountered<\/h4>\r\n\r\n<p>Severity: Notice<\/p>\r\n<p>Message:  Undefined variable: category_product<\/p>\r\n<p>Filename: ajax_search_product\/product_pagination_link.php<\/p>\r\n<p>Line Number: 4<\/p>\r\n\r\n\r\n\t<p>Backtrace:<\/p>\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\t\t<p style=\"margin-left:10px\">\r\n\t\t\tFile: \/home\/softscraft\/nifti.softscraft.com\/application\/views\/frontend\/ajax_search_product\/product_pagination_link.php<br \/>\r\n\t\t\tLine: 4<br \/>\r\n\t\t\tFunction: _error_handler\t\t\t<\/p>\r\n\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\t\t<p style=\"margin-left:10px\">\r\n\t\t\tFile: \/home\/softscraft\/nifti.softscraft.com\/application\/controllers\/fontend\/Product.php<br \/>\r\n\t\t\tLine: 256<br \/>\r\n\t\t\tFunction: view\t\t\t<\/p>\r\n\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\t\t<p style=\"margin-left:10px\">\r\n\t\t\tFile: \/home\/softscraft\/nifti.softscraft.com\/index.php<br \/>\r\n\t\t\tLine: 141<br \/>\r\n\t\t\tFunction: require_once\t\t\t<\/p>\r\n\r\n\t\t\r\n\t\r\n\r\n<\/div>0\">\r\n<div class=\"basic-pagination  new__custom__pagination\" data-wow-delay=\".2s\">\r\n    <\/div>\r\n<div class=\"text-center\">\r\n    <span>Found <span id=\"showingRow\"><\/span> of \r\n<div style=\"border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;\">\r\n\r\n<h4>A PHP Error was encountered<\/h4>\r\n\r\n<p>Severity: Notice<\/p>\r\n<p>Message:  Undefined variable: total_rows<\/p>\r\n<p>Filename: ajax_search_product\/product_pagination_link.php<\/p>\r\n<p>Line Number: 14<\/p>\r\n\r\n\r\n\t<p>Backtrace:<\/p>\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\t\t<p style=\"margin-left:10px\">\r\n\t\t\tFile: \/home\/softscraft\/nifti.softscraft.com\/application\/views\/frontend\/ajax_search_product\/product_pagination_link.php<br \/>\r\n\t\t\tLine: 14<br \/>\r\n\t\t\tFunction: _error_handler\t\t\t<\/p>\r\n\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\t\t<p style=\"margin-left:10px\">\r\n\t\t\tFile: \/home\/softscraft\/nifti.softscraft.com\/application\/controllers\/fontend\/Product.php<br \/>\r\n\t\t\tLine: 256<br \/>\r\n\t\t\tFunction: view\t\t\t<\/p>\r\n\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\t\t<p style=\"margin-left:10px\">\r\n\t\t\tFile: \/home\/softscraft\/nifti.softscraft.com\/index.php<br \/>\r\n\t\t\tLine: 141<br \/>\r\n\t\t\tFunction: require_once\t\t\t<\/p>\r\n\r\n\t\t\r\n\t\r\n\r\n<\/div>0 items<\/span>\r\n<\/div>"}