{"ip_address":"193.33.224.222","uri":"\/admin\/users\/search","method":"POST","controller_action":"App\\Http\\Controllers\\Admin\\UserCrudController@search","middleware":["web","admin",{}],"headers":{"host":"kawaz.dot-zerone.com","connection":"keep-alive","content-length":"1105","sec-ch-ua":"\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"96\", \"Google Chrome\";v=\"96\"","x-csrf-token":"tPxBvVZnpMmiOy7RbklYXdkULmmoPuJ7DFoGJBHd","sec-ch-ua-mobile":"?0","user-agent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/96.0.4664.45 Safari\/537.36","content-type":"application\/x-www-form-urlencoded; charset=UTF-8","accept":"application\/json, text\/javascript, *\/*; q=0.01","x-requested-with":"XMLHttpRequest","sec-ch-ua-platform":"\"Windows\"","origin":"https:\/\/kawaz.dot-zerone.com","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https:\/\/kawaz.dot-zerone.com\/admin\/users","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9","cookie":"_ga=GA1.2.1896760258.1638158778; _gid=GA1.2.1526789149.1638158778; _gat_gtag_UA_16782706_13=1; remember_backpack_59ba36addc2b2f9401580f014c7f58ea4e30989d=eyJpdiI6IlRPZWc1QlQ5aW1XM1crZ0d6OXNqVkE9PSIsInZhbHVlIjoiMWVHV2haNUMzVUo3UFB0Yk1LbjB5TmZxMWtoVW9sZWo2VFpwSDNwNjRJM3ZzQXFqaFdUWWUvTVdTUzZtZmVWTkNQR0VlZjJlblRNdHcwb0d5a3V5cGx5Y25vYmFMMGNneVUyMzZBU0FveUtTQ2dxWFBXUFlicTFjR1QxVi9mNWx0aGxPNzBaYTBKOTVJSEI5M3FxeWg0VFpDNmpudDlmSFlZc0hEWUFHNFA4cTNTbTlUQnN2QktROG5tNHdZWjU2NDBrMnZtRDVCaWEwUkpyWDA3TnhTb3Z5bXFrVHVVR25TUlVEemMrWGxnOD0iLCJtYWMiOiIxYmQzYWM3ZGE2ZmY1YWEzNzM3MWM3YWZiNDY0NTUwMmVlMjcwZjZiMWFjYzA2NzYzMzY2YzgzNjlkZDkwYjU0In0%3D; XSRF-TOKEN=eyJpdiI6IjUwWUNXWHBCREVSUXoxL0IyVElTYVE9PSIsInZhbHVlIjoia2lLVlB3dHE2NjhXSDJrcmxHd01sTW53S3hNUUtiTEpuQ2hhUkZhUExwQ3d1VTlaMllGeU1RVFBMN0VCYU9NdGlsZDVLZHhrd0xJZFpIZUFscy9Bb1NDdzlMcVJlNnBxWTRsdE9peG1VUHhGZWVyVTRnYVJERWFldVRqdjhYWUciLCJtYWMiOiIzY2ViNDJhZWYxNDIyMTlkN2MwZmQ0NzU0ZGJjMjNmMjNjOTRkYjZmYWY1MGI3MGI4MWRkMzk1YWVlOWFjMDlhIn0%3D; laravel_session=eyJpdiI6IkhBOFJCT1MxaEZiVU4wL3Q1L3NPeXc9PSIsInZhbHVlIjoieGNPQ2FodU40NnlvcWZWcHBxcHcwekduVzNhSXRWZ3hhamYxWS9GY3prclJnVnVQeWUxYzYrSVZmWTQxTHVZdVlxaWh0Yi9jakwvSDd0cTVFK3U5WXFpNkZCYTBVRWViRllJYlkyODRvNjFuZHBSQ3F2KzFiVnp3Qkp1eVFNVVQiLCJtYWMiOiIzOGNmNTIxYWU0MjhkM2ZiMDhmOWQ5MmZkODQ1NzExY2M4MmQ0Mjk2YmFjMGRiOWRhMjZlZDUxYjJhZGVkMTZjIn0%3D; x-clockwork=%7B%22requestId%22%3A%221638158833-2115-1346650339%22%2C%22version%22%3A%225.0.8%22%2C%22path%22%3A%22%5C%2F__clockwork%5C%2F%22%2C%22token%22%3A%22a604910b%22%2C%22metrics%22%3Atrue%2C%22toolbar%22%3Atrue%7D"},"payload":{"draw":"1","columns":[{"data":"0","name":null,"searchable":"true","orderable":"true","search":{"value":null,"regex":"false"}},{"data":"1","name":null,"searchable":"true","orderable":"true","search":{"value":null,"regex":"false"}},{"data":"2","name":null,"searchable":"true","orderable":"false","search":{"value":null,"regex":"false"}},{"data":"3","name":null,"searchable":"true","orderable":"false","search":{"value":null,"regex":"false"}},{"data":"4","name":null,"searchable":"true","orderable":"false","search":{"value":null,"regex":"false"}}],"start":"0","length":"10","search":{"value":null,"regex":"false"}},"session":{"_token":"tPxBvVZnpMmiOy7RbklYXdkULmmoPuJ7DFoGJBHd","_previous":{"url":"https:\/\/kawaz.dot-zerone.com\/admin\/users"},"_flash":{"old":[],"new":[]},"url":[],"login_backpack_59ba36addc2b2f9401580f014c7f58ea4e30989d":1},"response_status":200,"response":{"draw":1,"recordsTotal":1,"recordsFiltered":1,"data":[["<span>\n                        admin\n            <\/span>\n","<span>\n    <a\n    href=\"mailto:admin@kawaz.com\"\n>                    admin@kawaz.com\n            <\/a>\n<\/span>\n","<span>\n            -\n    <\/span>","<span>\n            -\n    <\/span>","<!-- Single edit button -->\n\t<a href=\"https:\/\/kawaz.dot-zerone.com\/admin\/users\/1\/edit\" class=\"btn btn-sm btn-link\"><i class=\"la la-edit\"><\/i> Edit<\/a>\n\n\t\n\t\t  <a href=\"javascript:void(0)\" onclick=\"deleteEntry(this)\" data-route=\"https:\/\/kawaz.dot-zerone.com\/admin\/users\/1\" class=\"btn btn-sm btn-link\" data-button-type=\"delete\"><i class=\"la la-trash\"><\/i> Delete<\/a>\n\n\n\n\n <script>\n\n\tif (typeof deleteEntry != 'function') {\n\t  $(\"[data-button-type=delete]\").unbind('click');\n\n\t  function deleteEntry(button) {\n\t\t\/\/ ask for confirmation before deleting an item\n\t\t\/\/ e.preventDefault();\n\t\tvar route = $(button).attr('data-route');\n\n\t\tswal({\n\t\t  title: \"Warning\",\n\t\t  text: \"Are you sure you want to delete this item?\",\n\t\t  icon: \"warning\",\n\t\t  buttons: [\"Cancel\", \"Delete\"],\n\t\t  dangerMode: true,\n\t\t}).then((value) => {\n\t\t\tif (value) {\n\t\t\t\t$.ajax({\n\t\t\t      url: route,\n\t\t\t      type: 'DELETE',\n\t\t\t      success: function(result) {\n\t\t\t          if (result == 1) {\n\t\t\t\t\t\t  \/\/ Redraw the table\n\t\t\t\t\t\t  if (typeof crud != 'undefined' && typeof crud.table != 'undefined') {\n\t\t\t\t\t\t\t  \/\/ Move to previous page in case of deleting the only item in table\n\t\t\t\t\t\t\t  if(crud.table.rows().count() === 1) {\n\t\t\t\t\t\t\t    crud.table.page(\"previous\");\n\t\t\t\t\t\t\t  }\n\n\t\t\t\t\t\t\t  crud.table.draw(false);\n\t\t\t\t\t\t  }\n\n\t\t\t          \t  \/\/ Show a success notification bubble\n\t\t\t              new Noty({\n\t\t                    type: \"success\",\n\t\t                    text: \"<strong>Item Deleted<\/strong><br>The item has been deleted successfully.\"\n\t\t                  }).show();\n\n\t\t\t              \/\/ Hide the modal, if any\n\t\t\t              $('.modal').modal('hide');\n\t\t\t          } else {\n\t\t\t              \/\/ if the result is an array, it means \n\t\t\t              \/\/ we have notification bubbles to show\n\t\t\t          \t  if (result instanceof Object) {\n\t\t\t          \t  \t\/\/ trigger one or more bubble notifications \n\t\t\t          \t  \tObject.entries(result).forEach(function(entry, index) {\n\t\t\t          \t  \t  var type = entry[0];\n\t\t\t          \t  \t  entry[1].forEach(function(message, i) {\n\t\t\t\t\t          \t  new Noty({\n\t\t\t\t                    type: type,\n\t\t\t\t                    text: message\n\t\t\t\t                  }).show();\n\t\t\t          \t  \t  });\n\t\t\t          \t  \t});\n\t\t\t          \t  } else {\/\/ Show an error alert\n\t\t\t\t              swal({\n\t\t\t\t              \ttitle: \"Not Deleted\",\n\t                            text: \"Deleting entries is disabled in the online demo. Dooh.\",\n\t\t\t\t              \ticon: \"error\",\n\t\t\t\t              \ttimer: 4000,\n\t\t\t\t              \tbuttons: false,\n\t\t\t\t              });\n\t\t\t          \t  }\t\t\t          \t  \n\t\t\t          }\n\t\t\t      },\n\t\t\t      error: function(result) {\n\t\t\t          \/\/ Show an alert with the result\n\t\t\t          swal({\n\t\t              \ttitle: \"Not Deleted\",\n                        text: \"Deleting entries is disabled in the online demo. Dooh.\",\n\t\t              \ticon: \"error\",\n\t\t              \ttimer: 4000,\n\t\t              \tbuttons: false,\n\t\t              });\n\t\t\t      }\n\t\t\t  });\n\t\t\t}\n\t\t});\n\n      }\n\t}\n\n\t\/\/ make it so that the function above is run after each DataTable draw event\n\t\/\/ crud.addFunctionToDataTablesDrawEventQueue('deleteEntry');\n<\/script>\n\n\t"]]},"duration":269,"memory":2,"hostname":"ubuntu-s-1vcpu-1gb-sfo3-01"}