dsg
INSERT INTO `cp_filehtml` (`id`,`modul`,`app`,`path`,`type`,`cat`,`file_name`,`content`) VALUES ('352','post','1','u2/creator','0','js','post-add.js-','// input post_image\r\n$(document).on(\\\'change\\\', \\\'input#fileuploadInput\\\', function (e) {\r\n const file = e.target.files[0]\r\n const reader = new FileReader()\r\n\r\n reader.onload = function (e) {\r\n document.querySelector(\\\'.custom-file-upload label\\\').style.backgroundImage = `url(\\\'${e.target.result}\\\')`\r\n document.querySelector(\\\'.custom-file-upload label\\\').style.backgroundSize = \\\'cover\\\'\r\n }\r\n\r\n reader.readAsDataURL(file)\r\n})');
Copy This

Warning: file_get_contents(/home/u340524018/domains/agniaga.com/public_html/sub/u2/creator/post-add.js-): Failed to open stream: No such file or directory in /home/u340524018/domains/agniaga.com/public_html/sub/u2/cp/inc.filehtml.php on line 319
// input post_image
$(document).on(\'change\', \'input#fileuploadInput\', function (e) {
  const file = e.target.files[0]
  const reader = new FileReader()

  reader.onload = function (e) {
    document.querySelector(\'.custom-file-upload label\').style.backgroundImage = `url(\'${e.target.result}\')`
    document.querySelector(\'.custom-file-upload label\').style.backgroundSize = \'cover\'
  }

  reader.readAsDataURL(file)
})
Array
(
)
Add JS Function Name