One Hat Cyber Team
Your IP :
18.219.43.26
Server IP :
87.118.122.21
Server :
Linux svdm-server5.de 6.1.0-17-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.69-1 (2023-12-30) x86_64
Server Software :
Apache
PHP Version :
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
users
/
svd-saarleute
/
www
/
_go_biz
/
public
/
js
/
View File Name :
add-gallery.js
(function ($) { "use strict"; function addGallery() { var id = getRandomInt(); var gallery = "<div class='row' id=" + id + "><div class='col-md-6 col-xl-6'> <div class='mb-3'> <div class='form-label'>Gallery Image<span class='text-muted'>1MB max size</span> </div><input type='file' class='form-control' name='gallery_image[]' placeholder='Gallery Image' required/> </div></div><div class='col-md-6 col-xl-6'> <div class='mb-3'> <label class='form-label'>Image Caption</label> <input type='text' class='form-control' name='caption[]' placeholder='Image Caption...' required> <a href='#' class='btn mt-3 btn-danger btn-sm' onclick='removeGallery(" + id + ")'>Remove</a> </div><br></div>"; $("#more-gallery").append(gallery).html(); } function removeGallery(id) { $("#" + id).remove(); } function getRandomInt() { min = Math.ceil(0); max = Math.floor(9999999999); return Math.floor(Math.random() * (max - min) + min); //The maximum is exclusive and the minimum is inclusive } })(jQuery);