コード例 #1
0
ファイル: classLog.php プロジェクト: BrunoPetrocchi/Physis
 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);
 }
コード例 #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);
 }
コード例 #3
0
 public function ApagarUsuario($id)
 {
     $sql = "UPDATE posgraduacao.tblusuarios SET APAGADO = 1 WHERE IDUSUARIO = '{$id}'";
     // echo $sql;
     return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db);
 }
コード例 #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);
 }
コード例 #5
0
 public function cadLogin($nome, $senha)
 {
     $sql = "INSERT INTO impact.login values (NULL, '{$nome}','{$senha}')";
     //echo $sql;
     return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db);
 }
コード例 #6
0
 public function ApagarPresenca($id)
 {
     $sql = "UPDATE  pilates.presenca SET apagado = 1 WHERE codigo_presenca = '{$id}'";
     return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db);
 }
コード例 #7
0
 public function ExcluirDicas($id)
 {
     $sql = "UPDATE posgraduacao.tbldicas SET APAGADO = 1 WHERE IDDICA = '{$id}'";
     echo $sql;
     return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db);
 }
コード例 #8
0
ファイル: classAlunos.php プロジェクト: BrunoPetrocchi/Physis
 public function ExcluirAlunos($id)
 {
     $sql = "UPDATE pilates.paciente SET apagado = 1  where codigo_paciente = '{$id}'";
     //echo $sql;
     return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db);
 }
コード例 #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);
 }
コード例 #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);
 }
コード例 #11
0
 public function ApagarArtigos($id)
 {
     $sql = "UPDATE posgraduacao.tblartigos SET APAGADO = 1 WHERE IDARTIGO = '{$id}'";
     // echo $sql;
     return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db);
 }
コード例 #12
0
 public function ApagarEventos($id)
 {
     $sql = "UPDATE posgraduacao.tbleventos SET APAGADO = 0 where IDEVENTO = '{$id}'";
     //echo $sql;
     return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db);
 }
コード例 #13
0
 public function ExcluirCurso($id)
 {
     $sql = "UPDATE posgraduacao.tblcursos SET apagado = 1  where IDCURSO = '{$id}'";
     //echo $sql;
     return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db);
 }
コード例 #14
0
 public function ApagarVagaEmprego($id)
 {
     $sql = "UPDATE posgraduacao.tblvagasemprego SET APAGADO = 1 where IDVAGAEMPREGO = '{$id}'";
     //echo $sql;
     return MysqlManager::ExecutaPersistenciaMysql($sql, $this->db);
 }
コード例 #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);
 }
コード例 #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);
 }