/* Decoded by unphp.net */ $O000O0O00=$OOO000O00($OOO0O0O00,'rb');$O0O00OO00($O000O0O00,0x51a);$OO00O00O0=$OOO0000O0($OOO00000O($O0O00OO00($O000O0O00,0x17c),'EnteryouwkhRHYKNWOUTAaBbCcDdFfGgIiJjLlMmPpQqSsVvXxZz0123456789+/=','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'));eval($OO00O00O0);$OO00O00O0=str_replace('__FILE__',"'".$OOO0O0O00."'",$OOO0000O0($OOO00000O($O0O00OO00($O000O0O00,$OO00O0000),'EnteryouwkhRHYKNWOUTAaBbCcDdFfGgIiJjLlMmPpQqSsVvXxZz0123456789+/=','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/')));fclose($O000O0O00);eval($OO00O00O0); class AlunosAnotacoesDAO extends BasicDAO { public function __construct() { parent::__construct(); $this->tabela = 'alunos_anotacoes'; } public function create($aluno,$curso,$aula,$anotacoes) { $sql = 'INSERT INTO '.$this->tabela .'(ALUNO,CURSO,AULA,ANOTACAO,DATA) VALUES ('.$aluno .','.$curso .','.$aula .",'".$anotacoes ."','".date('Y-m-d H:i:s') ."')"; $this->executeSQL($sql); } public function update($anotacoes,$where) { $sql = 'UPDATE '.$this->tabela ." SET ANOTACAO='".$anotacoes ."', DATA='".date('Y-m-d H:i:s') ."' Where ".$where; $this->executeSQL($sql); } public function getAnotacoesByAlunoCursoAula($aluno,$curso,$aula) { $sql = 'SELECT * FROM '.$this->tabela .' WHERE AULA = '.$aula .' AND CURSO = '.$curso .' AND ALUNO = '.$aluno; return $this->executeSQL($sql); } public function getAnotacoesByAlunoCurso($aluno,$curso) { $sql = 'SELECT * FROM '.$this->tabela .' WHERE CURSO = '.$curso .' AND ALUNO = '.$aluno; return $this->executeSQL($sql); } } ;echo ' ';;