![]() Server : Apache/2 System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64 User : gositeme ( 1004) PHP Version : 8.2.29 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/gositeme/domains/gositeme.com/public_html/whmcs/assets/js/ |
function toggleadvsearch() {
if (document.getElementById('searchbox').style.visibility=="hidden") {
document.getElementById('searchbox').style.visibility="";
} else {
document.getElementById('searchbox').style.visibility="hidden";
}
}
function populate(o) {
d=document.getElementById('searchfield');
v=o.options[o.selectedIndex].value;
if(!d){return;}
var mitems=new Array();
mitems['clients']=['Client ID','Client Name','Company Name','Email Address','Address 1','Address 2','City','State','Postcode','Country','Phone Number','CC Last Four','Notes'];
mitems['orders']=['Order ID','Order #','Client Name','Order Date','Amount'];
mitems['services']=['Service ID','Domain','Client Name','Product','Billing Cycle','Next Due Date','Status','Username','Dedicated IP','Assigned IPs','Subscription ID','Notes'];
mitems['domains']=['Domain ID','Domain','Client Name','Registrar','Expiry Date','Status','Subscription ID','Notes'];
mitems['invoices']=['Invoice #','Client Name','Line Item','Invoice Date','Due Date','Date Paid','Total Due','Status'];
mitems['tickets']=['Ticket #','Tag','Subject','Client Name','Email Address'];
d.options.length=0;
cur=mitems[o.options[o.selectedIndex].value];
if(!cur){return;}
d.options.length=cur.length;
for(var i=0;i<cur.length;i++) {
d.options[i].text=cur[i];
d.options[i].value=cur[i];
}
if(v == 'services' || v == 'domains' || v == "clients") {
document.getElementById('searchfield').selectedIndex = 1;
}
}