← Back
Editing: insert
appartamenti_ed.php: $query->update(array($testo_nm=>''), array()); appartamenti_ed.php: $query->update(array($testo_nm=>$testo), $novuoto); appartamenti_ed.php:$row = $query->selectFldAs($table, array($testo_nm=>'testo'), 0); class.php: $row = $query->freeQuery ($sql, $typeRet); class.php: $row = $query->freeQuery ($sql, $typeRet); condizioni_ed.php: $query->update(array('arrivo_'.$lan=>'', 'partenza_'.$lan=>'', 'sogg_minimo_'.$lan=>'', 'comprende_'.$lan=>'', 'non_comprende_'.$lan=>'', 'pagamento_'.$lan=>'', 'cancellazione_'.$lan=>'', 'cauzione_'.$lan=>'', 'carte_'.$lan=>'', 'note_'.$lan=>''), array()); condizioni_ed.php: $query->update(array('arrivo_'.$lan=>$arrivo, 'partenza_'.$lan=>$partenza, 'sogg_minimo_'.$lan=>$sogg_minimo, 'comprende_'.$lan=>$comprende, 'non_comprende_'.$lan=>$non_comprende, 'pagamento_'.$lan=>$pagamento, 'cancellazione_'.$lan=>$cancellazione, 'cauzione_'.$lan=>$cauzione, 'carte_'.$lan=>$carte, 'note_'.$lan=>$note), $novuoto); condizioni_ed.php:$row = $query->selectFldAs($table, array('arrivo_'.$lan=>'arrivo', 'partenza_'.$lan=>'partenza', 'sogg_minimo_'.$lan=>'sogg_minimo', 'comprende_'.$lan=>'comprende', 'non_comprende_'.$lan=>'non_comprende', 'pagamento_'.$lan=>'pagamento', 'cancellazione_'.$lan=>'cancellazione', 'cauzione_'.$lan=>'cauzione', 'carte_'.$lan=>'carte', 'note_'.$lan=>'note'), 0); descrizioni2_ed.php: $query->update(array($testo_nm=>''), array()); descrizioni2_ed.php: $query->update(array($testo_nm=>$testo), $novuoto); descrizioni2_ed.php: $row = $query->selectFldAs($table, array($testo_nm=>'testo'), 0); descrizioni2_ed.php: $rows = $query->selectAll($table, array(), 1); descrizioni_ed.php: $query->update(array($testo_nm=>''), array()); descrizioni_ed.php: $query->update(array($testo_nm=>$testo), $novuoto); descrizioni_ed.php:$row = $query->selectFldAs($table, array($testo_nm=>'testo'), 0); extra_ed.php: $query->update(array($testo_nm=>''), array()); extra_ed.php: $query->update(array($testo_nm=>$testo), $novuoto); extra_ed.php:$row = $query->selectFldAs($table, array($testo_nm=>'testo'), 0); fotogallerie_ed.php: $rows = $query->freeQuery ("SELECT `id`, `ordine` FROM `$table` WHERE `id_galleria`='$id_galleria' ORDER BY `ordine` ASC", 0); fotogallerie_ed.php: $query->freeQuery ($sql, 0); fotogallerie_ed.php: $query->freeQuery ($sql, 0); fotogallerie_ed.php: $query->freeQuery ($sql, 0); fotogallerie_ed.php: if ($foto_id[$i] != $id) $query->freeQuery ($sql, 0); fotogallerie_ed.php: $row = $query->selectById (0); gallerie_ed.php: $rows = $query->freeQuery ("SELECT `id`, `ordine` FROM `gallerie` WHERE `id_utente`='$id_utente' ORDER BY `ordine` ASC, `id` ASC", 0); gallerie_ed.php: $query->freeQuery ($sql, 0); gallerie_ed.php:$rows = $query->freeQuery ("SELECT `id`, `ordine` FROM `gallerie` WHERE `id_utente` = $id_utente ORDER BY `ordine`, `id` ASC", 0); gallerie_ed.php: $query->delete($conn); gallerie_ed.php: $query->insert($_POST, $novuoto, $conn); gallerie_ed.php: $query->freeQuery ($sql, 0); gallerie_ed.php: $query->update($_POST, $novuoto); gallerie_ed.php: if ($gallerie_id[$i] != $id) $query->freeQuery ($sql, 0); gallerie_ed.php: $row = $query->selectById (1); gallerie_ed.php:$rows = $query->selectAll($table, array('ordine'=>'ASC'), 1); gmap_ed.php: $query->update ($_POST, $novuoto); gmap_ed.php:$row = $query->freeQuery ("SELECT `id`, `coord_gmap` FROM $table WHERE `id_utente` = $id_utente", 0); guestbook_ed.php: $query->delete($conn); guestbook_ed.php: $query->update(array('stato'=>1), array()); guestbook_ed.php: $query->update($_POST, array()); guestbook_ed.php: $row = $query->selectById(0); guestbook_ed.php: $rows = $query->selectAll($table, array('stato'=>'ASC','data'=>'DESC'), 0); listini_ed.php: $query->freeQuery ("DELETE FROM `prezzi` WHERE `id_listino` = '$id'", 0); listini_ed.php: $query->delete($conn); mappa0.php:$row = $query->selectFldAs($table, array('coord_gmap'=>'latlng')); meta_ed.php: $query->update(array('keyw'.$campiV[$pag].'_'.$lan=>'', 'desc'.$campiV[$pag].'_'.$lan=>''), $novuoto); meta_ed.php: $query->update(array('keyw'.$campiV[$pag].'_it'=>$keyw_it, 'desc'.$campiV[$pag].'_it'=>$desc_it, 'keyw'.$campiV[$pag].'_en'=>$keyw_en, 'desc'.$campiV[$pag].'_en'=>$desc_en, 'keyw'.$campiV[$pag].'_de'=>$keyw_de, 'desc'.$campiV[$pag].'_de'=>$desc_de, 'keyw'.$campiV[$pag].'_fr'=>$keyw_fr, 'desc'.$campiV[$pag].'_fr'=>$desc_fr, 'keyw'.$campiV[$pag].'_es'=>$keyw_es, 'desc'.$campiV[$pag].'_es'=>$desc_es, 'keyw'.$campiV[$pag].'_ne'=>$keyw_ne, 'desc'.$campiV[$pag].'_ne'=>$desc_ne, 'keyw'.$campiV[$pag].'_sv'=>$keyw_sv, 'desc'.$campiV[$pag].'_sv'=>$desc_sv, 'keyw'.$campiV[$pag].'_hu'=>$keyw_hu, 'desc'.$campiV[$pag].'_hu'=>$desc_hu), $novuoto); meta_ed.php:$row = $query->selectFldAs($table, $arMeta, 1); offerte_ed.php: $query->delete($conn); offerte_ed.php: $query->insert(array('data_fine'=>$data_fine, 'titolo_it'=>$titolo_it, 'titolo_en'=>$titolo_en, 'titolo_de'=>$titolo_de, 'titolo_fr'=>$titolo_fr, 'titolo_es'=>$titolo_es, 'titolo_ne'=>$titolo_ne, 'titolo_sv'=>$titolo_sv, 'testo_it'=>$testo_it, 'testo_en'=>$testo_en, 'testo_de'=>$testo_de, 'testo_fr'=>$testo_fr, 'testo_es'=>$testo_es, 'testo_ne'=>$testo_ne, 'testo_sv'=>$testo_sv), $novuoto); offerte_ed.php: $query->update(array('data_fine'=>$data_fine, 'titolo_it'=>$titolo_it, 'titolo_en'=>$titolo_en, 'titolo_de'=>$titolo_de, 'titolo_fr'=>$titolo_fr, 'titolo_es'=>$titolo_es, 'titolo_ne'=>$titolo_ne, 'titolo_sv'=>$titolo_sv, 'testo_it'=>$testo_it, 'testo_en'=>$testo_en, 'testo_de'=>$testo_de, 'testo_fr'=>$testo_fr, 'testo_es'=>$testo_es, 'testo_ne'=>$testo_ne, 'testo_sv'=>$testo_sv), $novuoto); offerte_ed.php: $row = $query->selectById(1); offerte_ed.php:$rows = $query->selectAll($table, array('id'=>'ASC'), 1); periodi_ed.php: $query->delete(); periodi_ed.php: $query->insert (array ('id_stagione'=>$id_stagione, 'periodo'=>$periodo, 'data_in'=>$data_in, 'data_fi'=>$data_fi), $novuoto); periodi_ed.php: $query->update (array ('id_stagione'=>$id_stagione, 'periodo'=>$periodo, 'data_in'=>$data_in, 'data_fi'=>$data_fi), $novuoto); prezzi2_ed.php: $query->delete(); prezzi2_ed.php: $row = $query->selectById(1); prezzi2_ed.php: $rowP = $query->freeQuery ("SELECT `periodo`, DATE_FORMAT(`data_in`, '%d.%m.%y') AS `data_in`, DATE_FORMAT(`data_fi`, '%d.%m.%y') AS `data_fi` FROM `periodi` WHERE `id_stagione` = '".$row->id."' ORDER BY `periodo`, `data_in` ASC", 0); prezzi_ed.php: $query->delete(); prezzi_ed.php: $row = $query->selectById(1); prezzi_ed.php: $rowP = $query->freeQuery ("SELECT `periodo`, DATE_FORMAT(`data_in`, '%d.%m.%y') AS `data_in`, DATE_FORMAT(`data_fi`, '%d.%m.%y') AS `data_fi` FROM `periodi` WHERE `id_stagione` = '".$row->id."' ORDER BY `periodo`, `data_in` ASC", 0); privacy_ed.php: $query->update(array($testo_nm=>'', $titolo_nm=>'', $sottitolo_nm=>''), array()); privacy_ed.php: $query->update(array($testo_nm=>$testo, $titolo_nm=>$titolo, $sottitolo_nm=>$sottitolo), $novuoto); privacy_ed.php:$row = $query->selectFldAs($table, array($testo_nm=>'testo', $titolo_nm=>'titolo', $sottitolo_nm=>'sottitolo'), 0); raggiungerci_ed.php: $query->update(array($testo_nm=>''), array()); raggiungerci_ed.php: $query->update(array($testo_nm=>$testo), $novuoto); raggiungerci_ed.php:$row = $query->selectFldAs($table, array($testo_nm=>'testo'), 0); stagioni_ed.php: $rows = $query->freeQuery ("SELECT `id` AS `id_listino` FROM `listini` WHERE `id_stagione` = '$id'", 4); stagioni_ed.php: $query->freeQuery ("DELETE FROM `prezzi` WHERE `id_listino` = '".$row->id_listino."'", 0); stagioni_ed.php: $query->freeQuery ("DELETE FROM `listini` WHERE `id_stagione` = '$id'", 0); stagioni_ed.php: $query->freeQuery ("DELETE FROM `periodi` WHERE `id_stagione` = '$id'", 0); stagioni_ed.php: $query->delete(); stagioni_ed.php: $query->insert(array('anno'=>$anno, 'fine'=>data2date($fine), 'numero'=>$numero, 'nome_it'=>$nome_it, 'nome_en'=>$nome_en, 'nome_de'=>$nome_de, 'nome_fr'=>$nome_fr, 'nome_es'=>$nome_es, 'nome_ne'=>$nome_ne, 'nome_sv'=>$nome_sv, 'testo_it'=>$testo_it, 'testo_en'=>$testo_en, 'testo_de'=>$testo_de, 'testo_fr'=>$testo_fr, 'testo_es'=>$testo_es, 'testo_ne'=>$testo_ne, 'testo_sv'=>$testo_sv), $novuoto); stagioni_ed.php: $query->update(array('anno'=>$anno, 'fine'=>data2date($fine), 'numero'=>$numero, 'nome_it'=>$nome_it, 'nome_en'=>$nome_en, 'nome_de'=>$nome_de, 'nome_fr'=>$nome_fr, 'nome_es'=>$nome_es, 'nome_ne'=>$nome_ne, 'nome_sv'=>$nome_sv, 'testo_it'=>$testo_it, 'testo_en'=>$testo_en, 'testo_de'=>$testo_de, 'testo_fr'=>$testo_fr, 'testo_es'=>$testo_es, 'testo_ne'=>$testo_ne, 'testo_sv'=>$testo_sv), $novuoto); stagioni_ed.php: $row = $query->selectById(1); stagioni_ed.php:$rows = $query->selectAll($table, array('id'=>'ASC'), 1); struttura_ed.php: $query->update($_POST, array()); struttura_ed.php: $row = $query->selectById(0); struttura_ed.php: $rows = $query->selectAll($table, array(), 0); testacoda.php:$idM = $query->selectId ("meta"); testacoda.php:$ids = $query->selectId ("descrizioni"); testacoda.php:$ids = $query->selectId ("appartamenti"); testacoda.php: $rowT = $query->selectFldAs ("appartamenti", array ('nome'=>'nome'), 0); testacoda.php:$ids = $query->selectId ("gallerie"); testacoda.php:$ids = $query->selectId ("condizioni"); testacoda.php:$ids = $query->selectId ("condizioni"); testacoda.php:$ids = $query->selectId ("privacy"); testacoda.php:$ids = $query->selectId ("raggiungerci"); testacoda.php:$ids = $query->selectId ("extra"); testacoda.php: $rowE = $query->selectFldAs ("extra", array ('nome'=>'nome'), 0); testacoda.php:$ids = $query->selectId ("guestbook"); testacoda.php: $rowCtrl = $query->selectById (0); utenti_ed.php: $query->delete (); utenti_ed.php: $query->insert ($arDati, $noEmpty); utenti_ed.php: $query->freeQuery ("INSERT INTO `appartamenti` ( `id` , `id_utente`) VALUES (NULL , '$id_nuovo')", 0); utenti_ed.php: $query->freeQuery ("INSERT INTO `condizioni` ( `id` , `id_utente`) VALUES (NULL , '$id_nuovo')", 0); utenti_ed.php: $query->freeQuery ("INSERT INTO `descrizioni` ( `id` , `id_utente`) VALUES (NULL , '$id_nuovo')", 0); utenti_ed.php: $query->freeQuery ("INSERT INTO `meta` ( `id` , `id_utente`) VALUES (NULL , '$id_nuovo')", 0); utenti_ed.php: $query->freeQuery ("INSERT INTO `privacy` ( `id` , `id_utente`) VALUES (NULL , '$id_nuovo')", 0); utenti_ed.php: $query->freeQuery ("INSERT INTO `raggiungerci` ( `id` , `id_utente`) VALUES (NULL , '$id_nuovo')", 0); utenti_ed.php: $query->freeQuery ("INSERT INTO `struttura` ( `id` , `id_utente`) VALUES (NULL , '$id_nuovo')", 0); utenti_ed.php: $query->update ($arDati, $noEmpty); utenti_ed.php: $row = $query->selectById (0); utenti_ed.php:$rows = $query->selectAll ($table, array('nome'=>'ASC'), $pg, 0);
Save File
Cancel