public function InserirLog($codigo_professor, $codigo_mensalidade, $dataentrada, $aluno, $valor_atual, $regapagado, $regusuario) { $dataentrada = time(); $sql = "INSERT INTO pilates.log VALUES (NULL,'{$codigo_professor}','{$codigo_mensalidade}','{$dataentrada}','{$aluno}','{$regapagado}','{$regusuario}')"; // echo $sql; return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db); }
public function ExcluirPatrimonio($id) { $sql = "UPDATE pilates.patrimonio SET apagado = 1 WHERE codigo_patrimonio='{$id}'"; //echo $sql; return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db); }
public function ApagarUsuario($id) { $sql = "UPDATE posgraduacao.tblusuarios SET APAGADO = 1 WHERE IDUSUARIO = '{$id}'"; // echo $sql; return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db); }
public function ExcluirProfessor($id) { $sql = "UPDATE pilates.professor SET apagado = 0 where codigo_professor = '{$id}'"; //echo $sql; return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db); }
public function cadLogin($nome, $senha) { $sql = "INSERT INTO impact.login values (NULL, '{$nome}','{$senha}')"; //echo $sql; return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db); }
public function ApagarPresenca($id) { $sql = "UPDATE pilates.presenca SET apagado = 1 WHERE codigo_presenca = '{$id}'"; return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db); }
public function ExcluirDicas($id) { $sql = "UPDATE posgraduacao.tbldicas SET APAGADO = 1 WHERE IDDICA = '{$id}'"; echo $sql; return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db); }
public function ExcluirAlunos($id) { $sql = "UPDATE pilates.paciente SET apagado = 1 where codigo_paciente = '{$id}'"; //echo $sql; return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db); }
public function EditarVigario($id, $destaque, $noticia) { $sql = "UPDATE sjbb.sjbb_palavravigario SET PALAVRAVIGARIO_TITULO='{$destaque}', PALAVRAVIGARIO_DESCRICAO='{$noticia}' WHERE PALAVRAVIGARIO_ID='{$id}'"; return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db); }
public function CadCurriculum($nome, $nascimento, $estadocivil, $email, $residencial, $celular, $cidade, $cursos, $seminarios, $treinamento, $idiomas) { $sql = "INSERT INTO posgraduacao.tblcurriculos VALUES (NULL,'{$nome}','{$nascimento}','{$estadocivil}','{$email}','{$residencial}','{$celular}','{$cidade}','{$cursos}','{$seminarios}','{$treinamento}','{$idiomas}',0) "; echo $sql; return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db); }
public function ApagarArtigos($id) { $sql = "UPDATE posgraduacao.tblartigos SET APAGADO = 1 WHERE IDARTIGO = '{$id}'"; // echo $sql; return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db); }
public function ApagarEventos($id) { $sql = "UPDATE posgraduacao.tbleventos SET APAGADO = 0 where IDEVENTO = '{$id}'"; //echo $sql; return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db); }
public function ExcluirCurso($id) { $sql = "UPDATE posgraduacao.tblcursos SET apagado = 1 where IDCURSO = '{$id}'"; //echo $sql; return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db); }
public function ApagarVagaEmprego($id) { $sql = "UPDATE posgraduacao.tblvagasemprego SET APAGADO = 1 where IDVAGAEMPREGO = '{$id}'"; //echo $sql; return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db); }
public function ExcluirMensalidade($id) { $sql = "UPDATE pilates.mensalidade SET apagado = 1 where codigo_mensalidade = '{$id}'"; // echo $sql; return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db); }
public function InserirAnexoTrabalhos($id, $anexo) { $sql = "INSERT INTO posgraduacao.tblanexotrabalhoscientificos VALUES (NULL,'{$id}','{$anexo}',0)"; echo $sql; return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db); }