HOME


Mini Shell 1.0
DIR: /home/islapiiu/sites/madolduwaboatride/admin/js/
Upload File :
Current File : /home/islapiiu/sites/madolduwaboatride/admin/js/scripts.js
$(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-room-photo').click(function (e) {
        var r = confirm("Are you really want delete this picture?....");
        if (r) {
            window.location.replace("delete/room-photo.php?img=" + this.id);
        }
    });

    $('.delete-room').click(function (e) {
        var r = confirm("Are you really want delete this Room?....");
        if (r) {
            window.location.replace("delete/room.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-album').click(function (e) {
        var r = confirm("Are you really want delete this album?....");
        if (r) {
            window.location.replace("delete/service.php?id=" + 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-activitie').click(function (e) {
        var r = confirm("Are you really want delete this Activitie?....");
        if (r) {
            window.location.replace("delete/activitie.php?id=" + this.id);
        }
    });

    $('.delete-activitie-photo').click(function (e) {
        var r = confirm("Are you really want delete this picture?....");
        if (r) {
            window.location.replace("delete/activitie-photo.php?img=" + this.id);
        }
    });



});