$(document).ready(function () {
$('.delete-slider-image').click(function (e) {
var r = confirm("Are you really want delete this picture?....");
if (r) {
window.location.replace("delete/slider-image.php?img=" + this.id);
}
});
$('.delete-subsection').click(function (e) {
var r = confirm("Are you really want delete this Subsection?....");
if (r) {
window.location.replace("delete/subsection.php?img=" + this.id);
}
});
$('.delete-gallery').click(function (e) {
var r = confirm("Are you really want delete this picture?....");
if (r) {
window.location.replace("delete/gallery.php?img=" + this.id);
}
});
$('.delete-service-photo').click(function (e) {
var r = confirm("Are you really want delete this picture?....");
if (r) {
window.location.replace("delete/service-photo.php?img=" + this.id);
}
});
$('.delete-service').click(function (e) {
var r = confirm("Are you really want delete this Service?....");
if (r) {
window.location.replace("delete/service.php?id=" + this.id);
}
});
$('.delete-comment').click(function (e) {
var r = confirm("Are you really want delete this Comment?....");
if (r) {
window.location.replace("delete/comment.php?img=" + this.id);
}
});
$('.delete-team').click(function (e) {
var r = confirm("Are you really want delete this Team Member?....");
if (r) {
window.location.replace("delete/delete-team.php?img=" + this.id);
}
});
$('.delete-excursion').click(function (e) {
var r = confirm("Are you really want delete this Excursion?....");
if (r) {
window.location.replace("delete/excursion.php?id=" + this.id);
}
});
$('.delete-excursions-photo').click(function (e) {
var r = confirm("Are you really want delete this Excursions Photo?....");
if (r) {
window.location.replace("delete/excursions-photo.php?img=" + this.id);
}
});
$('.delete-certificat').click(function (e) {
var r = confirm("Are you really want delete this Certificats?....");
if (r) {
window.location.replace("delete/delete-certificat.php?img=" + this.id);
}
});
});
|