AnonSec Shell
Server IP : 20.75.53.88  /  Your IP : 216.73.217.138   [ Reverse IP ]
Web Server : Apache
System : Linux VMRALP-3 4.4.0-256-generic #290~14.04.1-Ubuntu SMP Thu Jun 20 09:24:50 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29+esm15
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Domains : 3 Domains
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/juridico/quixada/modulos/agenda/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/html/juridico/quixada/modulos/agenda/validacao.js
/**
 * Created by RalpAlves on 10/10/2016.
 */

function validatCompromisso() {
    var d = document.f_tcompromisso;

    if (d.compromisso.value == 0) {
        abrirAviso('compromisso deve ser informado!', 'ATENÇÃO');
        d.compromisso.style.backgroundColor = "rgba(151, 25, 27, 0.3)";
        d.compromisso.focus();
        return false;
    } else {
        d.compromisso.style.backgroundColor = "#dff0d8";
    }

    d.submit();
}
function validaCategoria() {
    var d = document.f_categoria;

    if (d.categoria.value == 0) {
        abrirAviso('categoria deve ser informada!', 'ATENÇÃO');
        d.categoria.style.backgroundColor = "rgba(151, 25, 27, 0.3)";
        d.categoria.focus();
        return false;
    } else {
        d.categoria.style.backgroundColor = "#dff0d8";
    }

    d.submit();
}
function validatPeriodo() {
    var d = document.f_tperiodo;

    if (d.tipo_periodo.value == 0) {
        abrirAviso('tipo deve ser informado!', 'ATENÇÃO');
        d.tipo_periodo.style.backgroundColor = "rgba(151, 25, 27, 0.3)";
        d.tipo_periodo.focus();
        return false;
    } else {
        d.tipo_periodo.style.backgroundColor = "#dff0d8";
    }

    d.submit();
}
function validagimportancia() {
    var d = document.f_gimportancia;

    if (d.grau_importancia.value == 0) {
        abrirAviso('grau de importância deve ser informado!', 'ATENÇÃO');
        d.grau_importancia.style.backgroundColor = "rgba(151, 25, 27, 0.3)";
        d.grau_importancia.focus();
        return false;
    } else {
        d.grau_importancia.style.backgroundColor = "#dff0d8";
    }

    d.submit();
}
function validacAgenda() {
    var d = document.f_cadagenda;

    if (d.cod_pessoa.value == 999) {
        abrirAviso('solicitante deve ser informado!', 'ATENÇÃO');
        d.cod_pessoa.style.backgroundColor = "rgba(151, 25, 27, 0.3)";
        d.cod_pessoa.focus();
        return false;
    } else {
        d.cod_pessoa.style.backgroundColor = "#dff0d8";
    }
    if (d.cod_cliente.value == 999) {
        abrirAviso('cliente deve ser informado!', 'ATENÇÃO');
        d.cod_cliente.style.backgroundColor = "rgba(151, 25, 27, 0.3)";
        d.cod_cliente.focus();
        return false;
    } else {
        d.cod_cliente.style.backgroundColor = "#dff0d8";
    }
    if (d.cod_encarregado.value == 999) {
        abrirAviso('encarregado deve ser informado!', 'ATENÇÃO');
        d.cod_encarregado.style.backgroundColor = "rgba(151, 25, 27, 0.3)";
        d.cod_encarregado.focus();
        return false;
    } else {
        d.cod_encarregado.style.backgroundColor = "#dff0d8";
    }
    if (d.cod_tipo_periodo.value == 999) {
        abrirAviso('tipo período deve ser informado!', 'ATENÇÃO');
        d.cod_tipo_periodo.style.backgroundColor = "rgba(151, 25, 27, 0.3)";
        d.cod_tipo_periodo.focus();
        return false;
    } else {
        d.cod_tipo_periodo.style.backgroundColor = "#dff0d8";
    }
    if (d.cod_tipo_compromisso.value == 999) {
        abrirAviso('tipo de compromisso deve ser informado!', 'ATENÇÃO');
        d.cod_tipo_compromisso.style.backgroundColor = "rgba(151, 25, 27, 0.3)";
        d.cod_tipo_compromisso.focus();
        return false;
    } else {
        d.cod_tipo_compromisso.style.backgroundColor = "#dff0d8";
    }
    if (d.cod_categoria.value == 999) {
        abrirAviso('categoria deve ser informada!', 'ATENÇÃO');
        d.cod_categoria.style.backgroundColor = "rgba(151, 25, 27, 0.3)";
        d.cod_categoria.focus();
        return false;
    } else {
        d.cod_categoria.style.backgroundColor = "#dff0d8";
    }
    if (d.cod_grau_importancia.value == 999) {
        abrirAviso('importância deve ser informada!', 'ATENÇÃO');
        d.cod_grau_importancia.style.backgroundColor = "rgba(151, 25, 27, 0.3)";
        d.cod_grau_importancia.focus();
        return false;
    } else {
        d.cod_grau_importancia.style.backgroundColor = "#dff0d8";
    }
    if (d.data_compromisso.value == 0) {
        abrirAviso('data deve ser informada!', 'ATENÇÃO');
        d.data_compromisso.style.backgroundColor = "rgba(151, 25, 27, 0.3)";
        d.data_compromisso.focus();
        return false;
    } else {
        d.data_compromisso.style.backgroundColor = "#dff0d8";
    }
    if (d.lembrar.value == 0) {
        abrirAviso('lembrar deve ser informado!', 'ATENÇÃO');
        d.lembrar.style.backgroundColor = "rgba(151, 25, 27, 0.3)";
        d.lembrar.focus();
        return false;
    } else {
        d.lembrar.style.backgroundColor = "#dff0d8";
    }
    if (d.hora_inicio.value == 0) {
        abrirAviso('hora inicial deve ser informada!', 'ATENÇÃO');
        d.hora_inicio.style.backgroundColor = "rgba(151, 25, 27, 0.3)";
        d.hora_inicio.focus();
        return false;
    } else {
        d.hora_inicio.style.backgroundColor = "#dff0d8";
    }
    if (d.hora_fim.value == 0) {
        abrirAviso('hora final deve ser informada!', 'ATENÇÃO');
        d.hora_fim.style.backgroundColor = "rgba(151, 25, 27, 0.3)";
        d.hora_fim.focus();
        return false;
    } else {
        d.hora_fim.style.backgroundColor = "#dff0d8";
    }
    if (d.compromisso.value == 0) {
        abrirAviso('compromisso deve ser informado!', 'ATENÇÃO');
        d.compromisso.style.backgroundColor = "rgba(151, 25, 27, 0.3)";
        d.compromisso.focus();
        return false;
    } else {
        d.compromisso.style.backgroundColor = "#dff0d8";
    }
    if (d.local.value == 0) {
        abrirAviso('local deve ser informado!', 'ATENÇÃO');
        d.local.style.backgroundColor = "rgba(151, 25, 27, 0.3)";
        d.local.focus();
        return false;
    } else {
        d.local.style.backgroundColor = "#dff0d8";
    }
    if (d.cod_executado.value == 999) {
        abrirAviso('status deve ser informado!', 'ATENÇÃO');
        d.cod_executado.style.backgroundColor = "rgba(151, 25, 27, 0.3)";
        d.cod_executado.focus();
        return false;
    } else {
        d.cod_executado.style.backgroundColor = "#dff0d8";
    }

    d.submit();
}

Anon7 - 2022
AnonSec Team