|
|
@ -140,7 +140,7 @@ $(function () { |
|
|
|
|
|
|
|
|
|
|
|
$.ajax({ |
|
|
|
$.ajax({ |
|
|
|
type: "POST", |
|
|
|
type: "POST", |
|
|
|
url: "ajax.php", |
|
|
|
url: "include/ajax.php", |
|
|
|
dataType: "json", |
|
|
|
dataType: "json", |
|
|
|
data: item, |
|
|
|
data: item, |
|
|
|
error: function () { |
|
|
|
error: function () { |
|
|
@ -168,7 +168,7 @@ $(function () { |
|
|
|
// Selection des admins
|
|
|
|
// Selection des admins
|
|
|
|
$.ajax({ |
|
|
|
$.ajax({ |
|
|
|
type: "POST", |
|
|
|
type: "POST", |
|
|
|
url: "ajax.php", |
|
|
|
url: "include/ajax.php", |
|
|
|
dataType: 'json', |
|
|
|
dataType: 'json', |
|
|
|
data: "select=admin", |
|
|
|
data: "select=admin", |
|
|
|
success: function (json) { |
|
|
|
success: function (json) { |
|
|
@ -212,7 +212,7 @@ $(function () { |
|
|
|
var me = $(this), id = me.attr('id'), data = grid.getData(); |
|
|
|
var me = $(this), id = me.attr('id'), data = grid.getData(); |
|
|
|
$.ajax({ |
|
|
|
$.ajax({ |
|
|
|
type: "POST", |
|
|
|
type: "POST", |
|
|
|
url: "ajax.php", |
|
|
|
url: "include/ajax.php", |
|
|
|
dataType: "json", |
|
|
|
dataType: "json", |
|
|
|
data: {del_admin_id: id}, |
|
|
|
data: {del_admin_id: id}, |
|
|
|
error: function () { |
|
|
|
error: function () { |
|
|
@ -260,7 +260,7 @@ $(function () { |
|
|
|
// Modification de la bdd
|
|
|
|
// Modification de la bdd
|
|
|
|
$.ajax({ |
|
|
|
$.ajax({ |
|
|
|
type: "POST", |
|
|
|
type: "POST", |
|
|
|
url: "ajax.php", |
|
|
|
url: "include/ajax.php", |
|
|
|
dataType: "json", |
|
|
|
dataType: "json", |
|
|
|
data: item, |
|
|
|
data: item, |
|
|
|
error: function () { |
|
|
|
error: function () { |
|
|
@ -285,7 +285,7 @@ $(function () { |
|
|
|
// Maj de la bdd
|
|
|
|
// Maj de la bdd
|
|
|
|
$.ajax({ |
|
|
|
$.ajax({ |
|
|
|
type: "POST", |
|
|
|
type: "POST", |
|
|
|
url: "ajax.php", |
|
|
|
url: "include/ajax.php", |
|
|
|
dataType: "json", |
|
|
|
dataType: "json", |
|
|
|
data: item, |
|
|
|
data: item, |
|
|
|
error: function () { |
|
|
|
error: function () { |
|
|
@ -347,7 +347,7 @@ $(function () { |
|
|
|
// Pagination
|
|
|
|
// Pagination
|
|
|
|
pager = new Slick.Controls.EnhancementPager({ |
|
|
|
pager = new Slick.Controls.EnhancementPager({ |
|
|
|
container: $("#pagination"), |
|
|
|
container: $("#pagination"), |
|
|
|
remoteUrl: "ajax.php", |
|
|
|
remoteUrl: "include/ajax.php", |
|
|
|
params: {select: "log"}, |
|
|
|
params: {select: "log"}, |
|
|
|
datagrid: grid, |
|
|
|
datagrid: grid, |
|
|
|
pagerType: "" |
|
|
|
pagerType: "" |
|
|
|