Exemplo n.º 1
0
     $f_title_other = htmlspecialchars($_GET["title_other"]);
     $f_year_orig = htmlspecialchars($_GET["year_orig"]);
     $f_year_prod_begin = htmlspecialchars($_GET["year_prod_begin"]);
     $f_year_prod_end = htmlspecialchars($_GET["year_prod_end"]);
     $f_prod_country = htmlspecialchars($_GET["prod_country"]);
     $f_synopsis = htmlspecialchars($_GET["synopsis"]);
     $f_tv_duration = htmlspecialchars($_GET["tv_duration"]);
     $f_note = htmlspecialchars($_GET["note"]);
     $f_biblio = htmlspecialchars($_GET["biblio"]);
     $f_measurement = htmlspecialchars($_GET["measurement"]);
     $f_color = htmlspecialchars($_GET["color"]);
     $f_sound = htmlspecialchars($_GET["sound"]);
     $f_technical_process = htmlspecialchars($_GET["technical_process"]);
     $f_color_system = htmlspecialchars($_GET["color_system"]);
     $f_sound_system = htmlspecialchars($_GET["sound_system"]);
     $result = $data->setFilm($f_title_vo, $f_title_vf, $f_title_other, $f_year_orig, $f_year_prod_begin, $f_year_prod_end, $f_prod_country, $f_synopsis, $f_tv_duration, $f_note, $f_biblio, $f_measurement, $f_color, $f_sound, $f_technical_process, $f_color_system, $f_sound_system);
     break;
 case "add_cycle":
     $c_name = htmlspecialchars($_GET["name"]);
     $c_year = htmlspecialchars($_GET["year"]);
     $c_desc = htmlspecialchars($_GET["desc"]);
     $result = $data->setCycle($c_name, $c_year, $c_desc);
     break;
 case "film_artist":
     $rel_fa_film = htmlspecialchars($_GET["film"]);
     $rel_fa_artist = htmlspecialchars($_GET["artist"]);
     $rel_fa_actor = htmlspecialchars($_GET["actor"]) == "true" ? "1" : "0";
     $rel_fa_director = htmlspecialchars($_GET["director"]) == "true" ? "1" : "0";
     $result = $data->setRelationFilmArtist($rel_fa_film, $rel_fa_artist, $rel_fa_actor, $rel_fa_director);
     break;
 case "cycle_film":