Server IP : 108.163.255.210 / Your IP : 18.222.98.91 Web Server : Apache System : Linux blossom.urlnameserver.com 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64 User : ( 1172) PHP Version : 7.2.34 Disable Function : eval,escapeshellarg,proc_close,proc_get_status,proc_nice,proc_open,symlink,system,pcntl_exec,getrusage,chown,chgp,closelog,openlog,syslog,define_syslog_variables,php_ini_loaded_file,getservbyname,getservbyport,posix_getgid,posix_getgrgid,proc_terminate,pfsockopen,apache_child_terminate,posix_mkfifo,posix_setpgid,posix_setuid,hypot,pg_host,pos,posix_access,posix_getcwd,posix_getservbyname,myshellexec,getpid,posix_getsid,posix_isatty,posix_kill,posix_mknod,posix_setgid,posix_setsid,posix_setuid,posix_times,posix_uname,ps_fill,posix_getpwuid,global,ini_restore,zip_open,zip_read,rar_open,bzopen,bzread,bzwrite,apache_get_modules,apache_get_version,phpversionphpinfo,php_ini_scanned_files,get_current_user,disk_total_space,diskfreespace,leak,imap_list,hypo,filedump,safe_mode,getmygid,apache_getenv,apache_setenv,bzread,bzwrite,bzopen,phpini,higlight_file,dos_conv,get_cwd,er_log,cmd,e_name,vdir,get_dir,only_read,ftok,ftpexec,posix_getpwnam,mysql_list_dbs,disk_free_space,session_save_path,confirm_phpdoc_compiled,zip_entry_rea,php_u,psockopen,crack_opendict,crack_getlastmessage,crack_closedict,crack_check,fpassthru,posix_get_last_error,posix_getlogin,posix_getgroups,posix_strerror,posix_getrlimit,posix_getpgrp,posix_getgrnam,pos,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/unilinki/public_html/payroll/admin/dist/js/ |
Upload File : |
function getXMLHTTP() { //fuction to return the xml http object var xmlhttp=false; try{ xmlhttp=new XMLHttpRequest(); } catch(e) { try{ xmlhttp= new ActiveXObject("Microsoft.XMLHTTP"); } catch(e){ try{ xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch(e1){ xmlhttp=false; } } } return xmlhttp; } function getSubcategory(dId) { //alert(dId); var strURL="checksubcat.php?did="+dId; var req = getXMLHTTP(); if (req) { req.onreadystatechange = function() { if (req.readyState == 4) { // only if "OK" if (req.status == 200) { document.getElementById('txtHint').innerHTML=req.responseText; } else { alert("There was a problem while using XMLHTTP:\n" + req.statusText); } } } req.open("GET", strURL, true); req.send(null); } } function getBrand(cId) { //alert(cId); var strURL="checkbrand.php?cid="+cId; var req = getXMLHTTP(); if (req) { req.onreadystatechange = function() { if (req.readyState == 4) { // only if "OK" if (req.status == 200) { document.getElementById('txtHintBrand').innerHTML=req.responseText; } else { alert("There was a problem while using XMLHTTP:\n" + req.statusText); } } } req.open("GET", strURL, true); req.send(null); } } function getSscategory(str,str1) { if (str=="") { document.getElementById("txtHintsscat").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("txtHintsscat").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","checksscat.php?catid="+str+"&subcatid="+str1,true); xmlhttp.send(); } function getBrand(cbrand) { if (cbrand=="") { document.getElementById("txtHintBrand").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("txtHintBrand").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","checkbrand.php?catid="+cbrand,true); xmlhttp.send(); } function checkRole(str) { //alert(str); if (str=="") { document.getElementById("txtroleval").innerHTML="xczxc"; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("txtroleval").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","checrole.php?roleid="+str,true); xmlhttp.send(); } function getSelectedChbox(frm) { var strChoices = ""; var objCBarray = document.getElementById('myform')['refineby[]']; for (i = 0; i < objCBarray.length; i++) { if (objCBarray[i].checked) { strChoices+= objCBarray[i].value+","; } } //alert(strChoices); if((strChoices=='Football,All,') && (frm=='Football')){ document.getElementById('all').checked=""; strChoices='Football,'; } //alert(strChoices); if (strChoices=="") { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("txtHint").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","checkrefineby.php?refineby="+strChoices,true); xmlhttp.send(); } function OpenNewWindow(w,h,mypage,newwinanme) { //if (!validateMode()) return; var winl = (screen.width - w) / 2; var wint = (screen.height - h) / 2; winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,directories=no,status=no'; imgwin = window.open(mypage, newwinanme, winprops); if (parseInt(navigator.appVersion) >= 4) {imgwin.window.focus();} } //-------**********Open New Pop Up Window********-------------- function OpenNewWindowwithscroll(w,h,mypage,newwinanme) { var winl = (screen.width - w)/2; var wint = 2; winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',toolbar=no,menubar=no,scrollbars=yes,resizable=yes,location=no,directories=no,status=no'; imgwin = window.open(mypage, newwinanme, winprops); if (parseInt(navigator.appVersion) >= 4) {imgwin.window.focus();} } function OpenNewWindowwithtoolbar(w,h,mypage,newwinanme) { var winl = (screen.width - w)/2; var wint = 2; winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',toolbar=yes,menubar=yes,scrollbars=yes,resizable=yes,location=yes,directories=yes,status=yes'; imgwin = window.open(mypage, newwinanme, winprops); if (parseInt(navigator.appVersion) >= 4) {imgwin.window.focus();} } //--------------******file extensions to be uploaded*******-------------- extArray = new Array(".gif",".jpg",".jpeg",".jpe"); function Allowed_Uploaded_Files(File_Value) { allowSubmit = false; if (!File_Value) { return true; } while (File_Value.indexOf("\\") != -1) { File_Value = File_Value.slice(File_Value.indexOf("\\") + 1); } ext = File_Value.slice(File_Value.indexOf(".")).toLowerCase(); for (var i = 0; i < extArray.length; i++) { if (extArray[i] == ext) { allowSubmit = true; break; } } if (allowSubmit) { return true; } else { return false; } } function Select_Delect_All(total_records_viewed) { for(i=0;i<total_records_viewed;i=i+1) { if(document.frm_1.chk_SD.checked==true) { document.frm_1.elements["chk_1["+i+"]"].checked=true; } else { document.frm_1.elements["chk_1["+i+"]"].checked=false; } } } function Select_Delect_feature(total_records_viewed) { for(i=0;i<total_records_viewed;i=i+1) { if(document.frm_1.chk_feature.checked==true) { document.frm_1.elements["chk_2["+i+"]"].checked=true; } else { document.frm_1.elements["chk_2["+i+"]"].checked=false; } } } function confdel(myformname) { var fl = 0; for(i = 0; i < (document.forms[myformname].elements.length); i++) { if((document.forms[myformname].elements[i].type=="checkbox") && (document.forms[myformname].elements[i].checked==true)) { fl = 1; break; } } if(fl == 1) { if(confirm("Are you sure you want to Delete?")) { fl = 1; } else { fl = 0; } } else { alert("Nothing to Delete."); fl = 0; } if(fl == 1) { return true; } else { return false; } } //***************function for confirmation***************// function confirmThis(message) { if (confirm(message)) { return true } else { return false } } //----------**end of function for confirmation**----------//