Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 public function ExcluirPatrimonio($id)
 {
     $sql = "UPDATE pilates.patrimonio SET  apagado = 1  WHERE codigo_patrimonio='{$id}'";
     //echo $sql;
     return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db);
 }
Ejemplo n.º 3
0
 public function ApagarUsuario($id)
 {
     $sql = "UPDATE posgraduacao.tblusuarios SET APAGADO = 1 WHERE IDUSUARIO = '{$id}'";
     // echo $sql;
     return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db);
 }
Ejemplo n.º 4
0
 public function ExcluirProfessor($id)
 {
     $sql = "UPDATE pilates.professor SET apagado = 0  where codigo_professor = '{$id}'";
     //echo $sql;
     return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db);
 }
Ejemplo n.º 5
0
 public function cadLogin($nome, $senha)
 {
     $sql = "INSERT INTO impact.login values (NULL, '{$nome}','{$senha}')";
     //echo $sql;
     return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db);
 }
Ejemplo n.º 6
0
 public function ApagarPresenca($id)
 {
     $sql = "UPDATE  pilates.presenca SET apagado = 1 WHERE codigo_presenca = '{$id}'";
     return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db);
 }
Ejemplo n.º 7
0
 public function ExcluirDicas($id)
 {
     $sql = "UPDATE posgraduacao.tbldicas SET APAGADO = 1 WHERE IDDICA = '{$id}'";
     echo $sql;
     return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db);
 }
Ejemplo n.º 8
0
 public function ExcluirAlunos($id)
 {
     $sql = "UPDATE pilates.paciente SET apagado = 1  where codigo_paciente = '{$id}'";
     //echo $sql;
     return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db);
 }
Ejemplo n.º 9
0
 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);
 }
Ejemplo n.º 10
0
 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);
 }
Ejemplo n.º 11
0
 public function ApagarArtigos($id)
 {
     $sql = "UPDATE posgraduacao.tblartigos SET APAGADO = 1 WHERE IDARTIGO = '{$id}'";
     // echo $sql;
     return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db);
 }
Ejemplo n.º 12
0
 public function ApagarEventos($id)
 {
     $sql = "UPDATE posgraduacao.tbleventos SET APAGADO = 0 where IDEVENTO = '{$id}'";
     //echo $sql;
     return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db);
 }
Ejemplo n.º 13
0
 public function ExcluirCurso($id)
 {
     $sql = "UPDATE posgraduacao.tblcursos SET apagado = 1  where IDCURSO = '{$id}'";
     //echo $sql;
     return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db);
 }
Ejemplo n.º 14
0
 public function ApagarVagaEmprego($id)
 {
     $sql = "UPDATE posgraduacao.tblvagasemprego SET APAGADO = 1 where IDVAGAEMPREGO = '{$id}'";
     //echo $sql;
     return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db);
 }
Ejemplo n.º 15
0
 public function ExcluirMensalidade($id)
 {
     $sql = "UPDATE pilates.mensalidade SET apagado = 1  where codigo_mensalidade = '{$id}'";
     // echo $sql;
     return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db);
 }
Ejemplo n.º 16
0
 public function InserirAnexoTrabalhos($id, $anexo)
 {
     $sql = "INSERT INTO posgraduacao.tblanexotrabalhoscientificos VALUES (NULL,'{$id}','{$anexo}',0)";
     echo $sql;
     return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db);
 }