UnknownSec Bypass
403
:
/
home
/
growthpharma
/
public_html
/
Master@Growth
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
localitycheck.js
var message=""; function ajaxcheck(sText) { var ajaxRequest; // The variable that makes Ajax possible! try { // Opera 8.0+, Firefox, Safari ajaxRequest = new XMLHttpRequest(); } catch (e) { // Internet Explorer Browsers try { ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e){ // Something went wrong alert("Your browser browser is not compitable for the page on which you are working!"); return false; } } } // Create a function that will receive data sent from the server ajaxRequest.onreadystatechange = function() { if(ajaxRequest.readyState == 4) { document.getElementById("texthint").innerHTML=ajaxRequest.responseText; if(ajaxRequest.responseText) { //alert(ajaxRequest.responseText); //document.getElementById("menu_id").value=""; //document.getElementById("menu_id").focus(); location.reload(); } } } var menu_id = document.getElementById("menu_id").value; var submenu = document.getElementById("submenu").value; var queryString = "?submenu=" + submenu + "&menu_id=" + menu_id; //alert (queryString); ajaxRequest.open("GET", "checkwebpage.php" + queryString, true); ajaxRequest.send(null); } //To check Bottom Up Filling Of Form function chkvalue1() { var status=0; if(document.getElementById("menu_id").value=="") { document.getElementById("menu_id_error").style.display="block"; document.getElementById("menu_id_error").innerHTML="This field is required."; status=1; } if(document.getElementById("menu_id").value!="") { document.getElementById("menu_id_error").style.display="none"; document.getElementById("menu_id_error").innerHTML=""; } if(document.getElementById("title").value=="") { document.getElementById("title_error").style.display="block"; document.getElementById("title_error").innerHTML="This field is required."; status=1; } if(document.getElementById("title").value!="") { document.getElementById("title_error").style.display="none"; document.getElementById("title_error").innerHTML=""; } var location1 = FCKeditorAPI.GetInstance('details'); //location_info is name of text area. var description = location1.GetXHTML(true); if(!description) { document.getElementById("details_error").style.display="block"; document.getElementById("details_error").innerHTML="This field is required."; status=1; } if(description) { document.getElementById("details_error").style.display="none"; document.getElementById("details_error").innerHTML=""; } if(document.getElementById("banner").value=="") { document.getElementById("banner_error").style.display="block"; document.getElementById("banner_error").innerHTML="This field is required."; status=1; } if(document.getElementById("banner").value!="") { document.getElementById("banner_error").style.display="none"; document.getElementById("banner_error").innerHTML=""; } if(status==1) { return false; } } function selectcatlogue(sText) { var ajaxRequest; // The variable that makes Ajax possible! try { // Opera 8.0+, Firefox, Safari ajaxRequest = new XMLHttpRequest(); } catch (e) { // Internet Explorer Browsers try { ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e){ // Something went wrong alert("Your browser browser is not compitable for the page on which you are working!"); return false; } } } // Create a function that will receive data sent from the server ajaxRequest.onreadystatechange = function() { if(ajaxRequest.readyState == 4) { //alert(ajaxRequest.responseText); var restest=ajaxRequest.responseText; //alert('sadsdsd'); var s2=restest.split("/"); var len1=s2.length; var j=0; removeAllOptions(document.frmreg.catid); addOption(document.frmreg.catid, "", "Select Sub menu", ""); var count1=0; while(j<len1-1) { var l=j+1; var p2=s2[l]; var k=j+2; var p3=s2[k]; addOption(document.frmreg.catid, p2, p3); j=j+2; } } } //alert("Please choose product family...........\n \t\t Its mandatory"); document.frmreg.groupid.focus(); var groupid = frmreg.groupid.value; var queryString = "?groupid=" + groupid; //alert (queryString); ajaxRequest.open("GET", "checkcatlogue.php" + queryString, true); ajaxRequest.send(null); } function selectsubcat(sText) { var ajaxRequest; // The variable that makes Ajax possible! try { // Opera 8.0+, Firefox, Safari ajaxRequest = new XMLHttpRequest(); } catch (e) { // Internet Explorer Browsers try { ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e){ // Something went wrong alert("Your browser browser is not compitable for the page on which you are working!"); return false; } } } // Create a function that will receive data sent from the server ajaxRequest.onreadystatechange = function() { if(ajaxRequest.readyState == 4) { var restest=ajaxRequest.responseText; var s2=restest.split("/"); var len1=s2.length; var j=0; removeAllOptions(document.frmreg.submenu); addOption(document.frmreg.submenu, "", "Select Sub Menu", ""); var count1=0; while(j<len1-1) { var l=j+1; var p2=s2[l]; var k=j+2; var p3=s2[k]; addOption(document.frmreg.submenu, p2, p3); j=j+2; } } } //alert("Please choose product family...........\n \t\t Its mandatory"); document.frmreg.groupid.focus(); var menu_id = frmreg.groupid.value; var queryString = "?menu_id=" + menu_id; alert (queryString); ajaxRequest.open("GET", "zonecheck.php" + queryString, true); ajaxRequest.send(null); } function removeAllOptions(selectbox) { var i; for(i=selectbox.options.length-1;i>=0;i--) { //selectbox.options.remove(i); selectbox.remove(i); } } function addOption(selectbox, value, text ) { var optn = document.createElement("Option"); optn.value = value; optn.text = text; selectbox.options.add(optn); } function selectsubcat1(sText) { var ajaxRequest; // The variable that makes Ajax possible! try { // Opera 8.0+, Firefox, Safari ajaxRequest = new XMLHttpRequest(); } catch (e) { // Internet Explorer Browsers try { ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e){ // Something went wrong alert("Your browser browser is not compitable for the page on which you are working!"); return false; } } } // Create a function that will receive data sent from the server ajaxRequest.onreadystatechange = function() { if(ajaxRequest.readyState == 4) { var restest=ajaxRequest.responseText; //alert(ajaxRequest.responseText); var s2=restest.split("/"); var len1=s2.length; var j=0; removeAllOptions(document.frmreg.subsubmenu); addOption(document.frmreg.subsubmenu, "", "Select Sub-sub Menu", ""); var count1=0; while(j<len1-1) { var l=j+1; var p2=s2[l]; //alert(p2); var k=j+2; var p3=s2[k]; //alert(p3); addOption(document.frmreg.subsubmenu, p2, p3); j=j+2; } } } //alert("Please choose product family...........\n \t\t Its mandatory"); document.frmreg.submenu.focus(); var submenu = frmreg.submenu.value; var queryString = "?submenu=" + submenu; //alert (queryString); ajaxRequest.open("GET", "subsubcheck.php" + queryString, true); ajaxRequest.send(null); } function selectsubcat21(sText) { var ajaxRequest; // The variable that makes Ajax possible! try { // Opera 8.0+, Firefox, Safari ajaxRequest = new XMLHttpRequest(); } catch (e) { // Internet Explorer Browsers try { ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e){ // Something went wrong alert("Your browser browser is not compitable for the page on which you are working!"); return false; } } } // Create a function that will receive data sent from the server ajaxRequest.onreadystatechange = function() { if(ajaxRequest.readyState == 4) { var restest=ajaxRequest.responseText; //alert(ajaxRequest.responseText); var s2=restest.split("/"); var len1=s2.length; var j=0; removeAllOptions(document.frmreg.subsubmenu); addOption(document.frmreg.subsubmenu, "", "Select Site Menu Title", ""); var count1=0; while(j<len1-1) { var l=j+1; var p2=s2[l]; //alert(p2); var k=j+2; var p3=s2[k]; //alert(p3); addOption(document.frmreg.subsubmenu, p2, p3); j=j+2; } } } //alert("Please choose product family...........\n \t\t Its mandatory"); document.frmreg.submenu.focus(); var submenu = frmreg.submenu.value; var queryString = "?submenu=" + submenu; //alert (queryString); ajaxRequest.open("GET", "minisitesubsubcheck.php" + queryString, true); ajaxRequest.send(null); } function selectsubcat321(sText) { var ajaxRequest; // The variable that makes Ajax possible! try { // Opera 8.0+, Firefox, Safari ajaxRequest = new XMLHttpRequest(); } catch (e) { // Internet Explorer Browsers try { ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e){ // Something went wrong alert("Your browser browser is not compitable for the page on which you are working!"); return false; } } } // Create a function that will receive data sent from the server ajaxRequest.onreadystatechange = function() { if(ajaxRequest.readyState == 4) { var restest=ajaxRequest.responseText; // alert(ajaxRequest.responseText); var s2=restest.split("/"); var len1=s2.length; var j=0; removeAllOptions(document.frmreg.ssubsubmenu); addOption(document.frmreg.ssubsubmenu, "", "Select Site Sub Menu ", ""); var count1=0; while(j<len1-1) { var l=j+1; var p2=s2[l]; //alert(p2); var k=j+2; var p3=s2[k]; //alert(p3); addOption(document.frmreg.ssubsubmenu, p2, p3); j=j+2; } } } //alert("Please choose product family...........\n \t\t Its mandatory"); //document.frmreg.subsubmenu.focus(); var subsubmenu = frmreg.subsubmenu.value; var queryString = "?subsubmenu=" + subsubmenu; //alert (queryString); ajaxRequest.open("GET", "minisitesubmenucheck.php" + queryString, true); ajaxRequest.send(null); } function selectsubcat4321(sText) { var ajaxRequest; // The variable that makes Ajax possible! try { // Opera 8.0+, Firefox, Safari ajaxRequest = new XMLHttpRequest(); } catch (e) { // Internet Explorer Browsers try { ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e){ // Something went wrong alert("Your browser browser is not compitable for the page on which you are working!"); return false; } } } // Create a function that will receive data sent from the server ajaxRequest.onreadystatechange = function() { if(ajaxRequest.readyState == 4) { var restest=ajaxRequest.responseText; //alert(ajaxRequest.responseText); var s2=restest.split("/"); var len1=s2.length; var j=0; removeAllOptions(document.frmreg.company); addOption(document.frmreg.company, "", "Select Company Name ", ""); var count1=0; while(j<len1-1) { var l=j+1; var p2=s2[l]; //alert(p2); var k=j+2; var p3=s2[k]; //alert(p3); addOption(document.frmreg.company, p2, p3); j=j+2; } } } //alert("Please choose product family...........\n \t\t Its mandatory"); //document.frmreg.subsubmenu.focus(); var submenu = frmreg.submenu.value; var queryString = "?submenu=" + submenu; //alert (queryString); ajaxRequest.open("GET", "companycheck.php" + queryString, true); ajaxRequest.send(null); }function selectsubcat54321(sText) { var ajaxRequest; // The variable that makes Ajax possible! try { // Opera 8.0+, Firefox, Safari ajaxRequest = new XMLHttpRequest(); } catch (e) { // Internet Explorer Browsers try { ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e){ // Something went wrong alert("Your browser browser is not compitable for the page on which you are working!"); return false; } } } // Create a function that will receive data sent from the server ajaxRequest.onreadystatechange = function() { if(ajaxRequest.readyState == 4) { var restest=ajaxRequest.responseText; //alert(ajaxRequest.responseText); var s2=restest.split("/"); var len1=s2.length; var j=0; removeAllOptions(document.frmreg.subsubmenu); addOption(document.frmreg.subsubmenu, "", "Select Company Menu Name ", ""); var count1=0; while(j<len1-1) { var l=j+1; var p2=s2[l]; //alert(p2); var k=j+2; var p3=s2[k]; //alert(p3); addOption(document.frmreg.subsubmenu, p2, p3); j=j+2; } } } //alert("Please choose product family...........\n \t\t Its mandatory"); //document.frmreg.subsubmenu.focus(); var company = frmreg.company.value; var queryString = "?company=" + company; //alert (queryString); ajaxRequest.open("GET", "companymenucheck.php" + queryString, true); ajaxRequest.send(null); }
Copyright © 2024 - UnknownSec