Software: Apache. PHP/5.5.15 uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 SYSTEM Safe-mode: OFF (not secure) E:\xampp\xampp\htdocs\portel_dama\libreria\php\Js\ drwxrwxrwx |
Viewing file: Marcados.js (1.3 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | function enviar(forma, element){ var xmarcados; xmarcados = GetCookie("coomarkkie","/"); if (xmarcados == "coomarkkie=") {xmarcados="";} if (xmarcados==null) {xmarcados="";} if (xmarcados==" ") {xmarcados="";} if (xmarcados=="") {xmarcados="";} forma.elements[element].value = xmarcados; if (xmarcados == ""){ alert ("No Hay Registros Marcados"); } else { forma.submit(); } } function marcar(marca){ var xmarcados = ""; xmarcados = GetCookie("coomarkkie","/"); if (xmarcados == "coomarkkie=") { xmarcados ="";} if (xmarcados == null) {xmarcados="";} if (xmarcados == " ") {xmarcados="";} if (marca.checked){ if (xmarcados == ""){ xmarcados = marca.value; } else { xmarcados += " + " + marca.value; } } else { var i; i = xmarcados.indexOf(marca.value,0); if (i==0){ xmarcados = xmarcados.substring(marca.value.length+3); } if (i>0){ xmarcados = xmarcados.substring(0,i-3) + xmarcados.substring(i + marca.value.length, xmarcados.length); } } if (xmarcados == "" || xmarcados == " " || xmarcados == " " || xmarcados == " "){ DeleteCookie("coomarkkie"); xmarcados= null; } else { SetCookie("coomarkkie", xmarcados, null, "/") } return false; } |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0312 ]-- |