===========================================================
                                      .___ __  __   
          _________________  __ __  __| _/|__|/  |_ 
         / ___\_` __ \__  \ |  |  \/ __ | | \\_  __\
        / /_/  >  | \// __ \|  |  / /_/ | |  ||  |  
        \___  /|__|  (____  /____/\____ | |__||__|  
       /_____/            \/           \/           
              grep rough audit - static analysis tool
                  v2.8 written by @Wireghoul
=================================[justanotherhacker.com]===
hoteldruid-3.0.1/interconnessioni.php-27-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/interconnessioni.php:28:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/interconnessioni.php-29-include("./includes/funzioni_backup.php");
##############################################
hoteldruid-3.0.1/interconnessioni.php-91-$limite_sessioni_vecchie = date("Y-m-d H:i:s",(time() - ($minuti_durata_sessione * 60) + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/interconnessioni.php:92:esegui_query("delete from $tablesessioni where ultimo_accesso <= '$limite_sessioni_vecchie'");
hoteldruid-3.0.1/interconnessioni.php-93-esegui_query("insert into $tablesessioni (idsessioni,idutente,indirizzo_ip,tipo_conn,user_agent,ultimo_accesso) values ('$id_sessione','$id_utente_sessione','$REMOTE_ADDR','$tipo_conn','$HTTP_USER_AGENT','$ultimo_accesso')","",1);
##############################################
hoteldruid-3.0.1/interconnessioni.php-100-if ($id_utente != 1 and $id_utente != "a") {
hoteldruid-3.0.1/interconnessioni.php:101:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/interconnessioni.php-102-$priv_mod_pers = risul_query($privilegi_globali_utente,0,'priv_mod_pers');
hoteldruid-3.0.1/interconnessioni.php-103-$priv_crea_interconnessioni = substr($priv_mod_pers,3,1);
hoteldruid-3.0.1/interconnessioni.php:104:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/interconnessioni.php-105-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/interconnessioni.php-148-$titolo = "HotelDruid: ".mex("Interconnessioni",$pag);
hoteldruid-3.0.1/interconnessioni.php:149:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/interconnessioni.php-150-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/interconnessioni.php-264-if ($id_sessione) {
hoteldruid-3.0.1/interconnessioni.php:265:$dati_sessione = esegui_query("select * from $tablesessioni where idsessioni = '$id_sessione'");
hoteldruid-3.0.1/interconnessioni.php-266-$num_lin_dati_sessione = numlin_query($dati_sessione);
##############################################
hoteldruid-3.0.1/interconnessioni.php-290-if (@is_file($file_interconnessioni)) {
hoteldruid-3.0.1/interconnessioni.php:291:include($file_interconnessioni);
hoteldruid-3.0.1/interconnessioni.php-292-if (@is_array($ic_present)) {
##############################################
hoteldruid-3.0.1/interconnessioni.php-296-if ($mod_ext != "." and $mod_ext != ".." and @is_dir("./includes/interconnect/$mod_ext")) {
hoteldruid-3.0.1/interconnessioni.php:297:include("./includes/interconnect/$mod_ext/name.php");
hoteldruid-3.0.1/interconnessioni.php-298-if ($ic_present[$interconnection_name] == "SI" and (!$id_ric or $int_ric == $interconnection_name)) {
hoteldruid-3.0.1/interconnessioni.php:299:include("./includes/interconnect/$mod_ext/functions_import.php");
hoteldruid-3.0.1/interconnessioni.php-300-$funz_import_reservations = "import_reservations_".$interconnection_func_name;
##############################################
hoteldruid-3.0.1/interconnessioni.php-393-if ($mod_ext != "." and $mod_ext != ".." and @is_dir("./includes/interconnect/$mod_ext")) {
hoteldruid-3.0.1/interconnessioni.php:394:include("./includes/interconnect/$mod_ext/name.php");
hoteldruid-3.0.1/interconnessioni.php-395-if ($modulo == $interconnection_name) {
hoteldruid-3.0.1/interconnessioni.php:396:include("./includes/interconnect/$mod_ext/form.php");
hoteldruid-3.0.1/interconnessioni.php-397-} # fine if ($modulo == $interconnection_name)
##############################################
hoteldruid-3.0.1/interconnessioni.php-487-if ($modifica_utente_agg and $n_utente_agg and $n_utente_agg != "1") {
hoteldruid-3.0.1/interconnessioni.php:488:$utente_esistente = esegui_query("select * from $tableutenti where idutenti = '".aggslashdb($n_utente_agg)."'");
hoteldruid-3.0.1/interconnessioni.php-489-if (numlin_query($utente_esistente) > 0) {
##############################################
hoteldruid-3.0.1/interconnessioni.php-597-foreach ($interconnessioni as $mod_ext => $val_i) {
hoteldruid-3.0.1/interconnessioni.php:598:include("./includes/interconnect/$mod_ext/name.php");
hoteldruid-3.0.1/interconnessioni.php-599-if ($interconnection_name_show[$lingua_mex]) $titolo = $interconnection_name_show[$lingua_mex];
##############################################
hoteldruid-3.0.1/interconnessioni.php-601-echo "<hr style=\"width: 95%\"><div id=\"h$interconnection_data_dir\" style=\"text-align: center;\"><b>$titolo</b></div><br>";
hoteldruid-3.0.1/interconnessioni.php:602:include("./includes/interconnect/$mod_ext/form.php");
hoteldruid-3.0.1/interconnessioni.php-603-} # fine foreach ($interconnessioni as $mod_ext => $val_i)
##############################################
hoteldruid-3.0.1/interconnessioni.php-614-foreach ($modelli as $modello_ext => $val_i) {
hoteldruid-3.0.1/interconnessioni.php:615:include("./includes/templates/$modello_ext/name.php");
hoteldruid-3.0.1/interconnessioni.php-616-if ($template_name_show['tpl_type'] == "interconnection") {
##############################################
hoteldruid-3.0.1/interconnessioni.php-628-$messaggio = $template_name_show['ita'];
hoteldruid-3.0.1/interconnessioni.php:629:include("./includes/lang/$lingua_mex/modt_$modello_ext.php");
hoteldruid-3.0.1/interconnessioni.php-630-if ($messaggio == $template_name_show['ita']) $messaggio = "";
##############################################
hoteldruid-3.0.1/interconnessioni.php-635-echo "<hr style=\"width: 95%\"><div id=\"h".$modello_ext."\" style=\"text-align: center;\"><b>$titolo</b></div><br>";
hoteldruid-3.0.1/interconnessioni.php:636:include("./includes/templates/$modello_ext/form.php");
hoteldruid-3.0.1/interconnessioni.php-637-} # fine if ($template_name_show['tpl_type'] == "interconnection")
##############################################
hoteldruid-3.0.1/interconnessioni.php-654-
hoteldruid-3.0.1/interconnessioni.php:655:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/interconnessioni.php-656-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/gestione_utenti.php-27-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/gestione_utenti.php:28:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/gestione_utenti.php-29-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/gestione_utenti.php-50-$titolo = "HotelDruid: ".mex("Gestione Utenti",$pag);
hoteldruid-3.0.1/gestione_utenti.php:51:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/gestione_utenti.php-52-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/gestione_utenti.php-137-$tipo_pass = risul_query($lista_utenti,$num1,'tipo_pass');
hoteldruid-3.0.1/gestione_utenti.php:138:$nome_esistente = esegui_query("select idutenti from $tableutenti where nome_utente = '".${"nome".$id}."'");
hoteldruid-3.0.1/gestione_utenti.php-139-if (str_replace("&","",${"nome".$id}) != ${"nome".$id}) $continua = "NO";
##############################################
hoteldruid-3.0.1/gestione_utenti.php-166-if (${"nome".$id} and $nome != ${"nome".$id}) {
hoteldruid-3.0.1/gestione_utenti.php:167:esegui_query("update $tableutenti set nome_utente = '".aggslashdb(${"nome".$id})."' where idutenti = '$id'");
hoteldruid-3.0.1/gestione_utenti.php-168-} # fine if (${"nome".$id} and $nome != ${"nome".$id})
##############################################
hoteldruid-3.0.1/gestione_utenti.php-170-if ($n_tipo_pass and $tipo_pass != $n_tipo_pass) {
hoteldruid-3.0.1/gestione_utenti.php:171:esegui_query("update $tableutenti set tipo_pass = '$n_tipo_pass' where idutenti = '$id'");
hoteldruid-3.0.1/gestione_utenti.php-172-if ($n_tipo_pass != "n") {
##############################################
hoteldruid-3.0.1/gestione_utenti.php-181-} # fine if ($n_tipo_pass == "5")
hoteldruid-3.0.1/gestione_utenti.php:182:esegui_query("update $tableutenti set password = '$n_pass', salt = '$salt' where idutenti = '$id'");
hoteldruid-3.0.1/gestione_utenti.php-183-if ($id == 1) {
##############################################
hoteldruid-3.0.1/gestione_utenti.php-188-else {
hoteldruid-3.0.1/gestione_utenti.php:189:esegui_query("update $tableutenti set password = '' where idutenti = '$id'");
hoteldruid-3.0.1/gestione_utenti.php:190:esegui_query("delete from $tablesessioni where idutente = '$id'");
hoteldruid-3.0.1/gestione_utenti.php-191-if ($id == 1 and @is_file(C_DATI_PATH."/abilita_login")) unlink(C_DATI_PATH."/abilita_login");
##############################################
hoteldruid-3.0.1/gestione_utenti.php-213-} # fine if (defined("C_MASSIMO_NUM_UTENTI") and C_MASSIMO_NUM_UTENTI != 0)
hoteldruid-3.0.1/gestione_utenti.php:214:$nome_esistente = esegui_query("select idutenti from $tableutenti where nome_utente = '$nome'");
hoteldruid-3.0.1/gestione_utenti.php-215-if (numlin_query($nome_esistente) != 0) {
##############################################
hoteldruid-3.0.1/gestione_utenti.php-331-$tabelle_lock = lock_tabelle($tabelle_lock,$altre_tab_lock);
hoteldruid-3.0.1/gestione_utenti.php:332:$dati_utente = esegui_query("select * from $tableutenti where idutenti = '".aggslashdb($id_utente_pass)."' ");
hoteldruid-3.0.1/gestione_utenti.php-333-if (numlin_query($dati_utente) != 1) $continua = "NO";
##############################################
hoteldruid-3.0.1/gestione_utenti.php-371-} # fine if ($tipo_pass == "5")
hoteldruid-3.0.1/gestione_utenti.php:372:esegui_query("update $tableutenti set password = '$prima_pass', salt = '$salt' where idutenti = '$id_utente_pass'");
hoteldruid-3.0.1/gestione_utenti.php-373-} # fine if ($tipo_pass != "n")
##############################################
hoteldruid-3.0.1/gestione_utenti.php-386-else {
hoteldruid-3.0.1/gestione_utenti.php:387:$dati_utente = esegui_query("select * from $tableutenti where idutenti = '".aggslashdb($id_utente_mod)."' ");
hoteldruid-3.0.1/gestione_utenti.php-388-if (numlin_query($dati_utente) != 1) $continua = "NO";
##############################################
hoteldruid-3.0.1/gestione_utenti.php-403-} # fine if (defined("C_MASSIMO_NUM_UTENTI") and C_MASSIMO_NUM_UTENTI != 0)
hoteldruid-3.0.1/gestione_utenti.php:404:$nome_esistente = esegui_query("select idgruppi from $tablegruppi where nome_gruppo = '".aggslashdb($nuovo_gruppo)."'");
hoteldruid-3.0.1/gestione_utenti.php-405-if (numlin_query($nome_esistente) != 0) {
##############################################
hoteldruid-3.0.1/gestione_utenti.php-412-unset($gruppi_utente);
hoteldruid-3.0.1/gestione_utenti.php:413:$gruppi = esegui_query("select idgruppo from $tablerelgruppi where idutente = '$id_utente_mod' and idgruppo is not NULL ");
hoteldruid-3.0.1/gestione_utenti.php-414-$num_gruppi = numlin_query($gruppi);
##############################################
hoteldruid-3.0.1/gestione_utenti.php-449-if ($gruppi_utente[$id_gruppo] == "SI" and ${"gruppo".$id_gruppo} != "SI") {
hoteldruid-3.0.1/gestione_utenti.php:450:esegui_query("delete from $tablerelgruppi where idutente = '$id_utente_mod' and idgruppo = '$id_gruppo' ");
hoteldruid-3.0.1/gestione_utenti.php:451:$gruppo_presente = esegui_query("select idgruppo from $tablerelgruppi where idgruppo = '$id_gruppo'");
hoteldruid-3.0.1/gestione_utenti.php-452-if (numlin_query($gruppo_presente) == 0) {
hoteldruid-3.0.1/gestione_utenti.php:453:esegui_query("delete from $tablegruppi where idgruppi = '$id_gruppo' ");
hoteldruid-3.0.1/gestione_utenti.php-454-if ($id_gruppo == $gruppo_log) $n_phpr_log = "NO";
##############################################
hoteldruid-3.0.1/gestione_utenti.php-496-$relazione = aggslashdb(risul_query($relazioni,$num1,$idrel));
hoteldruid-3.0.1/gestione_utenti.php:497:$rel_esist = esegui_query("select $idrelutenti from $tablerelutenti where $idrelutenti = '$relazione' ");
hoteldruid-3.0.1/gestione_utenti.php:498:if (numlin_query($rel_esist) == 0) esegui_query("delete from $tablerel where $idrel = '$relazione' ");
hoteldruid-3.0.1/gestione_utenti.php-499-} # fine for $num1
##############################################
hoteldruid-3.0.1/gestione_utenti.php-507-$dati_collegati = "NO";
hoteldruid-3.0.1/gestione_utenti.php:508:$clienti_esist = esegui_query("select idclienti from $tableclienti where utente_inserimento = '$id_utente_canc' ");
hoteldruid-3.0.1/gestione_utenti.php-509-if (numlin_query($clienti_esist) > 0) $dati_collegati = "SI";
##############################################
hoteldruid-3.0.1/gestione_utenti.php-515-$tableprenota_mostra = $PHPR_TAB_PRE."prenota".$anno_mostra;
hoteldruid-3.0.1/gestione_utenti.php:516:$prenota_esist = esegui_query("select idprenota from $tableprenota_mostra where utente_inserimento = '$id_utente_canc' ");
hoteldruid-3.0.1/gestione_utenti.php-517-if (numlin_query($prenota_esist) > 0) { $dati_collegati = "SI"; break; }
hoteldruid-3.0.1/gestione_utenti.php-518-$tablecosti_mostra = $PHPR_TAB_PRE."costi".$anno_mostra;
hoteldruid-3.0.1/gestione_utenti.php:519:$costo_esist = esegui_query("select idcosti from $tablecosti_mostra where utente_inserimento = '$id_utente_canc' ");
hoteldruid-3.0.1/gestione_utenti.php-520-if (numlin_query($costo_esist) > 0) { $dati_collegati = "SI"; break; }
hoteldruid-3.0.1/gestione_utenti.php-521-$tablesoldi_mostra = $PHPR_TAB_PRE."soldi".$anno_mostra;
hoteldruid-3.0.1/gestione_utenti.php:522:$soldo_esist = esegui_query("select idsoldi from $tablesoldi_mostra where utente_inserimento = '$id_utente_canc' ");
hoteldruid-3.0.1/gestione_utenti.php-523-if (numlin_query($soldo_esist) > 0) { $dati_collegati = "SI"; break; }
##############################################
hoteldruid-3.0.1/gestione_utenti.php-529-$tabelle_lock = lock_tabelle($tabelle_lock,$altre_tab_lock);
hoteldruid-3.0.1/gestione_utenti.php:530:$dati_utente = esegui_query("select * from $tableutenti where idutenti = '$id_utente_canc' ");
hoteldruid-3.0.1/gestione_utenti.php-531-if (numlin_query($dati_utente) != 1) $continua = "NO";
##############################################
hoteldruid-3.0.1/gestione_utenti.php-552-else {
hoteldruid-3.0.1/gestione_utenti.php:553:esegui_query("delete from $tableutenti where idutenti = '$id_utente_canc' ");
hoteldruid-3.0.1/gestione_utenti.php:554:esegui_query("delete from $tableprivilegi where idutente = '$id_utente_canc' ");
hoteldruid-3.0.1/gestione_utenti.php:555:esegui_query("delete from $tablerelutenti where idutente = '$id_utente_canc' ");
hoteldruid-3.0.1/gestione_utenti.php:556:esegui_query("delete from $tablerelgruppi where idutente = '$id_utente_canc' ");
hoteldruid-3.0.1/gestione_utenti.php:557:esegui_query("delete from $tablepersonalizza where idutente = '$id_utente_canc' ");
hoteldruid-3.0.1/gestione_utenti.php-558-cancella_relazioni_utente($tablerelgruppi,"idgruppo",$tablegruppi,"idgruppi");
##############################################
hoteldruid-3.0.1/gestione_utenti.php-607-$id_gruppo = substr($id_utente_importa,2);
hoteldruid-3.0.1/gestione_utenti.php:608:$ut_imp = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$id_gruppo' ");
hoteldruid-3.0.1/gestione_utenti.php-609-$num_ut_imp = numlin_query($ut_imp);
##############################################
hoteldruid-3.0.1/gestione_utenti.php-615-if ($id_utente_importa >= 2 and $id_utente_esporta >= 2 and $id_utente_importa != $id_utente_esporta) {
hoteldruid-3.0.1/gestione_utenti.php:616:$utente_imp = esegui_query("select * from $tableutenti where idutenti = '$id_utente_importa' ");
hoteldruid-3.0.1/gestione_utenti.php:617:$utente_esp = esegui_query("select * from $tableutenti where idutenti = '$id_utente_esporta' ");
hoteldruid-3.0.1/gestione_utenti.php-618-if (numlin_query($utente_imp) == 1 and numlin_query($utente_esp) == 1) {
##############################################
hoteldruid-3.0.1/gestione_utenti.php-620-if ($tipo_importa == "pers" or $tipo_importa == "priv_pers" or $tipo_importa == "pers_grup" or $tipo_importa == "priv_pers_grup") {
hoteldruid-3.0.1/gestione_utenti.php:621:esegui_query("delete from $tablepersonalizza where idutente = '$id_utente_importa' and idpersonalizza NOT $LIKE 'giorno_vedi_ini_sett%' ");
hoteldruid-3.0.1/gestione_utenti.php:622:$pers = esegui_query("select * from $tablepersonalizza where idutente = '$id_utente_esporta' and idpersonalizza NOT $LIKE 'giorno_vedi_ini_sett%' ");
hoteldruid-3.0.1/gestione_utenti.php-623-$num_pers = numlin_query($pers);
##############################################
hoteldruid-3.0.1/gestione_utenti.php-643-if ($tipo_importa == "priv" or $tipo_importa == "priv_pers" or $tipo_importa == "priv_grup" or $tipo_importa == "priv_pers_grup") {
hoteldruid-3.0.1/gestione_utenti.php:644:$priv = esegui_query("select anno from $tableprivilegi where idutente = '$id_utente_importa' and anno != '1' ");
hoteldruid-3.0.1/gestione_utenti.php-645-$num_priv = numlin_query($priv);
##############################################
hoteldruid-3.0.1/gestione_utenti.php-649-if (@is_file(C_DATI_PATH."/selperiodimenu$disattiva_anno.$id_utente_importa.php")) unlink(C_DATI_PATH."/selperiodimenu$disattiva_anno.$id_utente_importa.php");
hoteldruid-3.0.1/gestione_utenti.php:650:esegui_query("delete from $tablepersonalizza where idpersonalizza = 'giorno_vedi_ini_sett$disattiva_anno' and idutente = '$id_utente_importa'");
hoteldruid-3.0.1/gestione_utenti.php-651-} # fine for $num1
hoteldruid-3.0.1/gestione_utenti.php:652:esegui_query("delete from $tableprivilegi where idutente = '$id_utente_importa' ");
hoteldruid-3.0.1/gestione_utenti.php:653:$priv = esegui_query("select * from $tableprivilegi where idutente = '$id_utente_esporta' ");
hoteldruid-3.0.1/gestione_utenti.php-654-$num_priv = numlin_query($priv);
##############################################
hoteldruid-3.0.1/gestione_utenti.php-676-if ($e_anno != 1) {
hoteldruid-3.0.1/gestione_utenti.php:677:$tipo_periodi_cambia = esegui_query("select * from $tableanni where idanni = '$e_anno'");
hoteldruid-3.0.1/gestione_utenti.php-678-$tipo_periodi_cambia = risul_query($tipo_periodi_cambia,0,'tipo_periodi');
##############################################
hoteldruid-3.0.1/gestione_utenti.php-682-$lingua_mex = $lingua[$id_utente];
hoteldruid-3.0.1/gestione_utenti.php:683:$giorno_vedi_ini_sett = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'giorno_vedi_ini_sett$e_anno' and idutente = '$id_utente_esporta'");
hoteldruid-3.0.1/gestione_utenti.php-684-if (numlin_query($giorno_vedi_ini_sett) == 1) {
hoteldruid-3.0.1/gestione_utenti.php-685-$giorno_vedi_ini_sett = risul_query($giorno_vedi_ini_sett,0,'valpersonalizza_num');
hoteldruid-3.0.1/gestione_utenti.php:686:esegui_query("delete from $tablepersonalizza where idpersonalizza = 'giorno_vedi_ini_sett$e_anno' and idutente = '$id_utente_importa'");
hoteldruid-3.0.1/gestione_utenti.php-687-esegui_query("insert into $tablepersonalizza (idpersonalizza,idutente,valpersonalizza_num) values ('giorno_vedi_ini_sett$e_anno','$id_utente_importa','$giorno_vedi_ini_sett')");
##############################################
hoteldruid-3.0.1/gestione_utenti.php-694-if ($tipo_importa == "grup" or $tipo_importa == "priv_grup" or $tipo_importa == "pers_grup" or $tipo_importa == "priv_pers_grup") {
hoteldruid-3.0.1/gestione_utenti.php:695:esegui_query("delete from $tablerelgruppi where idutente = '$id_utente_importa' ");
hoteldruid-3.0.1/gestione_utenti.php:696:$grup= esegui_query("select * from $tablerelgruppi where idutente = '$id_utente_esporta' ");
hoteldruid-3.0.1/gestione_utenti.php-697-$num_grup = numlin_query($grup);
##############################################
hoteldruid-3.0.1/gestione_utenti.php-736-$id = risul_query($lista_utenti,$num1,'idutenti');
hoteldruid-3.0.1/gestione_utenti.php:737:$gruppi = esegui_query("select idgruppo from $tablerelgruppi where idutente = '$id' and idgruppo is not NULL ");
hoteldruid-3.0.1/gestione_utenti.php-738-$num_gruppi = numlin_query($gruppi);
##############################################
hoteldruid-3.0.1/gestione_utenti.php-795-$dati_collegati = "NO";
hoteldruid-3.0.1/gestione_utenti.php:796:$clienti_esist = esegui_query("select idclienti from $tableclienti where utente_inserimento = '$id' ");
hoteldruid-3.0.1/gestione_utenti.php-797-if (numlin_query($clienti_esist) > 0) $dati_collegati = "SI";
##############################################
hoteldruid-3.0.1/gestione_utenti.php-801-$tableprenota_mostra = $PHPR_TAB_PRE."prenota".$anno_mostra;
hoteldruid-3.0.1/gestione_utenti.php:802:$prenota_esist = esegui_query("select idprenota from $tableprenota_mostra where utente_inserimento = '$id' ");
hoteldruid-3.0.1/gestione_utenti.php-803-if (numlin_query($prenota_esist) > 0) { $dati_collegati = "SI"; break; }
hoteldruid-3.0.1/gestione_utenti.php-804-$tablecosti_mostra = $PHPR_TAB_PRE."costi".$anno_mostra;
hoteldruid-3.0.1/gestione_utenti.php:805:$costo_esist = esegui_query("select idcosti from $tablecosti_mostra where utente_inserimento = '$id' ");
hoteldruid-3.0.1/gestione_utenti.php-806-if (numlin_query($costo_esist) > 0) { $dati_collegati = "SI"; break; }
hoteldruid-3.0.1/gestione_utenti.php-807-$tablesoldi_mostra = $PHPR_TAB_PRE."soldi".$anno_mostra;
hoteldruid-3.0.1/gestione_utenti.php:808:$soldo_esist = esegui_query("select idsoldi from $tablesoldi_mostra where utente_inserimento = '$id' ");
hoteldruid-3.0.1/gestione_utenti.php-809-if (numlin_query($soldo_esist) > 0) { $dati_collegati = "SI"; break; }
##############################################
hoteldruid-3.0.1/gestione_utenti.php-888-
hoteldruid-3.0.1/gestione_utenti.php:889:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/gestione_utenti.php-890-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/tabella3.php-27-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/tabella3.php:28:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/tabella3.php-29-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/tabella3.php-46-$tablerelgruppi = $PHPR_TAB_PRE."relgruppi";
hoteldruid-3.0.1/tabella3.php:47:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/tabella3.php-48-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/tabella3.php-50-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/tabella3.php:51:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/tabella3.php-52-$priv_ins_clienti = risul_query($privilegi_globali_utente,0,'priv_ins_clienti');
##############################################
hoteldruid-3.0.1/tabella3.php-102-if ($prendi_gruppi == "SI") {
hoteldruid-3.0.1/tabella3.php:103:$gruppi_utente = esegui_query("select idgruppo from $tablerelgruppi where idutente = '$id_utente' and idgruppo is not NULL ");
hoteldruid-3.0.1/tabella3.php-104-$num_gruppi_utente = numlin_query($gruppi_utente);
##############################################
hoteldruid-3.0.1/tabella3.php-106-$idgruppo = risul_query($gruppi_utente,$num1,"idgruppo");
hoteldruid-3.0.1/tabella3.php:107:$utenti_gruppo = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$idgruppo' ");
hoteldruid-3.0.1/tabella3.php-108-$num_utenti_gruppo = numlin_query($utenti_gruppo);
##############################################
hoteldruid-3.0.1/tabella3.php-114-if ($priv_app_gruppi == "SI") {
hoteldruid-3.0.1/tabella3.php:115:$priv_anno_ut_gr = esegui_query("select * from $tableprivilegi where idutente = '$idutente_gruppo' and anno = '$anno'");
hoteldruid-3.0.1/tabella3.php-116-if (numlin_query($priv_anno_ut_gr) == 1) {
##############################################
hoteldruid-3.0.1/tabella3.php-173-$titolo = "HotelDruid: ".mex("Tabelle Mesi",$pag);
hoteldruid-3.0.1/tabella3.php:174:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/tabella3.php-175-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/tabella3.php-197-$id_data_fine_periodi = risul_query($data_fine_periodi,0,0);
hoteldruid-3.0.1/tabella3.php:198:$data_fine_periodi = esegui_query("select * from $tableperiodi where idperiodi = '$id_data_fine_periodi'");
hoteldruid-3.0.1/tabella3.php-199-$data_fine_periodi = risul_query($data_fine_periodi,0,'datainizio');
##############################################
hoteldruid-3.0.1/tabella3.php-204-$tipo_periodi = "g";
hoteldruid-3.0.1/tabella3.php:205:$aggiunta_tronca = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'aggiunta_tronca_nomi_tab1' and idutente = '$id_utente'");
hoteldruid-3.0.1/tabella3.php-206-$aggiunta_tronca = risul_query($aggiunta_tronca,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/tabella3.php-217-
hoteldruid-3.0.1/tabella3.php:218:$linee_ripeti_date_tab_mesi = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'linee_ripeti_date_tab_mesi' and idutente = '$id_utente'");
hoteldruid-3.0.1/tabella3.php-219-$linee_ripeti_date_tab_mesi = risul_query($linee_ripeti_date_tab_mesi,0,'valpersonalizza_num');
hoteldruid-3.0.1/tabella3.php:220:$mostra_giorni_tab_mesi = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'mostra_giorni_tab_mesi' and idutente = '$id_utente'");
hoteldruid-3.0.1/tabella3.php-221-$mostra_giorni_tab_mesi = risul_query($mostra_giorni_tab_mesi,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/tabella3.php-235-
hoteldruid-3.0.1/tabella3.php:236:$num_righe_app_max = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'num_linee_tab2_prenota' and idutente = '$id_utente'");
hoteldruid-3.0.1/tabella3.php-237-$num_righe_app_max = risul_query($num_righe_app_max,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/tabella3.php-306-$data_inizio_tab = date("Y-m-d" , mktime(0,0,0,$mese_inizio_tab,1,$anno));
hoteldruid-3.0.1/tabella3.php:307:$data_inizio_tab = esegui_query("select * from $tableperiodi where datainizio >= '$data_inizio_tab' order by idperiodi");
hoteldruid-3.0.1/tabella3.php-308-$id_data_inizio_tab = risul_query($data_inizio_tab,0,'idperiodi');
##############################################
hoteldruid-3.0.1/tabella3.php-312-$data_fine_tab = date("Y-m-d" , mktime(0,0,0,$mese_fine_tab,31,$anno));
hoteldruid-3.0.1/tabella3.php:313:$data_fine_tab = esegui_query("select * from $tableperiodi where datainizio <= '$data_fine_tab' order by idperiodi");
hoteldruid-3.0.1/tabella3.php-314-$num_date = numlin_query($data_fine_tab);
##############################################
hoteldruid-3.0.1/tabella3.php-324-$num_appartamenti_cancellati = 0;
hoteldruid-3.0.1/tabella3.php:325:$query_prenota_app_canc = "select * from $tableprenota where iddatainizio <= '$id_data_fine_tab' and iddatafine >= '$id_data_inizio_tab'";
hoteldruid-3.0.1/tabella3.php-326-for ($num1 = 0 ; $num1 < $num_appartamenti ; $num1 = $num1 + 1) {
##############################################
hoteldruid-3.0.1/tabella3.php-351-$linea_date = "<tr><td>&nbsp;</td>";
hoteldruid-3.0.1/tabella3.php:352:$giorno_vedi_ini_sett = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'giorno_vedi_ini_sett$anno' and idutente = '$id_utente'");
hoteldruid-3.0.1/tabella3.php-353-if (numlin_query($giorno_vedi_ini_sett) == 1) $giorno_vedi_ini_sett = risul_query($giorno_vedi_ini_sett,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/tabella3.php-356-$id_settimana = $id_data_inizio_tab + $num1;
hoteldruid-3.0.1/tabella3.php:357:$riga_setimana = esegui_query("select * from $tableperiodi where idperiodi = '$id_settimana'");
hoteldruid-3.0.1/tabella3.php-358-$inizio_settimana = risul_query($riga_setimana,0,'datainizio');
##############################################
hoteldruid-3.0.1/tabella3.php-414-else echo "</small></td>";
hoteldruid-3.0.1/tabella3.php:415:$prenotazione_presente = esegui_query("select * from $tableprenota where idappartamenti = '$id_appartamento' and iddatainizio <= '".($id_data_inizio_tab + $num_colonne - 1)."' and iddatafine >= '$id_data_inizio_tab'$condizione_prenota_propria order by iddatainizio");
hoteldruid-3.0.1/tabella3.php-416-$num_prenotazione_presente = numlin_query($prenotazione_presente);
##############################################
hoteldruid-3.0.1/tabella3.php-511-if ($id_clienti) {
hoteldruid-3.0.1/tabella3.php:512:$cognome = esegui_query("select cognome,utente_inserimento from $tableclienti where idclienti = '$id_clienti'");
hoteldruid-3.0.1/tabella3.php-513-$mostra_cliente = "SI";
##############################################
hoteldruid-3.0.1/tabella3.php-661-
hoteldruid-3.0.1/tabella3.php:662:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/tabella3.php-663-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/inventario.php-27-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/inventario.php:28:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/inventario.php-29-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/inventario.php-50-if ($id_utente != 1) {
hoteldruid-3.0.1/inventario.php:51:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/inventario.php-52-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/inventario.php-54-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/inventario.php:55:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/inventario.php-56-$priv_inventario = risul_query($privilegi_globali_utente,0,'priv_inventario');
##############################################
hoteldruid-3.0.1/inventario.php-114-if ($prendi_gruppi == "SI") {
hoteldruid-3.0.1/inventario.php:115:$gruppi_utente = esegui_query("select idgruppo from $tablerelgruppi where idutente = '$id_utente' and idgruppo is not NULL ");
hoteldruid-3.0.1/inventario.php-116-$num_gruppi_utente = numlin_query($gruppi_utente);
##############################################
hoteldruid-3.0.1/inventario.php-118-$idgruppo = risul_query($gruppi_utente,$num1,'idgruppo');
hoteldruid-3.0.1/inventario.php:119:$utenti_gruppo = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$idgruppo' ");
hoteldruid-3.0.1/inventario.php-120-$num_utenti_gruppo = numlin_query($utenti_gruppo);
##############################################
hoteldruid-3.0.1/inventario.php-126-if ($priv_app_gruppi == "SI") {
hoteldruid-3.0.1/inventario.php:127:$priv_anno_ut_gr = esegui_query("select * from $tableprivilegi where idutente = '$idutente_gruppo' and anno = '$anno'");
hoteldruid-3.0.1/inventario.php-128-if (numlin_query($priv_anno_ut_gr) == 1) {
##############################################
hoteldruid-3.0.1/inventario.php-190-$titolo = "HotelDruid: ".mex("Inventario",$pag);
hoteldruid-3.0.1/inventario.php:191:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/inventario.php-192-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/inventario.php-220-
hoteldruid-3.0.1/inventario.php:221:$id_esist = esegui_query("select * from $tablemag where $tipoidmag = '$idmag' ");
hoteldruid-3.0.1/inventario.php-222-if (numlin_query($id_esist) and (($tipoid == "idappartamento" and $priv_vedi_inv_app != "n") or ($tipoid == "idmagazzino" and $priv_vedi_inv_mag != "n"))) {
##############################################
hoteldruid-3.0.1/inventario.php-257-if ($priv_vedi_beni_inv == "p" or $priv_vedi_beni_inv == "g") {
hoteldruid-3.0.1/inventario.php:258:$condizione_beni_propri = "where ( utente_inserimento = '$id_utente'";
hoteldruid-3.0.1/inventario.php-259-if ($priv_vedi_beni_inv == "g") {
##############################################
hoteldruid-3.0.1/inventario.php-291-$tabelle_lock = lock_tabelle($tabelle_lock,$altre_tab_lock);
hoteldruid-3.0.1/inventario.php:292:$n_id_esist = esegui_query("select idbeniinventario,nome_bene from $tablebeniinventario where idbeniinventario = '$n_id' ");
hoteldruid-3.0.1/inventario.php-293-if (numlin_query($n_id_esist)) {
hoteldruid-3.0.1/inventario.php:294:$n_id_in_mag = esegui_query("select idbeneinventario from $tablerelinventario where idbeneinventario = '$n_id' and $tipoid = '$idmag' ");
hoteldruid-3.0.1/inventario.php-295-if (!numlin_query($n_id_in_mag)) {
##############################################
hoteldruid-3.0.1/inventario.php-373-if (@get_magic_quotes_gpc()) $nome_costo_agg = stripslashes($nome_costo_agg);
hoteldruid-3.0.1/inventario.php:374:$costiagg_esist = esegui_query("select * from $tablenometariffe where nomecostoagg = '".aggslashdb($nome_costo_agg)."' and idntariffe > 10 ");
hoteldruid-3.0.1/inventario.php-375-if (!numlin_query($costiagg_esist)) {
##############################################
hoteldruid-3.0.1/inventario.php-384-if (controlla_soldi($tasseperc_ca) == "SI" and $tasseperc_ca <= 100 and $tasseperc_ca > 0) {
hoteldruid-3.0.1/inventario.php:385:esegui_query("update $tablenometariffe set tasseperc_ca = '".aggslashdb($tasseperc_ca)."' where idntariffe = '$idntariffe' ");
hoteldruid-3.0.1/inventario.php-386-} # fine if (controlla_soldi($tasseperc_ca) == "SI" and $tasseperc_ca <= 100 and $tasseperc_ca > 0)
##############################################
hoteldruid-3.0.1/inventario.php-390-if (@get_magic_quotes_gpc()) $categoria = stripslashes($categoria);
hoteldruid-3.0.1/inventario.php:391:esegui_query("update $tablenometariffe set categoria_ca = '".aggslashdb($categoria)."' where idntariffe = '$idntariffe' ");
hoteldruid-3.0.1/inventario.php-392-} # fine if ($categoria)
##############################################
hoteldruid-3.0.1/inventario.php-423-$tabelle_lock = lock_tabelle($tabelle_lock,$altre_tab_lock);
hoteldruid-3.0.1/inventario.php:424:$ordine_inventario = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'ordine_inventario' and idutente = '$id_utente' ");
hoteldruid-3.0.1/inventario.php-425-$ordine_inventario = risul_query($ordine_inventario,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/inventario.php-427-else $ordine_inventario = "$tablebeniinventario.nome_bene";
hoteldruid-3.0.1/inventario.php:428:$beni_in_mag = esegui_query("select * from $tablerelinventario left outer join $tablebeniinventario on $tablerelinventario.idbeneinventario = $tablebeniinventario.idbeniinventario where $tablerelinventario.$tipoid = '$idmag' order by $ordine_inventario ");
hoteldruid-3.0.1/inventario.php-429-$num_beni_in_mag = numlin_query($beni_in_mag);
##############################################
hoteldruid-3.0.1/inventario.php-441-if ($quantita != $n_quant) {
hoteldruid-3.0.1/inventario.php:442:esegui_query("update $tablerelinventario set quantita = '$n_quant' where idbeneinventario = '$id_bene_in_mag' and $tipoid = '$idmag' ");
hoteldruid-3.0.1/inventario.php-443-$nome_bene = risul_query($beni_in_mag,$num1,'nome_bene',$tablebeniinventario);
##############################################
hoteldruid-3.0.1/inventario.php-465-$tabelle_lock = lock_tabelle($tabelle_lock,$altre_tab_lock);
hoteldruid-3.0.1/inventario.php:466:$bene_in_mag = esegui_query("select * from $tablerelinventario where $tipoid = '$idmag' and idbeneinventario = '$id_bene' ");
hoteldruid-3.0.1/inventario.php-467-if (numlin_query($bene_in_mag) == 1) {
##############################################
hoteldruid-3.0.1/inventario.php-474-if ($priv_vedi_inv_mag == "p" or $priv_vedi_inv_mag == "g") {
hoteldruid-3.0.1/inventario.php:475:$condizione_mag_propri = "where ( utente_inserimento = '$id_utente'";
hoteldruid-3.0.1/inventario.php-476-if ($priv_vedi_inv_mag == "g") {
##############################################
hoteldruid-3.0.1/inventario.php-500-$mostra_form_inventario = "NO";
hoteldruid-3.0.1/inventario.php:501:$nome_bene = esegui_query("select nome_bene from $tablebeniinventario where idbeniinventario = '$id_bene'");
hoteldruid-3.0.1/inventario.php-502-$nome_bene = risul_query($nome_bene,0,'nome_bene');
##############################################
hoteldruid-3.0.1/inventario.php-541-if ($tipoid != "idmagazzino" or $idmag_da != $idmag) {
hoteldruid-3.0.1/inventario.php:542:$bene_in_mag_da = esegui_query("select * from $tablerelinventario where idmagazzino = '$idmag_da' and idbeneinventario = '$id_bene' ");
hoteldruid-3.0.1/inventario.php-543-if (numlin_query($bene_in_mag_da) == 1) {
##############################################
hoteldruid-3.0.1/inventario.php-559-if ($priv_vedi_inv_app == "s" or $appartamenti_consentiti[$idapp_da] != "NO") {
hoteldruid-3.0.1/inventario.php:560:$bene_in_app_da = esegui_query("select * from $tablerelinventario where idappartamento = '$idapp_da' and idbeneinventario = '$id_bene' ");
hoteldruid-3.0.1/inventario.php-561-if (numlin_query($bene_in_app_da) == 1) {
##############################################
hoteldruid-3.0.1/inventario.php-596-if (${"mag_da".$idmag_da} and controlla_num_pos(${"mag_da".$idmag_da}) == "SI") {
hoteldruid-3.0.1/inventario.php:597:$bene_in_mag_da = esegui_query("select * from $tablerelinventario where idmagazzino = '$idmag_da' and idbeneinventario = '$id_bene' ");
hoteldruid-3.0.1/inventario.php-598-if (numlin_query($bene_in_mag_da) == 1) {
##############################################
hoteldruid-3.0.1/inventario.php-602-$ricaricato = "SI";
hoteldruid-3.0.1/inventario.php:603:esegui_query("update $tablerelinventario set quantita = '".($quantita_da - ${"mag_da".$idmag_da})."' where idmagazzino = '$idmag_da' and idbeneinventario = '$id_bene' ");
hoteldruid-3.0.1/inventario.php-604-$quantita = $quantita + ${"mag_da".$idmag_da};
hoteldruid-3.0.1/inventario.php:605:esegui_query("update $tablerelinventario set quantita = '$quantita' where $tipoid = '$idmag' and idbeneinventario = '$id_bene' ");
hoteldruid-3.0.1/inventario.php-606-} # fine if ($tipoid != "idmagazzino" or $idmag_da != $idmag)
##############################################
hoteldruid-3.0.1/inventario.php-614-if ($priv_vedi_inv_app == "s" or $appartamenti_consentiti[$idapp] != "NO") {
hoteldruid-3.0.1/inventario.php:615:$bene_in_app_da = esegui_query("select * from $tablerelinventario where idappartamento = '$idapp_da' and idbeneinventario = '$id_bene' ");
hoteldruid-3.0.1/inventario.php-616-if (numlin_query($bene_in_app_da) == 1) {
##############################################
hoteldruid-3.0.1/inventario.php-621-$ricaricato = "SI";
hoteldruid-3.0.1/inventario.php:622:esegui_query("update $tablerelinventario set quantita = '".($quantita_da - ${"app_da".$idapp_da})."' where idappartamento = '$idapp_da' and idbeneinventario = '$id_bene' ");
hoteldruid-3.0.1/inventario.php-623-$quantita = $quantita + ${"app_da".$idapp_da};
hoteldruid-3.0.1/inventario.php:624:esegui_query("update $tablerelinventario set quantita = '$quantita' where $tipoid = '$idmag' and idbeneinventario = '$id_bene' ");
hoteldruid-3.0.1/inventario.php-625-} # fine if ($num_diff_da > ${"app_da".$idapp_da})
##############################################
hoteldruid-3.0.1/inventario.php-645-$tabelle_lock = lock_tabelle($tabelle_lock,$altre_tab_lock);
hoteldruid-3.0.1/inventario.php:646:$id_bene_in_mag = esegui_query("select idbeneinventario from $tablerelinventario where idbeneinventario = '$id_bene' and $tipoid = '$idmag' limit 1");
hoteldruid-3.0.1/inventario.php-647-if (numlin_query($id_bene_in_mag)) {
hoteldruid-3.0.1/inventario.php:648:$nome_bene = esegui_query("select nome_bene from $tablebeniinventario where idbeniinventario = '$id_bene'");
hoteldruid-3.0.1/inventario.php-649-$nome_bene = risul_query($nome_bene,0,'nome_bene');
##############################################
hoteldruid-3.0.1/inventario.php-670-else {
hoteldruid-3.0.1/inventario.php:671:esegui_query("delete from $tablerelinventario where idbeneinventario = '$id_bene' and $tipoid = '$idmag' ");
hoteldruid-3.0.1/inventario.php-672-$frase_modifica .= "<b>".mex("Bene",$pag)." \"<em>$nome_bene</em>\" ".mex("cancellato",$pag)."</b>.<br>";
##############################################
hoteldruid-3.0.1/inventario.php-685-
hoteldruid-3.0.1/inventario.php:686:$ordine_inventario = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'ordine_inventario' and idutente = '$id_utente' ");
hoteldruid-3.0.1/inventario.php-687-$ordine_inventario = risul_query($ordine_inventario,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/inventario.php-690-
hoteldruid-3.0.1/inventario.php:691:if ($ordine_inventario == "idbeniinventario") $beni_in_mag = esegui_query("select * from $tablerelinventario where $tipoid = '$idmag' order by idbeneinventario ");
hoteldruid-3.0.1/inventario.php:692:else $beni_in_mag = esegui_query("select * from $tablerelinventario left outer join $tablebeniinventario on $tablerelinventario.idbeneinventario = $tablebeniinventario.idbeniinventario where $tablerelinventario.$tipoid = '$idmag' order by $tablebeniinventario.nome_bene ");
hoteldruid-3.0.1/inventario.php-693-$num_beni_in_mag = numlin_query($beni_in_mag);
##############################################
hoteldruid-3.0.1/inventario.php-742-if ($tipoid == "idappartamento" or $priv_mod_checkin != "s") {
hoteldruid-3.0.1/inventario.php:743:$attiva_checkin = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'attiva_checkin' and idutente = '$id_utente'");
hoteldruid-3.0.1/inventario.php-744-$attiva_checkin = risul_query($attiva_checkin,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/inventario.php-865-
hoteldruid-3.0.1/inventario.php:866:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/inventario.php-867-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/tabella2.php-27-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/tabella2.php:28:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/tabella2.php-29-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/tabella2.php-46-$tablerelgruppi = $PHPR_TAB_PRE."relgruppi";
hoteldruid-3.0.1/tabella2.php:47:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/tabella2.php-48-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/tabella2.php-50-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/tabella2.php:51:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/tabella2.php-52-$priv_ins_clienti = risul_query($privilegi_globali_utente,0,'priv_ins_clienti');
##############################################
hoteldruid-3.0.1/tabella2.php-102-if ($prendi_gruppi == "SI") {
hoteldruid-3.0.1/tabella2.php:103:$gruppi_utente = esegui_query("select idgruppo from $tablerelgruppi where idutente = '$id_utente' and idgruppo is not NULL ");
hoteldruid-3.0.1/tabella2.php-104-$num_gruppi_utente = numlin_query($gruppi_utente);
##############################################
hoteldruid-3.0.1/tabella2.php-106-$idgruppo = risul_query($gruppi_utente,$num1,"idgruppo");
hoteldruid-3.0.1/tabella2.php:107:$utenti_gruppo = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$idgruppo' ");
hoteldruid-3.0.1/tabella2.php-108-$num_utenti_gruppo = numlin_query($utenti_gruppo);
##############################################
hoteldruid-3.0.1/tabella2.php-114-if ($priv_app_gruppi == "SI") {
hoteldruid-3.0.1/tabella2.php:115:$priv_anno_ut_gr = esegui_query("select * from $tableprivilegi where idutente = '$idutente_gruppo' and anno = '$anno'");
hoteldruid-3.0.1/tabella2.php-116-if (numlin_query($priv_anno_ut_gr) == 1) {
##############################################
hoteldruid-3.0.1/tabella2.php-173-$titolo = "HotelDruid: ".mex("Tabelle Mesi",$pag);
hoteldruid-3.0.1/tabella2.php:174:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/tabella2.php-175-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/tabella2.php-197-$id_data_fine_periodi = risul_query($data_fine_periodi,0,0);
hoteldruid-3.0.1/tabella2.php:198:$data_fine_periodi = esegui_query("select * from $tableperiodi where idperiodi = '$id_data_fine_periodi'");
hoteldruid-3.0.1/tabella2.php-199-$data_fine_periodi = risul_query($data_fine_periodi,0,'datainizio');
##############################################
hoteldruid-3.0.1/tabella2.php-206-
hoteldruid-3.0.1/tabella2.php:207:$aggiunta_tronca = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'aggiunta_tronca_nomi_tab1' and idutente = '$id_utente'");
hoteldruid-3.0.1/tabella2.php-208-$aggiunta_tronca = risul_query($aggiunta_tronca,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/tabella2.php-216-
hoteldruid-3.0.1/tabella2.php:217:$linee_ripeti_date_tab_mesi = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'linee_ripeti_date_tab_mesi' and idutente = '$id_utente'");
hoteldruid-3.0.1/tabella2.php-218-$linee_ripeti_date_tab_mesi = risul_query($linee_ripeti_date_tab_mesi,0,'valpersonalizza_num');
hoteldruid-3.0.1/tabella2.php:219:$mostra_giorni_tab_mesi = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'mostra_giorni_tab_mesi' and idutente = '$id_utente'");
hoteldruid-3.0.1/tabella2.php-220-$mostra_giorni_tab_mesi = risul_query($mostra_giorni_tab_mesi,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/tabella2.php-234-
hoteldruid-3.0.1/tabella2.php:235:$num_righe_app_max = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'num_linee_tab2_prenota' and idutente = '$id_utente'");
hoteldruid-3.0.1/tabella2.php-236-$num_righe_app_max = risul_query($num_righe_app_max,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/tabella2.php-304-$data_inizio_tab = date("Y-m-d" , mktime(0,0,0,$mese_inizio_tab,1,$anno));
hoteldruid-3.0.1/tabella2.php:305:$data_inizio_tab = esegui_query("select * from $tableperiodi where datainizio >= '$data_inizio_tab' order by idperiodi");
hoteldruid-3.0.1/tabella2.php-306-$id_data_inizio_tab = risul_query($data_inizio_tab,0,'idperiodi');
##############################################
hoteldruid-3.0.1/tabella2.php-314-$data_fine_tab = date("Y-m-d" , mktime(0,0,0,$mese_fine_tab,31,$anno));
hoteldruid-3.0.1/tabella2.php:315:$data_fine_tab = esegui_query("select * from $tableperiodi where datainizio <= '$data_fine_tab' order by idperiodi");
hoteldruid-3.0.1/tabella2.php-316-$num_date = numlin_query($data_fine_tab);
##############################################
hoteldruid-3.0.1/tabella2.php-329-$num_appartamenti_cancellati = 0;
hoteldruid-3.0.1/tabella2.php:330:$query_prenota_app_canc = "select * from $tableprenota where iddatainizio <= '$id_data_fine_tab' and iddatafine >= '$id_data_inizio_tab'";
hoteldruid-3.0.1/tabella2.php-331-for ($num1 = 0 ; $num1 < $num_appartamenti ; $num1 = $num1 + 1) {
##############################################
hoteldruid-3.0.1/tabella2.php-359-$id_settimana = $id_data_inizio_tab + $num1;
hoteldruid-3.0.1/tabella2.php:360:$riga_setimana = esegui_query("select * from $tableperiodi where idperiodi = '$id_settimana'");
hoteldruid-3.0.1/tabella2.php-361-$inizio_settimana = risul_query($riga_setimana,0,'datainizio');
##############################################
hoteldruid-3.0.1/tabella2.php-420-else echo "</small></td>";
hoteldruid-3.0.1/tabella2.php:421:$prenotazione_presente = esegui_query("select * from $tableprenota where idappartamenti = '$id_appartamento' and iddatainizio <= '".($id_data_inizio_tab + $num_colonne - 1)."' and iddatafine >= '$id_data_inizio_tab'$condizione_prenota_propria order by iddatainizio");
hoteldruid-3.0.1/tabella2.php-422-$num_prenotazione_presente = numlin_query($prenotazione_presente);
##############################################
hoteldruid-3.0.1/tabella2.php-517-if ($id_clienti) {
hoteldruid-3.0.1/tabella2.php:518:$cognome = esegui_query("select cognome,utente_inserimento from $tableclienti where idclienti = '$id_clienti'");
hoteldruid-3.0.1/tabella2.php-519-$mostra_cliente = "SI";
##############################################
hoteldruid-3.0.1/tabella2.php-669-
hoteldruid-3.0.1/tabella2.php:670:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/tabella2.php-671-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/crea_backup.php-28-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/crea_backup.php:29:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/crea_backup.php-30-include("./includes/funzioni_backup.php");
##############################################
hoteldruid-3.0.1/crea_backup.php-45-if ($id_utente != 1 and $id_utente != "b") {
hoteldruid-3.0.1/crea_backup.php:46:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/crea_backup.php-47-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
hoteldruid-3.0.1/crea_backup.php-48-else $anno_utente_attivato = "SI";
hoteldruid-3.0.1/crea_backup.php:49:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/crea_backup.php-50-$priv_mod_pers = risul_query($privilegi_globali_utente,0,'priv_mod_pers');
##############################################
hoteldruid-3.0.1/crea_backup.php-72-$titolo = "HotelDruid: ".mex("Backup",$pag);
hoteldruid-3.0.1/crea_backup.php:73:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/crea_backup.php-74-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/crea_backup.php-83-if ($crea_backup) {
hoteldruid-3.0.1/crea_backup.php:84:include_once("./includes/funzioni_$PHPR_DB_TYPE"."_extra.php");
hoteldruid-3.0.1/crea_backup.php-85-
##############################################
hoteldruid-3.0.1/crea_backup.php-92-$oggi = substr($adesso,0,10);
hoteldruid-3.0.1/crea_backup.php:93:esegui_query("delete from $tablecache where tipo = 'lim_back' and datainserimento < '$oggi 00:00:00' ");
hoteldruid-3.0.1/crea_backup.php:94:$lim_back = esegui_query("select * from $tablecache where tipo = 'lim_back' and datainserimento >= '$oggi 00:00:00' ");
hoteldruid-3.0.1/crea_backup.php-95-if (!numlin_query($lim_back)) esegui_query("insert into $tablecache (numero,tipo,data_modifica,datainserimento) values ('1','lim_back','$adesso','$adesso') ");
##############################################
hoteldruid-3.0.1/crea_backup.php-98-if ($num_lim_back >= C_LIMITE_BACKUP_GIORNALIERI) $raggiunto_limite = 1;
hoteldruid-3.0.1/crea_backup.php:99:else esegui_query("update $tablecache set numero = '".($num_lim_back + 1)."', data_modifica = '$adesso' where tipo = 'lim_back' and datainserimento >= '$oggi 00:00:00' ");
hoteldruid-3.0.1/crea_backup.php-100-} # fine else if (!numlin_query($lim_back))
##############################################
hoteldruid-3.0.1/crea_backup.php-337-if ($modello_ext != "." && $modello_ext != ".." and @is_dir("./includes/templates/$modello_ext")) {
hoteldruid-3.0.1/crea_backup.php:338:include("./includes/templates/$modello_ext/name.php");
hoteldruid-3.0.1/crea_backup.php-339-if ($template_file_name['ita']) $nome_file = $template_file_name['ita'];
##############################################
hoteldruid-3.0.1/crea_backup.php-979-if ($mostra_header != "NO") {
hoteldruid-3.0.1/crea_backup.php:980:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/crea_backup.php-981-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/inizio.php-36-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/inizio.php:37:esegui_query("delete from $PHPR_TAB_PRE"."sessioni where idsessioni = '$id_sessione'");
hoteldruid-3.0.1/inizio.php-38-unlock_tabelle($tabelle_lock);
##############################################
hoteldruid-3.0.1/inizio.php-49-$show_bar = "NO";
hoteldruid-3.0.1/inizio.php:50:if ($tema[$id_utente] != "base") include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/inizio.php-51-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/inizio.php-95-</div></form>";
hoteldruid-3.0.1/inizio.php:96:if ($tema[$id_utente] != "base") include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/inizio.php-97-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/inizio.php-110-$tablerelgruppi = $PHPR_TAB_PRE."relgruppi";
hoteldruid-3.0.1/inizio.php:111:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/inizio.php-112-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/inizio.php-114-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/inizio.php:115:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/inizio.php-116-$priv_mod_pers = risul_query($privilegi_globali_utente,0,'priv_mod_pers');
##############################################
hoteldruid-3.0.1/inizio.php-165-if ($prendi_gruppi == "SI") {
hoteldruid-3.0.1/inizio.php:166:$gruppi_utente = esegui_query("select idgruppo from $tablerelgruppi where idutente = '$id_utente' and idgruppo is not NULL ");
hoteldruid-3.0.1/inizio.php-167-$num_gruppi_utente = numlin_query($gruppi_utente);
##############################################
hoteldruid-3.0.1/inizio.php-169-$idgruppo = risul_query($gruppi_utente,$num1,'idgruppo');
hoteldruid-3.0.1/inizio.php:170:$utenti_gruppo = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$idgruppo' ");
hoteldruid-3.0.1/inizio.php-171-$num_utenti_gruppo = numlin_query($utenti_gruppo);
##############################################
hoteldruid-3.0.1/inizio.php-219-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/inizio.php:220:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/inizio.php-221-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/inizio.php-254-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/inizio.php:255:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/inizio.php-256-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/inizio.php-307-$n_id_sessione = $anno.substr($id_sessione,4);
hoteldruid-3.0.1/inizio.php:308:esegui_query("update $PHPR_TAB_PRE"."sessioni set idsessioni = '$n_id_sessione' where idsessioni = '$id_sessione' ");
hoteldruid-3.0.1/inizio.php-309-$id_sessione = $n_id_sessione;
##############################################
hoteldruid-3.0.1/inizio.php-311-
hoteldruid-3.0.1/inizio.php:312:if ($tema[$id_utente] != "base") include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/inizio.php-313-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/inizio.php-318-
hoteldruid-3.0.1/inizio.php:319:if ($tema[$id_utente] != "base") include("./themes/".$tema[$id_utente]."/php/menu.php");
hoteldruid-3.0.1/inizio.php-320-else $hide_default_menu = 0;
##############################################
hoteldruid-3.0.1/inizio.php-473-$oggi = date("Y-m-d",(time() + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/inizio.php:474:$date_select = esegui_query("select datainizio,datafine from $PHPR_TAB_PRE"."periodi$anno where datainizio <= '$oggi' and datafine > '$oggi' ");
hoteldruid-3.0.1/inizio.php-475-if (numlin_query($date_select) != 0) {
##############################################
hoteldruid-3.0.1/inizio.php-523-if (!numlin_query($anni_succ)) {
hoteldruid-3.0.1/inizio.php:524:$visto = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'visto_messaggio_periodi' and idutente = '$id_utente' ");
hoteldruid-3.0.1/inizio.php-525-if (!numlin_query($visto)) {
##############################################
hoteldruid-3.0.1/inizio.php-551-
hoteldruid-3.0.1/inizio.php:552:$attiva_checkin = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'attiva_checkin' and idutente = '$id_utente'");
hoteldruid-3.0.1/inizio.php-553-$attiva_checkin = risul_query($attiva_checkin,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/inizio.php-568-$id_periodo_corrente = calcola_id_periodo_corrente($anno,"");
hoteldruid-3.0.1/inizio.php:569:$prenotazioni = esegui_query("select * from $tableprenota where ((iddatainizio <= '$id_periodo_corrente' and checkin is NULL) or (iddatafine < '$id_periodo_corrente' and checkout is NULL)) and idclienti != '0' $condizione_prenota_proprie order by checkin desc, iddatainizio, iddatafine");
hoteldruid-3.0.1/inizio.php-570-$num_prenotazioni = numlin_query($prenotazioni);
##############################################
hoteldruid-3.0.1/inizio.php-576-if (!function_exists('dati_costi_agg_prenota')) include("./includes/funzioni_costi_agg.php");
hoteldruid-3.0.1/inizio.php:577:$colori_tab_mesi = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'colori_tab_mesi' and idutente = '$id_utente'");
hoteldruid-3.0.1/inizio.php-578-$colori_tab_mesi = explode(",",risul_query($colori_tab_mesi,0,'valpersonalizza'));
##############################################
hoteldruid-3.0.1/inizio.php-612-$id_clienti = risul_query($prenotazioni,$num1,'idclienti');
hoteldruid-3.0.1/inizio.php:613:$cognome = esegui_query("select cognome,utente_inserimento from $tableclienti where idclienti = $id_clienti");
hoteldruid-3.0.1/inizio.php-614-$mostra_cliente = "SI";
##############################################
hoteldruid-3.0.1/inizio.php-626-else {
hoteldruid-3.0.1/inizio.php:627:$data_inizio = esegui_query("select * from $tableperiodi where idperiodi = $id_data_inizio");
hoteldruid-3.0.1/inizio.php-628-$data_inizio = risul_query($data_inizio,0,'datainizio');
##############################################
hoteldruid-3.0.1/inizio.php-631-$id_data_fine = risul_query($prenotazioni,$num1,'iddatafine');
hoteldruid-3.0.1/inizio.php:632:$data_fine = esegui_query("select * from $tableperiodi where idperiodi = $id_data_fine");
hoteldruid-3.0.1/inizio.php-633-$data_fine = risul_query($data_fine,0,'datafine');
##############################################
hoteldruid-3.0.1/inizio.php-798-
hoteldruid-3.0.1/inizio.php:799:if ($tema[$id_utente] != "base") include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/inizio.php-800-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/inizio.php-812-$show_bar = "NO";
hoteldruid-3.0.1/inizio.php:813:if ($tema[$id_utente] != "base") include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/inizio.php-814-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/inizio.php-840-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/inizio.php:841:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/inizio.php-842-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/inizio.php-943-</div></form>";
hoteldruid-3.0.1/inizio.php:944:if ($tema[$id_utente] != "base") include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/inizio.php-945-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/costi.php-27-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/costi.php:28:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/costi.php-29-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/costi.php-40-$tableprivilegi = $PHPR_TAB_PRE."privilegi";
hoteldruid-3.0.1/costi.php:41:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/costi.php-42-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/costi.php-44-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/costi.php:45:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/costi.php-46-$casse_consentite = risul_query($privilegi_globali_utente,0,'casse_consentite');
##############################################
hoteldruid-3.0.1/costi.php-58-} # fine else if (numlin_query($privilegi_annuali_utente) == 0)
hoteldruid-3.0.1/costi.php:59:$nome_utente = esegui_query("select * from $tableutenti where idutenti = '$id_utente'");
hoteldruid-3.0.1/costi.php-60-$nome_utente = risul_query($nome_utente,0,'nome_utente');
##############################################
hoteldruid-3.0.1/costi.php-83-$titolo = "HotelDruid: ".mex("Costi Gestione",$pag);
hoteldruid-3.0.1/costi.php:84:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/costi.php-85-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/costi.php-134-else {
hoteldruid-3.0.1/costi.php:135:$cassa_esistente = esegui_query("select * from $tablecasse where idcasse = '$id_cassa' ");
hoteldruid-3.0.1/costi.php-136-if (numlin_query($cassa_esistente) != 1) $inserire = "NO";
##############################################
hoteldruid-3.0.1/costi.php-143-if (strcmp($metodo_pagamento,"")) {
hoteldruid-3.0.1/costi.php:144:$metodi_pagamento = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'metodi_pagamento' and idutente = '$id_utente'");
hoteldruid-3.0.1/costi.php-145-$metodi_pagamento = risul_query($metodi_pagamento,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/costi.php-154-$costo_valuta = $val_costo;
hoteldruid-3.0.1/costi.php:155:$arrotond_tasse = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'arrotond_tasse' and idutente = '$id_utente'");
hoteldruid-3.0.1/costi.php-156-$arrotond_tasse = risul_query($arrotond_tasse,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/costi.php-186-esegui_query("insert into $tablecosti (idcosti,nome_costo,val_costo,tipo_costo,nome_cassa,persona_costo,provenienza_costo,metodo_pagamento,datainserimento,hostinserimento,utente_inserimento) values ('$idcosti','$nome_costo','$val_costo','$tipo_costo','".aggslashdb($nome_cassa)."','$persona_costo','$provenienza_costo','$metodo_pagamento','$datainserimento','$HOSTNAME','$id_utente') ");
hoteldruid-3.0.1/costi.php:187:if ($valuta) esegui_query("update $tablecosti set valuta = '".aggslashdb($valuta)."', costo_valuta = '".aggslashdb($costo_valuta)."' where idcosti = '$idcosti' ");
hoteldruid-3.0.1/costi.php-188-if ($inserisci_entrata) echo mex("L'entrata è stata inserita",$pag);
##############################################
hoteldruid-3.0.1/costi.php-229-$metodo_pagamento_txt = "";
hoteldruid-3.0.1/costi.php:230:$metodi_pagamento = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'metodi_pagamento' and idutente = '$id_utente'");
hoteldruid-3.0.1/costi.php-231-$metodi_pagamento = risul_query($metodi_pagamento,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/costi.php-337-
hoteldruid-3.0.1/costi.php:338:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/costi.php-339-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/modifica_prenota.php-28-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/modifica_prenota.php:29:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/modifica_prenota.php-30-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/modifica_prenota.php-71-$tablerelgruppi = $PHPR_TAB_PRE."relgruppi";
hoteldruid-3.0.1/modifica_prenota.php:72:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/modifica_prenota.php-73-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/modifica_prenota.php-75-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/modifica_prenota.php:76:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/modifica_prenota.php-77-$priv_mod_pers = risul_query($privilegi_globali_utente,0,'priv_mod_pers');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-149-} # fine else if (numlin_query($privilegi_annuali_utente) == 0)
hoteldruid-3.0.1/modifica_prenota.php:150:$nome_utente = esegui_query("select * from $tableutenti where idutenti = '$id_utente'");
hoteldruid-3.0.1/modifica_prenota.php-151-$nome_utente = risul_query($nome_utente,0,'nome_utente');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-154-if ($prendi_gruppi == "SI") {
hoteldruid-3.0.1/modifica_prenota.php:155:$gruppi_utente = esegui_query("select idgruppo from $tablerelgruppi where idutente = '$id_utente' and idgruppo is not NULL ");
hoteldruid-3.0.1/modifica_prenota.php-156-$num_gruppi_utente = numlin_query($gruppi_utente);
##############################################
hoteldruid-3.0.1/modifica_prenota.php-158-$idgruppo = risul_query($gruppi_utente,$num1,'idgruppo');
hoteldruid-3.0.1/modifica_prenota.php:159:$utenti_gruppo = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$idgruppo' ");
hoteldruid-3.0.1/modifica_prenota.php-160-$num_utenti_gruppo = numlin_query($utenti_gruppo);
##############################################
hoteldruid-3.0.1/modifica_prenota.php-238-$titolo = "HotelDruid: ".mex("Modifica Prenotazioni",$pag);
hoteldruid-3.0.1/modifica_prenota.php:239:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/modifica_prenota.php-240-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/modifica_prenota.php-280-
hoteldruid-3.0.1/modifica_prenota.php:281:$attiva_checkin = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'attiva_checkin' and idutente = '$id_utente'");
hoteldruid-3.0.1/modifica_prenota.php-282-$attiva_checkin = risul_query($attiva_checkin,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-285-$comm_pers_presenti = array();
hoteldruid-3.0.1/modifica_prenota.php:286:$campi_pers_comm = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'campi_pers_comm' and idutente = '$id_utente'");
hoteldruid-3.0.1/modifica_prenota.php-287-if (numlin_query($campi_pers_comm) == 1) {
##############################################
hoteldruid-3.0.1/modifica_prenota.php-306-$id_periodo_corrente = calcola_id_periodo_corrente($anno);
hoteldruid-3.0.1/modifica_prenota.php:307:$id_inizio_prenota = esegui_query("select iddatainizio from $tableprenota where idprenota = '$id_prenota'");
hoteldruid-3.0.1/modifica_prenota.php-308-if (numlin_query($id_inizio_prenota) == 1) $id_inizio_prenota = risul_query($id_inizio_prenota,0,'iddatainizio');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-314-$adesso = date("YmdHis",(time() + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/modifica_prenota.php:315:$data_ins = esegui_query("select datainserimento from $tableprenota where idprenota = '$id_prenota'");
hoteldruid-3.0.1/modifica_prenota.php-316-if (numlin_query($data_ins) == 1) $data_ins = risul_query($data_ins,0,'datainserimento');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-322-if ($priv_canc_prenota_conf != "s" and $priv_canc_prenotazioni != "n") {
hoteldruid-3.0.1/modifica_prenota.php:323:$confe = esegui_query("select conferma from $tableprenota where idprenota = '$id_prenota'");
hoteldruid-3.0.1/modifica_prenota.php-324-if (numlin_query($confe) == 1) $confe = risul_query($confe,0,'conferma');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-358- ".mex("cancella anche ciò che era stato pagato",$pag)."";
hoteldruid-3.0.1/modifica_prenota.php:359:$metodi_pagamento = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'metodi_pagamento' and idutente = '$id_utente'");
hoteldruid-3.0.1/modifica_prenota.php-360-$metodi_pagamento = risul_query($metodi_pagamento,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-428-$id_prenota = $id_prenota_idpr[$num_idpr];
hoteldruid-3.0.1/modifica_prenota.php:429:$ospiti = esegui_query("select * from $tablerclientiprenota where idprenota = '$id_prenota' and num_ordine != '1' order by num_ordine ");
hoteldruid-3.0.1/modifica_prenota.php-430-$num_ospiti = numlin_query($ospiti);
##############################################
hoteldruid-3.0.1/modifica_prenota.php-432-$id_clienti_osp = risul_query($ospiti,$num1,'idclienti');
hoteldruid-3.0.1/modifica_prenota.php:433:$dati_ospite = esegui_query("select cognome,nome,utente_inserimento from $tableclienti where idclienti = '$id_clienti_osp' ");
hoteldruid-3.0.1/modifica_prenota.php-434-$utente_ospite = risul_query($dati_ospite,0,'utente_inserimento');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-477-else $cond_propri = "";
hoteldruid-3.0.1/modifica_prenota.php:478:$dati_nuovo_cliente = esegui_query("select * from $tableclienti where idclienti = '".aggslashdb($id_nuovo_cliente)."'$cond_propri ");
hoteldruid-3.0.1/modifica_prenota.php-479-if (numlin_query($dati_nuovo_cliente) == 1) {
##############################################
hoteldruid-3.0.1/modifica_prenota.php-481-$id_prenota = $id_prenota_idpr[0];
hoteldruid-3.0.1/modifica_prenota.php:482:$dati_prenota_modifica[$id_prenota] = esegui_query("select * from $tableprenota where idprenota = '$id_prenota' and idclienti != '0'");
hoteldruid-3.0.1/modifica_prenota.php-483-if (numlin_query($dati_prenota_modifica[$id_prenota]) != 1) $errore = "SI";
##############################################
hoteldruid-3.0.1/modifica_prenota.php-486-$id_prenota = $id_prenota_idpr[$num_idpr];
hoteldruid-3.0.1/modifica_prenota.php:487:$dati_prenota_modifica[$id_prenota] = esegui_query("select * from $tableprenota where idprenota = '$id_prenota' and idclienti != '0'");
hoteldruid-3.0.1/modifica_prenota.php-488-if (numlin_query($dati_prenota_modifica[$id_prenota]) != 1) $errore = "SI";
##############################################
hoteldruid-3.0.1/modifica_prenota.php-509-if ($id_clienti != "~~~~") {
hoteldruid-3.0.1/modifica_prenota.php:510:$dati_cliente = esegui_query("select * from $tableclienti where idclienti = '$id_clienti' ");
hoteldruid-3.0.1/modifica_prenota.php-511-$utente_inserimento = risul_query($dati_cliente,0,'utente_inserimento');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-527-$id_prenota = $id_prenota_idpr[$num_idpr];
hoteldruid-3.0.1/modifica_prenota.php:528:$ospiti = esegui_query("select idclienti,num_ordine from $tablerclientiprenota where idprenota = '$id_prenota' order by num_ordine ");
hoteldruid-3.0.1/modifica_prenota.php-529-$num_ospiti = numlin_query($ospiti);
##############################################
hoteldruid-3.0.1/modifica_prenota.php-535-if ($num_ordine[$id_nuovo_cliente]) {
hoteldruid-3.0.1/modifica_prenota.php:536:esegui_query("update $tablerclientiprenota set num_ordine = '1' where idprenota = '$id_prenota' and idclienti = '$id_nuovo_cliente' ");
hoteldruid-3.0.1/modifica_prenota.php-537-$max_num_ordine = 3;
##############################################
hoteldruid-3.0.1/modifica_prenota.php-543-if ($max_num_ordine != risul_query($ospiti,$num1,'num_ordine')) {
hoteldruid-3.0.1/modifica_prenota.php:544:esegui_query("update $tablerclientiprenota set num_ordine = '$max_num_ordine' where idprenota = '$id_prenota' and idclienti = '".$id_clienti_osp[$num1]."' ");
hoteldruid-3.0.1/modifica_prenota.php-545-$num_ordine_cambiato = "SI";
##############################################
hoteldruid-3.0.1/modifica_prenota.php-549-} # fine for $num1
hoteldruid-3.0.1/modifica_prenota.php:550:if ($num_ordine_cambiato == "SI") esegui_query("update $tablerclientiprenota set parentela = '' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/modifica_prenota.php-551-$mostra_form_modifica_prenota = "SI";
hoteldruid-3.0.1/modifica_prenota.php:552:esegui_query("update $tableprenota set idclienti = '$id_nuovo_cliente' where idprenota = '$id_prenota'");
hoteldruid-3.0.1/modifica_prenota.php-553-} # fine for $num_idpr
##############################################
hoteldruid-3.0.1/modifica_prenota.php-559-$id_prenota_prec = trova_prenota_prec($anno,$d_id_data_inizio,$PHPR_TAB_PRE,$dati_prenota_modifica[$id_prenota],$n_dati_prenota_modifica,$pcanc);
hoteldruid-3.0.1/modifica_prenota.php:560:if ($id_prenota_prec and $id_prenota_prec != "SI") esegui_query("update ".$PHPR_TAB_PRE."prenota".$pcanc.($anno - 1)." set idclienti = '$id_nuovo_cliente' where idprenota = '$id_prenota_prec'");
hoteldruid-3.0.1/modifica_prenota.php-561-$id_prenota_succ = trova_prenota_succ($anno,$d_id_data_fine,$PHPR_TAB_PRE,$id_prenota,$fineperiodo_orig,$pcanc);
hoteldruid-3.0.1/modifica_prenota.php:562:if ($id_prenota_succ and $id_prenota_succ != "soloanno") esegui_query("update ".$PHPR_TAB_PRE."prenota".$pcanc.($anno + 1)." set idclienti = '$id_nuovo_cliente' where idprenota = '$id_prenota_succ'");
hoteldruid-3.0.1/modifica_prenota.php-563-} # fine for $num_idpr
##############################################
hoteldruid-3.0.1/modifica_prenota.php-605-$id_prenota = $id_prenota_idpr[$num_idpr];
hoteldruid-3.0.1/modifica_prenota.php:606:$pren = esegui_query("select idappartamenti,datainserimento,hostinserimento from $tableprenota where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/modifica_prenota.php-607-$idapp = risul_query($pren,0,'idappartamenti');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-877-
hoteldruid-3.0.1/modifica_prenota.php:878:if ($modifica_pers == "NO" and ($n_inizioperiodo or $n_fineperiodo)) @include(C_DATI_PATH."/selperiodimenu$anno.$id_utente.php");
hoteldruid-3.0.1/modifica_prenota.php-879-$id_periodo_corrente = calcola_id_periodo_corrente($anno);
##############################################
hoteldruid-3.0.1/modifica_prenota.php-884-echo mex("La data iniziale verrà cambiata dal",$pag)." <b>$d_data_inizio_f</b> ".mex("al",$pag)." <b>$n_inizioperiodo_f</b>.<br>";
hoteldruid-3.0.1/modifica_prenota.php:885:$idinizioperiodo = esegui_query("select idperiodi from $tableperiodi where datainizio = '$n_inizioperiodo' ");
hoteldruid-3.0.1/modifica_prenota.php-886-$num_idinizioperiodo = numlin_query($idinizioperiodo);
##############################################
hoteldruid-3.0.1/modifica_prenota.php-890-if (substr($n_inizioperiodo,0,4) != $anno and $inizioperiodo != 100000) {
hoteldruid-3.0.1/modifica_prenota.php:891:$anno_succ_esistente = esegui_query("select idanni from $tableanni where idanni = '".($anno + 1)."'");
hoteldruid-3.0.1/modifica_prenota.php-892-if (numlin_query($anno_succ_esistente) == 1) {
hoteldruid-3.0.1/modifica_prenota.php:893:$data_succ_esistente = esegui_query("select idperiodi from $PHPR_TAB_PRE"."periodi".($anno + 1)." where datainizio <= '$n_inizioperiodo'");
hoteldruid-3.0.1/modifica_prenota.php-894-if (numlin_query($data_succ_esistente) >= 1) $inizioperiodo = 100000;
##############################################
hoteldruid-3.0.1/modifica_prenota.php-903-echo mex("La data finale verrà cambiata dal",$pag)." <b>$d_data_fine_f</b> ".mex("al",$pag)." <b>$n_fineperiodo_f</b>.<br>";
hoteldruid-3.0.1/modifica_prenota.php:904:$idfineperiodo = esegui_query("select idperiodi from $tableperiodi where datafine = '$n_fineperiodo' ");
hoteldruid-3.0.1/modifica_prenota.php-905-$num_idfineperiodo = numlin_query($idfineperiodo);
##############################################
hoteldruid-3.0.1/modifica_prenota.php-909-if (substr($n_fineperiodo,0,4) != $anno and $fineperiodo != -1) {
hoteldruid-3.0.1/modifica_prenota.php:910:$anno_succ_esistente = esegui_query("select idanni from $tableanni where idanni = '".($anno + 1)."'");
hoteldruid-3.0.1/modifica_prenota.php-911-if (numlin_query($anno_succ_esistente) == 1) {
hoteldruid-3.0.1/modifica_prenota.php:912:$data_succ_esistente = esegui_query("select idperiodi from $PHPR_TAB_PRE"."periodi".($anno + 1)." where datafine <= '$n_fineperiodo'");
hoteldruid-3.0.1/modifica_prenota.php-913-if (numlin_query($data_succ_esistente) >= 1) $fineperiodo = -1;
##############################################
hoteldruid-3.0.1/modifica_prenota.php-920-$id_nuovo_utente_inserimento = aggslashdb($id_nuovo_utente_inserimento);
hoteldruid-3.0.1/modifica_prenota.php:921:$verifica_utente = esegui_query("select * from $tableutenti where idutenti = '$id_nuovo_utente_inserimento'");
hoteldruid-3.0.1/modifica_prenota.php-922-if (numlin_query($verifica_utente) == 1) {
##############################################
hoteldruid-3.0.1/modifica_prenota.php-1060-if (!preg_match("/[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:00/",$n_stima_checkin)) $inserire = "NO";
hoteldruid-3.0.1/modifica_prenota.php:1061:$id_stima_checkin = esegui_query("select idperiodi from $tableperiodi where datainizio <= '".substr($n_stima_checkin,0,10)."' and datafine > '".substr($n_stima_checkin,0,10)."' ");
hoteldruid-3.0.1/modifica_prenota.php-1062-if (numlin_query($id_stima_checkin) == 1) {
##############################################
hoteldruid-3.0.1/modifica_prenota.php-1188-if ($appo == $d_appartamento) { $verifica_app2 = "NO"; }
hoteldruid-3.0.1/modifica_prenota.php:1189:$appartamento_esistente = esegui_query("select idappartamenti from $tableappartamenti where idappartamenti = '$appo'");
hoteldruid-3.0.1/modifica_prenota.php-1190-if (numlin_query($appartamento_esistente) != 1) {
##############################################
hoteldruid-3.0.1/modifica_prenota.php-1205-echo mex(" quelli del",'unit.php')." <b>".str_replace("\"","",str_replace(">","",str_replace("<","",$n_num_piano))).mex("°</b> piano",$pag);
hoteldruid-3.0.1/modifica_prenota.php:1206:$query = $query."where numpiano = '".aggslashdb($n_num_piano)."' ";
hoteldruid-3.0.1/modifica_prenota.php-1207-$where_immesso = "SI";
##############################################
hoteldruid-3.0.1/modifica_prenota.php-1215-echo " ".mex("quelli della casa",'unit.php')." <b>".str_replace("\"","",str_replace(">","",str_replace("<","",$n_num_casa)))."</b>";
hoteldruid-3.0.1/modifica_prenota.php:1216:$query = $query."where numcasa = '".aggslashdb($n_num_casa)."' ";
hoteldruid-3.0.1/modifica_prenota.php-1217-} # fine else if ($where_immesso)
##############################################
hoteldruid-3.0.1/modifica_prenota.php-1226-echo " ".mex("quelli con massimo numero di occupanti",'unit.php')." <b>".htmlspecialchars($n_num_persone_casa)."</b>";
hoteldruid-3.0.1/modifica_prenota.php:1227:$query = $query."where maxoccupanti = '".aggslashdb($n_num_persone_casa)."' ";
hoteldruid-3.0.1/modifica_prenota.php-1228-} # fine else if ($where_immesso)
##############################################
hoteldruid-3.0.1/modifica_prenota.php-1495-if (empty($app_richiesti_copia) or $app_richiesti_copia[$idapp] == "SI") {
hoteldruid-3.0.1/modifica_prenota.php:1496:$appartamento_consentito = esegui_query("select idregole,iddatainizio,iddatafine from $tableregole where app_agenzia = '$idapp' and (motivazione2 != 'x' or motivazione2 is NULL) and iddatainizio <= '$fineperiodo' and iddatafine >= '$inizioperiodo' and $condizioni_regole1_consentite order by iddatainizio");
hoteldruid-3.0.1/modifica_prenota.php-1497-unset($iddatainizio_regole_tot);
##############################################
hoteldruid-3.0.1/modifica_prenota.php-1732-$n_prenota_comp_aux = ${"n_prenota_comp".$num1};
hoteldruid-3.0.1/modifica_prenota.php:1733:$prenota_comp_esistente = esegui_query("select idprenota_compagna from $tableprenota where idprenota = '".aggslashdb($n_prenota_comp_aux)."'");
hoteldruid-3.0.1/modifica_prenota.php-1734-if (numlin_query($prenota_comp_esistente) != 1 or controlla_num_pos($n_prenota_comp_aux) != "SI") {
##############################################
hoteldruid-3.0.1/modifica_prenota.php-1781-$id_prenota = $id_prenota_idpr[$num_idpr];
hoteldruid-3.0.1/modifica_prenota.php:1782:$dati_prenota_idpr[$id_prenota] = esegui_query("select * from $tableprenota where idprenota = '$id_prenota'");
hoteldruid-3.0.1/modifica_prenota.php-1783-$num_dati_prenota = numlin_query($dati_prenota_idpr[$id_prenota]);
##############################################
hoteldruid-3.0.1/modifica_prenota.php-1827-$limiti_var['lim_prenota_temp'] = aggslashdb(date("Y-m-d H:i:s",(time() + (C_DIFF_ORE * 3600) - ($minuti_durata_insprenota * 60))));
hoteldruid-3.0.1/modifica_prenota.php:1828:esegui_query("delete from $tableprenota where idclienti = '0' and datainserimento < '".$limiti_var['lim_prenota_temp']."'","",1);
hoteldruid-3.0.1/modifica_prenota.php-1829-
##############################################
hoteldruid-3.0.1/modifica_prenota.php-1836-for ($num1 = 0 ; $num1 < $num_prenota_comp ; $num1++) {
hoteldruid-3.0.1/modifica_prenota.php:1837:$pren = esegui_query("select iddatainizio,iddatafine from $tableprenota where idprenota = '".aggslashdb($prenota_comp_vett[$num1])."'");
hoteldruid-3.0.1/modifica_prenota.php-1838-if (numlin_query($pren) == 1) {
##############################################
hoteldruid-3.0.1/modifica_prenota.php-1897-} # fine if ($applica_regole1 == "n" or ($applica_regole1 == "f" and...
hoteldruid-3.0.1/modifica_prenota.php:1898:$app_agenzia = esegui_query("select * from $tableregole where app_agenzia != ''$condizioni_regole1_non_sel");
hoteldruid-3.0.1/modifica_prenota.php-1899-if ($applica_regole1 != "m" and $applica_regole1 != "f") $num_app_agenzia = numlin_query($app_agenzia);
##############################################
hoteldruid-3.0.1/modifica_prenota.php-2037-$motivazione_app_agenzia = risul_query($app_agenzia,$num1,'motivazione');
hoteldruid-3.0.1/modifica_prenota.php:2038:$idprenota_cambiate_da_ag = esegui_query("select idprenota from $tableprenota where idappartamenti = '$id_app_agenzia' and iddatainizio <= '$idfine_app_agenzia' and iddatafine >= '$idinizio_app_agenzia'");
hoteldruid-3.0.1/modifica_prenota.php-2039-$num_idprenota_cambiate_da_ag = numlin_query($idprenota_cambiate_da_ag);
##############################################
hoteldruid-3.0.1/modifica_prenota.php-2043-$idapp_camb = $app_prenota_id[$idprenota_cambiata];
hoteldruid-3.0.1/modifica_prenota.php:2044:$dati_cambiati = esegui_query("select * from $tableprenota where idprenota = '$idprenota_cambiata'");
hoteldruid-3.0.1/modifica_prenota.php-2045-$idclienti_camb = risul_query($dati_cambiati,0,'idclienti');
hoteldruid-3.0.1/modifica_prenota.php:2046:$cliente_camb = esegui_query("select cognome from $tableclienti where idclienti = '$idclienti_camb'");
hoteldruid-3.0.1/modifica_prenota.php-2047-if ($idclienti_camb) $cliente_camb = risul_query($cliente_camb,0,'cognome');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-2049-$iddatainizio_camb = $inizio_prenota_id[$idprenota_cambiata];
hoteldruid-3.0.1/modifica_prenota.php:2050:$datainizio_camb = esegui_query("select datainizio from $tableperiodi where idperiodi = '$iddatainizio_camb'");
hoteldruid-3.0.1/modifica_prenota.php-2051-$datainizio_camb = risul_query($datainizio_camb,0,'datainizio');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-2053-$iddatafine_camb = $fine_prenota_id[$idprenota_cambiata];
hoteldruid-3.0.1/modifica_prenota.php:2054:$datafine_camb = esegui_query("select datafine from $tableperiodi where idperiodi = '$iddatafine_camb'");
hoteldruid-3.0.1/modifica_prenota.php-2055-$datafine_camb = risul_query($datafine_camb,0,'datafine');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-2063-if ($app_orig_prenota_id[$idprenota_cambiata] and $app_prenota_id[$idprenota_cambiata] != $app_orig_prenota_id[$idprenota_cambiata]) {
hoteldruid-3.0.1/modifica_prenota.php:2064:$dati_cambiati = esegui_query("select * from $tableprenota where idprenota = $idprenota_cambiata");
hoteldruid-3.0.1/modifica_prenota.php-2065-$idapp_camb = $app_orig_prenota_id[$idprenota_cambiata];
hoteldruid-3.0.1/modifica_prenota.php-2066-$idclienti_camb = risul_query($dati_cambiati,0,'idclienti');
hoteldruid-3.0.1/modifica_prenota.php:2067:$cliente_camb = esegui_query("select cognome from $tableclienti where idclienti = $idclienti_camb");
hoteldruid-3.0.1/modifica_prenota.php-2068-if ($idclienti_camb) $cliente_camb = risul_query($cliente_camb,0,'cognome');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-2070-$iddatainizio_camb = $inizio_prenota_id[$idprenota_cambiata];
hoteldruid-3.0.1/modifica_prenota.php:2071:$datainizio_camb = esegui_query("select datainizio from $tableperiodi where idperiodi = $iddatainizio_camb");
hoteldruid-3.0.1/modifica_prenota.php-2072-$datainizio_camb = risul_query($datainizio_camb,0,'datainizio');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-2074-$iddatafine_camb = $fine_prenota_id[$idprenota_cambiata];
hoteldruid-3.0.1/modifica_prenota.php:2075:$datafine_camb = esegui_query("select datafine from $tableperiodi where idperiodi = $iddatafine_camb");
hoteldruid-3.0.1/modifica_prenota.php-2076-$datafine_camb = risul_query($datafine_camb,0,'datafine');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-2251-unset($n_costo_tot_idpr);
hoteldruid-3.0.1/modifica_prenota.php:2252:$arrotond_predef = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'arrotond_predef' and idutente = '$id_utente'");
hoteldruid-3.0.1/modifica_prenota.php-2253-$arrotond_predef = risul_query($arrotond_predef,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-2400-if ($n_nometipotariffa_orig or $num1 < $d_id_data_inizio or $num1 > $d_id_data_fine) {
hoteldruid-3.0.1/modifica_prenota.php:2401:$rigasettimana = esegui_query("select * from $tableperiodi where idperiodi = '$num1' ");
hoteldruid-3.0.1/modifica_prenota.php-2402-$costo_tariffa_settimana = risul_query($rigasettimana,0,$tipotariffa);
##############################################
hoteldruid-3.0.1/modifica_prenota.php-2807-if ($periodo_costo_trovato == "SI") {
hoteldruid-3.0.1/modifica_prenota.php:2808:$date_sett_costo = esegui_query("select datainizio,datafine from $tableperiodi where idperiodi = '$num1'");
hoteldruid-3.0.1/modifica_prenota.php-2809-echo "<label><input type=\"checkbox\" name=\"sett$num1"."costo$numca"."_$id_prenota\" value=\"SI\">".mex("dal",$pag)."
##############################################
hoteldruid-3.0.1/modifica_prenota.php-3492-if (substr($diff_pagato_p,0,1) != "-") $diff_pagato_p = "+".$diff_pagato_p;
hoteldruid-3.0.1/modifica_prenota.php:3493:$metodi_pagamento = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'metodi_pagamento' and idutente = '$id_utente'");
hoteldruid-3.0.1/modifica_prenota.php-3494-$metodi_pagamento = risul_query($metodi_pagamento,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-3553-if ($n_pagato == $n_costo_tot and $num_id_prenota == 1) {
hoteldruid-3.0.1/modifica_prenota.php:3554:$altre_prenota_cliente = esegui_query("select tariffa_tot,pagato from $tableprenota where idclienti = '".$d_id_clienti_idpr[$id_prenota]."' and iddatafine >= '".($d_id_data_inizio - 1)."' and iddatainizio <= '".($d_id_data_fine + 1)."' and idprenota != '$id_prenota' ");
hoteldruid-3.0.1/modifica_prenota.php-3555-$num_altre_prenota = numlin_query($altre_prenota_cliente);
##############################################
hoteldruid-3.0.1/modifica_prenota.php-3639-$id_prenota = $id_prenota_idpr[$num_idpr];
hoteldruid-3.0.1/modifica_prenota.php:3640:esegui_query("delete from $tabletransazioni where anno = '$anno' and dati_transazione1 $ILIKE '%,$id_prenota,%' and tipo_transazione = 'mod_p' ");
hoteldruid-3.0.1/modifica_prenota.php-3641-} # fine for $num_idpr
##############################################
hoteldruid-3.0.1/modifica_prenota.php-3774-else $testo = "checkin";
hoteldruid-3.0.1/modifica_prenota.php:3775:$autosalv = esegui_query("select numero from $tablecontratti where tipo = 'autosalv' and testo = '$testo' ");
hoteldruid-3.0.1/modifica_prenota.php-3776-$num_autosalv = numlin_query($autosalv);
##############################################
hoteldruid-3.0.1/modifica_prenota.php-3788-else $per_la_prenotazione = "";
hoteldruid-3.0.1/modifica_prenota.php:3789:$dati_prenota = esegui_query("select $campi_prenota from $tableprenota where idprenota = '$id_prenota'");
hoteldruid-3.0.1/modifica_prenota.php-3790-if (numlin_query($dati_prenota)) {
##############################################
hoteldruid-3.0.1/modifica_prenota.php-3800-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/modifica_prenota.php:3801:if ($id_prenota_prec) $dati_checkin = esegui_query("select checkin,checkout,idappartamenti,commento from ".$PHPR_TAB_PRE."prenota".($anno - 1)." where idprenota = '$id_prenota_prec'");
hoteldruid-3.0.1/modifica_prenota.php:3802:else $dati_checkin = esegui_query("select checkin,checkout,idappartamenti,commento from $tableprenota where idprenota = '$id_prenota'");
hoteldruid-3.0.1/modifica_prenota.php-3803-$d_checkin = risul_query($dati_checkin,0,'checkin');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-3807-$d_appartamento = risul_query($dati_checkin,0,'idappartamenti');
hoteldruid-3.0.1/modifica_prenota.php:3808:$prenota_ancora_dentro = esegui_query("select idprenota from $tableprenota where idappartamenti = '$d_appartamento' and checkin is not NULL and checkout is NULL and idprenota != '$id_prenota'");
hoteldruid-3.0.1/modifica_prenota.php-3809-if (numlin_query($prenota_ancora_dentro) != 0) {
##############################################
hoteldruid-3.0.1/modifica_prenota.php-3814-if (!$d_checkin) {
hoteldruid-3.0.1/modifica_prenota.php:3815:esegui_query("update $tableprenota set checkin = '$adesso', checkout = NULL where idprenota = '$id_prenota'");
hoteldruid-3.0.1/modifica_prenota.php:3816:if ($id_prenota_succ) esegui_query("update ".$PHPR_TAB_PRE."prenota".($anno + 1)." set checkin = '$adesso', checkout = NULL where idprenota = '$id_prenota_succ'");
hoteldruid-3.0.1/modifica_prenota.php:3817:elseif ($id_prenota_prec) esegui_query("update ".$PHPR_TAB_PRE."prenota".($anno - 1)." set checkin = '$adesso', checkout = NULL where idprenota = '$id_prenota_prec'");
hoteldruid-3.0.1/modifica_prenota.php-3818-$commento = risul_query($dati_checkin,0,'commento');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-3822-echo "<br><big><b class=\"colblu\">".mex("Promemoria",$pag)."</b>$per_la_prenotazione: ".$commento[1]."</big><br><br>";
hoteldruid-3.0.1/modifica_prenota.php:3823:if ($id_prenota_prec) esegui_query("update ".$PHPR_TAB_PRE."prenota".($anno - 1)." set commento = '".aggslashdb($commento[0].">>".$commento[2])."' where idprenota = '$id_prenota_prec' ");
hoteldruid-3.0.1/modifica_prenota.php:3824:else esegui_query("update $tableprenota set commento = '".aggslashdb($commento[0].">>".$commento[2])."' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/modifica_prenota.php-3825-} # fine if (strcmp($commento[1],""))
##############################################
hoteldruid-3.0.1/modifica_prenota.php-3834-if ($canc_checkin and $d_checkin and !$d_checkout) {
hoteldruid-3.0.1/modifica_prenota.php:3835:esegui_query("update $tableprenota set checkin = NULL where idprenota = '$id_prenota'");
hoteldruid-3.0.1/modifica_prenota.php:3836:if ($id_prenota_succ) esegui_query("update ".$PHPR_TAB_PRE."prenota".($anno + 1)." set checkin = NULL where idprenota = '$id_prenota_succ'");
hoteldruid-3.0.1/modifica_prenota.php:3837:elseif ($id_prenota_prec) esegui_query("update ".$PHPR_TAB_PRE."prenota".($anno - 1)." set checkin = NULL where idprenota = '$id_prenota_prec'");
hoteldruid-3.0.1/modifica_prenota.php-3838-} # fine if ($canc_checkin and $d_checkin and !$d_checkout)
##############################################
hoteldruid-3.0.1/modifica_prenota.php-3841-if ($d_checkin and !$d_checkout) {
hoteldruid-3.0.1/modifica_prenota.php:3842:esegui_query("update $tableprenota set checkout = '$adesso' where idprenota = '$id_prenota'");
hoteldruid-3.0.1/modifica_prenota.php:3843:if ($id_prenota_succ) esegui_query("update ".$PHPR_TAB_PRE."prenota".($anno + 1)." set checkout = '$adesso' where idprenota = '$id_prenota_succ'");
hoteldruid-3.0.1/modifica_prenota.php:3844:elseif ($id_prenota_prec) esegui_query("update ".$PHPR_TAB_PRE."prenota".($anno - 1)." set checkout = '$adesso' where idprenota = '$id_prenota_prec'");
hoteldruid-3.0.1/modifica_prenota.php-3845-$commento = risul_query($dati_checkin,0,'commento');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-3848-if (strcmp($commento[2],"")) echo "<br><big><b class=\"colblu\">".mex("Promemoria",$pag)."</b>$per_la_prenotazione: ".$commento[2]."</big><br><br>";
hoteldruid-3.0.1/modifica_prenota.php:3849:if ($id_prenota_prec) esegui_query("update ".$PHPR_TAB_PRE."prenota".($anno - 1)." set commento = '".aggslashdb($commento[0])."' where idprenota = '$id_prenota_prec' ");
hoteldruid-3.0.1/modifica_prenota.php:3850:else esegui_query("update $tableprenota set commento = '".aggslashdb($commento[0])."' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/modifica_prenota.php-3851-} # fine if (strstr($commento,">"))
##############################################
hoteldruid-3.0.1/modifica_prenota.php-3857-if ($canc_checkout and $d_checkout and $d_checkin) {
hoteldruid-3.0.1/modifica_prenota.php:3858:esegui_query("update $tableprenota set checkout = NULL where idprenota = '$id_prenota'");
hoteldruid-3.0.1/modifica_prenota.php:3859:if ($id_prenota_succ) esegui_query("update ".$PHPR_TAB_PRE."prenota".($anno + 1)." set checkout = NULL where idprenota = '$id_prenota_succ'");
hoteldruid-3.0.1/modifica_prenota.php:3860:elseif ($id_prenota_prec) esegui_query("update ".$PHPR_TAB_PRE."prenota".($anno - 1)." set checkout = NULL where idprenota = '$id_prenota_prec'");
hoteldruid-3.0.1/modifica_prenota.php-3861-} # fine if ($canc_checkout and $d_checkout and $d_checkin)
##############################################
hoteldruid-3.0.1/modifica_prenota.php-3869-$id_clienti = risul_query($dati_prenota,0,'idclienti');
hoteldruid-3.0.1/modifica_prenota.php:3870:$dati_cliente = esegui_query("select * from $tableclienti where idclienti = $id_clienti ");
hoteldruid-3.0.1/modifica_prenota.php-3871-if ($vedi_clienti == "PROPRI" or $vedi_clienti == "GRUPPI") {
##############################################
hoteldruid-3.0.1/modifica_prenota.php-3918-$id_data_fine = risul_query($dati_prenota,0,'iddatafine');
hoteldruid-3.0.1/modifica_prenota.php:3919:$data_fine_aux = esegui_query("select * from $tableperiodi where idperiodi = '$id_data_fine'");
hoteldruid-3.0.1/modifica_prenota.php-3920-${"data_fine_".$num_ripeti} = risul_query($data_fine_aux,0,'datafine');
hoteldruid-3.0.1/modifica_prenota.php-3921-if ($id_data_inizio) {
hoteldruid-3.0.1/modifica_prenota.php:3922:$data_inizio_aux = esegui_query("select * from $tableperiodi where idperiodi = '$id_data_inizio'");
hoteldruid-3.0.1/modifica_prenota.php-3923-${"data_inizio_".$num_ripeti} = risul_query($data_inizio_aux,0,'datainizio');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-4014-$id_anno_prec = explode(",",$id_anni_prec_vett[$num2]);
hoteldruid-3.0.1/modifica_prenota.php:4015:$anno_prec_esistente = esegui_query("select idanni from $tableanni where idanni = '".aggslashdb($id_anno_prec[0])."'");
hoteldruid-3.0.1/modifica_prenota.php-4016-if (numlin_query($anno_prec_esistente)) {
##############################################
hoteldruid-3.0.1/modifica_prenota.php-4053-$numero_contratto = risul_query($autosalv,$num1,'numero');
hoteldruid-3.0.1/modifica_prenota.php:4054:$contr_salva = esegui_query("select * from $tablecontratti where tipo = 'dir' and numero = '$numero_contratto' ");
hoteldruid-3.0.1/modifica_prenota.php-4055-if (numlin_query($contr_salva)) $dir_salva = formatta_dir_salva_doc(risul_query($contr_salva,0,'testo'));
##############################################
hoteldruid-3.0.1/modifica_prenota.php-4059-$nome_contratto = $nomi_contratti['salv'][$numero_contratto];
hoteldruid-3.0.1/modifica_prenota.php:4060:$dati_contratto = esegui_query("select * from $tablecontratti where numero = '$numero_contratto' and tipo $LIKE 'contr%'");
hoteldruid-3.0.1/modifica_prenota.php-4061-$tipo_contratto = risul_query($dati_contratto,0,'tipo');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-4084-for ($num1 = 0 ; $num1 < 4 ; $num1++) $cod_prenota .= substr($valori,rand(0,22),1);
hoteldruid-3.0.1/modifica_prenota.php:4085:esegui_query("update $tableprenota set codice = '$cod_prenota' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/modifica_prenota.php-4086-} # fine for $num_idpr
##############################################
hoteldruid-3.0.1/modifica_prenota.php-4122-$id_prenota = $id_prenota_idpr[0];
hoteldruid-3.0.1/modifica_prenota.php:4123:$dati_prenota_modifica = esegui_query("select * from $tableprenota where idprenota = '$id_prenota' and idclienti != '0'");
hoteldruid-3.0.1/modifica_prenota.php-4124-$id_clienti = risul_query($dati_prenota_modifica,0,'idclienti');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-4130-if (!$id_prenota_prec) {
hoteldruid-3.0.1/modifica_prenota.php:4131:$d_data_inizio = esegui_query("select * from $tableperiodi where idperiodi = '$d_id_data_inizio'");
hoteldruid-3.0.1/modifica_prenota.php-4132-$d_data_inizio = risul_query($d_data_inizio,0,'datainizio');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-4139-$d_id_data_inizio = risul_query($dati_prenota_modifica,0,'iddatainizio');
hoteldruid-3.0.1/modifica_prenota.php:4140:$d_data_inizio = esegui_query("select * from $tableperiodi where idperiodi = '$d_id_data_inizio'");
hoteldruid-3.0.1/modifica_prenota.php-4141-$d_data_inizio = risul_query($d_data_inizio,0,'datainizio');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-4166-$d_id_data_fine = risul_query($dati_prenota_modifica,0,'iddatafine');
hoteldruid-3.0.1/modifica_prenota.php:4167:$d_data_fine = esegui_query("select * from $tableperiodi where idperiodi = '$d_id_data_fine'");
hoteldruid-3.0.1/modifica_prenota.php-4168-$d_data_fine = risul_query($d_data_fine,0,'datafine');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-4263-$id_anno_prec = explode(",",$id_ap[$num1]);
hoteldruid-3.0.1/modifica_prenota.php:4264:$anno_prec_esistente = esegui_query("select idanni from $tableanni where idanni = '".aggslashdb($id_anno_prec[0])."'");
hoteldruid-3.0.1/modifica_prenota.php-4265-if (numlin_query($anno_prec_esistente)) $id_anni_prec_vett[$id_anno_prec[0]] = $id_anno_prec[1];
##############################################
hoteldruid-3.0.1/modifica_prenota.php-4276-$id_prenota = $id_prenota_idpr[$num_idpr];
hoteldruid-3.0.1/modifica_prenota.php:4277:$dati_prenota_modifica = esegui_query("select * from $tableprenota where idprenota = '$id_prenota' and idclienti != '0'");
hoteldruid-3.0.1/modifica_prenota.php-4278-if ($id_clienti != risul_query($dati_prenota_modifica,0,'idclienti')) $id_clienti = "~~~~";
##############################################
hoteldruid-3.0.1/modifica_prenota.php-4410-if ($num_id_prenota == 1) {
hoteldruid-3.0.1/modifica_prenota.php:4411:$altre_prenota_cliente = esegui_query("select idprenota from $tableprenota where idclienti = '$id_clienti' and iddatafine >= '".($d_id_data_inizio - 1)."' and iddatainizio <= '".($d_id_data_fine + 1)."' and idprenota != '$id_prenota' order by iddatainizio, idprenota ");
hoteldruid-3.0.1/modifica_prenota.php-4412-$num_altre_prenota = numlin_query($altre_prenota_cliente);
##############################################
hoteldruid-3.0.1/modifica_prenota.php-4456-else {
hoteldruid-3.0.1/modifica_prenota.php:4457:if ($id_clienti != "~~~~") $dati_cliente = esegui_query("select * from $tableclienti where idclienti = '$id_clienti' ");
hoteldruid-3.0.1/modifica_prenota.php-4458-$mostra_cliente = "SI";
##############################################
hoteldruid-3.0.1/modifica_prenota.php-4469-mostra_dati_cliente($dati_cliente,$dcognome,$dnome,$dsoprannome,$dtitolo_cli,$dsesso,$ddatanascita,$ddatanascita_f,$dnazionenascita,$dcittanascita,$dregionenascita,$ddocumento,$dscadenzadoc,$dscadenzadoc_f,$dtipodoc,$dnazionedoc,$dregionedoc,$dcittadoc,$dnazionalita,$dlingua_cli,$dnazione,$dregione,$dcitta,$dvia,$dnumcivico,$dtelefono,$dtelefono2,$dtelefono3,$dfax,$dcap,$demail,$demail2,$demail_cert,$dcod_fiscale,$dpartita_iva,"",$priv_ins_clienti);
hoteldruid-3.0.1/modifica_prenota.php:4470:$dati_relcliente = esegui_query("select * from $tablerelclienti where idclienti = '$id_clienti' and tipo = 'campo_pers' ");
hoteldruid-3.0.1/modifica_prenota.php-4471-$num_dati_relcliente = numlin_query($dati_relcliente);
##############################################
hoteldruid-3.0.1/modifica_prenota.php-4511-if ($num_id_prenota > 1) $dati_osp .= "".mex("Prenotazione",$pag)." $id_prenota:<br>";
hoteldruid-3.0.1/modifica_prenota.php:4512:$ospiti = esegui_query("select * from $tablerclientiprenota where idprenota = '$id_prenota' order by num_ordine ");
hoteldruid-3.0.1/modifica_prenota.php-4513-$num_ospiti = numlin_query($ospiti);
##############################################
hoteldruid-3.0.1/modifica_prenota.php-4517-if ($id_clienti_osp == $id_clienti) $dati_ospite = $dati_cliente;
hoteldruid-3.0.1/modifica_prenota.php:4518:else $dati_ospite = esegui_query("select cognome,nome,sesso,datanascita,utente_inserimento from $tableclienti where idclienti = '$id_clienti_osp' ");
hoteldruid-3.0.1/modifica_prenota.php-4519-$utente_ospite = risul_query($dati_ospite,0,'utente_inserimento');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-4749-else $condizione_beni_propri = "";
hoteldruid-3.0.1/modifica_prenota.php:4750:$inv_mancante = esegui_query("select distinct $tablerelinventario.quantita from $tablerelinventario inner join $tablebeniinventario on $tablerelinventario.idbeneinventario = $tablebeniinventario.idbeniinventario where $tablerelinventario.idappartamento = '".aggslashdb($d_appartamento)."' and $tablerelinventario.quantita < $tablerelinventario.quantita_min_predef $condizione_beni_propri ");
hoteldruid-3.0.1/modifica_prenota.php-4751-if (numlin_query($inv_mancante)) {
##############################################
hoteldruid-3.0.1/modifica_prenota.php-4823-if ($regole1_consentite[$num1] == " ") $appartamenti_agenzia = esegui_query("select app_agenzia from $tableregole where (motivazione = '' or motivazione is null) and app_agenzia is not null and (motivazione2 != 'x' or motivazione2 is NULL) ");
hoteldruid-3.0.1/modifica_prenota.php:4824:else $appartamenti_agenzia = esegui_query("select app_agenzia from $tableregole where motivazione = '".$regole1_consentite[$num1]."' and app_agenzia is not null and (motivazione2 != 'x' or motivazione2 is NULL) ");
hoteldruid-3.0.1/modifica_prenota.php-4825-for ($num2 = 0 ; $num2 < numlin_query($appartamenti_agenzia) ; $num2++) {
##############################################
hoteldruid-3.0.1/modifica_prenota.php-4884-<input type=\"text\" class=\"smallsel85\" id=\"list_ap\" name=\"n_lista_app\" value=\"$n_lista_app\"$onclick size=\"15\"> ";
hoteldruid-3.0.1/modifica_prenota.php:4885:$comb_app = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'comb_app' and idutente = '$id_utente'");
hoteldruid-3.0.1/modifica_prenota.php-4886-if (numlin_query($comb_app) == 1) {
##############################################
hoteldruid-3.0.1/modifica_prenota.php-5067-
hoteldruid-3.0.1/modifica_prenota.php:5068:$origini_prenota = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'origini_prenota' and idutente = '$id_utente'");
hoteldruid-3.0.1/modifica_prenota.php-5069-$origini_prenota = risul_query($origini_prenota,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-5308-if ($mostra_met_paga_caparra == "SI") {
hoteldruid-3.0.1/modifica_prenota.php:5309:$metodi_pagamento = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'metodi_pagamento' and idutente = '$id_utente'");
hoteldruid-3.0.1/modifica_prenota.php-5310-$metodi_pagamento = risul_query($metodi_pagamento,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-5508-if ($periodo_costo_trovato == "SI") {
hoteldruid-3.0.1/modifica_prenota.php:5509:$date_sett_costo = esegui_query("select datainizio,datafine from $tableperiodi where idperiodi = '$num1'");
hoteldruid-3.0.1/modifica_prenota.php-5510-if ($num_colonna == 1) echo "<tr>";
##############################################
hoteldruid-3.0.1/modifica_prenota.php-5673-if (!$nomi_utenti[$utente_paga[$num1]]) {
hoteldruid-3.0.1/modifica_prenota.php:5674:$n_ut_paga = esegui_query("select nome_utente from $tableutenti where idutenti = '".$utente_paga[$num1]."'");
hoteldruid-3.0.1/modifica_prenota.php-5675-$nomi_utenti[$utente_paga[$num1]] = risul_query($n_ut_paga,0,'nome_utente');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-6180-unset($nome_contratto);
hoteldruid-3.0.1/modifica_prenota.php:6181:$nomi_contratti = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'nomi_contratti' and idutente = '$id_utente'");
hoteldruid-3.0.1/modifica_prenota.php-6182-$nomi_contratti = risul_query($nomi_contratti,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/modifica_prenota.php-6233-
hoteldruid-3.0.1/modifica_prenota.php:6234:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/modifica_prenota.php-6235-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/prenota.php-28-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/prenota.php:29:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/prenota.php-30-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/prenota.php-55-$tablerelgruppi = $PHPR_TAB_PRE."relgruppi";
hoteldruid-3.0.1/prenota.php:56:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/prenota.php-57-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/prenota.php-59-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/prenota.php:60:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/prenota.php-61-$priv_mod_pers = risul_query($privilegi_globali_utente,0,'priv_mod_pers');
##############################################
hoteldruid-3.0.1/prenota.php-110-if ($prendi_gruppi == "SI") {
hoteldruid-3.0.1/prenota.php:111:$gruppi_utente = esegui_query("select idgruppo from $tablerelgruppi where idutente = '$id_utente' and idgruppo is not NULL ");
hoteldruid-3.0.1/prenota.php-112-$num_gruppi_utente = numlin_query($gruppi_utente);
##############################################
hoteldruid-3.0.1/prenota.php-114-$idgruppo = risul_query($gruppi_utente,$num1,'idgruppo');
hoteldruid-3.0.1/prenota.php:115:$utenti_gruppo = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$idgruppo' ");
hoteldruid-3.0.1/prenota.php-116-$num_utenti_gruppo = numlin_query($utenti_gruppo);
##############################################
hoteldruid-3.0.1/prenota.php-154-$titolo = "HotelDruid: ".mex("Prenota",$pag);
hoteldruid-3.0.1/prenota.php:155:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/prenota.php-156-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/prenota.php-219-for ($num1 = 1 ; $num1 <= count($prenota_temp2) ; $num1++) {
hoteldruid-3.0.1/prenota.php:220:esegui_query("delete from $tableprenota where idprenota = '".aggslashdb($prenota_temp2[($num1 - 1)])."'","",1);
hoteldruid-3.0.1/prenota.php-221-} # fine for $num1
##############################################
hoteldruid-3.0.1/prenota.php-223-} # fine if ($prenota_temp)
hoteldruid-3.0.1/prenota.php:224:esegui_query("delete from $tabletransazioni where idtransazioni = '$id_transazione' ");
hoteldruid-3.0.1/prenota.php-225-} # fine if ($tipo_transazione == "ins_p")
##############################################
hoteldruid-3.0.1/prenota.php-303-if ($id_utente == 1 and $id_utente_ins != 1) {
hoteldruid-3.0.1/prenota.php:304:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente_ins' and anno = '1'");
hoteldruid-3.0.1/prenota.php-305-$prefisso_clienti = risul_query($privilegi_globali_utente,0,'prefisso_clienti');
##############################################
hoteldruid-3.0.1/prenota.php-313-$campi_pers_vett = array();
hoteldruid-3.0.1/prenota.php:314:$campi_pers = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'campi_pers_cliente' and idutente = '$id_utente'");
hoteldruid-3.0.1/prenota.php-315-if (numlin_query($campi_pers) == 1) {
##############################################
hoteldruid-3.0.1/prenota.php-355-$lim_prenota_temp = aggslashdb(date("Y-m-d H:i:s",(time() + (C_DIFF_ORE * 3600) - ($minuti_durata_insprenota * 60))));
hoteldruid-3.0.1/prenota.php:356:esegui_query("delete from $tableprenota where idclienti = '0' and datainserimento < '$lim_prenota_temp'","",1);
hoteldruid-3.0.1/prenota.php-357-unlock_tabelle($tabelle_lock);
##############################################
hoteldruid-3.0.1/prenota.php-438-if (@is_file($file_interconnessioni)) {
hoteldruid-3.0.1/prenota.php:439:include($file_interconnessioni);
hoteldruid-3.0.1/prenota.php-440-if (@is_array($ic_present)) {
##############################################
hoteldruid-3.0.1/prenota.php-444-if ($mod_ext != "." and $mod_ext != ".." and @is_dir("./includes/interconnect/$mod_ext")) {
hoteldruid-3.0.1/prenota.php:445:include("./includes/interconnect/$mod_ext/name.php");
hoteldruid-3.0.1/prenota.php-446-if ($ic_present[$interconnection_name] == "SI") {
hoteldruid-3.0.1/prenota.php:447:include("./includes/interconnect/$mod_ext/functions_import.php");
hoteldruid-3.0.1/prenota.php-448-$funz_import_reservations = "import_reservations_".$interconnection_func_name;
##############################################
hoteldruid-3.0.1/prenota.php-543-for ($num2 = 1 ; $num2 <= $num_ospiti[$n_t][$num1] ; $num2++) {
hoteldruid-3.0.1/prenota.php:544:esegui_query("update $tableclienti set idclienti_compagni = '".str_replace(",".$idospiti[$n_t][$num1][$num2].",",",",$idclienti_compagni[$n_t][$num1])."' where idclienti = '".$idospiti[$n_t][$num1][$num2]."' ");
hoteldruid-3.0.1/prenota.php-545-} # fine for $num2
##############################################
hoteldruid-3.0.1/prenota.php-548-unlock_tabelle($tabelle_lock);
hoteldruid-3.0.1/prenota.php:549:if ($idospiti) esegui_query("update $tabletransazioni set dati_transazione15 = '".aggslashdb(serialize($idospiti))."', dati_transazione16 = '".aggslashdb(serialize($num_ordine))."', dati_transazione17 = '".aggslashdb(serialize($parentela))."' where idtransazioni = '$id_transazione' and idsessione = '$id_sessione'");
hoteldruid-3.0.1/prenota.php-550-} # fine if ($inserito_nuovo_cliente == "SI")
##############################################
hoteldruid-3.0.1/prenota.php-577-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/prenota.php:578:esegui_query("update $tableclienti set max_num_ordine = '1' where idclienti = '$idclienti'  ");
hoteldruid-3.0.1/prenota.php-579-$condizione_utente = "";
##############################################
hoteldruid-3.0.1/prenota.php-600-if ($num_ordine[$n_t][$num2][$num_osp] < risul_query($clienti_compagni,$num1,'max_num_ordine')) {
hoteldruid-3.0.1/prenota.php:601:esegui_query("update $tableclienti set max_num_ordine = '".aggslashdb($num_ordine[$n_t][$num2][$num_osp])."' where idclienti = '$id_clienti_comp' ");
hoteldruid-3.0.1/prenota.php-602-} # fine if ($num_ordine[$n_t][$num2][$num_osp] < risul_query($clienti_compagni,$num1,'max_num_ordine'))
##############################################
hoteldruid-3.0.1/prenota.php-609-unlock_tabelle($tabelle_lock);
hoteldruid-3.0.1/prenota.php:610:if ($idospiti) esegui_query("update $tabletransazioni set dati_transazione15 = '".aggslashdb(serialize($idospiti))."', dati_transazione16 = '".aggslashdb(serialize($num_ordine))."' where idtransazioni = '$id_transazione' and idsessione = '$id_sessione'");
hoteldruid-3.0.1/prenota.php-611-} # fine if (str_replace(htmlentities($fr_idclienti)." ","",$idclienti) != $idclienti or...
##############################################
hoteldruid-3.0.1/prenota.php-735-<input type=\"hidden\" name=\"id_sessione\" value=\"$id_sessione\">";
hoteldruid-3.0.1/prenota.php:736:esegui_query("update $tabletransazioni set dati_transazione20 = '$n_tronchi, ,$vet_appartamenti_u, ,$vett_idinizio_u, ,$vett_idfine_u' where idtransazioni = '$id_transazione' and idsessione = '$id_sessione'");
hoteldruid-3.0.1/prenota.php-737-$manda_dati_assegnazione = "NO";
##############################################
hoteldruid-3.0.1/prenota.php-818-<input type=\"hidden\" name=\"id_sessione\" value=\"$id_sessione\">";
hoteldruid-3.0.1/prenota.php:819:esegui_query("update $tabletransazioni set dati_transazione20 = '$n_tronchi, ,$vet_appartamenti_u, ,$vett_idinizio_u, ,$vett_idfine_u' where idtransazioni = '$id_transazione' and idsessione = '$id_sessione'");
hoteldruid-3.0.1/prenota.php-820-$manda_dati_assegnazione = "NO";
##############################################
hoteldruid-3.0.1/prenota.php-857-$idclienti = aggslashdb($idclienti);
hoteldruid-3.0.1/prenota.php:858:$dati_cliente = esegui_query("select * from $tableclienti where idclienti = '$idclienti'");
hoteldruid-3.0.1/prenota.php-859-if (numlin_query($dati_cliente) == 0) $continuare = "NO";
##############################################
hoteldruid-3.0.1/prenota.php-912-$idfineperiodo = $fineperiodo;
hoteldruid-3.0.1/prenota.php:913:$data_inizio = esegui_query("select * from  $tableperiodi where idperiodi = '$inizioperiodo'");
hoteldruid-3.0.1/prenota.php-914-$data_inizio = risul_query($data_inizio,0,'datainizio');
hoteldruid-3.0.1/prenota.php-915-$data_inizio_f[$n_t] = formatta_data($data_inizio,$stile_data);
hoteldruid-3.0.1/prenota.php:916:$data_fine = esegui_query("select * from  $tableperiodi where idperiodi = '$fineperiodo'");
hoteldruid-3.0.1/prenota.php-917-$data_fine = risul_query($data_fine,0,'datafine');
##############################################
hoteldruid-3.0.1/prenota.php-924-if ($id_prenota_temp[$n_t][$num1]) {
hoteldruid-3.0.1/prenota.php:925:$prenota_temp_esistente = esegui_query("select idappartamenti from $tableprenota where idprenota = '".$id_prenota_temp[$n_t][$num1]."' and idclienti = '0' and assegnazioneapp = '".aggslashdb(${"assegnazioneapp".$n_t})."' ");
hoteldruid-3.0.1/prenota.php-926-if (numlin_query($prenota_temp_esistente) == 1) {
##############################################
hoteldruid-3.0.1/prenota.php-928-$appartamento = $vet_appartamenti[$n_t][$num1];
hoteldruid-3.0.1/prenota.php:929:esegui_query("delete from $tableprenota where idprenota = '".$id_prenota_temp[$n_t][$num1]."' ","",1);
hoteldruid-3.0.1/prenota.php-930-} # fine if (numlin_query($prenota_temp_esistente) == 1)
##############################################
hoteldruid-3.0.1/prenota.php-932-
hoteldruid-3.0.1/prenota.php:933:$prenota_gia_esistente = esegui_query("select * from $tableprenota where idappartamenti = '$appartamento' and iddatainizio <= $fineperiodo and iddatafine >= $inizioperiodo");
hoteldruid-3.0.1/prenota.php-934-$prenota_gia_esistente = numlin_query($prenota_gia_esistente);
##############################################
hoteldruid-3.0.1/prenota.php-982-
hoteldruid-3.0.1/prenota.php:983:$appartamento_esistente = esegui_query("select idappartamenti,maxoccupanti from $tableappartamenti where idappartamenti = '$appartamento'");
hoteldruid-3.0.1/prenota.php-984-if (numlin_query($appartamento_esistente) != 1) {
##############################################
hoteldruid-3.0.1/prenota.php-993-
hoteldruid-3.0.1/prenota.php:994:$appartamento_chiuso = esegui_query("select idregole from $tableregole where iddatainizio <= '$fineperiodo' and iddatafine >= '$inizioperiodo' and app_agenzia = '$appartamento' and motivazione2 = 'x' ");
hoteldruid-3.0.1/prenota.php-995-if (numlin_query($appartamento_chiuso)) $continuare = "NO";
##############################################
hoteldruid-3.0.1/prenota.php-1004-$appartamento_lista = $appartameti_in_lista[$n_lista];
hoteldruid-3.0.1/prenota.php:1005:$motivazioni_regola1 = esegui_query("select motivazione,iddatainizio,iddatafine from $tableregole where iddatainizio <= '$fineperiodo' and iddatafine >= '$inizioperiodo' and app_agenzia = '$appartamento_lista' and (motivazione2 != 'x' or motivazione2 is NULL) order by iddatainizio");
hoteldruid-3.0.1/prenota.php-1006-if (numlin_query($motivazioni_regola1) == 0) $continuare = "NO";
##############################################
hoteldruid-3.0.1/prenota.php-1031-for ($num2 = $inizioperiodo; $num2 <= $fineperiodo; $num2++) {
hoteldruid-3.0.1/prenota.php:1032:$rigasettimana = esegui_query("select * from $tableperiodi where idperiodi = '$num2' ");
hoteldruid-3.0.1/prenota.php-1033-$nometipotariffa_aux = ${"nometipotariffa".$n_t};
##############################################
hoteldruid-3.0.1/prenota.php-1179-if ($idmessaggi) {
hoteldruid-3.0.1/prenota.php:1180:if ($n_t == 1) $dati_mess = esegui_query("select dati_messaggio15,datainserimento from $tablemessaggi where tipo_messaggio = 'rprenota' and idutenti $LIKE '%,$id_utente,%' and idmessaggi = '".aggslashdb($idmessaggi)."' and dati_messaggio1 = 'da_inserire' ");
hoteldruid-3.0.1/prenota.php-1181-if (numlin_query($dati_mess) == 1) {
##############################################
hoteldruid-3.0.1/prenota.php-1293-if ($idmessaggi) {
hoteldruid-3.0.1/prenota.php:1294:$mess_esistente = esegui_query("select dati_messaggio2 from $tablemessaggi where tipo_messaggio = 'rprenota' and idutenti $LIKE '%,$id_utente,%' and idmessaggi = '".aggslashdb($idmessaggi)."' and dati_messaggio1 = 'da_inserire' ");
hoteldruid-3.0.1/prenota.php-1295-if (numlin_query($mess_esistente) != 1) {
##############################################
hoteldruid-3.0.1/prenota.php-1316-$caparra_mess = (double) 0;
hoteldruid-3.0.1/prenota.php:1317:$arrotond_predef = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'arrotond_predef' and idutente = '$id_utente'");
hoteldruid-3.0.1/prenota.php-1318-$arrotond_predef = risul_query($arrotond_predef,0,'valpersonalizza');
hoteldruid-3.0.1/prenota.php-1319-$comm_pers_presenti = array();
hoteldruid-3.0.1/prenota.php:1320:$campi_pers_comm = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'campi_pers_comm' and idutente = '$id_utente'");
hoteldruid-3.0.1/prenota.php-1321-if (numlin_query($campi_pers_comm) == 1) {
##############################################
hoteldruid-3.0.1/prenota.php-1442-for ($num2 = $inizioperiodo ; $num2 <= $fineperiodo ; $num2++) {
hoteldruid-3.0.1/prenota.php:1443:$riga_tariffa = esegui_query("select * from  $tableperiodi where idperiodi = $num2");
hoteldruid-3.0.1/prenota.php-1444-$costo_tariffa = risul_query($riga_tariffa,0,$nometipotariffa);
##############################################
hoteldruid-3.0.1/prenota.php-1484-if ($numpersone_corr) {
hoteldruid-3.0.1/prenota.php:1485:esegui_query("update $tableprenota set num_persone = '$numpersone_corr' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/prenota.php:1486:if ($dati_cat_pers['num'] and $cat_persone_corr) esegui_query("update $tableprenota set cat_persone = '".aggslashdb($cat_persone_corr)."' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/prenota.php-1487-} # fine if ($numpersone_corr)
##############################################
hoteldruid-3.0.1/prenota.php-1497-if ($dati_tariffe[$nometipotariffa]['tasse_percent']) {
hoteldruid-3.0.1/prenota.php:1498:esegui_query("update $tableprenota set tasseperc = '".$dati_tariffe[$nometipotariffa]['tasse_percent']."' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/prenota.php-1499-} # fine if ($dati_tariffe[$nometipotariffa]['tasse_percent'])
##############################################
hoteldruid-3.0.1/prenota.php-1569-esegui_query("insert into $tablecostiprenota (idcostiprenota,idprenota,tipo,nome,valore,associasett,settimane,moltiplica,letto,idntariffe,variazione,varmoltiplica,varnumsett,varperiodipermessi,varbeniinv,varappincompatibili,vartariffeassociate,vartariffeincomp,datainserimento,hostinserimento,utente_inserimento) values ('$idcostiprenota','$idprenota','$tipo_ca','".aggslashdb($dati_ca[$num_costo]['nome'])."','$valore_ca','$associasett_ca','$settimane_costo','$moltiplica','$letto_ca','$idcostoagg','$variazione_ca','$varmoltiplica_ca','$varnumsett_ca','$varperiodipermessi_ca','$varbeniinv_ca','$varappincompatibili_ca','$vartariffeassociate_ca','$vartariffeincomp_ca','$datainserimento','$HOSTNAME','$id_utente_ins')");
hoteldruid-3.0.1/prenota.php:1570:if (substr($tipo_ca,1,1) != "f") esegui_query("update $tablecostiprenota set valore_perc = '$valore_perc_ca', arrotonda = '".$dati_ca[$num_costo]['arrotonda']."' where idcostiprenota = '$idcostiprenota'");
hoteldruid-3.0.1/prenota.php:1571:if ($dati_ca[$num_costo]['tasseperc']) esegui_query("update $tablecostiprenota set tasseperc = '".$dati_ca[$num_costo]['tasseperc']."' where idcostiprenota = '$idcostiprenota'");
hoteldruid-3.0.1/prenota.php:1572:if (strcmp($dati_ca[$num_costo]['categoria'],"")) esegui_query("update $tablecostiprenota set categoria = '".$dati_ca[$num_costo]['categoria']."' where idcostiprenota = '$idcostiprenota'");
hoteldruid-3.0.1/prenota.php-1573-if ($dati_ca[$num_costo]['letto'] == "s" and $dati_cat_pers['num'] and strcmp($dati_cat_pers[${"catpers_ca".$numca."_".$n_t}]['n_plur'],"")) {
##############################################
hoteldruid-3.0.1/prenota.php-1575-$cat_persone_ca = $dati_cat_pers['arrotond']."<$cat_pers_ca>>".$dati_cat_pers[$cat_pers_ca]['osp_princ'].">".$dati_cat_pers[$cat_pers_ca]['perc'].">".$dati_cat_pers['lang'].">".$dati_cat_pers[$cat_pers_ca]['n_sing'].">".$dati_cat_pers[$cat_pers_ca]['n_plur'];
hoteldruid-3.0.1/prenota.php:1576:esegui_query("update $tablecostiprenota set cat_persone = '".aggslashdb($cat_persone_ca)."' where idcostiprenota = '$idcostiprenota'");
hoteldruid-3.0.1/prenota.php-1577-} # fine if ($dati_ca[$num_costo]['letto'] == "s" and $dati_cat_pers['num'] and...
##############################################
hoteldruid-3.0.1/prenota.php-1752-esegui_query("insert into $tablecostiprenota (idcostiprenota,idprenota,tipo,nome,valore,associasett,settimane,moltiplica,letto,idntariffe,variazione,varmoltiplica,varnumsett,varperiodipermessi,varbeniinv,varappincompatibili,vartariffeassociate,vartariffeincomp,datainserimento,hostinserimento,utente_inserimento) values ('$idcostiprenota','$idprenota','$tipo_ca','".aggslashdb($dati_ca[$num_costo]['nome'])."','$valore_ca','$associasett_ca','$settimane_costo','$moltiplica','".$dati_ca[$num_costo]['letto']."','$idcostoagg','$variazione_ca','$varmoltiplica_ca','$varnumsett_ca','$varperiodipermessi_ca','$varbeniinv_ca','$varappincompatibili_ca','$vartariffeassociate_ca','$vartariffeincomp_ca','$datainserimento','$HOSTNAME','$id_utente_ins')");
hoteldruid-3.0.1/prenota.php:1753:if (substr($tipo_ca,1,1) != "f") esegui_query("update $tablecostiprenota set valore_perc = '$valore_perc_ca', arrotonda = '".$dati_ca[$num_costo]['arrotonda']."' where idcostiprenota = '$idcostiprenota'");
hoteldruid-3.0.1/prenota.php:1754:if ($dati_ca[$num_costo]['tasseperc']) esegui_query("update $tablecostiprenota set tasseperc = '".$dati_ca[$num_costo]['tasseperc']."' where idcostiprenota = '$idcostiprenota'");
hoteldruid-3.0.1/prenota.php-1755-$id_costo_inserito[$idcostoagg] = $idcostiprenota;
##############################################
hoteldruid-3.0.1/prenota.php-1778-if ($app_eliminati_costi[$n_t]) {
hoteldruid-3.0.1/prenota.php:1779:esegui_query("update $tableprenota set incompatibilita = '".aggslashdb($app_eliminati_costi[$n_t])."' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/prenota.php-1780-} # fine if ($app_eliminati_costi[$n_t])
##############################################
hoteldruid-3.0.1/prenota.php-1782-if (strcmp($sconto,"") and $priv_ins_sconto == "s" and controlla_soldi($sconto) == "SI") {
hoteldruid-3.0.1/prenota.php:1783:esegui_query("update $tableprenota set sconto = '$sconto' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/prenota.php-1784-$sconto_p = punti_in_num($sconto,$stile_soldi);
##############################################
hoteldruid-3.0.1/prenota.php-1821-$valuta_prenota = "";
hoteldruid-3.0.1/prenota.php:1822:esegui_query("update $tableprenota set tariffa_tot = '$costo_tariffa_tot' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/prenota.php-1823-$costo_tariffa_tot_p = punti_in_num($costo_tariffa_tot,$stile_soldi);
##############################################
hoteldruid-3.0.1/prenota.php-1839-if ($lista_app) {
hoteldruid-3.0.1/prenota.php:1840:esegui_query("update $tableprenota set app_assegnabili = '$lista_app' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/prenota.php-1841-} # fine if ($lista_app)
##############################################
hoteldruid-3.0.1/prenota.php-1843-if ($assegnazioneapp) {
hoteldruid-3.0.1/prenota.php:1844:esegui_query("update $tableprenota set assegnazioneapp = '$assegnazioneapp' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/prenota.php-1845-} # fine if ($assegnazioneapp)
##############################################
hoteldruid-3.0.1/prenota.php-1861-
hoteldruid-3.0.1/prenota.php:1862:if ($valuta_prenota) esegui_query("update $tableprenota set valuta = '".aggslashdb($valuta_prenota)."' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/prenota.php-1863-
##############################################
hoteldruid-3.0.1/prenota.php-1865-if ($caparra > $costo_tariffa_tot) $caparra = $costo_tariffa_tot;
hoteldruid-3.0.1/prenota.php:1866:if ($caparra) esegui_query("update $tableprenota set caparra = '$caparra' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/prenota.php-1867-$da_pagare = $costo_tariffa_tot - $caparra;
##############################################
hoteldruid-3.0.1/prenota.php-1886-if ($met_paga_caparra and $priv_ins_caparra == "s") {
hoteldruid-3.0.1/prenota.php:1887:$metodi_pagamento = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'metodi_pagamento' and idutente = '$id_utente'");
hoteldruid-3.0.1/prenota.php-1888-$metodi_pagamento = risul_query($metodi_pagamento,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/prenota.php-1894-if ($met_trovato == "SI") {
hoteldruid-3.0.1/prenota.php:1895:esegui_query("update $tableprenota set metodo_pagamento = '".aggslashdb($met_paga_caparra)."' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/prenota.php-1896-if (!$caparra and !$valuta_caparra) echo "<br>";
##############################################
hoteldruid-3.0.1/prenota.php-1903-#if ($commissioni > $costo_tariffa_tot) $commissioni = $costo_tariffa_tot;
hoteldruid-3.0.1/prenota.php:1904:esegui_query("update $tableprenota set commissioni = '$commissioni' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/prenota.php-1905-$resto_comm = $costo_tariffa_tot - $commissioni;
##############################################
hoteldruid-3.0.1/prenota.php-1911-if ($origine_prenota and $priv_ins_orig_prenota == "s") {
hoteldruid-3.0.1/prenota.php:1912:$origini_prenota = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'origini_prenota' and idutente = '$id_utente'");
hoteldruid-3.0.1/prenota.php-1913-$origini_prenota = risul_query($origini_prenota,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/prenota.php-1921-$origine_prenota = aggslashdb($origine_prenota);
hoteldruid-3.0.1/prenota.php:1922:esegui_query("update $tableprenota set origine = '$origine_prenota' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/prenota.php-1923-if (!$caparra and !$commissioni and !$valuta_caparra and $met_trovato == "NO") echo "<br>";
##############################################
hoteldruid-3.0.1/prenota.php-1933-if (controlla_num_pos($giorno_stima_checkin) == "SI" and $giorno_stima_checkin >= 1 and $giorno_stima_checkin <= 7 and $giorno_stima_checkin <= ($giorni_periodo + 1)) {
hoteldruid-3.0.1/prenota.php:1934:$data_stima_checkin = esegui_query("select datainizio from $tableperiodi where idperiodi = '$inizioperiodo'");
hoteldruid-3.0.1/prenota.php-1935-$data_stima_checkin = risul_query($data_stima_checkin,0,'datainizio');
##############################################
hoteldruid-3.0.1/prenota.php-1942-if (preg_match("/[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:00/",$stima_checkin)) {
hoteldruid-3.0.1/prenota.php:1943:esegui_query("update $tableprenota set checkout = '$stima_checkin' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/prenota.php-1944-echo "<br>".mex("Orario stimato di entrata",$pag).": <b>".substr(str_replace($data_ini_prenota_f,"",formatta_data($stima_checkin,$stile_data)),0,-3)."</b>.<br>";
##############################################
hoteldruid-3.0.1/prenota.php-1951-echo "<br>".mex("Confermata",$pag).".<br>";
hoteldruid-3.0.1/prenota.php:1952:esegui_query("update $tableprenota set conferma = 'S' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/prenota.php-1953-} # fine if ($conferma_prenota == "SI" and $priv_ins_conferma == "s")
##############################################
hoteldruid-3.0.1/prenota.php-1972-$commento_corr = $commento_arr['prenota'].">".$commento_arr['checkin'].">".$commento_arr['checkout'].$commento_arr['pers'];
hoteldruid-3.0.1/prenota.php:1973:if ($commento_corr != ">>") esegui_query("update $tableprenota set commento = '$commento_corr' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/prenota.php-1974-} # fine if ($priv_ins_commento == "s" or $priv_ins_commenti_pers == "s")
##############################################
hoteldruid-3.0.1/prenota.php-2002-$idprenota_vicine = substr(str_replace(",".$idprenota.",",",",",".$lista_idprenota.","),1,-1);
hoteldruid-3.0.1/prenota.php:2003:esegui_query("update $tableprenota set idprenota_compagna = '$idprenota_vicine' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/prenota.php-2004-} # fine for $num1
##############################################
hoteldruid-3.0.1/prenota.php-2024-$idprenota_vicine = substr(str_replace(",".$idprenota.",",",",",".$idprenota_vicine.","),1,-1);
hoteldruid-3.0.1/prenota.php:2025:esegui_query("update $tableprenota set idprenota_compagna = '$idprenota_vicine' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/prenota.php-2026-} # fine for $num1
##############################################
hoteldruid-3.0.1/prenota.php-2042-if ($idmessaggi) {
hoteldruid-3.0.1/prenota.php:2043:esegui_query("update $tablemessaggi set stato = 'ins', dati_messaggio1 = '$lista_idprenota' where tipo_messaggio = 'rprenota' and idutenti $LIKE '%,$id_utente,%' and idmessaggi = '$idmessaggi' ");
hoteldruid-3.0.1/prenota.php-2044-if (strcmp($dati_mess_calc[0],"") and strcmp($dati_mess_calc[0],$costo_tot_mess)) echo "<br><em><b>".mex("Attenzione",$pag)."</b></em>: ".mex("il prezzo totale delle prenotazioni inserite",$pag)." (<em>$costo_tot_mess</em> $Euro) ".mex("è diverso da quello contenuto nel messaggio di richiesta di prenotazione",$pag)." (<em>".$dati_mess_calc[0]."</em> $Euro).<br><hr style=\"width: 95%\">";
##############################################
hoteldruid-3.0.1/prenota.php-2122-if ($priv_ins_checkin == "s") {
hoteldruid-3.0.1/prenota.php:2123:$attiva_checkin = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'attiva_checkin' and idutente = '$id_utente'");
hoteldruid-3.0.1/prenota.php-2124-$attiva_checkin = risul_query($attiva_checkin,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/prenota.php-2128-if ($priv_ins_assegnazione_app == "s") {
hoteldruid-3.0.1/prenota.php:2129:$comb_app = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'comb_app' and idutente = '$id_utente'");
hoteldruid-3.0.1/prenota.php-2130-if (numlin_query($comb_app) == 1) {
##############################################
hoteldruid-3.0.1/prenota.php-2173-
hoteldruid-3.0.1/prenota.php:2174:$campi_pers_comm = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'campi_pers_comm' and idutente = '$id_utente'");
hoteldruid-3.0.1/prenota.php-2175-if (numlin_query($campi_pers_comm) == 1) $campi_pers_comm = risul_query($campi_pers_comm,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/prenota.php-2441-$oggi = date("Y-m-d",(time() + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/prenota.php:2442:$date_select = esegui_query("select datainizio,datafine from $tableperiodi where datainizio <= '$oggi' and datafine > '$oggi' ");
hoteldruid-3.0.1/prenota.php-2443-if (numlin_query($date_select) != 0) {
##############################################
hoteldruid-3.0.1/prenota.php-2449-if (controlla_num($date_selected) == "SI") {
hoteldruid-3.0.1/prenota.php:2450:$date_selected = esegui_query("select datainizio from $tableperiodi where idperiodi = '".aggslashdb($date_selected)."'");
hoteldruid-3.0.1/prenota.php-2451-$date_selected = risul_query($date_selected,0,'datainizio');
##############################################
hoteldruid-3.0.1/prenota.php-2459-if (controlla_num($date_selected) == "SI") {
hoteldruid-3.0.1/prenota.php:2460:$date_selected = esegui_query("select datafine from $tableperiodi where idperiodi = '".aggslashdb(${"fineperiodo".$n_t})."'");
hoteldruid-3.0.1/prenota.php-2461-$date_selected = risul_query($date_selected,0,'datafine');
##############################################
hoteldruid-3.0.1/prenota.php-2559-if ($regole1_consentite[$num1] == " ") $appartamenti_agenzia = esegui_query("select app_agenzia from $tableregole where (motivazione = '' or motivazione is null) and app_agenzia is not null and (motivazione2 != 'x' or motivazione2 is NULL) ");
hoteldruid-3.0.1/prenota.php:2560:else $appartamenti_agenzia = esegui_query("select app_agenzia from $tableregole where motivazione = '".$regole1_consentite[$num1]."' and app_agenzia is not null and (motivazione2 != 'x' or motivazione2 is NULL) ");
hoteldruid-3.0.1/prenota.php-2561-for ($num2 = 0 ; $num2 < numlin_query($appartamenti_agenzia) ; $num2++) {
##############################################
hoteldruid-3.0.1/prenota.php-2579-if (${"nometipotariffa".$n_t}) {
hoteldruid-3.0.1/prenota.php:2580:$regola2_sel = esegui_query("select * from $tableregole where tariffa_per_app = '".aggslashdb(${"nometipotariffa".$n_t})."'");
hoteldruid-3.0.1/prenota.php-2581-if (numlin_query($regola2_sel) == 1) if (${"lista_app".$n_t} == risul_query($regola2_sel,0,'motivazione')) ${"lista_app".$n_t} = "";
##############################################
hoteldruid-3.0.1/prenota.php-2655-echo "</select> (".mex("se diversa dalla normale",$pag).")";
hoteldruid-3.0.1/prenota.php:2656:$metodi_pagamento = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'metodi_pagamento' and idutente = '$id_utente'");
hoteldruid-3.0.1/prenota.php-2657-$metodi_pagamento = risul_query($metodi_pagamento,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/prenota.php-2719-if ($priv_ins_orig_prenota == "s") {
hoteldruid-3.0.1/prenota.php:2720:$origini_prenota = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'origini_prenota' and idutente = '$id_utente'");
hoteldruid-3.0.1/prenota.php-2721-$origini_prenota = risul_query($origini_prenota,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/prenota.php-2852-
hoteldruid-3.0.1/prenota.php:2853:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/prenota.php-2854-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/storia_soldi.php-27-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/storia_soldi.php:28:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/storia_soldi.php-29-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/storia_soldi.php-49-$tablerelgruppi = $PHPR_TAB_PRE."relgruppi";
hoteldruid-3.0.1/storia_soldi.php:50:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/storia_soldi.php-51-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/storia_soldi.php-53-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/storia_soldi.php:54:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/storia_soldi.php-55-$priv_vedi_tab = risul_query($privilegi_annuali_utente,0,'priv_vedi_tab');
##############################################
hoteldruid-3.0.1/storia_soldi.php-72-if ($prendi_gruppi == "SI") {
hoteldruid-3.0.1/storia_soldi.php:73:$gruppi_utente = esegui_query("select idgruppo from $tablerelgruppi where idutente = '$id_utente' and idgruppo is not NULL ");
hoteldruid-3.0.1/storia_soldi.php-74-$num_gruppi_utente = numlin_query($gruppi_utente);
##############################################
hoteldruid-3.0.1/storia_soldi.php-76-$idgruppo = risul_query($gruppi_utente,$num1,'idgruppo');
hoteldruid-3.0.1/storia_soldi.php:77:$utenti_gruppo = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$idgruppo' ");
hoteldruid-3.0.1/storia_soldi.php-78-$num_utenti_gruppo = numlin_query($utenti_gruppo);
##############################################
hoteldruid-3.0.1/storia_soldi.php-107-$titolo = "HotelDruid: ".mex("Storico Entrate",$pag);
hoteldruid-3.0.1/storia_soldi.php:108:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/storia_soldi.php-109-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/storia_soldi.php-157-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/storia_soldi.php:158:$transazione_presente = esegui_query("select * from $tabletransazioni where idtransazioni = '".aggslashdb($id_transazione)."' and idsessione = '".aggslashdb($id_sessione)."' and tipo_transazione = 'can_s'");
hoteldruid-3.0.1/storia_soldi.php-159-if (numlin_query($transazione_presente) == 1) {
##############################################
hoteldruid-3.0.1/storia_soldi.php-161-esegui_query("update $tablecosti set val_costo = '0' where idcosti = '0'");
hoteldruid-3.0.1/storia_soldi.php:162:esegui_query("delete from $tabletransazioni where idtransazioni = '".aggslashdb($id_transazione)."' and idsessione = '".aggslashdb($id_sessione)."' and tipo_transazione = 'can_s'");
hoteldruid-3.0.1/storia_soldi.php-163-} # fine if (numlin_query($transazione_presente) == 1)
##############################################
hoteldruid-3.0.1/storia_soldi.php-246-echo "</div></form>";
hoteldruid-3.0.1/storia_soldi.php:247:$metodi_pagamento = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'metodi_pagamento' and idutente = '$id_utente'");
hoteldruid-3.0.1/storia_soldi.php-248-$metodi_pagamento = risul_query($metodi_pagamento,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/storia_soldi.php-317-if (!$cerca_prenota) {
hoteldruid-3.0.1/storia_soldi.php:318:$num_vedi_in_tab = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'num_righe_tab_storia_soldi' and idutente = '$id_utente'");
hoteldruid-3.0.1/storia_soldi.php-319-$num_vedi_in_tab = risul_query($num_vedi_in_tab,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/storia_soldi.php-367-$motivazione = explode(";",$motivazione);
hoteldruid-3.0.1/storia_soldi.php:368:$cognome = esegui_query("select cognome,utente_inserimento from $tableclienti where idclienti = '".$motivazione[0]."'");
hoteldruid-3.0.1/storia_soldi.php-369-$mostra_cliente = "SI";
##############################################
hoteldruid-3.0.1/storia_soldi.php-378-if ($motivazione[1]) {
hoteldruid-3.0.1/storia_soldi.php:379:$data_inizio = esegui_query("select * from $tableperiodi where idperiodi = '".$motivazione[1]."'");
hoteldruid-3.0.1/storia_soldi.php-380-$data_inizio = risul_query($data_inizio,0,'datainizio');
##############################################
hoteldruid-3.0.1/storia_soldi.php-384-if ($motivazione[2]) {
hoteldruid-3.0.1/storia_soldi.php:385:$data_fine = esegui_query("select * from $tableperiodi where idperiodi = '".$motivazione[2]."'");
hoteldruid-3.0.1/storia_soldi.php-386-$data_fine = risul_query($data_fine,0,'datafine');
##############################################
hoteldruid-3.0.1/storia_soldi.php-395-$pcanc = "";
hoteldruid-3.0.1/storia_soldi.php:396:$prenota_esist = esegui_query("select iddatainizio,datainserimento,utente_inserimento from $tableprenota where idprenota = '$num_prenota' ");
hoteldruid-3.0.1/storia_soldi.php-397-if (!numlin_query($prenota_esist)) {
hoteldruid-3.0.1/storia_soldi.php:398:$prenota_esist = esegui_query("select iddatainizio,datainserimento,utente_inserimento from $tableprenotacanc where idprenota = '$num_prenota' ");
hoteldruid-3.0.1/storia_soldi.php-399-if (numlin_query($prenota_esist)) {
##############################################
hoteldruid-3.0.1/storia_soldi.php-520-
hoteldruid-3.0.1/storia_soldi.php:521:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/storia_soldi.php-522-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/aggiorna.php-47-$PHPR_TAB_PRE = "";
hoteldruid-3.0.1/aggiorna.php:48:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/aggiorna.php-49-} # fine if ($molto_vecchio)
##############################################
hoteldruid-3.0.1/aggiorna.php-55-$PHPR_TAB_PRE = "";
hoteldruid-3.0.1/aggiorna.php:56:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/aggiorna.php-57-} # fine if ($vecchio)
##############################################
hoteldruid-3.0.1/aggiorna.php-59-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/aggiorna.php:60:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/aggiorna.php-61-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/modifica_app.php-27-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/modifica_app.php:28:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/modifica_app.php-29-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/modifica_app.php-48-$titolo = "HotelDruid: ".ucfirst(mex("modifica",$pag))." ".mex("Appartamenti",'unit.php');
hoteldruid-3.0.1/modifica_app.php:49:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/modifica_app.php-50-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/modifica_app.php-112-
hoteldruid-3.0.1/modifica_app.php:113:$anni_da_controllare = esegui_query("select * from $tableanni where idanni >= $anno_attuale");
hoteldruid-3.0.1/modifica_app.php-114-$num_anni_da_controllare = numlin_query($anni_da_controllare);
##############################################
hoteldruid-3.0.1/modifica_app.php-136-liberasettimane ($min_periodo,$max_periodo,$limiti_var,$anno_controlla,$fatto_libera,$app_liberato,$profondita,$app_richiesti,$app_prenota_id,$app_orig_prenota_id,$inizio_prenota_id,$fine_prenota_id,$app_assegnabili_id,$prenota_in_app_sett,$dati_app,$PHPR_TAB_PRE."prenota");
hoteldruid-3.0.1/modifica_app.php:137:$prenota_presenti = esegui_query("select * from $tableprenota_controlla where idappartamenti = '".aggslashdb($idappartamenti)."' and iddatafine >= '$min_periodo'");
hoteldruid-3.0.1/modifica_app.php-138-$num_prenota_presenti = numlin_query($prenota_presenti);
##############################################
hoteldruid-3.0.1/modifica_app.php-145-
hoteldruid-3.0.1/modifica_app.php:146:$app_esiste = esegui_query("select * from $tableappartamenti where idappartamenti = '".aggslashdb($idappartamenti)."'");
hoteldruid-3.0.1/modifica_app.php-147-$num_app_esiste = numlin_query($app_esiste);
##############################################
hoteldruid-3.0.1/modifica_app.php-173-else {
hoteldruid-3.0.1/modifica_app.php:174:$d_app_vicini = esegui_query("select app_vicini from $tableappartamenti where idappartamenti = '".aggslashdb($idappartamenti)."' ");
hoteldruid-3.0.1/modifica_app.php-175-$d_app_vicini = risul_query($d_app_vicini,0,'app_vicini');
##############################################
hoteldruid-3.0.1/modifica_app.php-178-$d_app_vicino = $d_app_vicini_vett[$num2];
hoteldruid-3.0.1/modifica_app.php:179:$app_reciprici = esegui_query("select * from $tableappartamenti where idappartamenti = '".aggslashdb($d_app_vicino)."' ");
hoteldruid-3.0.1/modifica_app.php-180-if (numlin_query($app_reciprici) == 1) {
##############################################
hoteldruid-3.0.1/modifica_app.php-182-$app_reciprici = substr(str_replace(",".$idappartamenti.",",",",",".$app_reciprici.","),1,-1);
hoteldruid-3.0.1/modifica_app.php:183:esegui_query("update $tableappartamenti set app_vicini = '".aggslashdb($app_reciprici)."' where idappartamenti = '".aggslashdb($d_app_vicino)."' ");
hoteldruid-3.0.1/modifica_app.php-184-} # fine if (numlin_query($app_reciprici) == 1)
hoteldruid-3.0.1/modifica_app.php-185-} # fine for $num2
hoteldruid-3.0.1/modifica_app.php:186:esegui_query("delete from $tableappartamenti where idappartamenti = '".aggslashdb($idappartamenti)."'");
hoteldruid-3.0.1/modifica_app.php:187:esegui_query("delete from $tablerelinventario where idappartamento = '".aggslashdb($idappartamenti)."'");
hoteldruid-3.0.1/modifica_app.php:188:esegui_query("delete from $tabledescrizioni where nome = '".aggslashdb($idappartamenti)."' and (tipo = 'appdescr' or tipo = 'appfoto') ");
hoteldruid-3.0.1/modifica_app.php-189-$id_appartamenti = esegui_query("select idappartamenti from $tableappartamenti order by idappartamenti ");
##############################################
hoteldruid-3.0.1/modifica_app.php-213-$lista_app = substr(str_replace(",$idappartamenti,",",",$lista_app),1,-1);
hoteldruid-3.0.1/modifica_app.php:214:esegui_query("update $tableregole set motivazione = '".aggslashdb($lista_app)."' where idregole = '$idregole' ");
hoteldruid-3.0.1/modifica_app.php-215-} # fine (str_replace(",$idappartamenti,","",$lista_app) != $lista_app)
##############################################
hoteldruid-3.0.1/modifica_app.php-218-$lista_app2 = substr(str_replace(",$idappartamenti,",",",$lista_app2),1,-1);
hoteldruid-3.0.1/modifica_app.php:219:esegui_query("update $tableregole set motivazione2 = '".aggslashdb($lista_app2)."' where idregole = '$idregole' ");
hoteldruid-3.0.1/modifica_app.php-220-} # fine (str_replace(",$idappartamenti,","",$lista_app2) != $lista_app2)
##############################################
hoteldruid-3.0.1/modifica_app.php-366-$n_app_vicini = ${"n_app_vicini".$num1};
hoteldruid-3.0.1/modifica_app.php:367:${"d_app_vicini".$num1} = esegui_query("select app_vicini from $tableappartamenti where idappartamenti = '".aggslashdb($idappartamenti)."' ");
hoteldruid-3.0.1/modifica_app.php-368-if (numlin_query(${"d_app_vicini".$num1})) ${"d_app_vicini".$num1} = risul_query(${"d_app_vicini".$num1},0,'app_vicini');
##############################################
hoteldruid-3.0.1/modifica_app.php-381-
hoteldruid-3.0.1/modifica_app.php:382:$app_esiste = esegui_query("select * from $tableappartamenti where idappartamenti = '".aggslashdb($idappartamenti)."'");
hoteldruid-3.0.1/modifica_app.php-383-$num_app_esiste = numlin_query($app_esiste);
##############################################
hoteldruid-3.0.1/modifica_app.php-393-if ($n_nome_app and strcmp($n_nome_app,$idappartamenti)) {
hoteldruid-3.0.1/modifica_app.php:394:$app_esiste = esegui_query("select * from $tableappartamenti where idappartamenti = '".aggslashdb($n_nome_app)."'");
hoteldruid-3.0.1/modifica_app.php-395-$num_app_esiste = numlin_query($app_esiste);
##############################################
hoteldruid-3.0.1/modifica_app.php-404-for ($num2 = 0 ; $num2 < count($n_app_vicini_vett) ; $num2++) {
hoteldruid-3.0.1/modifica_app.php:405:$app_vic_esist = esegui_query("select idappartamenti from $tableappartamenti where idappartamenti = '".aggslashdb($n_app_vicini_vett[$num2])."' ");
hoteldruid-3.0.1/modifica_app.php-406-if (numlin_query($app_vic_esist) != 1 or $n_app_vicini_vett[$num2] == $idappartamenti or !strcmp($n_app_vicini_vett[$num2],$n_nome_app)) {
##############################################
hoteldruid-3.0.1/modifica_app.php-518-$modificato = "SI";
hoteldruid-3.0.1/modifica_app.php:519:esegui_query("update $tableappartamenti set idappartamenti = '".aggslashdb($n_nome_app)."' where idappartamenti = '".aggslashdb($idappartamenti)."' ");
hoteldruid-3.0.1/modifica_app.php-520-for ($num2 = 0 ; $num2 < $num_anni_esistenti ; $num2++) {
##############################################
hoteldruid-3.0.1/modifica_app.php-522-$tableprenota_cambia = $PHPR_TAB_PRE."prenota".$anno_cambia;
hoteldruid-3.0.1/modifica_app.php:523:esegui_query("update $tableprenota_cambia set idappartamenti = '".aggslashdb($n_nome_app)."' where idappartamenti = '".aggslashdb($idappartamenti)."' ");
hoteldruid-3.0.1/modifica_app.php-524-$prenota_c = esegui_query("select * from $tableprenota_cambia where app_assegnabili != '' ");
##############################################
hoteldruid-3.0.1/modifica_app.php-530-$idprenota = risul_query($prenota_c,$num3,'idprenota');
hoteldruid-3.0.1/modifica_app.php:531:esegui_query("update $tableprenota_cambia set app_assegnabili = '".aggslashdb($n_app_assegnabili)."' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/modifica_app.php-532-} # fine if ($app_assegnabili != $n_app_assegnabili)
##############################################
hoteldruid-3.0.1/modifica_app.php-540-$idprenota = risul_query($prenota_c,$num3,'idprenota');
hoteldruid-3.0.1/modifica_app.php:541:esegui_query("update $tableprenota_cambia set incompatibilita = '".aggslashdb($n_incompatibilita)."' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/modifica_app.php-542-} # fine if ($incompatibilita != $n_incompatibilita)
##############################################
hoteldruid-3.0.1/modifica_app.php-551-$idcostiprenota = risul_query($costiprenota_c,$num3,'idcostiprenota');
hoteldruid-3.0.1/modifica_app.php:552:esegui_query("update $tablecostiprenota_cambia set varappincompatibili = '".aggslashdb($n_varappincompatibili)."' where idcostiprenota = '$idcostiprenota' ");
hoteldruid-3.0.1/modifica_app.php-553-} # fine if ($varappincompatibili != $n_varappincompatibili)
##############################################
hoteldruid-3.0.1/modifica_app.php-562-$idntariffe = risul_query($ntariffe_c,$num3,'idntariffe');
hoteldruid-3.0.1/modifica_app.php:563:esegui_query("update $tablenometariffe_cambia set appincompatibili_ca = '".aggslashdb($n_appincompatibili_ca)."' where idntariffe = '$idntariffe' ");
hoteldruid-3.0.1/modifica_app.php-564-} # fine if ($appincompatibili_ca != $n_appincompatibili_ca)
##############################################
hoteldruid-3.0.1/modifica_app.php-566-$tableregole_cambia = $PHPR_TAB_PRE."regole".$anno_cambia;
hoteldruid-3.0.1/modifica_app.php:567:esegui_query("update $tableregole_cambia set app_agenzia = '".aggslashdb($n_nome_app)."' where app_agenzia = '".aggslashdb($idappartamenti)."' ");
hoteldruid-3.0.1/modifica_app.php-568-$regole2 = esegui_query("select * from $tableregole_cambia where tariffa_per_app != '' ");
##############################################
hoteldruid-3.0.1/modifica_app.php-574-$lista_app = substr(str_replace(",$idappartamenti,",",$n_nome_app,",$lista_app),1,-1);
hoteldruid-3.0.1/modifica_app.php:575:esegui_query("update $tableregole_cambia set motivazione = '".aggslashdb($lista_app)."' where idregole = '$idregole' ");
hoteldruid-3.0.1/modifica_app.php-576-} # fine (str_replace(",$idappartamenti,","",$lista_app) != $lista_app)
##############################################
hoteldruid-3.0.1/modifica_app.php-579-$lista_app2 = substr(str_replace(",$idappartamenti,",",$n_nome_app,",$lista_app2),1,-1);
hoteldruid-3.0.1/modifica_app.php:580:esegui_query("update $tableregole_cambia set motivazione2 = '".aggslashdb($lista_app2)."' where idregole = '$idregole' ");
hoteldruid-3.0.1/modifica_app.php-581-} # fine (str_replace(",$idappartamenti,","",$lista_app2) != $lista_app2)
##############################################
hoteldruid-3.0.1/modifica_app.php-586-$d_app_vicino = $d_app_vicini_vett[$num2];
hoteldruid-3.0.1/modifica_app.php:587:$app_reciprici = esegui_query("select * from $tableappartamenti where idappartamenti = '".aggslashdb($d_app_vicino)."' ");
hoteldruid-3.0.1/modifica_app.php-588-if (numlin_query($app_reciprici) == 1) {
##############################################
hoteldruid-3.0.1/modifica_app.php-590-$app_reciprici = substr(str_replace(",".$idappartamenti.",",",".$n_nome_app.",",",".$app_reciprici.","),1,-1);
hoteldruid-3.0.1/modifica_app.php:591:esegui_query("update $tableappartamenti set app_vicini = '".aggslashdb($app_reciprici)."' where idappartamenti = '".aggslashdb($d_app_vicino)."' ");
hoteldruid-3.0.1/modifica_app.php-592-} # fine if (numlin_query($app_reciprici) == 1)
hoteldruid-3.0.1/modifica_app.php-593-} # fine for $num2
hoteldruid-3.0.1/modifica_app.php:594:esegui_query("update $tabledescrizioni set nome = '$n_nome_app' where nome = '".aggslashdb($idappartamenti)."' and (tipo = 'appdescr' or tipo = 'appfoto' or tipo = 'appcommfoto') ");
hoteldruid-3.0.1/modifica_app.php-595-$idappartamenti = $n_nome_app;
##############################################
hoteldruid-3.0.1/modifica_app.php-616-if (str_replace(",".$n_app_vicino.",",",",",".$d_app_vicini.",") == ",".$d_app_vicini.",") {
hoteldruid-3.0.1/modifica_app.php:617:$app_reciprici = esegui_query("select app_vicini from $tableappartamenti where idappartamenti = '".aggslashdb($n_app_vicino)."' ");
hoteldruid-3.0.1/modifica_app.php-618-if (numlin_query($app_reciprici) == 1) {
##############################################
hoteldruid-3.0.1/modifica_app.php-621-$app_reciprici .= $idappartamenti;
hoteldruid-3.0.1/modifica_app.php:622:esegui_query("update $tableappartamenti set app_vicini = '".aggslashdb($app_reciprici)."' where idappartamenti = '".aggslashdb($n_app_vicino)."' ");
hoteldruid-3.0.1/modifica_app.php-623-} # fine if (numlin_query($app_reciprici) == 1)
##############################################
hoteldruid-3.0.1/modifica_app.php-629-if (str_replace(",".$d_app_vicino.",",",",",".$n_app_vicini.",") == ",".$n_app_vicini.",") {
hoteldruid-3.0.1/modifica_app.php:630:$app_reciprici = esegui_query("select * from $tableappartamenti where idappartamenti = '".aggslashdb($d_app_vicino)."' ");
hoteldruid-3.0.1/modifica_app.php-631-if (numlin_query($app_reciprici) == 1) {
##############################################
hoteldruid-3.0.1/modifica_app.php-633-$app_reciprici = substr(str_replace(",".$idappartamenti.",",",",",".$app_reciprici.","),1,-1);
hoteldruid-3.0.1/modifica_app.php:634:esegui_query("update $tableappartamenti set app_vicini = '".aggslashdb($app_reciprici)."' where idappartamenti = '".aggslashdb($d_app_vicino)."' ");
hoteldruid-3.0.1/modifica_app.php-635-} # fine if (numlin_query($app_reciprici) == 1)
##############################################
hoteldruid-3.0.1/modifica_app.php-637-} # fine for $num2
hoteldruid-3.0.1/modifica_app.php:638:esegui_query("update $tableappartamenti set app_vicini = '".aggslashdb($n_app_vicini)."' where idappartamenti = '".aggslashdb($idappartamenti)."' ");
hoteldruid-3.0.1/modifica_app.php-639-} # fine if ($n_app_vicini != $comp_app_vicini)
##############################################
hoteldruid-3.0.1/modifica_app.php-642-$modificato = "SI";
hoteldruid-3.0.1/modifica_app.php:643:esegui_query("update $tableappartamenti set numcasa = '".aggslashdb($n_numcasa)."' where idappartamenti = '".aggslashdb($idappartamenti)."' ");
hoteldruid-3.0.1/modifica_app.php-644-} # fine if ($n_numcasa != $comp_)
##############################################
hoteldruid-3.0.1/modifica_app.php-646-$modificato = "SI";
hoteldruid-3.0.1/modifica_app.php:647:esegui_query("update $tableappartamenti set numpiano = '".aggslashdb($n_numpiano)."' where idappartamenti = '".aggslashdb($idappartamenti)."' ");
hoteldruid-3.0.1/modifica_app.php-648-} # fine if ($n_numpiano != $comp_numpiano)
hoteldruid-3.0.1/modifica_app.php-649-if ($n_maxoccupanti != $comp_maxoccupanti) {
hoteldruid-3.0.1/modifica_app.php:650:$letto = esegui_query("select idappartamenti from $tableappartamenti where idappartamenti = '".aggslashdb($idappartamenti)."' and letto = '1' ");
hoteldruid-3.0.1/modifica_app.php-651-if (!numlin_query($letto)) {
##############################################
hoteldruid-3.0.1/modifica_app.php-655-else $n_maxoccupanti = "'".aggslashdb($n_maxoccupanti)."'";
hoteldruid-3.0.1/modifica_app.php:656:esegui_query("update $tableappartamenti set maxoccupanti = $n_maxoccupanti where idappartamenti = '".aggslashdb($idappartamenti)."' ");
hoteldruid-3.0.1/modifica_app.php-657-} # fine if (!numlin_query($letto))
##############################################
hoteldruid-3.0.1/modifica_app.php-663-else $n_priorita = "'".aggslashdb($n_priorita)."'";
hoteldruid-3.0.1/modifica_app.php:664:esegui_query("update $tableappartamenti set priorita = $n_priorita where idappartamenti = '".aggslashdb($idappartamenti)."' ");
hoteldruid-3.0.1/modifica_app.php-665-} # fine if ($n_priorita != $comp_priorita)
##############################################
hoteldruid-3.0.1/modifica_app.php-668-$n_commento = aggslashdb($n_commento);
hoteldruid-3.0.1/modifica_app.php:669:esegui_query("update $tableappartamenti set commento = '".aggslashdb($n_commento)."' where idappartamenti = '".aggslashdb($idappartamenti)."' ");
hoteldruid-3.0.1/modifica_app.php-670-} # fine if ($n_commento != $comp_commento)
##############################################
hoteldruid-3.0.1/modifica_app.php-697-$tabelle_lock = lock_tabelle($tabelle_lock,$altre_tab_lock);
hoteldruid-3.0.1/modifica_app.php:698:$app_esist = esegui_query("select idappartamenti from $tableappartamenti where idappartamenti = '".aggslashdb($idappartamenti)."' ");
hoteldruid-3.0.1/modifica_app.php-699-if (numlin_query($app_esist)) {
##############################################
hoteldruid-3.0.1/modifica_app.php-702-$n_descrizione_ita = aggslashdb(htmlspecialchars($n_descrizione_ita));
hoteldruid-3.0.1/modifica_app.php:703:$descr_esistente = esegui_query("select testo from $tabledescrizioni where nome = '".aggslashdb($idappartamenti)."' and tipo = 'appdescr' and lingua = 'ita' and numero = '1' ");
hoteldruid-3.0.1/modifica_app.php:704:if (numlin_query($descr_esistente)) esegui_query("update $tabledescrizioni set testo = '$n_descrizione_ita' where nome = '".aggslashdb($idappartamenti)."' and tipo = 'appdescr' and lingua = 'ita' and numero = '1' ");
hoteldruid-3.0.1/modifica_app.php-705-else esegui_query("insert into $tabledescrizioni (nome,tipo,lingua,numero,testo) values ('".aggslashdb($idappartamenti)."','appdescr','ita','1','$n_descrizione_ita') ");
hoteldruid-3.0.1/modifica_app.php-706-} # fine if (strcmp($n_descrizione_ita,""))
hoteldruid-3.0.1/modifica_app.php:707:else esegui_query("delete from $tabledescrizioni where nome = '".aggslashdb($idappartamenti)."' and tipo = 'appdescr' and lingua = 'ita' and numero = '1' ");
hoteldruid-3.0.1/modifica_app.php-708-$lang_dir = opendir("./includes/lang/");
##############################################
hoteldruid-3.0.1/modifica_app.php-715-$n_descrizione = aggslashdb(htmlspecialchars($n_descrizione));
hoteldruid-3.0.1/modifica_app.php:716:$descr_esistente = esegui_query("select testo from $tabledescrizioni where nome = '".aggslashdb($idappartamenti)."' and tipo = 'appdescr' and lingua = '$ini_lingua' and numero = '1' ");
hoteldruid-3.0.1/modifica_app.php:717:if (numlin_query($descr_esistente)) esegui_query("update $tabledescrizioni set testo = '$n_descrizione' where nome = '".aggslashdb($idappartamenti)."' and tipo = 'appdescr' and lingua = '$ini_lingua' and numero = '1' ");
hoteldruid-3.0.1/modifica_app.php-718-else esegui_query("insert into $tabledescrizioni (nome,tipo,lingua,numero,testo) values ('".aggslashdb($idappartamenti)."','appdescr','$ini_lingua','1','$n_descrizione') ");
hoteldruid-3.0.1/modifica_app.php-719-} # fine if (strcmp($n_descrizione,""))
hoteldruid-3.0.1/modifica_app.php:720:else esegui_query("delete from $tabledescrizioni where nome = '".aggslashdb($idappartamenti)."' and tipo = 'appdescr' and lingua = '$ini_lingua' and numero = '1' ");
hoteldruid-3.0.1/modifica_app.php-721-} # fine if ($file != "." && $file != ".." and...
##############################################
hoteldruid-3.0.1/modifica_app.php-733-$mostra_form_modifica = "NO";
hoteldruid-3.0.1/modifica_app.php:734:$app_esist = esegui_query("select idappartamenti from $tableappartamenti where idappartamenti = '".aggslashdb($idappartamenti)."' ");
hoteldruid-3.0.1/modifica_app.php-735-if ($numfoto and controlla_num_pos($numfoto) == "SI" and numlin_query($app_esist)) {
##############################################
hoteldruid-3.0.1/modifica_app.php-737-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/modifica_app.php:738:$foto_esistente = esegui_query("select testo from $tabledescrizioni where nome = '".aggslashdb($idappartamenti)."' and tipo = 'appfoto' and numero = '$numfoto' ");
hoteldruid-3.0.1/modifica_app.php-739-if (numlin_query($foto_esistente)) {
##############################################
hoteldruid-3.0.1/modifica_app.php-742-$n_commento_ita = aggslashdb(htmlspecialchars($n_commento_ita));
hoteldruid-3.0.1/modifica_app.php:743:$comm_esistente = esegui_query("select testo from $tabledescrizioni where nome = '".aggslashdb($idappartamenti)."' and tipo = 'appcommfoto' and lingua = 'ita' and numero = '$numfoto' ");
hoteldruid-3.0.1/modifica_app.php:744:if (numlin_query($comm_esistente)) esegui_query("update $tabledescrizioni set testo = '$n_commento_ita' where nome = '".aggslashdb($idappartamenti)."' and tipo = 'appcommfoto' and lingua = 'ita' and numero = '$numfoto' ");
hoteldruid-3.0.1/modifica_app.php-745-else esegui_query("insert into $tabledescrizioni (nome,tipo,lingua,numero,testo) values ('".aggslashdb($idappartamenti)."','appcommfoto','ita','$numfoto','$n_commento_ita') ");
hoteldruid-3.0.1/modifica_app.php-746-} # fine if (strcmp($n_commento_ita,""))
hoteldruid-3.0.1/modifica_app.php:747:else esegui_query("delete from $tabledescrizioni where nome = '".aggslashdb($idappartamenti)."' and tipo = 'appcommfoto' and lingua = 'ita' and numero = '$numfoto' ");
hoteldruid-3.0.1/modifica_app.php-748-$lang_dir = opendir("./includes/lang/");
##############################################
hoteldruid-3.0.1/modifica_app.php-755-$n_commento = aggslashdb(htmlspecialchars($n_commento));
hoteldruid-3.0.1/modifica_app.php:756:$comm_esistente = esegui_query("select testo from $tabledescrizioni where nome = '".aggslashdb($idappartamenti)."' and tipo = 'appcommfoto' and lingua = '$ini_lingua' and numero = '$numfoto' ");
hoteldruid-3.0.1/modifica_app.php:757:if (numlin_query($comm_esistente)) esegui_query("update $tabledescrizioni set testo = '$n_commento' where nome = '".aggslashdb($idappartamenti)."' and tipo = 'appcommfoto' and lingua = '$ini_lingua' and numero = '$numfoto' ");
hoteldruid-3.0.1/modifica_app.php-758-else esegui_query("insert into $tabledescrizioni (nome,tipo,lingua,numero,testo) values ('".aggslashdb($idappartamenti)."','appcommfoto','$ini_lingua','$numfoto','$n_commento') ");
hoteldruid-3.0.1/modifica_app.php-759-} # fine if (strcmp($n_commento,""))
hoteldruid-3.0.1/modifica_app.php:760:else esegui_query("delete from $tabledescrizioni where nome = '".aggslashdb($idappartamenti)."' and tipo = 'appcommfoto' and lingua = '$ini_lingua' and numero = '$numfoto' ");
hoteldruid-3.0.1/modifica_app.php-761-} # fine if ($file != "." && $file != ".." and...
##############################################
hoteldruid-3.0.1/modifica_app.php-775-if ($numfoto and controlla_num_pos($numfoto) == "SI") {
hoteldruid-3.0.1/modifica_app.php:776:esegui_query("delete from $tabledescrizioni where nome = '".aggslashdb($idappartamenti)."' and (tipo = 'appfoto' or tipo = 'appcommfoto') and numero = '$numfoto' ");
hoteldruid-3.0.1/modifica_app.php-777-echo "".ucfirst(mex("foto eliminata",$pag)).".<br>";
##############################################
hoteldruid-3.0.1/modifica_app.php-790-if (str_replace("<","",$n_urlfoto) != $n_urlfoto or str_replace(">","",$n_urlfoto) != $n_urlfoto or str_replace("\"","",$n_urlfoto) != $n_urlfoto) $errore = "SI";
hoteldruid-3.0.1/modifica_app.php:791:$app_esist = esegui_query("select idappartamenti from $tableappartamenti where idappartamenti = '".aggslashdb($idappartamenti)."' ");
hoteldruid-3.0.1/modifica_app.php-792-if (!numlin_query($app_esist)) $errore = "SI";
##############################################
hoteldruid-3.0.1/modifica_app.php-795-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/modifica_app.php:796:$foto_esistenti = esegui_query("select * from $tabledescrizioni where nome = '".aggslashdb($idappartamenti)."' and tipo = 'appfoto' order by numero desc ");
hoteldruid-3.0.1/modifica_app.php-797-if (numlin_query($foto_esistenti)) $numfoto = (risul_query($foto_esistenti,0,'numero') + 1);
##############################################
hoteldruid-3.0.1/modifica_app.php-827-# Form per modificare l'appartamento.
hoteldruid-3.0.1/modifica_app.php:828:$appartamento = esegui_query("select * from $tableappartamenti where idappartamenti = '".aggslashdb($idappartamenti)."'");
hoteldruid-3.0.1/modifica_app.php-829-if (numlin_query($appartamento)) {
##############################################
hoteldruid-3.0.1/modifica_app.php-884-
hoteldruid-3.0.1/modifica_app.php:885:$d_descrizione = esegui_query("select testo from $tabledescrizioni where nome = '".aggslashdb($idappartamenti)."' and tipo = 'appdescr' and lingua = 'ita' and numero = '1' ");
hoteldruid-3.0.1/modifica_app.php-886-if (numlin_query($d_descrizione)) $d_descrizione = risul_query($d_descrizione,0,'testo');
##############################################
hoteldruid-3.0.1/modifica_app.php-905-$lingue_vett[$ini_lingua] = $nome_lingua;
hoteldruid-3.0.1/modifica_app.php:906:$d_descrizione = esegui_query("select testo from $tabledescrizioni where nome = '".aggslashdb($idappartamenti)."' and tipo = 'appdescr' and lingua = '$ini_lingua' and numero = '1' ");
hoteldruid-3.0.1/modifica_app.php-907-if (numlin_query($d_descrizione)) $d_descrizione = risul_query($d_descrizione,0,'testo');
##############################################
hoteldruid-3.0.1/modifica_app.php-922-
hoteldruid-3.0.1/modifica_app.php:923:$foto = esegui_query("select * from $tabledescrizioni where nome = '".$idappartamenti."' and tipo = 'appfoto' order by numero ");
hoteldruid-3.0.1/modifica_app.php-924-$num_foto = numlin_query($foto);
##############################################
hoteldruid-3.0.1/modifica_app.php-940-".ucfirst(mex("commento",$pag)).":<br>";
hoteldruid-3.0.1/modifica_app.php:941:$d_commento = esegui_query("select testo from $tabledescrizioni where nome = '".aggslashdb($idappartamenti)."' and tipo = 'appcommfoto' and lingua = 'ita' and numero = '$numfoto' ");
hoteldruid-3.0.1/modifica_app.php-942-if (numlin_query($d_commento)) $d_commento = risul_query($d_commento,0,'testo');
##############################################
hoteldruid-3.0.1/modifica_app.php-947-foreach ($lingue_vett as $ini_lingua => $nome_lingua) {
hoteldruid-3.0.1/modifica_app.php:948:$d_commento = esegui_query("select testo from $tabledescrizioni where nome = '".aggslashdb($idappartamenti)."' and tipo = 'appcommfoto' and lingua = '$ini_lingua' and numero = '$numfoto' ");
hoteldruid-3.0.1/modifica_app.php-949-if (numlin_query($d_commento)) $d_commento = risul_query($d_commento,0,'testo');
##############################################
hoteldruid-3.0.1/modifica_app.php-998-
hoteldruid-3.0.1/modifica_app.php:999:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/modifica_app.php-1000-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/punto_vendita.php-28-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/punto_vendita.php:29:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/punto_vendita.php-30-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/punto_vendita.php-59-$tablerelgruppi = $PHPR_TAB_PRE."relgruppi";
hoteldruid-3.0.1/punto_vendita.php:60:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/punto_vendita.php-61-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/punto_vendita.php-63-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/punto_vendita.php:64:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/punto_vendita.php-65-$priv_vedi_tab = risul_query($privilegi_annuali_utente,0,'priv_vedi_tab');
##############################################
hoteldruid-3.0.1/punto_vendita.php-115-if ($prendi_gruppi == "SI") {
hoteldruid-3.0.1/punto_vendita.php:116:$gruppi_utente = esegui_query("select idgruppo from $tablerelgruppi where idutente = '$id_utente' and idgruppo is not NULL ");
hoteldruid-3.0.1/punto_vendita.php-117-$num_gruppi_utente = numlin_query($gruppi_utente);
##############################################
hoteldruid-3.0.1/punto_vendita.php-119-$idgruppo = risul_query($gruppi_utente,$num1,'idgruppo');
hoteldruid-3.0.1/punto_vendita.php:120:$utenti_gruppo = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$idgruppo' ");
hoteldruid-3.0.1/punto_vendita.php-121-$num_utenti_gruppo = numlin_query($utenti_gruppo);
##############################################
hoteldruid-3.0.1/punto_vendita.php-155-$titolo = "HotelDruid: ".mex("Punto Vendita",$pag);
hoteldruid-3.0.1/punto_vendita.php:156:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/punto_vendita.php-157-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/punto_vendita.php-163-
hoteldruid-3.0.1/punto_vendita.php:164:$ordine_inventario = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'ordine_inventario' and idutente = '$id_utente' ");
hoteldruid-3.0.1/punto_vendita.php-165-$ordine_inventario = risul_query($ordine_inventario,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/punto_vendita.php-173-$id_periodo_corrente = calcola_id_periodo_corrente($anno);
hoteldruid-3.0.1/punto_vendita.php:174:$attiva_checkin = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'attiva_checkin' and idutente = '$id_utente'");
hoteldruid-3.0.1/punto_vendita.php-175-$attiva_checkin = risul_query($attiva_checkin,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/punto_vendita.php-200-$id_prenota = aggslashdb($id_prenota);
hoteldruid-3.0.1/punto_vendita.php:201:$dati_prenota = esegui_query("select * from $tableprenota where idprenota = '$id_prenota'");
hoteldruid-3.0.1/punto_vendita.php-202-if (!numlin_query($dati_prenota)) $id_prenota = "";
##############################################
hoteldruid-3.0.1/punto_vendita.php-418-if ($periodo_costo_trovato == "SI") {
hoteldruid-3.0.1/punto_vendita.php:419:$date_sett_costo = esegui_query("select datainizio,datafine from $tableperiodi where idperiodi = '$num2'");
hoteldruid-3.0.1/punto_vendita.php-420-echo "<tr><td style=\"height: 50px; width: 30px\">
##############################################
hoteldruid-3.0.1/punto_vendita.php-737-
hoteldruid-3.0.1/punto_vendita.php:738:$metodi_pagamento = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'metodi_pagamento' and idutente = '$id_utente'");
hoteldruid-3.0.1/punto_vendita.php-739-$metodi_pagamento = risul_query($metodi_pagamento,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/punto_vendita.php-791-if ($priv_persona_ins_costi == "u") {
hoteldruid-3.0.1/punto_vendita.php:792:$nome_utente = esegui_query("select * from $tableutenti where idutenti = '$id_utente'");
hoteldruid-3.0.1/punto_vendita.php-793-$persona_costo = risul_query($nome_utente,0,'nome_utente');
##############################################
hoteldruid-3.0.1/punto_vendita.php-805-$valuta = $altre_valute[$valuta_corr]['nome'].">".$altre_valute[$valuta_corr]['cambio'].">".$altre_valute[$valuta_corr]['arrotond'];
hoteldruid-3.0.1/punto_vendita.php:806:esegui_query("update $tablecosti set valuta = '".aggslashdb($valuta)."', costo_valuta = '".aggslashdb($val_entrata_valuta)."' where idcosti = '$idcosti' ");
hoteldruid-3.0.1/punto_vendita.php-807-$val_valuta_paga = $val_entrata_valuta;
##############################################
hoteldruid-3.0.1/punto_vendita.php-833-$id_beneinv = $dati_ca[$numca]['id_beneinv'][$num2];
hoteldruid-3.0.1/punto_vendita.php:834:esegui_query("update $tablerelinventario set quantita = '".$beniinv_presenti["mag".$idmag][$id_beneinv]."' where idbeneinventario = '$id_beneinv' and idmagazzino = '$idmag' ");
hoteldruid-3.0.1/punto_vendita.php-835-} # fine for $num2
##############################################
hoteldruid-3.0.1/punto_vendita.php-847-if ($attiva_checkin == "SI") $dati_prenota = esegui_query("select * from $tableprenota where checkin is not NULL and checkout is NULL order by idappartamenti");
hoteldruid-3.0.1/punto_vendita.php:848:else $dati_prenota = esegui_query("select * from $tableprenota where iddatainizio <= '$id_periodo_corrente' and iddatafine >= '".($id_periodo_corrente - 1)."' order by idappartamenti ");
hoteldruid-3.0.1/punto_vendita.php-849-$num_prenota = numlin_query($dati_prenota);
##############################################
hoteldruid-3.0.1/punto_vendita.php-872-if ($vedi_clienti != "NO") {
hoteldruid-3.0.1/punto_vendita.php:873:$ospiti = esegui_query("select idclienti from $tablerclientiprenota where idprenota = '$id_prenota' order by num_ordine ");
hoteldruid-3.0.1/punto_vendita.php-874-if (numlin_query($ospiti)) $id_clienti = risul_query($ospiti,0,'idclienti');
hoteldruid-3.0.1/punto_vendita.php-875-else $id_clienti = risul_query($dati_prenota,$num1,'idclienti');
hoteldruid-3.0.1/punto_vendita.php:876:$dati_cliente = esegui_query("select * from $tableclienti where idclienti = '$id_clienti' ");
hoteldruid-3.0.1/punto_vendita.php-877-$mostra_cliente = "SI";
##############################################
hoteldruid-3.0.1/punto_vendita.php-924-if ($n_moltiplica_costo[$numca] != $dati_cap[$numca]['moltiplica_costo']) {
hoteldruid-3.0.1/punto_vendita.php:925:esegui_query("update $tablecostiprenota set moltiplica = '".$n_moltiplica_costo[$numca]."' where idcostiprenota = '".$dati_cap[$numca]['id']."' and idprenota = '$id_prenota' ");
hoteldruid-3.0.1/punto_vendita.php-926-} # fine if ($n_moltiplica_costo[$numca] != $dati_cap[$numca]['moltiplica_costo'])
##############################################
hoteldruid-3.0.1/punto_vendita.php-971-esegui_query("insert into $tablecostiprenota (idcostiprenota,idprenota,tipo,nome,valore,associasett,settimane,moltiplica,letto,idntariffe,varmoltiplica,varnumsett,varperiodipermessi,varbeniinv,varappincompatibili,vartariffeassociate,vartariffeincomp,datainserimento,hostinserimento,utente_inserimento) values ('$idcostiprenota','$id_prenota','$tipo_ca','".aggslashdb($dati_ca[$numca]['nome'])."','$valore_ca','$associasett_ca','$sett_costo','$moltiplica','$letto_ca','$id_costo','$varmoltiplica_ca','$varnumsett_ca','$varperiodipermessi_ca','$varbeniinv_ca','$varappincompatibili_ca','$vartariffeassociate_ca','$vartariffeincomp_ca','$datainserimento','$HOSTNAME','$id_utente')");
hoteldruid-3.0.1/punto_vendita.php:972:if (substr($tipo_ca,1,1) != "f") esegui_query("update $tablecostiprenota set valore_perc = '$valore_perc_ca', arrotonda = '".$dati_ca[$numca]['arrotonda']."' where idcostiprenota = '$idcostiprenota'");
hoteldruid-3.0.1/punto_vendita.php:973:if ($dati_ca[$numca]['tasseperc']) esegui_query("update $tablecostiprenota set tasseperc = '".$dati_ca[$numca]['tasseperc']."' where idcostiprenota = '$idcostiprenota'");
hoteldruid-3.0.1/punto_vendita.php-974-} # fine for $num1
##############################################
hoteldruid-3.0.1/punto_vendita.php-976-$n_costo_tot = $d_costo_tot + $n_costo_agg_tot - $d_costo_agg_tot;
hoteldruid-3.0.1/punto_vendita.php:977:esegui_query("update $tableprenota set tariffa_tot = '$n_costo_tot', data_modifica = '$datainserimento' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/punto_vendita.php-978-
##############################################
hoteldruid-3.0.1/punto_vendita.php-1130-unset($nome_contratto);
hoteldruid-3.0.1/punto_vendita.php:1131:$nomi_contratti = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'nomi_contratti' and idutente = '$id_utente'");
hoteldruid-3.0.1/punto_vendita.php-1132-$nomi_contratti = risul_query($nomi_contratti,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/punto_vendita.php-1157-
hoteldruid-3.0.1/punto_vendita.php:1158:$tasti_pos = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'tasti_pos' and idutente = '$id_utente' ");
hoteldruid-3.0.1/punto_vendita.php-1159-$tasti_pos = risul_query($tasti_pos,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/punto_vendita.php-1350-
hoteldruid-3.0.1/punto_vendita.php:1351:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/punto_vendita.php-1352-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/dati_relutenti.php-27-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/dati_relutenti.php:28:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/dati_relutenti.php-29-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/dati_relutenti.php-45-$tableprivilegi = $PHPR_TAB_PRE."privilegi";
hoteldruid-3.0.1/dati_relutenti.php:46:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/dati_relutenti.php-47-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/dati_relutenti.php-49-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/dati_relutenti.php:50:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/dati_relutenti.php-51-$priv_mod_pers = risul_query($privilegi_globali_utente,0,'priv_mod_pers');
##############################################
hoteldruid-3.0.1/modifica_contratto.php-27-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/modifica_contratto.php:28:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/modifica_contratto.php-29-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/modifica_contratto.php-46-$tablerelgruppi = $PHPR_TAB_PRE."relgruppi";
hoteldruid-3.0.1/modifica_contratto.php:47:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/modifica_contratto.php-48-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/modifica_contratto.php-50-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/modifica_contratto.php:51:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/modifica_contratto.php-52-$priv_mod_pers = risul_query($privilegi_globali_utente,0,'priv_mod_pers');
##############################################
hoteldruid-3.0.1/modifica_contratto.php-74-if ($priv_mod_doc_api != "s") {
hoteldruid-3.0.1/modifica_contratto.php:75:$api_esistente = esegui_query("select * from $tablecontratti where numero = '".aggslashdb($num_contratto)."' and tipo = 'api'");
hoteldruid-3.0.1/modifica_contratto.php-76-if (numlin_query($api_esistente)) $priv_mod_doc = "n";
##############################################
hoteldruid-3.0.1/modifica_contratto.php-81-$titolo = "HotelDruid: ".mex("Modifica Documento",$pag);
hoteldruid-3.0.1/modifica_contratto.php:82:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/modifica_contratto.php-83-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/modifica_contratto.php-126-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/modifica_contratto.php:127:$vecchio_formato = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo $LIKE 'contr%' ");
hoteldruid-3.0.1/modifica_contratto.php-128-if (numlin_query($vecchio_formato) == 1) {
##############################################
hoteldruid-3.0.1/modifica_contratto.php-135-if ($vecchio_formato == "contreml") {
hoteldruid-3.0.1/modifica_contratto.php:136:esegui_query("delete from $tablecontratti where numero = '$num_contratto' and tipo = 'oggetto' ");
hoteldruid-3.0.1/modifica_contratto.php:137:$num_all = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'allegato'");
hoteldruid-3.0.1/modifica_contratto.php-138-$num_all = risul_query($num_all,0,'testo');
hoteldruid-3.0.1/modifica_contratto.php:139:esegui_query("delete from $tablecontratti where numero = '$num_contratto' and tipo = 'allegato'");
hoteldruid-3.0.1/modifica_contratto.php-140-if ($num_all) {
hoteldruid-3.0.1/modifica_contratto.php:141:$altri_all = esegui_query("select * from $tablecontratti where testo = '$num_all' and tipo = 'allegato'");
hoteldruid-3.0.1/modifica_contratto.php-142-if (!numlin_query($altri_all)) {
hoteldruid-3.0.1/modifica_contratto.php:143:esegui_query("delete from $tablecontratti where numero = '$num_all' and tipo = 'file_all' ");
hoteldruid-3.0.1/modifica_contratto.php-144-} # fine if (!numlin_query($altri_all))
##############################################
hoteldruid-3.0.1/modifica_contratto.php-146-} # fine if ($num_all)
hoteldruid-3.0.1/modifica_contratto.php:147:esegui_query("delete from $tablecontratti where numero = '$num_contratto' and tipo = 'opzeml'");
hoteldruid-3.0.1/modifica_contratto.php-148-} # fine if ($vecchio_formato == "contreml")
hoteldruid-3.0.1/modifica_contratto.php:149:if ($vecchio_formato == "contrtxt") esegui_query("delete from $tablecontratti where numero = '$num_contratto' and tipo = 'est_txt' ");
hoteldruid-3.0.1/modifica_contratto.php:150:if ($vecchio_formato == "contrhtm") esegui_query("delete from $tablecontratti where numero = '$num_contratto' and (tipo = 'headhtm' or tipo = 'foothtm') ");
hoteldruid-3.0.1/modifica_contratto.php-151-if ($formato == "contreml") {
hoteldruid-3.0.1/modifica_contratto.php:152:esegui_query("delete from $tablecontratti where numero = '$num_contratto' and tipo = 'dir'");
hoteldruid-3.0.1/modifica_contratto.php-153-esegui_query("insert into $tablecontratti (numero,tipo,testo) values ('$num_contratto','oggetto','') ");
##############################################
hoteldruid-3.0.1/modifica_contratto.php-156-} # fine if ($formato == "contreml")
hoteldruid-3.0.1/modifica_contratto.php:157:esegui_query("update $tablecontratti set tipo = '$formato' where numero = '$num_contratto' and tipo $LIKE 'contr%'");
hoteldruid-3.0.1/modifica_contratto.php-158-} # fine if ($vecchio_formato != $formato)
##############################################
hoteldruid-3.0.1/modifica_contratto.php-160-if ($vecchio_multi_lingua) {
hoteldruid-3.0.1/modifica_contratto.php:161:$lingua_def = esegui_query("select testo from $tablecontratti where numero = '$num_contratto' and tipo $LIKE 'contr%'");
hoteldruid-3.0.1/modifica_contratto.php-162-$lingua_def = substr(risul_query($lingua_def,0,'testo'),7);
hoteldruid-3.0.1/modifica_contratto.php:163:$testo_contr = esegui_query("select testo from $tablecontratti where numero = '$num_contratto' and tipo = 'mln_$lingua_def' ");
hoteldruid-3.0.1/modifica_contratto.php-164-if (numlin_query($testo_contr)) $testo_contr = risul_query($testo_contr,0,'testo');
hoteldruid-3.0.1/modifica_contratto.php-165-else $testo_contr = "";
hoteldruid-3.0.1/modifica_contratto.php:166:esegui_query("update $tablecontratti set testo = '".aggslashdb($testo_contr)."' where numero = '$num_contratto' and tipo $LIKE 'contr%' ");
hoteldruid-3.0.1/modifica_contratto.php:167:esegui_query("delete from $tablecontratti where numero = '$num_contratto' and tipo $LIKE 'mln_%' ");
hoteldruid-3.0.1/modifica_contratto.php-168-} # fine if ($vecchio_multi_lingua)
hoteldruid-3.0.1/modifica_contratto.php-169-if ($multi_lingua) {
hoteldruid-3.0.1/modifica_contratto.php:170:$testo_contr = esegui_query("select testo from $tablecontratti where numero = '$num_contratto' and tipo $LIKE 'contr%'");
hoteldruid-3.0.1/modifica_contratto.php-171-$testo_contr = risul_query($testo_contr,0,'testo');
##############################################
hoteldruid-3.0.1/modifica_contratto.php-174-esegui_query("insert into $tablecontratti (numero,tipo,testo) values ('$num_contratto','mln_$lingua_mex','".aggslashdb($testo_contr)."') ");
hoteldruid-3.0.1/modifica_contratto.php:175:esegui_query("update $tablecontratti set testo = '#!mln!#$lingua_mex' where numero = '$num_contratto' and tipo $LIKE 'contr%' ");
hoteldruid-3.0.1/modifica_contratto.php-176-echo "<b class=\"colblu\">".mex("Avviso",$pag)."</b>: ".mex("nei documenti in formato multi-lingua non è possibile ripetere una sola parte con i tag [r] e [/r], il documento viene ripetuto interamente per ogni prenotazione",$pag).".<br><br>";
##############################################
hoteldruid-3.0.1/modifica_contratto.php-193-if (str_replace(">","",$formati) == "") $formati = "";
hoteldruid-3.0.1/modifica_contratto.php:194:$formati_esist = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'formati' ");
hoteldruid-3.0.1/modifica_contratto.php-195-if (numlin_query($formati_esist)) {
hoteldruid-3.0.1/modifica_contratto.php:196:if ($formati) esegui_query("update $tablecontratti set testo = '".aggslashdb($formati)."' where numero = '$num_contratto' and tipo = 'formati' ");
hoteldruid-3.0.1/modifica_contratto.php:197:else esegui_query("delete from $tablecontratti where numero = '$num_contratto' and tipo = 'formati' ");
hoteldruid-3.0.1/modifica_contratto.php-198-} # fine if (numlin_query($formati_esist))
##############################################
hoteldruid-3.0.1/modifica_contratto.php-209-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/modifica_contratto.php:210:$tipo_contratto = esegui_query("select tipo from $tablecontratti where numero = '$num_contratto' and tipo $LIKE 'contr%'");
hoteldruid-3.0.1/modifica_contratto.php-211-$tipo_contratto = risul_query($tipo_contratto,0,'tipo');
##############################################
hoteldruid-3.0.1/modifica_contratto.php-229-if ($nuova_dir_salva == $dir_salva_home) $nuova_dir_salva = "~";
hoteldruid-3.0.1/modifica_contratto.php:230:$dir_esistente = esegui_query("select testo from $tablecontratti where numero = '$num_contratto' and tipo = 'dir'");
hoteldruid-3.0.1/modifica_contratto.php:231:if (numlin_query($dir_esistente) >= 1) esegui_query("update $tablecontratti set testo = '$nuova_dir_salva' where numero = '$num_contratto' and tipo = 'dir'");
hoteldruid-3.0.1/modifica_contratto.php-232-else {
##############################################
hoteldruid-3.0.1/modifica_contratto.php-238-else {
hoteldruid-3.0.1/modifica_contratto.php:239:esegui_query("delete from $tablecontratti where numero = '$num_contratto' and (tipo = 'dir' or tipo = 'num_prog' or tipo = 'nomefile' or tipo = 'compress' or tipo = 'autosalv' or tipo = 'incr_np') ");
hoteldruid-3.0.1/modifica_contratto.php:240:esegui_query("delete from $tablecontratti where testo = '$num_contratto_int' and tipo = 'num_prog' ");
hoteldruid-3.0.1/modifica_contratto.php-241-echo "".mex("I documenti non verranno salvati",$pag).".<br>";
##############################################
hoteldruid-3.0.1/modifica_contratto.php-252-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/modifica_contratto.php:253:$dir_esistente = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'dir'");
hoteldruid-3.0.1/modifica_contratto.php-254-if (numlin_query($dir_esistente)) {
##############################################
hoteldruid-3.0.1/modifica_contratto.php-256-$mostra_form_iniziale = "NO";
hoteldruid-3.0.1/modifica_contratto.php:257:esegui_query("delete from $tablecontratti where numero = '$num_contratto' and tipo = 'compress' ");
hoteldruid-3.0.1/modifica_contratto.php-258-echo "".mex("Il documento non verrà salvato compresso su disco",$pag).".<br>";
##############################################
hoteldruid-3.0.1/modifica_contratto.php-261-$mostra_form_iniziale = "NO";
hoteldruid-3.0.1/modifica_contratto.php:262:$compress_esistente = esegui_query("select testo from $tablecontratti where numero = '$num_contratto' and tipo = 'compress' ");
hoteldruid-3.0.1/modifica_contratto.php:263:if (numlin_query($compress_esistente)) esegui_query("update $tablecontratti set testo = 'gz' where numero = '$num_contratto' and tipo = 'compress' ");
hoteldruid-3.0.1/modifica_contratto.php-264-else esegui_query("insert into $tablecontratti (numero,tipo,testo) values ('$num_contratto','compress','gz') ");
##############################################
hoteldruid-3.0.1/modifica_contratto.php-273-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/modifica_contratto.php:274:$dir_esistente = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'dir'");
hoteldruid-3.0.1/modifica_contratto.php-275-if (numlin_query($dir_esistente)) {
##############################################
hoteldruid-3.0.1/modifica_contratto.php-277-$mostra_form_iniziale = "NO";
hoteldruid-3.0.1/modifica_contratto.php:278:esegui_query("delete from $tablecontratti where numero = '$num_contratto' and tipo = 'autosalv' ");
hoteldruid-3.0.1/modifica_contratto.php-279-echo "".mex("Il documento non verrà salvato automaticamente",$pag).".<br>";
##############################################
hoteldruid-3.0.1/modifica_contratto.php-283-$mostra_form_iniziale = "NO";
hoteldruid-3.0.1/modifica_contratto.php:284:$autosalv_esistente = esegui_query("select testo from $tablecontratti where numero = '$num_contratto' and tipo = 'autosalv' ");
hoteldruid-3.0.1/modifica_contratto.php:285:if (numlin_query($autosalv_esistente)) esegui_query("update $tablecontratti set testo = '$n_autosalv' where numero = '$num_contratto' and tipo = 'autosalv' ");
hoteldruid-3.0.1/modifica_contratto.php-286-else esegui_query("insert into $tablecontratti (numero,tipo,testo) values ('$num_contratto','autosalv','$n_autosalv') ");
##############################################
hoteldruid-3.0.1/modifica_contratto.php-299-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/modifica_contratto.php:300:$dir_esistente = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'dir'");
hoteldruid-3.0.1/modifica_contratto.php-301-if (numlin_query($dir_esistente)) {
##############################################
hoteldruid-3.0.1/modifica_contratto.php-303-if (!$incr_np) {
hoteldruid-3.0.1/modifica_contratto.php:304:esegui_query("delete from $tablecontratti where numero = '$num_contratto' and tipo = 'incr_np' ");
hoteldruid-3.0.1/modifica_contratto.php-305-echo "".mex("Ogni documento avrà un unico numero progressivo",$pag).".<br>";
##############################################
hoteldruid-3.0.1/modifica_contratto.php-307-else {
hoteldruid-3.0.1/modifica_contratto.php:308:$incr_np_esistente = esegui_query("select testo from $tablecontratti where numero = '$num_contratto' and tipo = 'incr_np' ");
hoteldruid-3.0.1/modifica_contratto.php:309:if (numlin_query($incr_np_esistente)) esegui_query("update $tablecontratti set testo = '1' where numero = '$num_contratto' and tipo = 'incr_np' ");
hoteldruid-3.0.1/modifica_contratto.php-310-else esegui_query("insert into $tablecontratti (numero,tipo,testo) values ('$num_contratto','incr_np','1') ");
##############################################
hoteldruid-3.0.1/modifica_contratto.php-319-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/modifica_contratto.php:320:$dir_esistente = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'dir'");
hoteldruid-3.0.1/modifica_contratto.php-321-if (numlin_query($dir_esistente)) {
##############################################
hoteldruid-3.0.1/modifica_contratto.php-323-$mostra_form_iniziale = "NO";
hoteldruid-3.0.1/modifica_contratto.php:324:esegui_query("delete from $tablecontratti where numero = '$num_contratto' and tipo = 'num_prog' ");
hoteldruid-3.0.1/modifica_contratto.php-325-echo ucfirst(mex("il documento",$pag))." $num_contratto ".mex("non condividerà il numero progressivo con nessun documento",$pag).".<br>";
##############################################
hoteldruid-3.0.1/modifica_contratto.php-329-if ($contr_num_prog != $num_contratto_int and ($attiva_contratti_consentiti == "n" or $contratti_consentiti_vett[$contr_num_prog] == "SI")) {
hoteldruid-3.0.1/modifica_contratto.php:330:$dir_esistente = esegui_query("select * from $tablecontratti where numero = '$contr_num_prog' and tipo = 'dir'");
hoteldruid-3.0.1/modifica_contratto.php-331-if (numlin_query($dir_esistente)) {
hoteldruid-3.0.1/modifica_contratto.php:332:$num_prog_esistente = esegui_query("select * from $tablecontratti where numero = '$contr_num_prog' and tipo = 'num_prog' ");
hoteldruid-3.0.1/modifica_contratto.php-333-if (!numlin_query($num_prog_esistente)) {
hoteldruid-3.0.1/modifica_contratto.php-334-$mostra_form_iniziale = "NO";
hoteldruid-3.0.1/modifica_contratto.php:335:$num_prog_esistente = esegui_query("select testo from $tablecontratti where numero = '$num_contratto' and tipo = 'num_prog' ");
hoteldruid-3.0.1/modifica_contratto.php:336:if (numlin_query($num_prog_esistente)) esegui_query("update $tablecontratti set testo = '$contr_num_prog' where numero = '$num_contratto' and tipo = 'num_prog' ");
hoteldruid-3.0.1/modifica_contratto.php-337-else {
hoteldruid-3.0.1/modifica_contratto.php-338-esegui_query("insert into $tablecontratti (numero,tipo,testo) values ('$num_contratto','num_prog','$contr_num_prog') ");
hoteldruid-3.0.1/modifica_contratto.php:339:esegui_query("update $tablecontratti set testo = '$contr_num_prog' where testo = '$num_contratto_int' and tipo = 'num_prog' ");
hoteldruid-3.0.1/modifica_contratto.php-340-} # fine else if (numlin_query($num_prog_esistente))
##############################################
hoteldruid-3.0.1/modifica_contratto.php-353-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/modifica_contratto.php:354:$dir_esistente = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'dir'");
hoteldruid-3.0.1/modifica_contratto.php-355-if (numlin_query($dir_esistente)) {
##############################################
hoteldruid-3.0.1/modifica_contratto.php-357-$mostra_form_iniziale = "NO";
hoteldruid-3.0.1/modifica_contratto.php:358:esegui_query("delete from $tablecontratti where numero = '$num_contratto' and tipo = 'nomefile' ");
hoteldruid-3.0.1/modifica_contratto.php-359-echo "".mex("I file verranno salvati con il nome del documento",$pag).".<br>";
##############################################
hoteldruid-3.0.1/modifica_contratto.php-364-$nome_file_salva = htmlspecialchars($nome_file_salva);
hoteldruid-3.0.1/modifica_contratto.php:365:$nomefile_esistente = esegui_query("select testo from $tablecontratti where numero = '$num_contratto' and tipo = 'nomefile' ");
hoteldruid-3.0.1/modifica_contratto.php:366:if (numlin_query($nomefile_esistente)) esegui_query("update $tablecontratti set testo = '".aggslashdb($nome_file_salva)."' where numero = '$num_contratto' and tipo = 'nomefile' ");
hoteldruid-3.0.1/modifica_contratto.php-367-else esegui_query("insert into $tablecontratti (numero,tipo,testo) values ('$num_contratto','nomefile','".aggslashdb($nome_file_salva)."') ");
##############################################
hoteldruid-3.0.1/modifica_contratto.php-378-$tabelle_lock = lock_tabelle($tabelle_lock,$altre_tab_lock);
hoteldruid-3.0.1/modifica_contratto.php:379:$tipo_contratto = esegui_query("select tipo from $tablecontratti where numero = '$num_contratto' and tipo $LIKE 'contr%'");
hoteldruid-3.0.1/modifica_contratto.php-380-$tipo_contratto = risul_query($tipo_contratto,0,'tipo');
hoteldruid-3.0.1/modifica_contratto.php-381-if ($tipo_contratto == "contrrtf" or $tipo_contratto == "contrhtm" or $tipo_contratto == "contrtxt") {
hoteldruid-3.0.1/modifica_contratto.php:382:$api_esistente = esegui_query("select testo from $tablecontratti where numero = '$num_contratto' and tipo = 'api' ");
hoteldruid-3.0.1/modifica_contratto.php-383-if (strcmp($pass_api,"") or $id_utente_api) {
##############################################
hoteldruid-3.0.1/modifica_contratto.php-392-$pass_api = aggslashdb($pass_api);
hoteldruid-3.0.1/modifica_contratto.php:393:esegui_query("update $tablecontratti set testo = '$id_utente_api_esist;$pass_api' where numero = '$num_contratto' and tipo = 'api' ");
hoteldruid-3.0.1/modifica_contratto.php-394-echo mex("La password per la API del documento è stata cambiata",$pag).".<br>";
##############################################
hoteldruid-3.0.1/modifica_contratto.php-396-if ($id_utente_api and ($id_utente == 1 or $id_utente_api == $id_utente)) {
hoteldruid-3.0.1/modifica_contratto.php:397:$utente_esistente = esegui_query("select nome_utente from $tableutenti where idutenti = '".aggslashdb($id_utente_api)."' ");
hoteldruid-3.0.1/modifica_contratto.php-398-if (numlin_query($utente_esistente)) {
hoteldruid-3.0.1/modifica_contratto.php-399-$mostra_form_iniziale = "NO";
hoteldruid-3.0.1/modifica_contratto.php:400:esegui_query("update $tablecontratti set testo = '$id_utente_api;$pass_api_esist' where numero = '$num_contratto' and tipo = 'api' ");
hoteldruid-3.0.1/modifica_contratto.php-401-echo mex("L'utente per la API del documento è stato cambiato",$pag).".<br>";
##############################################
hoteldruid-3.0.1/modifica_contratto.php-420-$mostra_form_iniziale = "NO";
hoteldruid-3.0.1/modifica_contratto.php:421:esegui_query("delete from $tablecontratti where numero = '$num_contratto' and tipo = 'api' ");
hoteldruid-3.0.1/modifica_contratto.php-422-echo mex("Il documento non verrà più considerato come una API",$pag).".<br>";
##############################################
hoteldruid-3.0.1/modifica_contratto.php-430-if ($cambia_intestazione_pers) {
hoteldruid-3.0.1/modifica_contratto.php:431:$tipo_contratto = esegui_query("select tipo from $tablecontratti where numero = '$num_contratto' and tipo $LIKE 'contr%'");
hoteldruid-3.0.1/modifica_contratto.php-432-$tipo_contratto = risul_query($tipo_contratto,0,'tipo');
hoteldruid-3.0.1/modifica_contratto.php-433-if ($tipo_contratto == "contrhtm") {
hoteldruid-3.0.1/modifica_contratto.php:434:$intestazione_html = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'headhtm'");
hoteldruid-3.0.1/modifica_contratto.php-435-if (numlin_query($intestazione_html) == 1) $intestazione_html = 1;
##############################################
hoteldruid-3.0.1/modifica_contratto.php-438-$mostra_form_iniziale = "NO";
hoteldruid-3.0.1/modifica_contratto.php:439:if ($intestazione_html) esegui_query("delete from $tablecontratti where numero = '$num_contratto' and (tipo = 'headhtm' or tipo = 'foothtm') ");
hoteldruid-3.0.1/modifica_contratto.php-440-else {
##############################################
hoteldruid-3.0.1/modifica_contratto.php-449-if ($cambia_estenstione_pers) {
hoteldruid-3.0.1/modifica_contratto.php:450:$tipo_contratto = esegui_query("select tipo from $tablecontratti where numero = '$num_contratto' and tipo $LIKE 'contr%'");
hoteldruid-3.0.1/modifica_contratto.php-451-$tipo_contratto = risul_query($tipo_contratto,0,'tipo');
##############################################
hoteldruid-3.0.1/modifica_contratto.php-455-if (preg_replace("/[a-z]/","",$estensione_pers_txt) != "" or strlen($estensione_pers_txt) > 10 or strlen($estensione_pers_txt) < 2) $estensione_pers_txt = "";
hoteldruid-3.0.1/modifica_contratto.php:456:$estensione_txt = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'est_txt'");
hoteldruid-3.0.1/modifica_contratto.php-457-if (numlin_query($estensione_txt) == 1) $estensione_txt = risul_query($estensione_txt,0,'testo');
##############################################
hoteldruid-3.0.1/modifica_contratto.php-460-$mostra_form_iniziale = "NO";
hoteldruid-3.0.1/modifica_contratto.php:461:if ($tipo_estensione_txt == "predef") esegui_query("delete from $tablecontratti where numero = '$num_contratto' and tipo = 'est_txt' ");
hoteldruid-3.0.1/modifica_contratto.php-462-else {
hoteldruid-3.0.1/modifica_contratto.php-463-if (!$estensione_txt) esegui_query("insert into $tablecontratti (numero,tipo,testo) values ('$num_contratto','est_txt','$estensione_pers_txt') ");
hoteldruid-3.0.1/modifica_contratto.php:464:else esegui_query("update $tablecontratti set testo = '$estensione_pers_txt' where numero = '$num_contratto' and tipo = 'est_txt'");
hoteldruid-3.0.1/modifica_contratto.php-465-} # fine else if ($tipo_estensione_txt == "predef")
##############################################
hoteldruid-3.0.1/modifica_contratto.php-477-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/modifica_contratto.php:478:$tipo_contratto = esegui_query("select tipo from $tablecontratti where numero = '$num_contratto' and tipo $LIKE 'contr%'");
hoteldruid-3.0.1/modifica_contratto.php-479-$tipo_contratto = risul_query($tipo_contratto,0,'tipo');
##############################################
hoteldruid-3.0.1/modifica_contratto.php-481-$mostra_form_iniziale = "NO";
hoteldruid-3.0.1/modifica_contratto.php:482:esegui_query("update $tablecontratti set testo = '$nuovo_oggetto' where numero = '$num_contratto' and tipo = 'oggetto'");
hoteldruid-3.0.1/modifica_contratto.php-483-echo "".mex("Oggetto cambiato",$pag).".<br>";
##############################################
hoteldruid-3.0.1/modifica_contratto.php-518-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/modifica_contratto.php:519:$tipo_contratto = esegui_query("select tipo from $tablecontratti where numero = '$num_contratto' and tipo $LIKE 'contr%'");
hoteldruid-3.0.1/modifica_contratto.php-520-$tipo_contratto = risul_query($tipo_contratto,0,'tipo');
##############################################
hoteldruid-3.0.1/modifica_contratto.php-530-esegui_query("insert into $tablecontratti (numero,tipo,testo) values ('$max_fa','file_all','".aggslashdb($allegato)."')");
hoteldruid-3.0.1/modifica_contratto.php:531:esegui_query("update $tablecontratti set testo = '$max_fa' where numero = '$num_contratto' and tipo = 'allegato'");
hoteldruid-3.0.1/modifica_contratto.php-532-echo "".mex("Allegato salvato",$pag).".<br>";
##############################################
hoteldruid-3.0.1/modifica_contratto.php-540-if ($aggiungi_allegato) {
hoteldruid-3.0.1/modifica_contratto.php:541:$all_esistente = @esegui_query("select * from $tablecontratti where numero = '".aggslashdb($num_allegato)."' and tipo = 'file_all' ");
hoteldruid-3.0.1/modifica_contratto.php-542-if (numlin_query($all_esistente)) {
hoteldruid-3.0.1/modifica_contratto.php-543-$mostra_form_iniziale = "NO";
hoteldruid-3.0.1/modifica_contratto.php:544:esegui_query("update $tablecontratti set testo = '$num_allegato' where numero = '$num_contratto' and tipo = 'allegato'");
hoteldruid-3.0.1/modifica_contratto.php-545-echo "".mex("Allegato salvato",$pag).".<br>";
##############################################
hoteldruid-3.0.1/modifica_contratto.php-551-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/modifica_contratto.php:552:$tipo_contratto = esegui_query("select tipo from $tablecontratti where numero = '$num_contratto' and tipo $LIKE 'contr%'");
hoteldruid-3.0.1/modifica_contratto.php-553-$tipo_contratto = risul_query($tipo_contratto,0,'tipo');
##############################################
hoteldruid-3.0.1/modifica_contratto.php-555-$mostra_form_iniziale = "NO";
hoteldruid-3.0.1/modifica_contratto.php:556:$num_all = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'allegato'");
hoteldruid-3.0.1/modifica_contratto.php-557-$num_all = risul_query($num_all,0,'testo');
hoteldruid-3.0.1/modifica_contratto.php-558-if ($num_all) {
hoteldruid-3.0.1/modifica_contratto.php:559:esegui_query("update $tablecontratti set testo = '' where numero = '$num_contratto' and tipo = 'allegato'");
hoteldruid-3.0.1/modifica_contratto.php:560:$altri_all = esegui_query("select * from $tablecontratti where testo = '$num_all' and tipo = 'allegato'");
hoteldruid-3.0.1/modifica_contratto.php-561-if (!numlin_query($altri_all)) {
hoteldruid-3.0.1/modifica_contratto.php:562:esegui_query("delete from $tablecontratti where numero = '$num_all' and tipo = 'file_all' ");
hoteldruid-3.0.1/modifica_contratto.php-563-} # fine if (!numlin_query($altri_all))
##############################################
hoteldruid-3.0.1/modifica_contratto.php-572-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/modifica_contratto.php:573:$contratto = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo $LIKE 'contr%'");
hoteldruid-3.0.1/modifica_contratto.php-574-$tipo_contratto = risul_query($contratto,0,'tipo');
##############################################
hoteldruid-3.0.1/modifica_contratto.php-576-$mostra_form_iniziale = "NO";
hoteldruid-3.0.1/modifica_contratto.php:577:$opz_eml = esegui_query("select testo from $tablecontratti where numero = '$num_contratto' and tipo = 'opzeml'");
hoteldruid-3.0.1/modifica_contratto.php-578-$opz_eml = explode(";",risul_query($opz_eml,0,'testo'));
##############################################
hoteldruid-3.0.1/modifica_contratto.php-583-$testo_eml = risul_query($contratto,0,'testo');
hoteldruid-3.0.1/modifica_contratto.php:584:if (!strcmp(trim($testo_eml),"")) esegui_query("update $tablecontratti set testo = '<html><body>\n\n\n\n</body></html>' where numero = '$num_contratto' and tipo = 'contreml' ");
hoteldruid-3.0.1/modifica_contratto.php-585-} # fine if ($opz_eml[0] != "html")
##############################################
hoteldruid-3.0.1/modifica_contratto.php-588-$n_opz .= $opz_eml[1].";".$opz_eml[2];
hoteldruid-3.0.1/modifica_contratto.php:589:esegui_query("update $tablecontratti set testo = '$n_opz' where numero = '$num_contratto' and tipo = 'opzeml' ");
hoteldruid-3.0.1/modifica_contratto.php-590-echo "".mex("Formato dell'email cambiato",$pag).".<br>";
##############################################
hoteldruid-3.0.1/modifica_contratto.php-596-if ($bcc_indirizzo and preg_match('/^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,4}$/i',$email_bcc)) $n_opz .= "$email_bcc";
hoteldruid-3.0.1/modifica_contratto.php:597:esegui_query("update $tablecontratti set testo = '$n_opz' where numero = '$num_contratto' and tipo = 'opzeml' ");
hoteldruid-3.0.1/modifica_contratto.php-598-echo "".mex("Copie bcc da spedire cambiate",$pag).".<br>";
##############################################
hoteldruid-3.0.1/modifica_contratto.php-606-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/modifica_contratto.php:607:$testo_contr = esegui_query("select testo from $tablecontratti where numero = '$num_contratto' and tipo $LIKE 'contr%'");
hoteldruid-3.0.1/modifica_contratto.php-608-$testo_contr = risul_query($testo_contr,0,'testo');
##############################################
hoteldruid-3.0.1/modifica_contratto.php-610-if ($lingua_contr == "ita" or (preg_replace("/[a-z]{2,3}/","",$lingua_contr) == "" and @is_file("./includes/lang/$lingua_contr/l_n"))) {
hoteldruid-3.0.1/modifica_contratto.php:611:esegui_query("update $tablecontratti set testo = '#!mln!#$lingua_contr' where numero = '$num_contratto' and tipo $LIKE 'contr%'");
hoteldruid-3.0.1/modifica_contratto.php-612-} # fine if ($lingua_contr == "ita" or...
##############################################
hoteldruid-3.0.1/modifica_contratto.php-619-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/modifica_contratto.php:620:$vecchio_head = esegui_query("select numero from $tablecontratti where numero = '$num_contratto' and tipo = 'headhtm' ");
hoteldruid-3.0.1/modifica_contratto.php-621-if (numlin_query($vecchio_head)) {
##############################################
hoteldruid-3.0.1/modifica_contratto.php-624-$n_head = aggslashdb($n_head);
hoteldruid-3.0.1/modifica_contratto.php:625:esegui_query("update $tablecontratti set testo = '$n_head' where numero = '$num_contratto' and tipo = 'headhtm' ");
hoteldruid-3.0.1/modifica_contratto.php-626-echo "".mex("Intestazione html cambiata",$pag).".<br>";
##############################################
hoteldruid-3.0.1/modifica_contratto.php-636-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/modifica_contratto.php:637:$vecchio_contr = esegui_query("select testo from $tablecontratti where numero = '$num_contratto' and tipo $LIKE 'contr%'");
hoteldruid-3.0.1/modifica_contratto.php-638-if (numlin_query($vecchio_contr)) {
##############################################
hoteldruid-3.0.1/modifica_contratto.php-700-$n_contratto = aggslashdb($n_contratto);
hoteldruid-3.0.1/modifica_contratto.php:701:if (!$multilingua) esegui_query("update $tablecontratti set testo = '$n_contratto' where numero = '$num_contratto' and tipo $LIKE 'contr%'");
hoteldruid-3.0.1/modifica_contratto.php-702-else {
hoteldruid-3.0.1/modifica_contratto.php:703:$lingua_esist = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'mln_".aggslashdb($lingua_contr)."' ");
hoteldruid-3.0.1/modifica_contratto.php:704:if (numlin_query($lingua_esist)) esegui_query("update $tablecontratti set testo = '$n_contratto' where numero = '$num_contratto' and tipo = 'mln_".aggslashdb($lingua_contr)."' ");
hoteldruid-3.0.1/modifica_contratto.php-705-else esegui_query("insert into $tablecontratti (numero,tipo,testo) values ('$num_contratto','mln_".aggslashdb($lingua_contr)."','$n_contratto') ");
##############################################
hoteldruid-3.0.1/modifica_contratto.php-787-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/modifica_contratto.php:788:$vecchio_foot = esegui_query("select numero from $tablecontratti where numero = '$num_contratto' and tipo = 'foothtm' ");
hoteldruid-3.0.1/modifica_contratto.php-789-if (numlin_query($vecchio_foot)) {
##############################################
hoteldruid-3.0.1/modifica_contratto.php-792-$n_foot = aggslashdb($n_foot);
hoteldruid-3.0.1/modifica_contratto.php:793:esegui_query("update $tablecontratti set testo = '$n_foot' where numero = '$num_contratto' and tipo = 'foothtm' ");
hoteldruid-3.0.1/modifica_contratto.php-794-echo "".mex("Chiusura html cambiata",$pag).".<br>";
##############################################
hoteldruid-3.0.1/modifica_contratto.php-824-global $trad_var,$lingua_mex;
hoteldruid-3.0.1/modifica_contratto.php:825:if (!$trad_var and $lingua_mex != "ita") include("./includes/lang/$lingua_mex/visualizza_contratto_var.php");
hoteldruid-3.0.1/modifica_contratto.php-826-if ($trad_var[$messaggio]) $messaggio = $trad_var[$messaggio];
##############################################
hoteldruid-3.0.1/modifica_contratto.php-832-<br>";
hoteldruid-3.0.1/modifica_contratto.php:833:$dati_contratto = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo $LIKE 'contr%'");
hoteldruid-3.0.1/modifica_contratto.php-834-if (numlin_query($dati_contratto) != 1) exit();
##############################################
hoteldruid-3.0.1/modifica_contratto.php-891-
hoteldruid-3.0.1/modifica_contratto.php:892:$formati = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'formati'");
hoteldruid-3.0.1/modifica_contratto.php-893-if (numlin_query($formati)) {
##############################################
hoteldruid-3.0.1/modifica_contratto.php-932-if ($tipo_contratto == "rtf" or $tipo_contratto == "htm" or $tipo_contratto == "txt") {
hoteldruid-3.0.1/modifica_contratto.php:933:$dir_salva = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'dir'");
hoteldruid-3.0.1/modifica_contratto.php-934-if (numlin_query($dir_salva) == 1) {
##############################################
hoteldruid-3.0.1/modifica_contratto.php-959-
hoteldruid-3.0.1/modifica_contratto.php:960:$compress = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'compress' ");
hoteldruid-3.0.1/modifica_contratto.php-961-if (!numlin_query($compress)) $compress = "";
##############################################
hoteldruid-3.0.1/modifica_contratto.php-975-
hoteldruid-3.0.1/modifica_contratto.php:976:$autosalv = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'autosalv' ");
hoteldruid-3.0.1/modifica_contratto.php-977-if (!numlin_query($autosalv)) $autosalv = "";
##############################################
hoteldruid-3.0.1/modifica_contratto.php-995-
hoteldruid-3.0.1/modifica_contratto.php:996:$incr_np = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'incr_np' ");
hoteldruid-3.0.1/modifica_contratto.php-997-if (!numlin_query($incr_np)) $incr_np = "";
##############################################
hoteldruid-3.0.1/modifica_contratto.php-1011-
hoteldruid-3.0.1/modifica_contratto.php:1012:$num_prog = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'num_prog' ");
hoteldruid-3.0.1/modifica_contratto.php-1013-if (!numlin_query($num_prog)) $num_prog = "";
##############################################
hoteldruid-3.0.1/modifica_contratto.php-1020-if ($num_contr != $num_contratto_int and ($attiva_contratti_consentiti == "n" or $contratti_consentiti_vett[$num_contr] == "SI" or $num_prog == $num_contr)) {
hoteldruid-3.0.1/modifica_contratto.php:1021:$num_prog_esistente = esegui_query("select * from $tablecontratti where numero = '$num_contr' and tipo = 'num_prog' ");
hoteldruid-3.0.1/modifica_contratto.php-1022-if (!numlin_query($num_prog_esistente)) {
##############################################
hoteldruid-3.0.1/modifica_contratto.php-1047-
hoteldruid-3.0.1/modifica_contratto.php:1048:$nome_file_salva = esegui_query("select testo from $tablecontratti where numero = '$num_contratto' and tipo = 'nomefile' ");
hoteldruid-3.0.1/modifica_contratto.php-1049-if (numlin_query($nome_file_salva)) {
##############################################
hoteldruid-3.0.1/modifica_contratto.php-1080-if ($priv_mod_doc_api == "s") {
hoteldruid-3.0.1/modifica_contratto.php:1081:$api_esistente = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'api'");
hoteldruid-3.0.1/modifica_contratto.php-1082-if (numlin_query($api_esistente)) $checked = " checked";
##############################################
hoteldruid-3.0.1/modifica_contratto.php-1191-if ($tipo_contratto == "htm") {
hoteldruid-3.0.1/modifica_contratto.php:1192:$intestazione_html = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'headhtm'");
hoteldruid-3.0.1/modifica_contratto.php-1193-if (numlin_query($intestazione_html) == 1) $checked = " checked";
##############################################
hoteldruid-3.0.1/modifica_contratto.php-1205-$contr_head = risul_query($intestazione_html,0,'testo');
hoteldruid-3.0.1/modifica_contratto.php:1206:$contr_foot = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'foothtm'");
hoteldruid-3.0.1/modifica_contratto.php-1207-$contr_foot = risul_query($contr_foot,0,'testo');
##############################################
hoteldruid-3.0.1/modifica_contratto.php-1212-if ($tipo_contratto == "txt") {
hoteldruid-3.0.1/modifica_contratto.php:1213:$estensione_txt = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'est_txt'");
hoteldruid-3.0.1/modifica_contratto.php-1214-if (numlin_query($estensione_txt) == 1) {
##############################################
hoteldruid-3.0.1/modifica_contratto.php-1238-$contr_head = risul_query($intestazione_html,0,'testo');
hoteldruid-3.0.1/modifica_contratto.php:1239:$contr_foot = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'foothtm'");
hoteldruid-3.0.1/modifica_contratto.php-1240-$contr_foot = risul_query($contr_foot,0,'testo');
##############################################
hoteldruid-3.0.1/modifica_contratto.php-1245-if ($tipo_contratto == "eml") {
hoteldruid-3.0.1/modifica_contratto.php:1246:$oggetto = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'oggetto'");
hoteldruid-3.0.1/modifica_contratto.php-1247-$oggetto = risul_query($oggetto,0,'testo');
##############################################
hoteldruid-3.0.1/modifica_contratto.php-1257-</div></form>";
hoteldruid-3.0.1/modifica_contratto.php:1258:$opz_eml = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'opzeml'");
hoteldruid-3.0.1/modifica_contratto.php-1259-$opz_eml = risul_query($opz_eml,0,'testo');
##############################################
hoteldruid-3.0.1/modifica_contratto.php-1276-</div></form>";
hoteldruid-3.0.1/modifica_contratto.php:1277:$allegato = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'allegato'");
hoteldruid-3.0.1/modifica_contratto.php-1278-$allegato = risul_query($allegato,0,'testo');
hoteldruid-3.0.1/modifica_contratto.php-1279-if ($allegato) {
hoteldruid-3.0.1/modifica_contratto.php:1280:$allegato = esegui_query("select * from $tablecontratti where numero = '$allegato' and tipo = 'file_all'");
hoteldruid-3.0.1/modifica_contratto.php-1281-$allegato = risul_query($allegato,0,'testo');
##############################################
hoteldruid-3.0.1/modifica_contratto.php-1333-$checked_email = "";
hoteldruid-3.0.1/modifica_contratto.php:1334:$email_bcc = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'dati_struttura' and idutente = '$id_utente'");
hoteldruid-3.0.1/modifica_contratto.php-1335-$email_bcc = risul_query($email_bcc,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/modifica_contratto.php-1396-if ($multilingua) {
hoteldruid-3.0.1/modifica_contratto.php:1397:$testo_contratto = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'mln_".$lingue[$num_lingua]."'");
hoteldruid-3.0.1/modifica_contratto.php-1398-if (numlin_query($testo_contratto)) $testo_contratto = risul_query($testo_contratto,0,'testo');
##############################################
hoteldruid-3.0.1/modifica_contratto.php-1428-
hoteldruid-3.0.1/modifica_contratto.php:1429:$campi_pers_comm = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'campi_pers_comm' and idutente = '$id_utente'");
hoteldruid-3.0.1/modifica_contratto.php-1430-if (numlin_query($campi_pers_comm) == 1) {
##############################################
hoteldruid-3.0.1/modifica_contratto.php-1434-else $num_commenti_pers = 0;
hoteldruid-3.0.1/modifica_contratto.php:1435:$campi_pers_cliente = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'campi_pers_cliente' and idutente = '$id_utente' ");
hoteldruid-3.0.1/modifica_contratto.php-1436-if (numlin_query($campi_pers_cliente)) {
##############################################
hoteldruid-3.0.1/modifica_contratto.php-1449-while ((string) substr($num_int_contr,0,1) == (string) "0") $num_int_contr = substr($num_int_contr,1);
hoteldruid-3.0.1/modifica_contratto.php:1450:$variabili_pers = esegui_query("select * from $tablecontratti where tipo = 'var' or tipo = 'var$num_int_contr' order by tipo, numero");
hoteldruid-3.0.1/modifica_contratto.php-1451-$num_variabili_pers = numlin_query($variabili_pers);
##############################################
hoteldruid-3.0.1/modifica_contratto.php-1457-} # fine for $num1
hoteldruid-3.0.1/modifica_contratto.php:1458:$array_pers = esegui_query("select * from $tablecontratti where tipo = 'vett' or tipo = 'vett$num_int_contr' order by tipo, numero");
hoteldruid-3.0.1/modifica_contratto.php-1459-$num_array_pers = numlin_query($array_pers);
##############################################
hoteldruid-3.0.1/modifica_contratto.php-1596-
hoteldruid-3.0.1/modifica_contratto.php:1597:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/modifica_contratto.php-1598-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/modifica_cliente.php-27-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/modifica_cliente.php:28:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/modifica_cliente.php-29-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/modifica_cliente.php-59-$tablerelgruppi = $PHPR_TAB_PRE."relgruppi";
hoteldruid-3.0.1/modifica_cliente.php:60:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/modifica_cliente.php-61-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/modifica_cliente.php-63-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/modifica_cliente.php:64:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/modifica_cliente.php-65-$priv_ins_clienti = risul_query($privilegi_globali_utente,0,'priv_ins_clienti');
##############################################
hoteldruid-3.0.1/modifica_cliente.php-100-if ($prendi_gruppi == "SI") {
hoteldruid-3.0.1/modifica_cliente.php:101:$gruppi_utente = esegui_query("select idgruppo from $tablerelgruppi where idutente = '$id_utente' and idgruppo is not NULL ");
hoteldruid-3.0.1/modifica_cliente.php-102-$num_gruppi_utente = numlin_query($gruppi_utente);
##############################################
hoteldruid-3.0.1/modifica_cliente.php-104-$idgruppo = risul_query($gruppi_utente,$num1,'idgruppo');
hoteldruid-3.0.1/modifica_cliente.php:105:$utenti_gruppo = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$idgruppo' ");
hoteldruid-3.0.1/modifica_cliente.php-106-$num_utenti_gruppo = numlin_query($utenti_gruppo);
##############################################
hoteldruid-3.0.1/modifica_cliente.php-127-if ($modifica_clienti == "PROPRI" or $vedi_clienti == "PROPRI") {
hoteldruid-3.0.1/modifica_cliente.php:128:$cliente_proprio = esegui_query("select idclienti from $tableclienti where idclienti = '$idclienti' and utente_inserimento = '$id_utente'");
hoteldruid-3.0.1/modifica_cliente.php-129-if (numlin_query($cliente_proprio) == 0) $modifica_clienti = "NO";
##############################################
hoteldruid-3.0.1/modifica_cliente.php-131-elseif ($modifica_clienti == "GRUPPI" or $vedi_clienti == "GRUPPI") {
hoteldruid-3.0.1/modifica_cliente.php:132:$cliente_proprio = esegui_query("select utente_inserimento from $tableclienti where idclienti = '$idclienti'");
hoteldruid-3.0.1/modifica_cliente.php-133-if (numlin_query($cliente_proprio) == 0) $utente_inserimento = "0";
##############################################
hoteldruid-3.0.1/modifica_cliente.php-140-$titolo = "HotelDruid: ".mex("Modifica Cliente",$pag);
hoteldruid-3.0.1/modifica_cliente.php:141:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/modifica_cliente.php-142-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/modifica_cliente.php-147-
hoteldruid-3.0.1/modifica_cliente.php:148:$campi_pers = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'campi_pers_cliente' and idutente = '$id_utente'");
hoteldruid-3.0.1/modifica_cliente.php-149-if (numlin_query($campi_pers) == 1) {
##############################################
hoteldruid-3.0.1/modifica_cliente.php-186-$tabelle_lock = lock_tabelle($tabelle_lock,$altre_tab_lock);
hoteldruid-3.0.1/modifica_cliente.php:187:$cliente_esistente = esegui_query("select cognome,idclienti_compagni from $tableclienti where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-188-if (numlin_query($cliente_esistente) == 1) {
##############################################
hoteldruid-3.0.1/modifica_cliente.php-195-$tablesoldi_mostra = $PHPR_TAB_PRE."soldi".$anno_mostra;
hoteldruid-3.0.1/modifica_cliente.php:196:$prenotazioni = esegui_query("select * from $tableprenota_mostra where idclienti = '$idclienti'");
hoteldruid-3.0.1/modifica_cliente.php:197:$prenotazionicanc = esegui_query("select * from $tableprenotacanc_mostra where idclienti = '$idclienti'");
hoteldruid-3.0.1/modifica_cliente.php:198:$ospiti = esegui_query("select * from $tablerclientiprenota_mostra where idclienti = '$idclienti'");
hoteldruid-3.0.1/modifica_cliente.php-199-$soldi = esegui_query("select * from $tablesoldi_mostra where motivazione $LIKE '$idclienti".";%'");
##############################################
hoteldruid-3.0.1/modifica_cliente.php-231-for ($num1 = 0 ; $num1 < count($clienti_compagni) ; $num1++) {
hoteldruid-3.0.1/modifica_cliente.php:232:$idclienti_compagni = esegui_query("select idclienti_compagni from $tableclienti where idclienti = '".$clienti_compagni[$num1]."' ");
hoteldruid-3.0.1/modifica_cliente.php-233-$idclienti_compagni = str_replace(",".$idclienti.",",",",risul_query($idclienti_compagni,0,'idclienti_compagni'));
hoteldruid-3.0.1/modifica_cliente.php:234:esegui_query("update $tableclienti set idclienti_compagni = '$idclienti_compagni' where idclienti = '".$clienti_compagni[$num1]."' ");
hoteldruid-3.0.1/modifica_cliente.php-235-} # fine for $num1
hoteldruid-3.0.1/modifica_cliente.php-236-} # fine if ($clienti_compagni)
hoteldruid-3.0.1/modifica_cliente.php:237:esegui_query("delete from $tableclienti where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php:238:esegui_query("delete from $tablerelclienti where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-239-echo mex("Cliente cancellato",$pag)."!<br>
##############################################
hoteldruid-3.0.1/modifica_cliente.php-439-$id_nuovo_utente_inserimento = aggslashdb($id_nuovo_utente_inserimento);
hoteldruid-3.0.1/modifica_cliente.php:440:$verifica_utente = esegui_query("select * from $tableutenti where idutenti = '$id_nuovo_utente_inserimento'");
hoteldruid-3.0.1/modifica_cliente.php-441-if (numlin_query($verifica_utente) == 1) {
##############################################
hoteldruid-3.0.1/modifica_cliente.php-463-include(C_DATI_PATH."/lingua.php");
hoteldruid-3.0.1/modifica_cliente.php:464:if ($lingua_mex != "ita") include("./includes/lang/$lingua_mex/ordine_frasi.php");
hoteldruid-3.0.1/modifica_cliente.php-465-if ($ordine_strada == 2) $n_nvia = $n_nomevia . " " . $n_via;
##############################################
hoteldruid-3.0.1/modifica_cliente.php-649-$tabelle_lock = lock_tabelle($tabelle_lock,$altre_tab_lock);
hoteldruid-3.0.1/modifica_cliente.php:650:$cliente_esistente = esegui_query("select idclienti from $tableclienti where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-651-if (numlin_query($cliente_esistente) == 1) {
##############################################
hoteldruid-3.0.1/modifica_cliente.php-669-unset($d_campi_pers);
hoteldruid-3.0.1/modifica_cliente.php:670:$d_cam_per = esegui_query("select * from $tablerelclienti where idclienti = '$idclienti' and tipo = 'campo_pers' ");
hoteldruid-3.0.1/modifica_cliente.php-671-$d_num_cam_per = numlin_query($d_cam_per);
##############################################
hoteldruid-3.0.1/modifica_cliente.php-680-$val_campo_pers = risul_query($d_cam_per,$num1,'testo3');
hoteldruid-3.0.1/modifica_cliente.php:681:if ($tipo_campo_pers == "txt" and $val_campo_pers != ${"n_campo_pers".$num2}) esegui_query("update $tablerelclienti set testo3 = '".aggslashdb(${"n_campo_pers".$num2})."' where idclienti = '$idclienti' and testo1 = '".aggslashdb($nome_campo_pers)."' and tipo = 'campo_pers' ");
hoteldruid-3.0.1/modifica_cliente.php-682-} # fine if (${"n_campo_pers".$num2})
##############################################
hoteldruid-3.0.1/modifica_cliente.php-685-} # fine for $num2
hoteldruid-3.0.1/modifica_cliente.php:686:if ($cancella_campo_pers) esegui_query("delete from $tablerelclienti where idclienti = '$idclienti' and testo1 = '".aggslashdb($nome_campo_pers)."' and tipo = 'campo_pers' ");
hoteldruid-3.0.1/modifica_cliente.php-687-else $d_campi_pers['esist'][$nome_campo_pers] = 1;
##############################################
hoteldruid-3.0.1/modifica_cliente.php-703-$id_nuovo_utente_inserimento = aggslashdb($id_nuovo_utente_inserimento);
hoteldruid-3.0.1/modifica_cliente.php:704:$verifica_utente = esegui_query("select * from $tableutenti where idutenti = '$id_nuovo_utente_inserimento'");
hoteldruid-3.0.1/modifica_cliente.php:705:if (numlin_query($verifica_utente) == 1) esegui_query("update $tableclienti set utente_inserimento = '$id_nuovo_utente_inserimento' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-706-} # fine if ($id_nuovo_utente_inserimento != "" and $id_utente == 1)
##############################################
hoteldruid-3.0.1/modifica_cliente.php-711-$n_commento = aggslashdb($n_commento);
hoteldruid-3.0.1/modifica_cliente.php:712:esegui_query("update $tableclienti set commento = '$n_commento' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-713-} # fine if ($n_commento != $d_commento)
##############################################
hoteldruid-3.0.1/modifica_cliente.php-715-if ($c_nome) {
hoteldruid-3.0.1/modifica_cliente.php:716:esegui_query("update $tableclienti set nome = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-717-} # fine if ($c_nome)
hoteldruid-3.0.1/modifica_cliente.php-718-if ($c_soprannome) {
hoteldruid-3.0.1/modifica_cliente.php:719:esegui_query("update $tableclienti set soprannome = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-720-} # fine if ($c_soprannome)
hoteldruid-3.0.1/modifica_cliente.php-721-if ($c_titolo_cli) {
hoteldruid-3.0.1/modifica_cliente.php:722:esegui_query("update $tableclienti set titolo = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-723-} # fine if ($c_titolo_cli)
hoteldruid-3.0.1/modifica_cliente.php-724-if ($c_datanascita) {
hoteldruid-3.0.1/modifica_cliente.php:725:esegui_query("update $tableclienti set datanascita = null where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-726-} # fine if ($c_datanascita)
hoteldruid-3.0.1/modifica_cliente.php-727-if ($c_nazionenascita) {
hoteldruid-3.0.1/modifica_cliente.php:728:esegui_query("update $tableclienti set nazionenascita = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-729-} # fine if ($c_nazionenascita)
hoteldruid-3.0.1/modifica_cliente.php-730-if ($c_regionenascita) {
hoteldruid-3.0.1/modifica_cliente.php:731:esegui_query("update $tableclienti set regionenascita = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-732-} # fine if ($c_regionenascita)
hoteldruid-3.0.1/modifica_cliente.php-733-if ($c_cittanascita) {
hoteldruid-3.0.1/modifica_cliente.php:734:esegui_query("update $tableclienti set cittanascita = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-735-} # fine if ($c_cittanascita)
hoteldruid-3.0.1/modifica_cliente.php-736-if ($c_nazionalita) {
hoteldruid-3.0.1/modifica_cliente.php:737:esegui_query("update $tableclienti set nazionalita = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-738-} # fine if ($c_nazionalita)
hoteldruid-3.0.1/modifica_cliente.php-739-if ($c_nazione) {
hoteldruid-3.0.1/modifica_cliente.php:740:esegui_query("update $tableclienti set nazione = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-741-} # fine if ($c_nazione)
hoteldruid-3.0.1/modifica_cliente.php-742-if ($c_regione) {
hoteldruid-3.0.1/modifica_cliente.php:743:esegui_query("update $tableclienti set regione = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-744-} # fine if ($c_regione)
hoteldruid-3.0.1/modifica_cliente.php-745-if ($c_citta) {
hoteldruid-3.0.1/modifica_cliente.php:746:esegui_query("update $tableclienti set citta = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-747-} # fine if ($c_citta)
##############################################
hoteldruid-3.0.1/modifica_cliente.php-749-if ($c_via) {
hoteldruid-3.0.1/modifica_cliente.php:750:esegui_query("update $tableclienti set via = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-751-} # fine if ($c_via)
hoteldruid-3.0.1/modifica_cliente.php-752-if ($c_numcivico) {
hoteldruid-3.0.1/modifica_cliente.php:753:esegui_query("update $tableclienti set numcivico = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-754-} # fine if ($c_numcivico)
hoteldruid-3.0.1/modifica_cliente.php-755-if ($c_cap) {
hoteldruid-3.0.1/modifica_cliente.php:756:esegui_query("update $tableclienti set cap = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-757-} # fine if ($c_cap)
##############################################
hoteldruid-3.0.1/modifica_cliente.php-760-if ($c_telefono) {
hoteldruid-3.0.1/modifica_cliente.php:761:esegui_query("update $tableclienti set telefono = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-762-} # fine if ($c_telefono)
hoteldruid-3.0.1/modifica_cliente.php-763-if ($c_telefono2) {
hoteldruid-3.0.1/modifica_cliente.php:764:esegui_query("update $tableclienti set telefono2 = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-765-} # fine if ($c_telefono2)
hoteldruid-3.0.1/modifica_cliente.php-766-if ($c_telefono3) {
hoteldruid-3.0.1/modifica_cliente.php:767:esegui_query("update $tableclienti set telefono3 = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-768-} # fine if ($c_telefono3)
hoteldruid-3.0.1/modifica_cliente.php-769-if ($c_email) {
hoteldruid-3.0.1/modifica_cliente.php:770:esegui_query("update $tableclienti set email = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-771-} # fine if ($c_email)
hoteldruid-3.0.1/modifica_cliente.php-772-if ($c_email2) {
hoteldruid-3.0.1/modifica_cliente.php:773:esegui_query("update $tableclienti set email2 = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-774-} # fine if ($c_email2)
hoteldruid-3.0.1/modifica_cliente.php-775-if ($c_email_cert) {
hoteldruid-3.0.1/modifica_cliente.php:776:esegui_query("update $tableclienti set email3 = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-777-} # fine if ($c_email_cert)
hoteldruid-3.0.1/modifica_cliente.php-778-if ($c_fax) {
hoteldruid-3.0.1/modifica_cliente.php:779:esegui_query("update $tableclienti set fax = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-780-} # fine if ($c_fax)
##############################################
hoteldruid-3.0.1/modifica_cliente.php-782-if ($c_lingua_cli) {
hoteldruid-3.0.1/modifica_cliente.php:783:esegui_query("update $tableclienti set lingua = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-784-} # fine if ($c_lingua_cli)
hoteldruid-3.0.1/modifica_cliente.php-785-if ($c_documento) {
hoteldruid-3.0.1/modifica_cliente.php:786:esegui_query("update $tableclienti set documento = '', tipodoc = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-787-} # fine if ($c_documento)
hoteldruid-3.0.1/modifica_cliente.php-788-if ($c_nazionedoc) {
hoteldruid-3.0.1/modifica_cliente.php:789:esegui_query("update $tableclienti set nazionedoc = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-790-} # fine if ($c_nazionedoc)
hoteldruid-3.0.1/modifica_cliente.php-791-if ($c_regionedoc) {
hoteldruid-3.0.1/modifica_cliente.php:792:esegui_query("update $tableclienti set regionedoc = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-793-} # fine if ($c_regionedoc)
hoteldruid-3.0.1/modifica_cliente.php-794-if ($c_cittadoc) {
hoteldruid-3.0.1/modifica_cliente.php:795:esegui_query("update $tableclienti set cittadoc = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-796-} # fine if ($c_cittadoc)
hoteldruid-3.0.1/modifica_cliente.php-797-if ($c_scadenzadoc) {
hoteldruid-3.0.1/modifica_cliente.php:798:esegui_query("update $tableclienti set scadenzadoc = null where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-799-} # fine if ($c_scadenzadoc)
hoteldruid-3.0.1/modifica_cliente.php-800-if ($c_cod_fiscale) {
hoteldruid-3.0.1/modifica_cliente.php:801:esegui_query("update $tableclienti set cod_fiscale = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-802-} # fine if ($c_cod_fiscale)
hoteldruid-3.0.1/modifica_cliente.php-803-if ($c_partita_iva) {
hoteldruid-3.0.1/modifica_cliente.php:804:esegui_query("update $tableclienti set partita_iva = '' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-805-} # fine if ($c_partita_iva)
##############################################
hoteldruid-3.0.1/modifica_cliente.php-871-if ($cancella_cc) {
hoteldruid-3.0.1/modifica_cliente.php:872:esegui_query("delete from $tablerelclienti where idclienti = '$idclienti' and tipo = 'cc' ");
hoteldruid-3.0.1/modifica_cliente.php-873-echo ucfirst(mex("i dati della carta di credito sono stati cancellati",$pag)).".<br>";
##############################################
hoteldruid-3.0.1/modifica_cliente.php-877-if ($delcvc and $gest_cvc == "SI") {
hoteldruid-3.0.1/modifica_cliente.php:878:esegui_query("update $tablerelclienti set testo5 = NULL, testo6 = NULL where idclienti = '$idclienti' and tipo = 'cc'");
hoteldruid-3.0.1/modifica_cliente.php-879-echo mex("CVC cancellato",$pag).".<br>";
##############################################
hoteldruid-3.0.1/modifica_cliente.php-903-else $n_datascadcc = "";
hoteldruid-3.0.1/modifica_cliente.php:904:$dati_carta = esegui_query("select * from $tablerelclienti where idclienti = '$idclienti' and tipo = 'cc'");
hoteldruid-3.0.1/modifica_cliente.php-905-if (!numlin_query($dati_carta) and ($n_tipo_cc or $n_num_cc  or $n_nome_cc or $n_datascadcc or $n_cvc_cc)) {
##############################################
hoteldruid-3.0.1/modifica_cliente.php-908-} # fine if (!numlin_query($dati_carta) and ($n_tipo_cc or...
hoteldruid-3.0.1/modifica_cliente.php:909:if ($n_tipo_cc) esegui_query("update $tablerelclienti set testo1 = '".aggslashdb($n_tipo_cc)."' where idclienti = '$idclienti' and tipo = 'cc' ");
hoteldruid-3.0.1/modifica_cliente.php-910-if ($n_num_cc) {
##############################################
hoteldruid-3.0.1/modifica_cliente.php-912-$val_crypt = base64_encode($val_crypt);
hoteldruid-3.0.1/modifica_cliente.php:913:esegui_query("update $tablerelclienti set testo2 = '".aggslashdb($val_crypt)."' where idclienti = '$idclienti' and tipo = 'cc' ");
hoteldruid-3.0.1/modifica_cliente.php-914-} # fine if ($n_num_cc)
hoteldruid-3.0.1/modifica_cliente.php:915:if ($n_nome_cc) esegui_query("update $tablerelclienti set testo3 = '".aggslashdb($n_nome_cc)."' where idclienti = '$idclienti' and tipo = 'cc' ");
hoteldruid-3.0.1/modifica_cliente.php:916:if ($n_datascadcc) esegui_query("update $tablerelclienti set testo4 = '".aggslashdb($n_datascadcc)."' where idclienti = '$idclienti' and tipo = 'cc' ");
hoteldruid-3.0.1/modifica_cliente.php-917-if ($n_cvc_cc) {
##############################################
hoteldruid-3.0.1/modifica_cliente.php-919-$val_crypt = base64_encode($val_crypt);
hoteldruid-3.0.1/modifica_cliente.php:920:esegui_query("update $tablerelclienti set testo5 = '".aggslashdb($val_crypt)."' where idclienti = '$idclienti' and tipo = 'cc' ");
hoteldruid-3.0.1/modifica_cliente.php-921-} # fine if ($n_cvc_cc)
##############################################
hoteldruid-3.0.1/modifica_cliente.php-938-$limite_transazioni_vecchie = date("Y-m-d H:i:s",(time() - ($minuti_durata_sessione * 60) + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/modifica_cliente.php:939:esegui_query("delete from $tabletransazioni where ultimo_accesso <= '$limite_transazioni_vecchie' and (tipo_transazione = 'mo_cc' or tipo_transazione = 'lo_cc') ");
hoteldruid-3.0.1/modifica_cliente.php-940-$minuti_durata_blocco = 30;
hoteldruid-3.0.1/modifica_cliente.php-941-$limite_transazioni_vecchie = date("Y-m-d H:i:s",(time() - ($minuti_durata_blocco * 60) + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/modifica_cliente.php:942:esegui_query("delete from $tabletransazioni where ultimo_accesso <= '$limite_transazioni_vecchie' and tipo_transazione = 'er_cc' ");
hoteldruid-3.0.1/modifica_cliente.php:943:$err_transazioni = esegui_query("select * from $tabletransazioni where tipo_transazione = 'er_cc' and dati_transazione2 = '$id_utente' ");
hoteldruid-3.0.1/modifica_cliente.php-944-$err_transazioni2 = esegui_query("select * from $tabletransazioni where tipo_transazione = 'er_cc' ");
##############################################
hoteldruid-3.0.1/modifica_cliente.php-971-
hoteldruid-3.0.1/modifica_cliente.php:972:esegui_query("update $tabletransazioni set tipo_transazione = 'er_cc', ultimo_accesso = '$ultimo_accesso' where idtransazioni = '$id_transazione' ");
hoteldruid-3.0.1/modifica_cliente.php-973-unlock_tabelle($tabelle_lock);
##############################################
hoteldruid-3.0.1/modifica_cliente.php-983-
hoteldruid-3.0.1/modifica_cliente.php:984:esegui_query("update $tabletransazioni set tipo_transazione = 'mo_cc' where idtransazioni = '$id_transazione' ");
hoteldruid-3.0.1/modifica_cliente.php:985:$dati_carta = esegui_query("select * from $tablerelclienti where idclienti = '$idclienti' and tipo = 'cc'");
hoteldruid-3.0.1/modifica_cliente.php-986-if (numlin_query($dati_carta)) {
##############################################
hoteldruid-3.0.1/modifica_cliente.php-996-openssl_private_decrypt(base64_decode($d_cvc_cc),$d_cvc_cc,$res_pk);
hoteldruid-3.0.1/modifica_cliente.php:997:if ($d_cvc_visto_cc) esegui_query("update $tablerelclienti set testo5 = NULL, testo6 = NULL where idclienti = '$idclienti' and tipo = 'cc'");
hoteldruid-3.0.1/modifica_cliente.php:998:else esegui_query("update $tablerelclienti set testo6 = '1' where idclienti = '$idclienti' and tipo = 'cc'");
hoteldruid-3.0.1/modifica_cliente.php-999-} # fine if (strcmp($d_cvc_cc,""))
hoteldruid-3.0.1/modifica_cliente.php-1000-} # fine if (numlin_query($dati_carta))
hoteldruid-3.0.1/modifica_cliente.php:1001:$cliente = esegui_query("select * from $tableclienti where idclienti = '$idclienti'");
hoteldruid-3.0.1/modifica_cliente.php-1002-if (numlin_query($cliente)) {
##############################################
hoteldruid-3.0.1/modifica_cliente.php-1114-
hoteldruid-3.0.1/modifica_cliente.php:1115:$cliente = esegui_query("select * from $tableclienti where idclienti = '$idclienti'");
hoteldruid-3.0.1/modifica_cliente.php-1116-if (numlin_query($cliente) != 0) {
##############################################
hoteldruid-3.0.1/modifica_cliente.php-1175-
hoteldruid-3.0.1/modifica_cliente.php:1176:$d_cam_per = esegui_query("select * from $tablerelclienti where idclienti = '$idclienti' and tipo = 'campo_pers' ");
hoteldruid-3.0.1/modifica_cliente.php-1177-$d_num_campi_pers = numlin_query($d_cam_per);
##############################################
hoteldruid-3.0.1/modifica_cliente.php-1253-<br><label><input type=\"checkbox\" name=\"c_soprannome\" value=\"SI\">".mex("cancella",$pag)."</label></td></tr>";
hoteldruid-3.0.1/modifica_cliente.php:1254:$titoli_cliente = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'titoli_cliente' and idutente = '$id_utente'");
hoteldruid-3.0.1/modifica_cliente.php-1255-if (numlin_query($titoli_cliente) == 1) $titoli_cliente = risul_query($titoli_cliente,0,"valpersonalizza");
##############################################
hoteldruid-3.0.1/modifica_cliente.php-1635- <select id=\"lcon\" name=\"numero_contratto\">";
hoteldruid-3.0.1/modifica_cliente.php:1636:$nomi_contratti = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'nomi_contratti' and idutente = '$id_utente'");
hoteldruid-3.0.1/modifica_cliente.php-1637-$nomi_contratti = risul_query($nomi_contratti,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/modifica_cliente.php-1671-$tablesoldi_mostra = $PHPR_TAB_PRE."soldi".$anno_mostra;
hoteldruid-3.0.1/modifica_cliente.php:1672:$prenotazioni = esegui_query("select distinct $tablepren_m.idprenota,$tablepren_m.idclienti,$tablepren_m.utente_inserimento,$tablepren_m.idappartamenti,$tablepren_m.commento,$tablepren_m.iddatainizio,$tablepren_m.iddatafine,$tablepren_m.num_persone,$tablepren_m.caparra,$tablepren_m.pagato,$tablepren_m.tariffa_tot,$tablepren_m.datainserimento from $tablepren_m left outer join $tablerclipren_m on $tablepren_m.idprenota = $tablerclipren_m.idprenota where $tablepren_m.idclienti = '$idclienti' or $tablerclipren_m.idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php:1673:$prenotazioni_canc = esegui_query("select distinct $tableprencanc_m.idprenota,$tableprencanc_m.idclienti,$tableprencanc_m.utente_inserimento,$tableprencanc_m.idappartamenti,$tableprencanc_m.commento,$tableprencanc_m.iddatainizio,$tableprencanc_m.iddatafine,$tableprencanc_m.num_persone,$tableprencanc_m.caparra,$tableprencanc_m.pagato,$tableprencanc_m.tariffa_tot,$tableprencanc_m.datainserimento from $tableprencanc_m left outer join $tablerclipren_m on $tableprencanc_m.idprenota = $tablerclipren_m.idprenota where $tableprencanc_m.idclienti = '$idclienti' or $tablerclipren_m.idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_cliente.php-1674-$soldi = esegui_query("select * from $tablesoldi_mostra where motivazione $LIKE '$idclienti".";%'");
##############################################
hoteldruid-3.0.1/modifica_cliente.php-1740-else {
hoteldruid-3.0.1/modifica_cliente.php:1741:$data_inizio = esegui_query("select * from $tableperiodi_mostra where idperiodi = $id_data_inizio");
hoteldruid-3.0.1/modifica_cliente.php-1742-$data_inizio = risul_query($data_inizio,0,'datainizio');
##############################################
hoteldruid-3.0.1/modifica_cliente.php-1745-$id_data_fine = risul_query($prenotazioni,($num2 - $ini_q),'iddatafine',$tablepren_m);
hoteldruid-3.0.1/modifica_cliente.php:1746:$data_fine = esegui_query("select * from $tableperiodi_mostra where idperiodi = $id_data_fine");
hoteldruid-3.0.1/modifica_cliente.php-1747-$data_fine = risul_query($data_fine,0,'datafine');
##############################################
hoteldruid-3.0.1/modifica_cliente.php-1786-if ($id_cli_pren != $idclienti) {
hoteldruid-3.0.1/modifica_cliente.php:1787:$cognome_pren = esegui_query("select cognome from $tableclienti where idclienti = '$id_cli_pren' ");
hoteldruid-3.0.1/modifica_cliente.php-1788-$cognome_pren = risul_query($cognome_pren,0,'cognome');
##############################################
hoteldruid-3.0.1/modifica_cliente.php-1862-
hoteldruid-3.0.1/modifica_cliente.php:1863:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/modifica_cliente.php-1864-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/creaprezzi.php-28-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/creaprezzi.php:29:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/creaprezzi.php-30-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/creaprezzi.php-47-$tablerelgruppi = $PHPR_TAB_PRE."relgruppi";
hoteldruid-3.0.1/creaprezzi.php:48:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/creaprezzi.php-49-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/creaprezzi.php-51-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/creaprezzi.php:52:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/creaprezzi.php-53-$priv_vedi_tab = risul_query($privilegi_annuali_utente,0,'priv_vedi_tab');
##############################################
hoteldruid-3.0.1/creaprezzi.php-114-if ($prendi_gruppi == "SI") {
hoteldruid-3.0.1/creaprezzi.php:115:$gruppi_utente = esegui_query("select idgruppo from $tablerelgruppi where idutente = '$id_utente' and idgruppo is not NULL ");
hoteldruid-3.0.1/creaprezzi.php-116-$num_gruppi_utente = numlin_query($gruppi_utente);
##############################################
hoteldruid-3.0.1/creaprezzi.php-118-$idgruppo = risul_query($gruppi_utente,$num1,'idgruppo');
hoteldruid-3.0.1/creaprezzi.php:119:$utenti_gruppo = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$idgruppo' ");
hoteldruid-3.0.1/creaprezzi.php-120-$num_utenti_gruppo = numlin_query($utenti_gruppo);
##############################################
hoteldruid-3.0.1/creaprezzi.php-126-if ($priv_app_gruppi == "SI") {
hoteldruid-3.0.1/creaprezzi.php:127:$priv_anno_ut_gr = esegui_query("select * from $tableprivilegi where idutente = '$idutente_gruppo' and anno = '$anno'");
hoteldruid-3.0.1/creaprezzi.php-128-if (numlin_query($priv_anno_ut_gr) == 1) {
##############################################
hoteldruid-3.0.1/creaprezzi.php-178-$titolo = "HotelDruid: ".mex("Crea Prezzi",$pag);
hoteldruid-3.0.1/creaprezzi.php:179:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/creaprezzi.php-180-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/creaprezzi.php-247-
hoteldruid-3.0.1/creaprezzi.php:248:$tipo_periodi = esegui_query("select * from $tableanni where idanni = $anno");
hoteldruid-3.0.1/creaprezzi.php-249-$tipo_periodi = risul_query($tipo_periodi,0,'tipo_periodi');
##############################################
hoteldruid-3.0.1/creaprezzi.php-277-if ($periodi_importa == "s") {
hoteldruid-3.0.1/creaprezzi.php:278:$idiniper_imp = esegui_query("select idperiodi from $tableperiodi where datainizio = '".aggslashdb($iniper_imp)."' ");
hoteldruid-3.0.1/creaprezzi.php:279:$idfineper_imp = esegui_query("select idperiodi from $tableperiodi where datafine = '".aggslashdb($fineper_imp)."' ");
hoteldruid-3.0.1/creaprezzi.php-280-if (!numlin_query($idiniper_imp) or !numlin_query($idfineper_imp)) $errore = "SI";
##############################################
hoteldruid-3.0.1/creaprezzi.php-306-function aggiorna_imp_tar ($tariffa_a,$tariffa_da,$tipo_importa,&$importa_arrotond,$tipo_percent,$parte_prezzo,&$importa_percent,$periodi_importa,$idiniper_imp,$idfineper_imp,$dati_tariffe,$tableperiodi,$tablenometariffe) {
hoteldruid-3.0.1/creaprezzi.php:307:if ($periodi_importa == "s") $prezzi_da = esegui_query("select idperiodi,$tariffa_da,$tariffa_da"."p from $tableperiodi where ($tariffa_da is not NULL or $tariffa_da"."p is not NULL) and idperiodi >= '$idiniper_imp' and idperiodi <= '$idfineper_imp' ");
hoteldruid-3.0.1/creaprezzi.php-308-else {
##############################################
hoteldruid-3.0.1/creaprezzi.php-362-} # fine if ($parte_prezzo != "f")
hoteldruid-3.0.1/creaprezzi.php:363:if ($prezzo_a or !$prezzo_a_p) esegui_query("update $tableperiodi set $tariffa_a = '$prezzo_a' where idperiodi = '$id_periodo'");
hoteldruid-3.0.1/creaprezzi.php:364:else esegui_query("update $tableperiodi set $tariffa_a = NULL where idperiodi = '$id_periodo'");
hoteldruid-3.0.1/creaprezzi.php:365:if ($prezzo_a_p) esegui_query("update $tableperiodi set $tariffa_a"."p = '$prezzo_a_p' where idperiodi = '$id_periodo'");
hoteldruid-3.0.1/creaprezzi.php:366:else esegui_query("update $tableperiodi set $tariffa_a"."p = NULL where idperiodi = '$id_periodo'");
hoteldruid-3.0.1/creaprezzi.php-367-aggiorna_tariffe_esporta($dati_tariffe,$tariffa_a,$id_periodo,$prezzo_a,$prezzo_a_p,$tableperiodi,$agg_vett_tar_esp,$num_agg_tar_esp);
##############################################
hoteldruid-3.0.1/creaprezzi.php-465-$parte_prezzo2 = $dati_tariffe[$tariffa_a2]['parte_prezzo'][0];
hoteldruid-3.0.1/creaprezzi.php:466:$iniper_imp2 = esegui_query("select datainizio from $tableperiodi where idperiodi = '".aggslashdb($dati_tariffe[$tariffa_a2]['periodo_importa_i'][$ripristina_importa_default])."' ");
hoteldruid-3.0.1/creaprezzi.php-467-$iniper_imp2 = risul_query($iniper_imp2,0,'datainizio');
hoteldruid-3.0.1/creaprezzi.php:468:$fineper_imp2 = esegui_query("select datafine from $tableperiodi where idperiodi = '".aggslashdb($dati_tariffe[$tariffa_a2]['periodo_importa_f'][$ripristina_importa_default])."' ");
hoteldruid-3.0.1/creaprezzi.php-469-$fineper_imp2 = risul_query($fineper_imp2,0,'datafine');
##############################################
hoteldruid-3.0.1/creaprezzi.php-527-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/creaprezzi.php:528:$dati_costo_importa = esegui_query("select * from $tablenometariffe where idntariffe = '".aggslashdb(htmlspecialchars($costo_importa))."' ");
hoteldruid-3.0.1/creaprezzi.php-529-if (numlin_query($dati_costo_importa) != 1) $errore = "SI";
##############################################
hoteldruid-3.0.1/creaprezzi.php-532-$tipo_ca = substr(risul_query($dati_costo_importa,0,'tipo_ca'),0,1);
hoteldruid-3.0.1/creaprezzi.php:533:$esiste_costo = esegui_query("select idntariffe from $tablenometariffe where nomecostoagg = '".aggslashdb($nomecostoagg)."' and tipo_ca $LIKE '".$tipo_ca."_'");
hoteldruid-3.0.1/creaprezzi.php-534-if (numlin_query($esiste_costo) > 0) {
##############################################
hoteldruid-3.0.1/creaprezzi.php-561-esegui_query("insert into $tablenometariffe (idntariffe,nomecostoagg,tipo_ca,valore_ca,moltiplica_ca,variazione_ca,mostra_ca,letto_ca,utente_inserimento) values ('$idntariffe','".aggslashdb($nomecostoagg)."','$tipo_ca','$valore_ca','$moltiplica_ca','$variazione_ca','$mostra_ca','$letto_ca','$id_utente')");
hoteldruid-3.0.1/creaprezzi.php:562:if (strcmp($valore_perc_ca,"")) esegui_query("update $tablenometariffe set valore_perc_ca = '$valore_perc_ca' where idntariffe = '$idntariffe' ");
hoteldruid-3.0.1/creaprezzi.php:563:if (strcmp($arrotonda_ca,"")) esegui_query("update $tablenometariffe set arrotonda_ca = '$arrotonda_ca' where idntariffe = '$idntariffe' ");
hoteldruid-3.0.1/creaprezzi.php:564:if (strcmp($tasseperc_ca,"")) esegui_query("update $tablenometariffe set tasseperc_ca = '$tasseperc_ca' where idntariffe = '$idntariffe' ");
hoteldruid-3.0.1/creaprezzi.php:565:if (strcmp($associasett_ca,"")) esegui_query("update $tablenometariffe set associasett_ca = '$associasett_ca' where idntariffe = '$idntariffe' ");
hoteldruid-3.0.1/creaprezzi.php:566:if (strcmp($numsett_ca,"")) esegui_query("update $tablenometariffe set numsett_ca = '$numsett_ca' where idntariffe = '$idntariffe' ");
hoteldruid-3.0.1/creaprezzi.php:567:if (strcmp($periodipermessi_ca,"")) esegui_query("update $tablenometariffe set periodipermessi_ca = '$periodipermessi_ca' where idntariffe = '$idntariffe' ");
hoteldruid-3.0.1/creaprezzi.php:568:if (strcmp($beniinv_ca,"")) esegui_query("update $tablenometariffe set beniinv_ca = '$beniinv_ca' where idntariffe = '$idntariffe' ");
hoteldruid-3.0.1/creaprezzi.php:569:if (strcmp($appincompatibili_ca,"")) esegui_query("update $tablenometariffe set appincompatibili_ca = '$appincompatibili_ca' where idntariffe = '$idntariffe' ");
hoteldruid-3.0.1/creaprezzi.php:570:if (strcmp($categoria_ca,"")) esegui_query("update $tablenometariffe set categoria_ca = '$categoria_ca' where idntariffe = '$idntariffe' ");
hoteldruid-3.0.1/creaprezzi.php:571:if (strcmp($numlimite_ca,"")) esegui_query("update $tablenometariffe set numlimite_ca = '$numlimite_ca' where idntariffe = '$idntariffe' ");
hoteldruid-3.0.1/creaprezzi.php:572:if (strcmp($regoleassegna_ca,"")) esegui_query("update $tablenometariffe set regoleassegna_ca = '$regoleassegna_ca' where idntariffe = '$idntariffe' ");
hoteldruid-3.0.1/creaprezzi.php-573-for ($numtariffa = 1 ; $numtariffa <= $numero_tariffe ; $numtariffa++) {
##############################################
hoteldruid-3.0.1/creaprezzi.php-576-$val = aggslashdb(risul_query($dati_costo_importa,0,$tariffa));
hoteldruid-3.0.1/creaprezzi.php:577:if ((string) $val != "") esegui_query("update $tablenometariffe set $tariffa = '$val' where idntariffe = '$idntariffe' ");
hoteldruid-3.0.1/creaprezzi.php-578-} # fine if ($attiva_tariffe_consentite == "n" or $tariffe_consentite_vett[$numtariffa] == "SI")
##############################################
hoteldruid-3.0.1/creaprezzi.php-667-if (isset($modificacommper)) {
hoteldruid-3.0.1/creaprezzi.php:668:$iddataini = @esegui_query("select idperiodi from $tableperiodi where datainizio = '".aggslashdb($comm_dal)."' ");
hoteldruid-3.0.1/creaprezzi.php-669-if (!numlin_query($iddataini)) $inserire = "NO";
hoteldruid-3.0.1/creaprezzi.php-670-else $iddataini = risul_query($iddataini,0,'idperiodi');
hoteldruid-3.0.1/creaprezzi.php:671:$iddatafine = @esegui_query("select idperiodi from $tableperiodi where datafine = '".aggslashdb($comm_al)."' ");
hoteldruid-3.0.1/creaprezzi.php-672-if (!numlin_query($iddatafine)) $inserire = "NO";
##############################################
hoteldruid-3.0.1/creaprezzi.php-678-else $cond_def = 'and iddatainizio is NULL';
hoteldruid-3.0.1/creaprezzi.php:679:$comm = esegui_query("select * from $tableregole where tariffa_commissioni = '$num_tariffa' $cond_def order by iddatainizio ");
hoteldruid-3.0.1/creaprezzi.php-680-$num_comm = numlin_query($comm);
##############################################
hoteldruid-3.0.1/creaprezzi.php-684-if (isset($modificacommissioni)) {
hoteldruid-3.0.1/creaprezzi.php:685:if ($num_comm) esegui_query("update $tableregole set motivazione = '$comm_base".aggslashdb($commissioni_percent)."', motivazione2 = '".aggslashdb($commissioni_arrotond)."' where tariffa_commissioni = '$num_tariffa' $cond_def");
hoteldruid-3.0.1/creaprezzi.php-686-else esegui_query("insert into $tableregole (idregole,tariffa_commissioni,motivazione,motivazione2) values ($idregole,'$num_tariffa','$comm_base".aggslashdb($commissioni_percent)."','".aggslashdb($commissioni_arrotond)."') ");
##############################################
hoteldruid-3.0.1/creaprezzi.php-696-$motiv2 = risul_query($comm,$num1,'motivazione2');
hoteldruid-3.0.1/creaprezzi.php:697:esegui_query("update $tableregole set iddatafine = '".($iddataini - 1)."' where idregole = '$idreg' ");
hoteldruid-3.0.1/creaprezzi.php-698-esegui_query("insert into $tableregole (idregole,tariffa_commissioni,iddatainizio,iddatafine,motivazione,motivazione2) values ($idregole,'$num_tariffa','".($iddatafine + 1)."','$iddfine','$motiv','$motiv2') ");
##############################################
hoteldruid-3.0.1/creaprezzi.php-703-if ($iddfine <= $iddatafine) $iddfine = $iddataini - 1;
hoteldruid-3.0.1/creaprezzi.php:704:if ($iddfine < $iddini) esegui_query("delete from $tableregole where idregole = '$idreg' ");
hoteldruid-3.0.1/creaprezzi.php:705:else esegui_query("update $tableregole set iddatainizio = '$iddini', iddatafine = '$iddfine' where idregole = '$idreg' ");
hoteldruid-3.0.1/creaprezzi.php-706-} # fine else if ($iddini < $iddataini and $iddfine > $iddatafine)
##############################################
hoteldruid-3.0.1/creaprezzi.php-875-$nomecostoagg_contr = htmlspecialchars($nomecostoagg_contr);
hoteldruid-3.0.1/creaprezzi.php:876:$esiste_costo = esegui_query("select idntariffe from $tablenometariffe where nomecostoagg = '".aggslashdb($nomecostoagg_contr)."' and tipo_ca $LIKE '".$tipo_ca."_'");
hoteldruid-3.0.1/creaprezzi.php-877-if (numlin_query($esiste_costo)) {
##############################################
hoteldruid-3.0.1/creaprezzi.php-898-else $nomecostoagg = $nomecostoagg_orig." $num_nome";
hoteldruid-3.0.1/creaprezzi.php:899:$esiste_costo = esegui_query("select idntariffe from $tablenometariffe where nomecostoagg = '".aggslashdb($nomecostoagg)."' and tipo_ca $LIKE '".$tipo_ca."_'");
hoteldruid-3.0.1/creaprezzi.php-900-if (numlin_query($esiste_costo)) $num_nome++;
##############################################
hoteldruid-3.0.1/creaprezzi.php-920-if (!strcmp($arrotonda_ca_t,"") or !strcmp($arrotonda_ca_p,"") or !strcmp($arrotonda_ca_pt,"")) {
hoteldruid-3.0.1/creaprezzi.php:921:$arrotonda_ca = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'arrotond_predef' and idutente = '$id_utente'");
hoteldruid-3.0.1/creaprezzi.php-922-$arrotonda_ca = risul_query($arrotonda_ca,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/creaprezzi.php-1364-if ($priv_vedi_beni_inv == "p" or $priv_vedi_beni_inv == "g") {
hoteldruid-3.0.1/creaprezzi.php:1365:$condizione_beni_propri = "where ( utente_inserimento = '$id_utente'";
hoteldruid-3.0.1/creaprezzi.php-1366-if ($priv_vedi_beni_inv == "g") {
##############################################
hoteldruid-3.0.1/creaprezzi.php-1373-if ($priv_vedi_inv_mag == "p" or $priv_vedi_inv_mag == "g") {
hoteldruid-3.0.1/creaprezzi.php:1374:$condizione_mag_propri = "where ( utente_inserimento = '$id_utente'";
hoteldruid-3.0.1/creaprezzi.php-1375-if ($priv_vedi_inv_mag == "g") {
##############################################
hoteldruid-3.0.1/creaprezzi.php-1406-if ($errore != "SI") {
hoteldruid-3.0.1/creaprezzi.php:1407:$esiste_costo = esegui_query("select idntariffe from $tablenometariffe where nomecostoagg = '".aggslashdb($nomecostoagg)."' and tipo_ca $LIKE '".$tipo_ca."_'");
hoteldruid-3.0.1/creaprezzi.php-1408-if (numlin_query($esiste_costo) > 0) {
##############################################
hoteldruid-3.0.1/creaprezzi.php-1456-#if ($valore_p_ca and $tipo_percentuale == "totale" and ${"sel".$tariffa} == "s") {
hoteldruid-3.0.1/creaprezzi.php:1457:#$costo_agg_totale_presente = esegui_query("select * from $tablenometariffe  where idntariffe > 10 and $tariffa != '' and tipo_ca $LIKE '_q' ");
hoteldruid-3.0.1/creaprezzi.php-1458-#if (numlin_query($costo_agg_totale_presente) > 0) $errore = "SI";
##############################################
hoteldruid-3.0.1/creaprezzi.php-1577-for ($num1 = 1 ; $num1 <= $num_beni_inv_elimina_sel ; $num1++) {
hoteldruid-3.0.1/creaprezzi.php:1578:$bene_esist = esegui_query("select * from $tablebeniinventario where idbeniinventario = '".aggslashdb(${"bene_inv_sel".$num1})."' ".str_replace("where","and",$condizione_beni_propri)." ");
hoteldruid-3.0.1/creaprezzi.php-1579-if (numlin_query($bene_esist) != 1) $errore = "SI";
##############################################
hoteldruid-3.0.1/creaprezzi.php-1590-if ($mag_bie_sel) {
hoteldruid-3.0.1/creaprezzi.php:1591:$mag_esist = esegui_query("select * from $tablemagazzini where idmagazzini = '".aggslashdb($mag_bie_sel)."' ".str_replace("where","and",$condizione_mag_propri)." ");
hoteldruid-3.0.1/creaprezzi.php-1592-if (numlin_query($mag_esist) != 1) $errore = "SI";
##############################################
hoteldruid-3.0.1/creaprezzi.php-1673-if ($limite_ca == "s" and (controlla_num_pos($numlimite_ca) == "NO" or $numlimite_ca == 0)) $errore = "SI";
hoteldruid-3.0.1/creaprezzi.php:1674:if ($id_utente == 1) $utenti_attiva_costi_sel = esegui_query("select * from $tableprivilegi where anno = '$anno' and costi_agg_consentiti $LIKE 's%' ");
hoteldruid-3.0.1/creaprezzi.php-1675-} # fine if ($passo >= 11)
##############################################
hoteldruid-3.0.1/creaprezzi.php-1829-if (!strcmp($arrotonda_ca,"")) {
hoteldruid-3.0.1/creaprezzi.php:1830:$arrotonda_ca = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'arrotond_predef' and idutente = '$id_utente'");
hoteldruid-3.0.1/creaprezzi.php-1831-$arrotonda_ca = risul_query($arrotonda_ca,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/creaprezzi.php-1884-#if ($valore_p_ca and $tipo_percentuale == "totale") {
hoteldruid-3.0.1/creaprezzi.php:1885:#$costo_agg_totale_presente = esegui_query("select * from $tablenometariffe  where idntariffe > 10 and $tariffa != '' and tipo_ca $LIKE '_q' ");
hoteldruid-3.0.1/creaprezzi.php-1886-#if (numlin_query($costo_agg_totale_presente) > 0) $mostra_tariffa_corrente = "NO";
##############################################
hoteldruid-3.0.1/creaprezzi.php-2634-$valore_perc_ca = formatta_soldi($valore_p_ca);
hoteldruid-3.0.1/creaprezzi.php:2635:esegui_query("update $tablenometariffe set arrotonda_ca = '$arrotonda_ca' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/creaprezzi.php-2636-} # fine if ($valore_p_ca)
##############################################
hoteldruid-3.0.1/creaprezzi.php-2639-$arrotonda_ca = formatta_soldi($arrotonda_ca);
hoteldruid-3.0.1/creaprezzi.php:2640:esegui_query("update $tablenometariffe set valore_perc_ca = '$valore_perc_ca', arrotonda_ca = '$arrotonda_ca' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/creaprezzi.php-2641-} # fine if ($tipo_valore_ca != "f")
##############################################
hoteldruid-3.0.1/creaprezzi.php-2643-if ($tipo_tasse == "t") $tasseperc_ca = -1;
hoteldruid-3.0.1/creaprezzi.php:2644:esegui_query("update $tablenometariffe set tasseperc_ca = '$tasseperc_ca' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/creaprezzi.php-2645-} # fine if ($tasseperc_ca or $tipo_tasse == "t")
##############################################
hoteldruid-3.0.1/creaprezzi.php-2664-if (${"incomp_".$tariffa} == "i") $valtariffa = "i";
hoteldruid-3.0.1/creaprezzi.php:2665:if ($valtariffa) esegui_query("update $tablenometariffe set $tariffa = '$valtariffa' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/creaprezzi.php-2666-} # fine if ($attiva_tariffe_consentite == "n" or $tariffe_consentite_vett[$numtariffa] == "SI")
##############################################
hoteldruid-3.0.1/creaprezzi.php-2674-if ($assegna_prenota_contemp) $regoleassegna_ca .= $ass_pren_cont_num;
hoteldruid-3.0.1/creaprezzi.php:2675:esegui_query("update $tablenometariffe set regoleassegna_ca = '$regoleassegna_ca' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/creaprezzi.php-2676-if ($tipo_ca == "s") {
hoteldruid-3.0.1/creaprezzi.php:2677:esegui_query("update $tablenometariffe set associasett_ca = '$associasett' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/creaprezzi.php-2678-$valnumsett_ca = $numsett_ca;
##############################################
hoteldruid-3.0.1/creaprezzi.php-2693-} # fine if ($numsett_ca == "g")
hoteldruid-3.0.1/creaprezzi.php:2694:esegui_query("update $tablenometariffe set numsett_ca = '$valnumsett_ca' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/creaprezzi.php-2695-} # fine if ($tipo_ca == "s")
##############################################
hoteldruid-3.0.1/creaprezzi.php-2699-for ($num1 = 1 ; $num1 <= $num_beni_inv_elimina_sel ; $num1++) $beniinv_ca .= ";".${"bene_inv_sel".$num1}.",".${"molt_bene_inv_sel".$num1};
hoteldruid-3.0.1/creaprezzi.php:2700:esegui_query("update $tablenometariffe set beniinv_ca = '$beniinv_ca' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/creaprezzi.php-2701-} # fine if ($beni_inv_elimina == "sel")
##############################################
hoteldruid-3.0.1/creaprezzi.php-2704-for ($num1 = 1 ; $num1 <= $num_periodi_permessi_sel ; $num1++) {
hoteldruid-3.0.1/creaprezzi.php:2705:$idinizioperiodo = esegui_query("select idperiodi from $tableperiodi where datainizio = '".aggslashdb(${"pp_dal".$num1})."' ");
hoteldruid-3.0.1/creaprezzi.php-2706-$idinizioperiodo = risul_query($idinizioperiodo,0,'idperiodi');
hoteldruid-3.0.1/creaprezzi.php:2707:$idfineperiodo = esegui_query("select idperiodi from $tableperiodi where datafine = '".aggslashdb(${"pp_al".$num1})."' ");
hoteldruid-3.0.1/creaprezzi.php-2708-$idfineperiodo = risul_query($idfineperiodo,0,'idperiodi');
##############################################
hoteldruid-3.0.1/creaprezzi.php-2711-$periodipermessi_ca = $tipo_pp.substr($periodipermessi_ca,1);
hoteldruid-3.0.1/creaprezzi.php:2712:esegui_query("update $tablenometariffe set periodipermessi_ca = '$periodipermessi_ca' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/creaprezzi.php-2713-} # fine if ($periodi_permessi == "sel")
##############################################
hoteldruid-3.0.1/creaprezzi.php-2720-$appincompatibili_ca = substr($appincompatibili_ca,0,-1);
hoteldruid-3.0.1/creaprezzi.php:2721:if (strcmp($appincompatibili_ca,"")) esegui_query("update $tablenometariffe set appincompatibili_ca = '".aggslashdb($appincompatibili_ca)."' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/creaprezzi.php:2722:if (strcmp($categoria_ca,"")) esegui_query("update $tablenometariffe set categoria_ca = '".aggslashdb($categoria_ca)."' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/creaprezzi.php:2723:if ($limite_ca == "s") esegui_query("update $tablenometariffe set numlimite_ca = '$numlimite_ca' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/creaprezzi.php-2724-if ($agg_utenti == "s") $q_utenti_costi_sel = $utenti_attiva_costi_sel;
##############################################
hoteldruid-3.0.1/creaprezzi.php-2799-$fineperiodo = aggslashdb($fineperiodosett1);
hoteldruid-3.0.1/creaprezzi.php:2800:$idinizioperiodo = esegui_query("select idperiodi from $tableperiodi where datainizio = '$inizioperiodo' ");
hoteldruid-3.0.1/creaprezzi.php-2801-$num_idinizioperiodo = numlin_query($idinizioperiodo);
##############################################
hoteldruid-3.0.1/creaprezzi.php-2804-$inizioperiodo = $idinizioperiodo;
hoteldruid-3.0.1/creaprezzi.php:2805:$idfineperiodo = esegui_query("select idperiodi from $tableperiodi where datafine = '$fineperiodo' ");
hoteldruid-3.0.1/creaprezzi.php-2806-$num_idfineperiodo = numlin_query($idfineperiodo);
##############################################
hoteldruid-3.0.1/creaprezzi.php-2884-if (periodo_modificabile ($tipotariffa,$num1,$per_imp,$dati_tariffe)) {
hoteldruid-3.0.1/creaprezzi.php:2885:if ($prezzoperiodo1) esegui_query("update $tableperiodi set $tipotariffa = '$prezzoperiodo1' where idperiodi = '$num1' ");
hoteldruid-3.0.1/creaprezzi.php:2886:if ($prezzoperiodo1p) esegui_query("update $tableperiodi set $tipotariffa"."p = '$prezzoperiodo1p' where idperiodi = '$num1' ");
hoteldruid-3.0.1/creaprezzi.php-2887-aggiorna_tariffe_esporta($dati_tariffe,$tipotariffa,$num1,$prezzoperiodo1,$prezzoperiodo1p,$tableperiodi,$agg_vett_tar_esp,$num_agg_tar_esp);
##############################################
hoteldruid-3.0.1/creaprezzi.php-2890-if (periodo_modificabile ($tipotariffa,$num1,$per_imp,$dati_tariffe)) {
hoteldruid-3.0.1/creaprezzi.php:2891:if ($prezzoperiodo2) esegui_query("update $tableperiodi set $tipotariffa = '$prezzoperiodo2' where idperiodi = '$num1' ");
hoteldruid-3.0.1/creaprezzi.php:2892:if ($prezzoperiodo2p) esegui_query("update $tableperiodi set $tipotariffa"."p = '$prezzoperiodo2p' where idperiodi = '$num1' ");
hoteldruid-3.0.1/creaprezzi.php-2893-aggiorna_tariffe_esporta($dati_tariffe,$tipotariffa,$num1,$prezzoperiodo2,$prezzoperiodo2p,$tableperiodi,$agg_vett_tar_esp,$num_agg_tar_esp);
##############################################
hoteldruid-3.0.1/creaprezzi.php-2896-if (periodo_modificabile ($tipotariffa,$num1,$per_imp,$dati_tariffe)) {
hoteldruid-3.0.1/creaprezzi.php:2897:if ($prezzoperiodo3) esegui_query("update $tableperiodi set $tipotariffa = '$prezzoperiodo3' where idperiodi = '$num1' ");
hoteldruid-3.0.1/creaprezzi.php:2898:if ($prezzoperiodo3p) esegui_query("update $tableperiodi set $tipotariffa"."p = '$prezzoperiodo3p' where idperiodi = '$num1' ");
hoteldruid-3.0.1/creaprezzi.php-2899-aggiorna_tariffe_esporta($dati_tariffe,$tipotariffa,$num1,$prezzoperiodo3,$prezzoperiodo3p,$tableperiodi,$agg_vett_tar_esp,$num_agg_tar_esp);
##############################################
hoteldruid-3.0.1/creaprezzi.php-2902-if (periodo_modificabile ($tipotariffa,$num1,$per_imp,$dati_tariffe)) {
hoteldruid-3.0.1/creaprezzi.php:2903:if ($prezzoperiodo4) esegui_query("update $tableperiodi set $tipotariffa = '$prezzoperiodo4' where idperiodi = '$num1' ");
hoteldruid-3.0.1/creaprezzi.php:2904:if ($prezzoperiodo4p) esegui_query("update $tableperiodi set $tipotariffa"."p = '$prezzoperiodo4p' where idperiodi = '$num1' ");
hoteldruid-3.0.1/creaprezzi.php-2905-aggiorna_tariffe_esporta($dati_tariffe,$tipotariffa,$num1,$prezzoperiodo4,$prezzoperiodo4p,$tableperiodi,$agg_vett_tar_esp,$num_agg_tar_esp);
##############################################
hoteldruid-3.0.1/creaprezzi.php-2908-if (periodo_modificabile ($tipotariffa,$num1,$per_imp,$dati_tariffe)) {
hoteldruid-3.0.1/creaprezzi.php:2909:if ($prezzoperiodo5) esegui_query("update $tableperiodi set $tipotariffa = '$prezzoperiodo5' where idperiodi = '$num1' ");
hoteldruid-3.0.1/creaprezzi.php:2910:if ($prezzoperiodo5p) esegui_query("update $tableperiodi set $tipotariffa"."p = '$prezzoperiodo5p' where idperiodi = '$num1' ");
hoteldruid-3.0.1/creaprezzi.php-2911-aggiorna_tariffe_esporta($dati_tariffe,$tipotariffa,$num1,$prezzoperiodo5,$prezzoperiodo5p,$tableperiodi,$agg_vett_tar_esp,$num_agg_tar_esp);
##############################################
hoteldruid-3.0.1/creaprezzi.php-2914-if (periodo_modificabile ($tipotariffa,$num1,$per_imp,$dati_tariffe)) {
hoteldruid-3.0.1/creaprezzi.php:2915:if ($prezzoperiodo6) esegui_query("update $tableperiodi set $tipotariffa = '$prezzoperiodo6' where idperiodi = '$num1' ");
hoteldruid-3.0.1/creaprezzi.php:2916:if ($prezzoperiodo6p) esegui_query("update $tableperiodi set $tipotariffa"."p = '$prezzoperiodo6p' where idperiodi = '$num1' ");
hoteldruid-3.0.1/creaprezzi.php-2917-aggiorna_tariffe_esporta($dati_tariffe,$tipotariffa,$num1,$prezzoperiodo6,$prezzoperiodo6p,$tableperiodi,$agg_vett_tar_esp,$num_agg_tar_esp);
##############################################
hoteldruid-3.0.1/creaprezzi.php-2920-if (periodo_modificabile ($tipotariffa,$num1,$per_imp,$dati_tariffe)) {
hoteldruid-3.0.1/creaprezzi.php:2921:if ($prezzoperiodo7) esegui_query("update $tableperiodi set $tipotariffa = '$prezzoperiodo7' where idperiodi = '$num1' ");
hoteldruid-3.0.1/creaprezzi.php:2922:if ($prezzoperiodo7p) esegui_query("update $tableperiodi set $tipotariffa"."p = '$prezzoperiodo7p' where idperiodi = '$num1' ");
hoteldruid-3.0.1/creaprezzi.php-2923-aggiorna_tariffe_esporta($dati_tariffe,$tipotariffa,$num1,$prezzoperiodo7,$prezzoperiodo7p,$tableperiodi,$agg_vett_tar_esp,$num_agg_tar_esp);
##############################################
hoteldruid-3.0.1/creaprezzi.php-2926-$ultime_sel_ins_prezzi_s = aggslashdb("$anno,$inizioperiodosett1,$fineperiodosett1,$checked_sett,$checked_gio");
hoteldruid-3.0.1/creaprezzi.php:2927:esegui_query("delete from $tablepersonalizza where idpersonalizza = 'ultime_sel_ins_prezzi_s' and idutente = '$id_utente' ");
hoteldruid-3.0.1/creaprezzi.php-2928-esegui_query("insert into $tablepersonalizza (idpersonalizza,idutente,valpersonalizza) values ('ultime_sel_ins_prezzi_s','$id_utente','$ultime_sel_ins_prezzi_s') ");
hoteldruid-3.0.1/creaprezzi.php:2929:$opztariffa = esegui_query("select * from $tableperiodi where $tipotariffa"."p is not NULL and $tipotariffa"."p != '' and $tipotariffa"."p != '0' ");
hoteldruid-3.0.1/creaprezzi.php-2930-if (numlin_query($opztariffa)) $opztariffa = "p";
##############################################
hoteldruid-3.0.1/creaprezzi.php-3016-$fineperiodo = aggslashdb($$fineperiodo);
hoteldruid-3.0.1/creaprezzi.php:3017:$idinizioperiodo = esegui_query("select idperiodi from $tableperiodi where datainizio = '$inizioperiodo' ");
hoteldruid-3.0.1/creaprezzi.php-3018-$num_idinizioperiodo = numlin_query($idinizioperiodo);
##############################################
hoteldruid-3.0.1/creaprezzi.php-3022-else $idinizioperiodo = 9999999;
hoteldruid-3.0.1/creaprezzi.php:3023:$idfineperiodo = esegui_query("select idperiodi from $tableperiodi where datafine = '$fineperiodo' ");
hoteldruid-3.0.1/creaprezzi.php-3024-$num_idfineperiodo = numlin_query($idfineperiodo);
##############################################
hoteldruid-3.0.1/creaprezzi.php-3042-$inserirepp[$idinizioperiodo] = 1;
hoteldruid-3.0.1/creaprezzi.php:3043:$vecchioprezzoperiodo = esegui_query("select $tipotariffa from $tableperiodi where idperiodi = '$idinizioperiodo' and ($tipotariffa is not NULL or $tipotariffa"."p is not NULL)");
hoteldruid-3.0.1/creaprezzi.php-3044-$esisteprezzoperiodo = numlin_query($vecchioprezzoperiodo);
##############################################
hoteldruid-3.0.1/creaprezzi.php-3061-$aggiorna_tariffe_interconn = "SI";
hoteldruid-3.0.1/creaprezzi.php:3062:esegui_query("delete from $tablepersonalizza where idpersonalizza = 'ultime_sel_ins_prezzi' and idutente = '$id_utente' ");
hoteldruid-3.0.1/creaprezzi.php-3063-esegui_query("insert into $tablepersonalizza (idpersonalizza,idutente,valpersonalizza) values ('ultime_sel_ins_prezzi','$id_utente','$ultime_sel_ins_prezzi') ");
##############################################
hoteldruid-3.0.1/creaprezzi.php-3087-if ($ins_periodo) {
hoteldruid-3.0.1/creaprezzi.php:3088:if (strcmp($prezzoperiodo,"")) esegui_query("update $tableperiodi set $tipotariffa = '$prezzoperiodo' where idperiodi = '$idinizioperiodo' ");
hoteldruid-3.0.1/creaprezzi.php:3089:else esegui_query("update $tableperiodi set $tipotariffa = NULL where idperiodi = '$idinizioperiodo' ");
hoteldruid-3.0.1/creaprezzi.php:3090:if (strcmp($prezzoperiodop,"")) esegui_query("update $tableperiodi set $tipotariffa"."p = '$prezzoperiodop' where idperiodi = '$idinizioperiodo' ");
hoteldruid-3.0.1/creaprezzi.php:3091:else esegui_query("update $tableperiodi set $tipotariffa"."p = NULL where idperiodi = '$idinizioperiodo' ");
hoteldruid-3.0.1/creaprezzi.php-3092-aggiorna_tariffe_esporta($dati_tariffe,$tipotariffa,$idinizioperiodo,$prezzoperiodo,$prezzoperiodop,$tableperiodi,$agg_vett_tar_esp,$num_agg_tar_esp);
##############################################
hoteldruid-3.0.1/creaprezzi.php-3226-if (!$numcaselle) {
hoteldruid-3.0.1/creaprezzi.php:3227:$ultime_sel_ins_prezzi = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'ultime_sel_ins_prezzi' and idutente = '$id_utente'");
hoteldruid-3.0.1/creaprezzi.php-3228-if (numlin_query($ultime_sel_ins_prezzi) == 1) {
##############################################
hoteldruid-3.0.1/creaprezzi.php-3254-
hoteldruid-3.0.1/creaprezzi.php:3255:$arrotond_predef = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'arrotond_predef' and idutente = '$id_utente'");
hoteldruid-3.0.1/creaprezzi.php-3256-$arrotond_predef = risul_query($arrotond_predef,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/creaprezzi.php-3366-
hoteldruid-3.0.1/creaprezzi.php:3367:$giorno_vedi_ini_sett = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'giorno_vedi_ini_sett$anno' and idutente = '$id_utente'");
hoteldruid-3.0.1/creaprezzi.php-3368-if (numlin_query($giorno_vedi_ini_sett) == 1) $giorno_vedi_ini_sett = risul_query($giorno_vedi_ini_sett,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/creaprezzi.php-3397-
hoteldruid-3.0.1/creaprezzi.php:3398:$ultime_sel_ins_prezzi_s = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'ultime_sel_ins_prezzi_s' and idutente = '$id_utente'");
hoteldruid-3.0.1/creaprezzi.php-3399-if (numlin_query($ultime_sel_ins_prezzi_s) == 1) $ultime_sel_ins_prezzi_s = explode(",",risul_query($ultime_sel_ins_prezzi_s,0,'valpersonalizza'));
##############################################
hoteldruid-3.0.1/creaprezzi.php-3483-$periodi_importa = "s";
hoteldruid-3.0.1/creaprezzi.php:3484:$iniper_imp = esegui_query("select datainizio from $tableperiodi where idperiodi = '".aggslashdb($dati_tariffe[$tar_imp_mod]['periodo_importa_i'][$num1])."' ");
hoteldruid-3.0.1/creaprezzi.php-3485-$iniper_imp = risul_query($iniper_imp,0,'datainizio');
hoteldruid-3.0.1/creaprezzi.php:3486:$fineper_imp = esegui_query("select datafine from $tableperiodi where idperiodi = '".aggslashdb($dati_tariffe[$tar_imp_mod]['periodo_importa_f'][$num1])."' ");
hoteldruid-3.0.1/creaprezzi.php-3487-$fineper_imp = risul_query($fineper_imp,0,'datafine');
##############################################
hoteldruid-3.0.1/creaprezzi.php-3600-echo "<input type=\"hidden\" name=\"per_importa_canc\" value=\"".$dati_tariffe[$tariffa]['periodo_importa_i'][$num2]."-".$dati_tariffe[$tariffa]['periodo_importa_f'][$num2]."\">";
hoteldruid-3.0.1/creaprezzi.php:3601:$ini_imp = esegui_query("select * from $tableperiodi where idperiodi = '".$dati_tariffe[$tariffa]['periodo_importa_i'][$num2]."' ");
hoteldruid-3.0.1/creaprezzi.php-3602-$ini_imp = formatta_data(risul_query($ini_imp,0,'datainizio'),$stile_data);
hoteldruid-3.0.1/creaprezzi.php:3603:$fine_imp = esegui_query("select * from $tableperiodi where idperiodi = '".$dati_tariffe[$tariffa]['periodo_importa_f'][$num2]."' ");
hoteldruid-3.0.1/creaprezzi.php-3604-$fine_imp = formatta_data(risul_query($fine_imp,0,'datafine'),$stile_data);
##############################################
hoteldruid-3.0.1/creaprezzi.php-3834-<input type=\"hidden\" name=\"cambiaarrtasse\" value=\"SI\">";
hoteldruid-3.0.1/creaprezzi.php:3835:$arrotond_tasse = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'arrotond_tasse' and idutente = '$id_utente'");
hoteldruid-3.0.1/creaprezzi.php-3836-$arrotond_tasse = virgola_in_num(risul_query($arrotond_tasse,0,'valpersonalizza'),$stile_soldi);
##############################################
hoteldruid-3.0.1/creaprezzi.php-3878-
hoteldruid-3.0.1/creaprezzi.php:3879:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/creaprezzi.php-3880-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/modifica_costi.php-28-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/modifica_costi.php:29:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/modifica_costi.php-30-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/modifica_costi.php-51-$tableprivilegi = $PHPR_TAB_PRE."privilegi";
hoteldruid-3.0.1/modifica_costi.php:52:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/modifica_costi.php-53-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/modifica_costi.php-55-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/modifica_costi.php:56:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/modifica_costi.php-57-$priv_vedi_tab = risul_query($privilegi_annuali_utente,0,'priv_vedi_tab');
##############################################
hoteldruid-3.0.1/modifica_costi.php-113-if ($prendi_gruppi == "SI") {
hoteldruid-3.0.1/modifica_costi.php:114:$gruppi_utente = esegui_query("select idgruppo from $tablerelgruppi where idutente = '$id_utente' and idgruppo is not NULL ");
hoteldruid-3.0.1/modifica_costi.php-115-$num_gruppi_utente = numlin_query($gruppi_utente);
##############################################
hoteldruid-3.0.1/modifica_costi.php-117-$idgruppo = risul_query($gruppi_utente,$num1,'idgruppo');
hoteldruid-3.0.1/modifica_costi.php:118:$utenti_gruppo = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$idgruppo' ");
hoteldruid-3.0.1/modifica_costi.php-119-$num_utenti_gruppo = numlin_query($utenti_gruppo);
##############################################
hoteldruid-3.0.1/modifica_costi.php-125-if ($priv_app_gruppi == "SI") {
hoteldruid-3.0.1/modifica_costi.php:126:$priv_anno_ut_gr = esegui_query("select * from $tableprivilegi where idutente = '$idutente_gruppo' and anno = '$anno'");
hoteldruid-3.0.1/modifica_costi.php-127-if (numlin_query($priv_anno_ut_gr) == 1) {
##############################################
hoteldruid-3.0.1/modifica_costi.php-174-$titolo = "HotelDruid: ".mex("Modifica Costi Aggiuntivi",$pag);
hoteldruid-3.0.1/modifica_costi.php:175:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/modifica_costi.php-176-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/modifica_costi.php-194-if ($priv_vedi_beni_inv == "p" or $priv_vedi_beni_inv == "g") {
hoteldruid-3.0.1/modifica_costi.php:195:$condizione_beni_propri = "where ( utente_inserimento = '$id_utente'";
hoteldruid-3.0.1/modifica_costi.php-196-if ($priv_vedi_beni_inv == "g") {
##############################################
hoteldruid-3.0.1/modifica_costi.php-203-if ($priv_vedi_inv_mag == "p" or $priv_vedi_inv_mag == "g") {
hoteldruid-3.0.1/modifica_costi.php:204:$condizione_mag_propri = "where ( utente_inserimento = '$id_utente'";
hoteldruid-3.0.1/modifica_costi.php-205-if ($priv_vedi_inv_mag == "g") {
##############################################
hoteldruid-3.0.1/modifica_costi.php-249-if ($errore != "SI" and (($n_nome != "" and $n_nome != $dati_ca[$num_costo]['nome']) or $tipo_ca != $dati_ca[$num_costo]['tipo'])) {
hoteldruid-3.0.1/modifica_costi.php:250:$esiste_costo = esegui_query("select idntariffe from $tablenometariffe where nomecostoagg = '".aggslashdb($nomecostoagg)."' and tipo_ca $LIKE '".$tipo_ca."_'");
hoteldruid-3.0.1/modifica_costi.php-251-if (numlin_query($esiste_costo) > 0) {
##############################################
hoteldruid-3.0.1/modifica_costi.php-364-for ($num1 = 1 ; $num1 <= $num_beni_inv_elimina_sel ; $num1++) {
hoteldruid-3.0.1/modifica_costi.php:365:$bene_esist = esegui_query("select * from $tablebeniinventario where idbeniinventario = '".aggslashdb(${"bene_inv_sel".$num1})."' ".str_replace("where","and",$condizione_beni_propri)." ");
hoteldruid-3.0.1/modifica_costi.php-366-if (numlin_query($bene_esist) != 1) $errore = "SI";
##############################################
hoteldruid-3.0.1/modifica_costi.php-384-if ($mag_bie_sel) {
hoteldruid-3.0.1/modifica_costi.php:385:$mag_esist = esegui_query("select * from $tablemagazzini where idmagazzini = '".aggslashdb($mag_bie_sel)."' ".str_replace("where","and",$condizione_mag_propri)." ");
hoteldruid-3.0.1/modifica_costi.php-386-if (numlin_query($mag_esist) != 1) $errore = "SI";
##############################################
hoteldruid-3.0.1/modifica_costi.php-515-$nomecostoagg = aggslashdb($nomecostoagg);
hoteldruid-3.0.1/modifica_costi.php:516:esegui_query("update $tablenometariffe set nomecostoagg = '$nomecostoagg' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/modifica_costi.php-517-$modificato = "SI";
##############################################
hoteldruid-3.0.1/modifica_costi.php-527-if ($tipo_ca != $dati_ca[$num_costo]['tipo'] or $tipo_valore_ca != $dati_ca[$num_costo]['tipo_val']) {
hoteldruid-3.0.1/modifica_costi.php:528:esegui_query("update $tablenometariffe set tipo_ca = '$tipo_ca$tipo_valore_ca' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/modifica_costi.php-529-$modificato = "SI";
##############################################
hoteldruid-3.0.1/modifica_costi.php-534-if ($valore_ca != $dati_ca[$num_costo]['valore']) {
hoteldruid-3.0.1/modifica_costi.php:535:esegui_query("update $tablenometariffe set valore_ca = '$valore_ca' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/modifica_costi.php-536-$modificato = "SI";
##############################################
hoteldruid-3.0.1/modifica_costi.php-539-if ($valore_perc_ca != $dati_ca[$num_costo]['valore_perc']) {
hoteldruid-3.0.1/modifica_costi.php:540:if (!strcmp($valore_perc_ca,"")) esegui_query("update $tablenometariffe set valore_perc_ca = NULL where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/modifica_costi.php:541:else esegui_query("update $tablenometariffe set valore_perc_ca = '$valore_perc_ca' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/modifica_costi.php-542-$modificato = "SI";
##############################################
hoteldruid-3.0.1/modifica_costi.php-554-if ($moltiplica_ca != $dati_ca[$num_costo]['moltiplica'].$dati_ca[$num_costo]['molt_max'].$dati_ca[$num_costo]['molt_agg'].",".$dati_ca[$num_costo]['molt_max_num'].$dati_ca[$num_costo]['cp_molt_int']) {
hoteldruid-3.0.1/modifica_costi.php:555:esegui_query("update $tablenometariffe set moltiplica_ca = '$moltiplica_ca' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/modifica_costi.php-556-$modificato = "SI";
##############################################
hoteldruid-3.0.1/modifica_costi.php-559-if ($variazione_ca != $dati_ca[$num_costo]['var_percentuale'].$dati_ca[$num_costo]['var_numsett'].$dati_ca[$num_costo]['var_moltiplica'].$dati_ca[$num_costo]['var_periodip'].$dati_ca[$num_costo]['var_tariffea'].$dati_ca[$num_costo]['var_tariffei'].$dati_ca[$num_costo]['var_beniinv'].$dati_ca[$num_costo]['var_appi'].$dati_ca[$num_costo]['var_comb']) {
hoteldruid-3.0.1/modifica_costi.php:560:esegui_query("update $tablenometariffe set variazione_ca = '$variazione_ca' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/modifica_costi.php-561-$modificato = "SI";
##############################################
hoteldruid-3.0.1/modifica_costi.php-567-if ($mostra_ca != $mostra_corr.$dati_ca[$num_costo]['raggruppa'].$dati_ca[$num_costo]['combina'].$dati_ca[$num_costo]['escludi_tot_perc']) {
hoteldruid-3.0.1/modifica_costi.php:568:esegui_query("update $tablenometariffe set mostra_ca = '$mostra_ca' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/modifica_costi.php-569-$modificato = "SI";
##############################################
hoteldruid-3.0.1/modifica_costi.php-571-if ($categoria_ca != $dati_ca[$num_costo]['categoria']) {
hoteldruid-3.0.1/modifica_costi.php:572:esegui_query("update $tablenometariffe set categoria_ca = '".aggslashdb($categoria_ca)."' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/modifica_costi.php-573-$modificato = "SI";
##############################################
hoteldruid-3.0.1/modifica_costi.php-576-if ($letto_ca == "s" and $perc_catpers == "s") $letto_ca = "p";
hoteldruid-3.0.1/modifica_costi.php:577:esegui_query("update $tablenometariffe set letto_ca = '$letto_ca' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/modifica_costi.php-578-$modificato = "SI";
##############################################
hoteldruid-3.0.1/modifica_costi.php-581-if ($tipo_valore_ca != "f" and $arrotonda_ca != $dati_ca[$num_costo]['arrotonda']) {
hoteldruid-3.0.1/modifica_costi.php:582:esegui_query("update $tablenometariffe set arrotonda_ca = '$arrotonda_ca' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/modifica_costi.php-583-$modificato = "SI";
##############################################
hoteldruid-3.0.1/modifica_costi.php-586-if ($tasseperc_ca != $dati_ca[$num_costo]['tasseperc']) {
hoteldruid-3.0.1/modifica_costi.php:587:if (!strcmp($tasseperc_ca,"")) esegui_query("update $tablenometariffe set tasseperc_ca = NULL where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/modifica_costi.php:588:else esegui_query("update $tablenometariffe set tasseperc_ca = '$tasseperc_ca' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/modifica_costi.php-589-$modificato = "SI";
##############################################
hoteldruid-3.0.1/modifica_costi.php-612-if ($valtariffa != $valtariffa_prec) {
hoteldruid-3.0.1/modifica_costi.php:613:esegui_query("update $tablenometariffe set $tariffa = '$valtariffa' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/modifica_costi.php-614-$modificato = "SI";
##############################################
hoteldruid-3.0.1/modifica_costi.php-625-if ($regoleassegna_ca != $dati_ca[$num_costo]['assegna_da_ini_prenota'].";".$dati_ca[$num_costo]['assegna_con_num_prenota']) {
hoteldruid-3.0.1/modifica_costi.php:626:esegui_query("update $tablenometariffe set regoleassegna_ca = '$regoleassegna_ca' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/modifica_costi.php-627-$modificato = "SI";
##############################################
hoteldruid-3.0.1/modifica_costi.php-629-if ($associasett != $dati_ca[$num_costo]['associasett']) {
hoteldruid-3.0.1/modifica_costi.php:630:esegui_query("update $tablenometariffe set associasett_ca = '$associasett' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/modifica_costi.php-631-$modificato = "SI";
##############################################
hoteldruid-3.0.1/modifica_costi.php-649-if ($valnumsett_ca != $dati_ca[$num_costo]['numsett_orig']) {
hoteldruid-3.0.1/modifica_costi.php:650:esegui_query("update $tablenometariffe set numsett_ca = '$valnumsett_ca' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/modifica_costi.php-651-$modificato = "SI";
##############################################
hoteldruid-3.0.1/modifica_costi.php-659-if ($beniinv_ca != $dati_ca[$num_costo]['beniinv_orig']) {
hoteldruid-3.0.1/modifica_costi.php:660:esegui_query("update $tablenometariffe set beniinv_ca = '$beniinv_ca' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/modifica_costi.php-661-$modificato = "SI";
##############################################
hoteldruid-3.0.1/modifica_costi.php-665-for ($num1 = 1 ; $num1 <= $num_periodi_permessi_sel ; $num1++) {
hoteldruid-3.0.1/modifica_costi.php:666:$idinizioperiodo = esegui_query("select idperiodi from $tableperiodi where datainizio = '".aggslashdb(${"pp_dal".$num1})."' ");
hoteldruid-3.0.1/modifica_costi.php-667-$idinizioperiodo = risul_query($idinizioperiodo,0,'idperiodi');
hoteldruid-3.0.1/modifica_costi.php:668:$idfineperiodo = esegui_query("select idperiodi from $tableperiodi where datafine = '".aggslashdb(${"pp_al".$num1})."' ");
hoteldruid-3.0.1/modifica_costi.php-669-$idfineperiodo = risul_query($idfineperiodo,0,'idperiodi');
##############################################
hoteldruid-3.0.1/modifica_costi.php-674-if ($periodipermessi_ca != $dati_ca[$num_costo]['periodipermessi_orig']) {
hoteldruid-3.0.1/modifica_costi.php:675:esegui_query("update $tablenometariffe set periodipermessi_ca = '$periodipermessi_ca' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/modifica_costi.php-676-$modificato = "SI";
##############################################
hoteldruid-3.0.1/modifica_costi.php-685-if ($appincompatibili_ca != $dati_ca[$num_costo]['appincompatibili']) {
hoteldruid-3.0.1/modifica_costi.php:686:esegui_query("update $tablenometariffe set appincompatibili_ca = '$appincompatibili_ca' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/modifica_costi.php-687-$modificato = "SI";
##############################################
hoteldruid-3.0.1/modifica_costi.php-691-if ($numlimite_ca != $dati_ca[$num_costo]['numlimite']) {
hoteldruid-3.0.1/modifica_costi.php:692:if ($numlimite_ca) esegui_query("update $tablenometariffe set numlimite_ca = '$numlimite_ca' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/modifica_costi.php:693:else esegui_query("update $tablenometariffe set numlimite_ca = NULL where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/modifica_costi.php-694-$modificato = "SI";
##############################################
hoteldruid-3.0.1/modifica_costi.php-857-if (!strcmp($d_arrotond,"")) {
hoteldruid-3.0.1/modifica_costi.php:858:$d_arrotond = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'arrotond_predef' and idutente = '$id_utente'");
hoteldruid-3.0.1/modifica_costi.php-859-$d_arrotond = risul_query($d_arrotond,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/modifica_costi.php-1402-if (!${"pp_dal".$num1} and $num1 <= $num_periodi_permessi) {
hoteldruid-3.0.1/modifica_costi.php:1403:${"pp_dal".$num1} = esegui_query("select datainizio from $tableperiodi where idperiodi = '".$dati_ca[$num_costo]['sett_periodipermessi_ini'][($num1 - 1)]."'");
hoteldruid-3.0.1/modifica_costi.php-1404-if (numlin_query(${"pp_dal".$num1}) == 1) ${"pp_dal".$num1} = risul_query(${"pp_dal".$num1},0,'datainizio');
##############################################
hoteldruid-3.0.1/modifica_costi.php-1409-if (!${"pp_al".$num1} and $num1 <= $num_periodi_permessi) {
hoteldruid-3.0.1/modifica_costi.php:1410:${"pp_al".$num1} = esegui_query("select datafine from $tableperiodi where idperiodi = '".$dati_ca[$num_costo]['sett_periodipermessi_fine'][($num1 - 1)]."'");
hoteldruid-3.0.1/modifica_costi.php-1411-if (numlin_query(${"pp_al".$num1}) == 1) ${"pp_al".$num1} = risul_query(${"pp_al".$num1},0,'datafine');
##############################################
hoteldruid-3.0.1/modifica_costi.php-1688-
hoteldruid-3.0.1/modifica_costi.php:1689:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/modifica_costi.php-1690-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/tabella.php-29-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/tabella.php:30:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/tabella.php-31-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/tabella.php-50-$tablerelgruppi = $PHPR_TAB_PRE."relgruppi";
hoteldruid-3.0.1/tabella.php:51:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/tabella.php-52-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/tabella.php-54-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/tabella.php:55:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/tabella.php-56-$priv_ins_clienti = risul_query($privilegi_globali_utente,0,'priv_ins_clienti');
##############################################
hoteldruid-3.0.1/tabella.php-128-if ($prendi_gruppi == "SI") {
hoteldruid-3.0.1/tabella.php:129:$gruppi_utente = esegui_query("select idgruppo from $tablerelgruppi where idutente = '$id_utente' and idgruppo is not NULL ");
hoteldruid-3.0.1/tabella.php-130-$num_gruppi_utente = numlin_query($gruppi_utente);
##############################################
hoteldruid-3.0.1/tabella.php-132-$idgruppo = risul_query($gruppi_utente,$num1,'idgruppo');
hoteldruid-3.0.1/tabella.php:133:$utenti_gruppo = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$idgruppo' ");
hoteldruid-3.0.1/tabella.php-134-$num_utenti_gruppo = numlin_query($utenti_gruppo);
##############################################
hoteldruid-3.0.1/tabella.php-140-if ($priv_app_gruppi == "SI") {
hoteldruid-3.0.1/tabella.php:141:$priv_anno_ut_gr = esegui_query("select * from $tableprivilegi where idutente = '$idutente_gruppo' and anno = '$anno'");
hoteldruid-3.0.1/tabella.php-142-if (numlin_query($priv_anno_ut_gr) == 1) {
##############################################
hoteldruid-3.0.1/tabella.php-228-
hoteldruid-3.0.1/tabella.php:229:$tipo_periodi = esegui_query("select * from $tableanni where idanni = '$anno'");
hoteldruid-3.0.1/tabella.php-230-$tipo_periodi = risul_query($tipo_periodi,0,'tipo_periodi');
hoteldruid-3.0.1/tabella.php:231:$attiva_checkin = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'attiva_checkin' and idutente = '$id_utente'");
hoteldruid-3.0.1/tabella.php-232-$attiva_checkin = risul_query($attiva_checkin,0,'valpersonalizza');
hoteldruid-3.0.1/tabella.php-233-
hoteldruid-3.0.1/tabella.php:234:$colori_tab_mesi = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'colori_tab_mesi' and idutente = '$id_utente'");
hoteldruid-3.0.1/tabella.php-235-$colori_tab_mesi = explode(",",risul_query($colori_tab_mesi,0,'valpersonalizza'));
##############################################
hoteldruid-3.0.1/tabella.php-240-
hoteldruid-3.0.1/tabella.php:241:$mostra_giorni_tab_mesi = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'mostra_giorni_tab_mesi' and idutente = '$id_utente'");
hoteldruid-3.0.1/tabella.php-242-$mostra_giorni_tab_mesi = risul_query($mostra_giorni_tab_mesi,0,'valpersonalizza');
hoteldruid-3.0.1/tabella.php-243-if ($tipo_periodi == "g") {
hoteldruid-3.0.1/tabella.php:244:$giorno_vedi_ini_sett = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'giorno_vedi_ini_sett$anno' and idutente = '$id_utente'");
hoteldruid-3.0.1/tabella.php-245-if (numlin_query($giorno_vedi_ini_sett) == 1) $giorno_vedi_ini_sett = risul_query($giorno_vedi_ini_sett,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/tabella.php-263-global $tableperiodi;
hoteldruid-3.0.1/tabella.php:264:$riga_setimana = esegui_query("select * from $tableperiodi where idperiodi = '$id_settimana'");
hoteldruid-3.0.1/tabella.php-265-if (numlin_query($riga_setimana)) {
##############################################
hoteldruid-3.0.1/tabella.php-353-unset($reg1_chiuso);
hoteldruid-3.0.1/tabella.php:354:$app_agenzia = esegui_query("select * from $tableregole where app_agenzia != '' and motivazione2 = 'x' and iddatainizio <= '$idg_fine' and iddatafine >= '$idg_ini' ");
hoteldruid-3.0.1/tabella.php-355-$num_app_agenzia = numlin_query($app_agenzia);
##############################################
hoteldruid-3.0.1/tabella.php-376-else $djs = $djs[(count($djs) - 2)];
hoteldruid-3.0.1/tabella.php:377:$prenota_ini_fine = esegui_query("select * from $tableprenota where iddatainizio = '$idg_agg' or iddatafine = '$idg_agg' ");
hoteldruid-3.0.1/tabella.php-378-$num_prenota_if = numlin_query($prenota_ini_fine);
##############################################
hoteldruid-3.0.1/tabella.php-413-if (!$prenota_consentita) {
hoteldruid-3.0.1/tabella.php:414:if ($direz == "dx") $pren_succ = esegui_query("select utente_inserimento from $tableprenota where iddatainizio = '".($idg_agg + 1)."' and idappartamenti = '$id_appartamento' ");
hoteldruid-3.0.1/tabella.php:415:else $pren_succ = esegui_query("select utente_inserimento from $tableprenota where iddatafine = '".($idg_agg - 1)."' and idappartamenti = '$id_appartamento'$cond_per_corr ");
hoteldruid-3.0.1/tabella.php-416-if (numlin_query($pren_succ)) {
##############################################
hoteldruid-3.0.1/tabella.php-425-$idclienti = risul_query($prenota_ini_fine,$num1,'idclienti');
hoteldruid-3.0.1/tabella.php:426:$cognome = esegui_query("select cognome from $tableclienti where idclienti = '$idclienti' ");
hoteldruid-3.0.1/tabella.php-427-$cognome = str_replace("&gt;","",str_replace("&lt;","",risul_query($cognome,0,'cognome')));
##############################################
hoteldruid-3.0.1/tabella.php-450-$data_ins_js = "1";
hoteldruid-3.0.1/tabella.php:451:if ($direz == "dx") $pren_prec = esegui_query("select utente_inserimento from $tableprenota where iddatafine = '".($idg_agg - 1)."' and idappartamenti = '$id_appartamento'$cond_per_corr ");
hoteldruid-3.0.1/tabella.php:452:else $pren_prec = esegui_query("select utente_inserimento from $tableprenota where iddatainizio = '".($idg_agg + 1)."' and idappartamenti = '$id_appartamento' ");
hoteldruid-3.0.1/tabella.php-453-if (numlin_query($pren_prec)) {
##############################################
hoteldruid-3.0.1/tabella.php-473-elseif (!$prenota_consentita) {
hoteldruid-3.0.1/tabella.php:474:if ($direz == "dx") $pren_succ = esegui_query("select utente_inserimento from $tableprenota where iddatainizio = '".($idg_agg + 1)."' and idappartamenti = '$id_appartamento' ");
hoteldruid-3.0.1/tabella.php:475:else $pren_succ = esegui_query("select utente_inserimento from $tableprenota where iddatafine = '".($idg_agg - 1)."' and idappartamenti = '$id_appartamento'$cond_per_corr ");
hoteldruid-3.0.1/tabella.php-476-if (numlin_query($pren_succ)) {
##############################################
hoteldruid-3.0.1/tabella.php-520-$tabelle_lock = lock_tabelle($tabelle_lock,$altre_tab_lock);
hoteldruid-3.0.1/tabella.php:521:$dati_prn = esegui_query("select * from $tableprenota where idprenota = '$id_prn' ");
hoteldruid-3.0.1/tabella.php-522-if (numlin_query($dati_prn)) {
##############################################
hoteldruid-3.0.1/tabella.php-542-$id_cli = risul_query($dati_prn,0,'idclienti');
hoteldruid-3.0.1/tabella.php:543:$dati_cliente = esegui_query("select * from $tableclienti where idclienti = '$id_cli' ");
hoteldruid-3.0.1/tabella.php-544-$utente_inserimento = risul_query($dati_cliente,0,'utente_inserimento');
##############################################
hoteldruid-3.0.1/tabella.php-665-$titolo = "HotelDruid: ".mex("Tabella Mese",$pag);
hoteldruid-3.0.1/tabella.php:666:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/tabella.php-667-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/tabella.php-689-$lim_prenota_temp = aggslashdb(date("Y-m-d H:i:s",(time() + (C_DIFF_ORE * 3600) - ($minuti_durata_insprenota * 60))));
hoteldruid-3.0.1/tabella.php:690:esegui_query("delete from $tableprenota where idclienti = '0' and datainserimento < '$lim_prenota_temp'","",1);
hoteldruid-3.0.1/tabella.php-691-unlock_tabelle($tabelle_lock);
##############################################
hoteldruid-3.0.1/tabella.php-716-$id_data_fine_periodi = risul_query($data_fine_periodi,0,0);
hoteldruid-3.0.1/tabella.php:717:$data_fine_periodi = esegui_query("select * from $tableperiodi where idperiodi = '$id_data_fine_periodi'");
hoteldruid-3.0.1/tabella.php-718-$data_fine_periodi = risul_query($data_fine_periodi,0,'datainizio');
##############################################
hoteldruid-3.0.1/tabella.php-755-} # fine if ($tipo_periodi == "g")
hoteldruid-3.0.1/tabella.php:756:$aggiunta_tronca = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'aggiunta_tronca_nomi_tab1' and idutente = '$id_utente'");
hoteldruid-3.0.1/tabella.php-757-$aggiunta_tronca = risul_query($aggiunta_tronca,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/tabella.php-806-$data_inizio_tab = date("Y-m-d" , mktime(0,0,0,$mese_inizio_tab,1,$anno));
hoteldruid-3.0.1/tabella.php:807:$id_data_inizio_tab = esegui_query("select * from $tableperiodi where datainizio >= '$data_inizio_tab' order by idperiodi");
hoteldruid-3.0.1/tabella.php-808-$id_data_inizio_tab = risul_query($id_data_inizio_tab,0,'idperiodi');
##############################################
hoteldruid-3.0.1/tabella.php-815-$data_fine_tab = date("Y-m-d" , mktime(0,0,0,$mese_fine_tab,31,$anno));
hoteldruid-3.0.1/tabella.php:816:$data_fine_tab = esegui_query("select * from $tableperiodi where datainizio <= '$data_fine_tab' order by idperiodi");
hoteldruid-3.0.1/tabella.php-817-$num_date = numlin_query($data_fine_tab);
##############################################
hoteldruid-3.0.1/tabella.php-851-$cond_app_perm = "";
hoteldruid-3.0.1/tabella.php:852:$query_prenota_app_canc = "select * from $tableprenota left outer join $tableclienti on $tableprenota.idclienti = $tableclienti.idclienti where $tableprenota.iddatainizio <= '$id_data_fine_tab' and $tableprenota.iddatafine >= '$id_data_inizio_tab'";
hoteldruid-3.0.1/tabella.php-853-$app_query = " and ($tableprenota.idappartamenti is NULL or (";
##############################################
hoteldruid-3.0.1/tabella.php-884-
hoteldruid-3.0.1/tabella.php:885:$allinea_tab_mesi = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'allinea_tab_mesi' and idutente = '$id_utente'");
hoteldruid-3.0.1/tabella.php-886-if (numlin_query($allinea_tab_mesi) == 1) $allinea_tab_mesi = risul_query($allinea_tab_mesi,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/tabella.php-948-
hoteldruid-3.0.1/tabella.php:949:$linee_ripeti_date_tab_mesi = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'linee_ripeti_date_tab_mesi' and idutente = '$id_utente'");
hoteldruid-3.0.1/tabella.php-950-$linee_ripeti_date_tab_mesi = risul_query($linee_ripeti_date_tab_mesi,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/tabella.php-974- $tableclienti.utente_inserimento as utente_inserimento_cli
hoteldruid-3.0.1/tabella.php:975: from $tableprenota left outer join $tableclienti on $tableprenota.idclienti = $tableclienti.idclienti where $tableprenota.iddatainizio <= '".($id_data_inizio_tab + $num_colonne - 1)."' and $tableprenota.iddatafine >= '$id_data_inizio_tab'$cond_app_canc$cond_app_perm order by $tableprenota.idappartamenti,$tableprenota.iddatainizio");
hoteldruid-3.0.1/tabella.php-976-$num_prenotazione_presente = numlin_query($prenotazione_presente);
##############################################
hoteldruid-3.0.1/tabella.php-1040-if ($id_inizio_prenota == $id_data_inizio_tab) {
hoteldruid-3.0.1/tabella.php:1041:$pren_prec = esegui_query("select utente_inserimento from $tableprenota where iddatafine = '".($id_data_inizio_tab - 1)."' and idappartamenti = '$id_appartamento' ");
hoteldruid-3.0.1/tabella.php-1042-if (numlin_query($pren_prec)) {
##############################################
hoteldruid-3.0.1/tabella.php-1099-if ($controlla_pren_succ) {
hoteldruid-3.0.1/tabella.php:1100:$pren_succ = esegui_query("select utente_inserimento from $tableprenota where iddatainizio = '".($id_data_fine_tab + 1)."' and idappartamenti = '$id_appartamento' ");
hoteldruid-3.0.1/tabella.php-1101-if (numlin_query($pren_succ)) {
##############################################
hoteldruid-3.0.1/tabella.php-1352-if ($lista_prenota_contr) $lista_prenota_contr .= ",";
hoteldruid-3.0.1/tabella.php:1353:$nomi_contratti = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'nomi_contratti' and idutente = '$id_utente'");
hoteldruid-3.0.1/tabella.php-1354-$nomi_contratti = risul_query($nomi_contratti,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/tabella.php-1416-
hoteldruid-3.0.1/tabella.php:1417:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/tabella.php-1418-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/creadb.php-46-if ($lingua != "ita" and @is_file("./includes/lang/$lingua/$pagina")) {
hoteldruid-3.0.1/creadb.php:47:include("./includes/lang/$lingua/$pagina");
hoteldruid-3.0.1/creadb.php-48-} # fine if ($lingua != "ita" and @is_file("./includes/lang/$lingua/$pagina"))
##############################################
hoteldruid-3.0.1/creadb.php-57-$titolo = "HotelDruid: ".mex2("Crea Database",$pag,$lingua);
hoteldruid-3.0.1/creadb.php:58:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/creadb.php-59-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/creadb.php-161-if ($numconnessione) {
hoteldruid-3.0.1/creadb.php:162:include("./includes/funzioni_$tipo_db.php");
hoteldruid-3.0.1/creadb.php-163-if ($database_esistente == "NO") {
##############################################
hoteldruid-3.0.1/creadb.php-629-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/creadb.php:630:include_once("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/creadb.php-631-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/creadb.php-712-if ($piano) {
hoteldruid-3.0.1/creadb.php:713:esegui_query("update $tableappartamenti set numpiano = '$piano' where idappartamenti = '$numapp'");
hoteldruid-3.0.1/creadb.php-714-} # fine if ($piano)
hoteldruid-3.0.1/creadb.php-715-if ($maxoccupanti) {
hoteldruid-3.0.1/creadb.php:716:esegui_query("update $tableappartamenti set maxoccupanti = '$maxoccupanti' where idappartamenti = '$numapp'");
hoteldruid-3.0.1/creadb.php-717-} # fine if ($maxoccupanti)
hoteldruid-3.0.1/creadb.php-718-if ($numcasa) {
hoteldruid-3.0.1/creadb.php:719:esegui_query("update $tableappartamenti set numcasa = '$numcasa' where idappartamenti = '$numapp'");
hoteldruid-3.0.1/creadb.php-720-} # fine if ($numcasa)
hoteldruid-3.0.1/creadb.php-721-if ($priorita) {
hoteldruid-3.0.1/creadb.php:722:esegui_query("update $tableappartamenti set priorita = '$priorita' where idappartamenti = '$numapp'");
hoteldruid-3.0.1/creadb.php-723-} # fine if ($priorita)
hoteldruid-3.0.1/creadb.php-724-if ($app_vicini and $assegna_vicini_nc != "SI") {
hoteldruid-3.0.1/creadb.php:725:esegui_query("update $tableappartamenti set app_vicini = '$app_vicini' where idappartamenti = '$numapp'");
hoteldruid-3.0.1/creadb.php-726-} # fine if ($app_vicini and assegna_vicini_nc != "SI")
hoteldruid-3.0.1/creadb.php:727:if ($num > $numappartamenti) esegui_query("update $tableappartamenti set letto = '1' where idappartamenti = '$numapp'");
hoteldruid-3.0.1/creadb.php-728-} # fine for $num
##############################################
hoteldruid-3.0.1/creadb.php-737-$np = risul_query($appart,$num1,'numpiano');
hoteldruid-3.0.1/creadb.php:738:$query = "select idappartamenti from $tableappartamenti where numcasa = '$nc' and idappartamenti != '$idapp'";
hoteldruid-3.0.1/creadb.php-739-if ($assegna_vicini_np == "SI") {
##############################################
hoteldruid-3.0.1/creadb.php-749-} # fine for $num2
hoteldruid-3.0.1/creadb.php:750:esegui_query("update $tableappartamenti set app_vicini = '$app_vicini' where idappartamenti = '$idapp'");
hoteldruid-3.0.1/creadb.php-751-} # fine for $num1
##############################################
hoteldruid-3.0.1/creadb.php-756-$app_vicini = substr($app_vicini_vett[$num],1);
hoteldruid-3.0.1/creadb.php:757:esegui_query("update $tableappartamenti set app_vicini = '$app_vicini' where idappartamenti = '".$app_vicini_vett['pos'][$num]."'");
hoteldruid-3.0.1/creadb.php-758-} # fine if ($app_vicini_vett[$num])
##############################################
hoteldruid-3.0.1/creadb.php-883-if ($lingua == "ita") include("./includes/unit.php");
hoteldruid-3.0.1/creadb.php:884:else include("./includes/lang/$lingua/unit.php");
hoteldruid-3.0.1/creadb.php-885-echo "".mex2("Nome del database a cui collegarsi temporaneamente",$pag,$lingua).":
##############################################
hoteldruid-3.0.1/creadb.php-908-
hoteldruid-3.0.1/creadb.php:909:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/creadb.php-910-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/visualizza_contratto.php-28-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/visualizza_contratto.php:29:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/visualizza_contratto.php-30-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/visualizza_contratto.php-71-$tablerelgruppi = $PHPR_TAB_PRE."relgruppi";
hoteldruid-3.0.1/visualizza_contratto.php:72:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/visualizza_contratto.php-73-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/visualizza_contratto.php-75-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/visualizza_contratto.php:76:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/visualizza_contratto.php-77-$priv_mod_pers = risul_query($privilegi_globali_utente,0,'priv_mod_pers');
##############################################
hoteldruid-3.0.1/visualizza_contratto.php-124-if ($prendi_gruppi == "SI") {
hoteldruid-3.0.1/visualizza_contratto.php:125:$gruppi_utente = esegui_query("select idgruppo from $tablerelgruppi where idutente = '$id_utente' and idgruppo is not NULL ");
hoteldruid-3.0.1/visualizza_contratto.php-126-$num_gruppi_utente = numlin_query($gruppi_utente);
##############################################
hoteldruid-3.0.1/visualizza_contratto.php-128-$idgruppo = risul_query($gruppi_utente,$num1,'idgruppo');
hoteldruid-3.0.1/visualizza_contratto.php:129:$utenti_gruppo = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$idgruppo' ");
hoteldruid-3.0.1/visualizza_contratto.php-130-$num_utenti_gruppo = numlin_query($utenti_gruppo);
##############################################
hoteldruid-3.0.1/visualizza_contratto.php-181-if ($tipo_contratto == "contrtxt") $suff_file = "txt";
hoteldruid-3.0.1/visualizza_contratto.php:182:$dir_salvato = esegui_query("select * from $tablecontratti where numero = '$numero_contratto' and tipo = 'dir'");
hoteldruid-3.0.1/visualizza_contratto.php-183-if (numlin_query($dir_salvato)) $dir_salvato = formatta_dir_salva_doc(risul_query($dir_salvato,0,'testo'));
##############################################
hoteldruid-3.0.1/visualizza_contratto.php-200-unset($id_transazione);
hoteldruid-3.0.1/visualizza_contratto.php:201:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/visualizza_contratto.php-202-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/visualizza_contratto.php-215-$mostra_torna_indietro = "SI";
hoteldruid-3.0.1/visualizza_contratto.php:216:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/visualizza_contratto.php-217-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/visualizza_contratto.php-230-if ($manda_mail == "SI") {
hoteldruid-3.0.1/visualizza_contratto.php:231:$dati_contratto = esegui_query("select * from $tablecontratti where numero = '$numero_contratto' and tipo $LIKE 'contr%'");
hoteldruid-3.0.1/visualizza_contratto.php-232-$tipo_contratto = risul_query($dati_contratto,0,'tipo');
##############################################
hoteldruid-3.0.1/visualizza_contratto.php-235-$mostra_torna_indietro = "SI";
hoteldruid-3.0.1/visualizza_contratto.php:236:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/visualizza_contratto.php-237-else include("./includes/head.php");
hoteldruid-3.0.1/visualizza_contratto.php-238-if ($modifica_pers == "NO") {
hoteldruid-3.0.1/visualizza_contratto.php:239:$mittente_email = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'dati_struttura' and idutente = '$id_utente'");
hoteldruid-3.0.1/visualizza_contratto.php-240-$mittente_email = explode("#@&",risul_query($mittente_email,0,'valpersonalizza'));
##############################################
hoteldruid-3.0.1/visualizza_contratto.php-246-$maschera_envelope = risul_query($maschera_envelope,0,'valpersonalizza');
hoteldruid-3.0.1/visualizza_contratto.php:247:$allegato_email = esegui_query("select * from $tablecontratti where numero = '$numero_contratto' and tipo = 'allegato'");
hoteldruid-3.0.1/visualizza_contratto.php-248-$allegato_email = risul_query($allegato_email,0,'testo');
hoteldruid-3.0.1/visualizza_contratto.php-249-if ($allegato_email) {
hoteldruid-3.0.1/visualizza_contratto.php:250:$allegato_email = esegui_query("select * from $tablecontratti where numero = '$allegato_email' and tipo = 'file_all'");
hoteldruid-3.0.1/visualizza_contratto.php-251-$allegato_email = risul_query($allegato_email,0,'testo');
##############################################
hoteldruid-3.0.1/visualizza_contratto.php-256-} # fine if ($allegato_email)
hoteldruid-3.0.1/visualizza_contratto.php:257:$opz_eml = esegui_query("select * from $tablecontratti where numero = '$numero_contratto' and tipo = 'opzeml'");
hoteldruid-3.0.1/visualizza_contratto.php-258-$opz_eml = risul_query($opz_eml,0,'testo');
##############################################
hoteldruid-3.0.1/visualizza_contratto.php-347-$doc_inviati .= ${"oggetto_email".$num1}."#@?";
hoteldruid-3.0.1/visualizza_contratto.php:348:esegui_query("update $tableclienti set doc_inviati = '".aggslashdb($doc_inviati)."' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/visualizza_contratto.php-349-} # fine if (str_replace(${"oggetto_email".$num1},"",$doc_inviati) == $doc_inviati)
##############################################
hoteldruid-3.0.1/visualizza_contratto.php-371-define('C_ID_UTENTE_CONTR',$id_utente);
hoteldruid-3.0.1/visualizza_contratto.php:372:$campi_pers_comm = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'campi_pers_comm' and idutente = '$id_utente'");
hoteldruid-3.0.1/visualizza_contratto.php-373-if (numlin_query($campi_pers_comm) == 1) {
##############################################
hoteldruid-3.0.1/visualizza_contratto.php-377-else $num_commenti_pers = 0;
hoteldruid-3.0.1/visualizza_contratto.php:378:$campi_pers_cliente = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'campi_pers_cliente' and idutente = '$id_utente' ");
hoteldruid-3.0.1/visualizza_contratto.php-379-if (numlin_query($campi_pers_cliente)) {
##############################################
hoteldruid-3.0.1/visualizza_contratto.php-458-$show_bar = "NO";
hoteldruid-3.0.1/visualizza_contratto.php:459:$headhtm = esegui_query("select testo from $tablecontratti where numero = '$numero_contratto' and tipo = 'headhtm'");
hoteldruid-3.0.1/visualizza_contratto.php-460-if (numlin_query($headhtm) == 1) {
##############################################
hoteldruid-3.0.1/visualizza_contratto.php-462-echo risul_query($headhtm,0,'testo');
hoteldruid-3.0.1/visualizza_contratto.php:463:$foothtm = esegui_query("select testo from $tablecontratti where numero = '$numero_contratto' and tipo = 'foothtm'");
hoteldruid-3.0.1/visualizza_contratto.php-464-if (numlin_query($foothtm)) $foothtm = risul_query($foothtm,0,'testo');
##############################################
hoteldruid-3.0.1/visualizza_contratto.php-490-else $nome_file = str_replace("\\","_",str_replace("/","_",str_replace(" ","_",$nome_contratto))).".txt";
hoteldruid-3.0.1/visualizza_contratto.php:491:$est_txt = esegui_query("select * from $tablecontratti where numero = '$numero_contratto' and tipo = 'est_txt'");
hoteldruid-3.0.1/visualizza_contratto.php-492-if (numlin_query($est_txt)) {
##############################################
hoteldruid-3.0.1/visualizza_contratto.php-509-if ($mostra_headers == "SI") {
hoteldruid-3.0.1/visualizza_contratto.php:510:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/visualizza_contratto.php-511-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/visualizza_contratto.php-540-if (($mostra_contratto == "SI" and $mostra_headers == "SI") or $manda_mail == "SI" or $dir_salva or $mostra_foot) {
hoteldruid-3.0.1/visualizza_contratto.php:541:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/visualizza_contratto.php-542-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-27-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/modifica_var_contr.php:28:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/modifica_var_contr.php-29-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-44-$tablerelgruppi = $PHPR_TAB_PRE."relgruppi";
hoteldruid-3.0.1/modifica_var_contr.php:45:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/modifica_var_contr.php-46-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-48-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/modifica_var_contr.php:49:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/modifica_var_contr.php-50-$priv_mod_pers = risul_query($privilegi_globali_utente,0,'priv_mod_pers');
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-73-$titolo = "HotelDruid: ".mex("Modifica Variabili Documenti",$pag);
hoteldruid-3.0.1/modifica_var_contr.php:74:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/modifica_var_contr.php-75-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-85-if (strcmp($contr_cond,"")) {
hoteldruid-3.0.1/modifica_var_contr.php:86:$contr_cond_esist = esegui_query("select numero from $tablecontratti where numero = '".aggslashdb($contr_cond)."' and tipo $LIKE 'contr%' ");
hoteldruid-3.0.1/modifica_var_contr.php-87-if (numlin_query($contr_cond_esist) != 1) $contr_cond = "";
hoteldruid-3.0.1/modifica_var_contr.php-88-elseif ($priv_mod_doc_api != "s") {
hoteldruid-3.0.1/modifica_var_contr.php:89:$api_esistente = esegui_query("select * from $tablecontratti where numero = '".aggslashdb($contr_cond)."' and tipo = 'api'");
hoteldruid-3.0.1/modifica_var_contr.php-90-if (numlin_query($api_esistente)) $contr_cond = "";
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-96-global $trad_var,$lingua_mex;
hoteldruid-3.0.1/modifica_var_contr.php:97:if (!$trad_var and $lingua_mex != "ita") include("./includes/lang/$lingua_mex/visualizza_contratto_var.php");
hoteldruid-3.0.1/modifica_var_contr.php-98-if ($trad_var[$messaggio]) $messaggio = $trad_var[$messaggio];
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-118-
hoteldruid-3.0.1/modifica_var_contr.php:119:$campi_pers_comm = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'campi_pers_comm' and idutente = '$id_utente'");
hoteldruid-3.0.1/modifica_var_contr.php-120-if (numlin_query($campi_pers_comm) == 1) {
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-124-else $num_commenti_pers = 0;
hoteldruid-3.0.1/modifica_var_contr.php:125:$campi_pers_cliente = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'campi_pers_cliente' and idutente = '$id_utente' ");
hoteldruid-3.0.1/modifica_var_contr.php-126-if (numlin_query($campi_pers_cliente)) {
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-164-if ($continua == "SI") {
hoteldruid-3.0.1/modifica_var_contr.php:165:$n_arr_pers_el = esegui_query("select * from $tablecontratti where numero = '$arr_pers_elimina' and tipo $LIKE 'vett%'");
hoteldruid-3.0.1/modifica_var_contr.php-166-if (numlin_query($n_arr_pers_el) != 1) $continua = "NO";
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-197-$tipo_cond = risul_query($condizioni,$num1,'tipo');
hoteldruid-3.0.1/modifica_var_contr.php:198:esegui_query("delete from $tablecontratti where numero = '$num_cond' and tipo = '$tipo_cond' ");
hoteldruid-3.0.1/modifica_var_contr.php-199-$num_cond_canc++;
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-201-} # fine for $num1
hoteldruid-3.0.1/modifica_var_contr.php:202:esegui_query("delete from $tablecontratti where numero = '$arr_pers_elimina' and tipo $LIKE 'vett%'");
hoteldruid-3.0.1/modifica_var_contr.php-203-if ($num_cond_canc) echo mex("Condizioni eliminate",$pag).": <em>$num_cond_canc</em>.<br><br>";
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-241-$tipo = "var$contr_cond";
hoteldruid-3.0.1/modifica_var_contr.php:242:$contr_cond_esist = esegui_query("select numero from $tablecontratti where numero = '".aggslashdb($contr_cond)."' and tipo $LIKE 'contr%' ");
hoteldruid-3.0.1/modifica_var_contr.php-243-if (numlin_query($contr_cond_esist) != 1) $continua = "NO";
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-266-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/modifica_var_contr.php:267:$n_var_pers_el = esegui_query("select * from $tablecontratti where numero = '$var_pers_elimina' and tipo $LIKE 'var%'");
hoteldruid-3.0.1/modifica_var_contr.php-268-if (numlin_query($n_var_pers_el) != 1) $continua = "NO";
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-296-$tipo_cond = risul_query($condizioni,$num1,'tipo');
hoteldruid-3.0.1/modifica_var_contr.php:297:esegui_query("delete from $tablecontratti where numero = '$num_cond' and tipo = '$tipo_cond' ");
hoteldruid-3.0.1/modifica_var_contr.php-298-$num_cond_canc++;
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-310-} # fine for $num1
hoteldruid-3.0.1/modifica_var_contr.php:311:esegui_query("delete from $tablecontratti where numero = '$var_pers_elimina' and tipo $LIKE 'var%'");
hoteldruid-3.0.1/modifica_var_contr.php-312-if ($num_cond_canc) echo mex("Condizioni eliminate",$pag).": <em>$num_cond_canc</em>.<br><br>";
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-351-$tipo = "vett$contr_cond";
hoteldruid-3.0.1/modifica_var_contr.php:352:$contr_cond_esist = esegui_query("select numero from $tablecontratti where numero = '".aggslashdb($contr_cond)."' and tipo $LIKE 'contr%' ");
hoteldruid-3.0.1/modifica_var_contr.php-353-if (numlin_query($contr_cond_esist) != 1) $continua = "NO";
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-359-if ($continua == "SI") {
hoteldruid-3.0.1/modifica_var_contr.php:360:if ($solo_contr_cond) $variabili_pers = esegui_query("select * from $tablecontratti where tipo = 'var' or tipo = 'var$contr_cond' order by tipo, numero");
hoteldruid-3.0.1/modifica_var_contr.php-361-else $variabili_pers = esegui_query("select * from $tablecontratti where tipo = 'var' order by numero");
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-424-if (strcmp($contr_imp,"")) {
hoteldruid-3.0.1/modifica_var_contr.php:425:$contr_imp_esist = esegui_query("select numero from $tablecontratti where numero = '".aggslashdb($contr_imp)."' and tipo $LIKE 'contr%' ");
hoteldruid-3.0.1/modifica_var_contr.php-426-if (numlin_query($contr_imp_esist) != 1) $contr_imp = "";
hoteldruid-3.0.1/modifica_var_contr.php-427-else {
hoteldruid-3.0.1/modifica_var_contr.php:428:$contr_imp_esist = esegui_query("select numero from $tablecontratti where numero = '$contr_imp' and tipo = 'impor_vc' ");
hoteldruid-3.0.1/modifica_var_contr.php-429-if (numlin_query($contr_imp_esist)) $contr_imp = "";
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-432-if ($contr_imp) {
hoteldruid-3.0.1/modifica_var_contr.php:433:esegui_query("delete from $tablecontratti where tipo = 'var$contr_cond' or tipo = 'cond$contr_cond' or tipo = 'vett$contr_cond' ");
hoteldruid-3.0.1/modifica_var_contr.php-434-if ($tipo_contr_imp != "importa") {
hoteldruid-3.0.1/modifica_var_contr.php:435:$contr_importa = esegui_query("select testo from $tablecontratti where numero = '$contr_cond' and tipo = 'impor_vc' ");
hoteldruid-3.0.1/modifica_var_contr.php:436:if (numlin_query($contr_importa)) esegui_query("update $tablecontratti set testo = '$contr_imp' where numero = '$contr_cond' and tipo = 'impor_vc' ");
hoteldruid-3.0.1/modifica_var_contr.php-437-else {
hoteldruid-3.0.1/modifica_var_contr.php-438-esegui_query("insert into $tablecontratti (numero,tipo,testo) values ('$contr_cond','impor_vc','$contr_imp') ");
hoteldruid-3.0.1/modifica_var_contr.php:439:esegui_query("update $tablecontratti set testo = '$contr_imp' where testo = '$contr_cond' and tipo = 'impor_vc' ");
hoteldruid-3.0.1/modifica_var_contr.php-440-} # fine else if (numlin_query($contr_importa))
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-442-else {
hoteldruid-3.0.1/modifica_var_contr.php:443:$var_cond_importa = esegui_query("select * from $tablecontratti where tipo = 'var$contr_imp' or tipo = 'cond$contr_imp' or tipo = 'vett$contr_imp' ");
hoteldruid-3.0.1/modifica_var_contr.php-444-$num_var_cond = numlin_query($var_cond_importa);
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-454-} # fine if ($contr_imp)
hoteldruid-3.0.1/modifica_var_contr.php:455:else esegui_query("delete from $tablecontratti where numero = '$contr_cond' and tipo = 'impor_vc' ");
hoteldruid-3.0.1/modifica_var_contr.php-456-unlock_tabelle($tabelle_lock);
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-465-$inizializza = "rar$num_arr_rip";
hoteldruid-3.0.1/modifica_var_contr.php:466:$arr_esistente = esegui_query("select * from $tablecontratti where (tipo = 'vett' or tipo = 'vett$contr_cond') and numero = '".aggslashdb($num_arr_rip)."'");
hoteldruid-3.0.1/modifica_var_contr.php-467-if (numlin_query($arr_esistente) != 1) $continua = "NO";
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-480-$var_allora = aggslashdb($var_allora);
hoteldruid-3.0.1/modifica_var_contr.php:481:if (substr($var_allora,0,1) != "a") $var_esistente = esegui_query("select * from $tablecontratti where (tipo = 'var' or tipo = 'var$contr_cond') and numero = '$var_allora'");
hoteldruid-3.0.1/modifica_var_contr.php:482:else $var_esistente = esegui_query("select * from $tablecontratti where (tipo = 'vett' or tipo = 'vett$contr_cond') and numero = '".substr($var_allora,1)."'");
hoteldruid-3.0.1/modifica_var_contr.php-483-if (numlin_query($var_esistente) != 1) $continua = "NO";
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-494-} # fine else if (str_replace("(","",$var_se) == $var_se)
hoteldruid-3.0.1/modifica_var_contr.php:495:$var_esistente = esegui_query("select * from $tablecontratti where ((tipo = 'var' or tipo = 'var$contr_cond') and testo $LIKE '$var_se_contr') or ((tipo = 'vett' or tipo = 'vett$contr_cond') and testo $LIKE '$var_se_contr;%')");
hoteldruid-3.0.1/modifica_var_contr.php-496-if (numlin_query($var_esistente) == 1) $var_se_trovata = "SI";
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-517-if ($num_cond_mod) {
hoteldruid-3.0.1/modifica_var_contr.php:518:$cond_esist = @esegui_query("select numero from $tablecontratti where numero = '".aggslashdb($num_cond_mod)."' and tipo = 'cond$contr_cond' ");
hoteldruid-3.0.1/modifica_var_contr.php-519-if (!numlin_query($cond_esist)) $continua = "NO";
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-601-if (substr($array,0,1) != "a") $continua = "NO";
hoteldruid-3.0.1/modifica_var_contr.php:602:$arr_esistente = esegui_query("select * from $tablecontratti where (tipo = 'vett' or tipo = 'vett$contr_cond') and numero = '".aggslashdb(substr($array,1))."'");
hoteldruid-3.0.1/modifica_var_contr.php-603-if (numlin_query($arr_esistente) != 1) $continua = "NO";
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-606-$var_arr_pers = $arr_pers_vett[1];
hoteldruid-3.0.1/modifica_var_contr.php:607:$var_non_predef = esegui_query("select numero from $tablecontratti where (tipo = 'var' or tipo = 'var$contr_cond') and testo = '".aggslashdb($var_arr_pers)."' ");
hoteldruid-3.0.1/modifica_var_contr.php-608-if (!numlin_query($var_non_predef)) $continua = "NO";
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-615-if (substr($array2,0,1) != "a") $continua = "NO";
hoteldruid-3.0.1/modifica_var_contr.php:616:$arr_esistente = esegui_query("select * from $tablecontratti where (tipo = 'vett' or tipo = 'vett$contr_cond') and numero = '".aggslashdb(substr($array2,1))."'");
hoteldruid-3.0.1/modifica_var_contr.php-617-if (numlin_query($arr_esistente) != 1) $continua = "NO";
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-627-if ($num_cond_mod) {
hoteldruid-3.0.1/modifica_var_contr.php:628:esegui_query("delete from $tablecontratti where numero = '$num_cond_mod' and tipo = 'cond$contr_cond' ");
hoteldruid-3.0.1/modifica_var_contr.php-629-$max_cond = $num_cond_mod;
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-631-else {
hoteldruid-3.0.1/modifica_var_contr.php:632:$max_cond = esegui_query("select max(numero) from $tablecontratti where tipo = 'cond$contr_cond' ");
hoteldruid-3.0.1/modifica_var_contr.php-633-if (numlin_query($max_cond) != 0) $max_cond = (risul_query($max_cond,0,0) + 1);
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-652-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/modifica_var_contr.php:653:esegui_query("delete from $tablecontratti where numero = '$num_cond' and tipo = 'cond$contr_cond'");
hoteldruid-3.0.1/modifica_var_contr.php-654-echo mex("Condizione eliminata",$pag).".<br>";
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-677-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/modifica_var_contr.php:678:$condizioni = esegui_query("select * from $tablecontratti where tipo = 'cond$contr_cond' order by testo $LIKE 'ini%' desc, numero");
hoteldruid-3.0.1/modifica_var_contr.php-679-$num_condizioni = numlin_query($condizioni);
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-705-if (!$errore) {
hoteldruid-3.0.1/modifica_var_contr.php:706:esegui_query("update $tablecontratti set numero = '-1' where numero = '$num_cond' and tipo = 'cond$contr_cond' ");
hoteldruid-3.0.1/modifica_var_contr.php-707-$ultima_cond = $num_cond;
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-709-for ($num1 = ($pos_num_cond + 1) ; $num1 <= $pos_salta_a ; $num1++) {
hoteldruid-3.0.1/modifica_var_contr.php:710:esegui_query("update $tablecontratti set numero = '$ultima_cond' where numero = '".$cond_vett[$num1]."' and tipo = 'cond$contr_cond' ");
hoteldruid-3.0.1/modifica_var_contr.php-711-$ultima_cond = $cond_vett[$num1];
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-715-for ($num1 = ($pos_num_cond - 1) ; $num1 >= $pos_salta_a ; $num1--) {
hoteldruid-3.0.1/modifica_var_contr.php:716:esegui_query("update $tablecontratti set numero = '$ultima_cond' where numero = '".$cond_vett[$num1]."' and tipo = 'cond$contr_cond' ");
hoteldruid-3.0.1/modifica_var_contr.php-717-$ultima_cond = $cond_vett[$num1];
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-719-} # fine if ($sposta_su)
hoteldruid-3.0.1/modifica_var_contr.php:720:esegui_query("update $tablecontratti set numero = '$salta_a' where numero = '-1' and tipo = 'cond$contr_cond' ");
hoteldruid-3.0.1/modifica_var_contr.php-721-} # fine if (!$errore)
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-733-
hoteldruid-3.0.1/modifica_var_contr.php:734:$variabili_pers = esegui_query("select * from $tablecontratti where tipo = 'var' or tipo = 'var$contr_cond' order by tipo, numero");
hoteldruid-3.0.1/modifica_var_contr.php-735-$num_variabili_pers = numlin_query($variabili_pers);
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-750-if ($contr_cond) {
hoteldruid-3.0.1/modifica_var_contr.php:751:$c_imp_vc = esegui_query("select testo from $tablecontratti where numero = '$contr_cond' and tipo = 'impor_vc' ");
hoteldruid-3.0.1/modifica_var_contr.php-752-if (numlin_query($c_imp_vc)) $contr_importa_vc = risul_query($c_imp_vc,0,'testo');
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-772-
hoteldruid-3.0.1/modifica_var_contr.php:773:$array_pers = esegui_query("select * from $tablecontratti where tipo = 'vett' or tipo = 'vett$contr_cond' order by tipo, numero");
hoteldruid-3.0.1/modifica_var_contr.php-774-$num_array_pers = numlin_query($array_pers);
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-782-$option_arr_pers .= "<option value=\"a$num_arr_pers\">$arr_pers(".mex2($var_arr_pers).")</option>";
hoteldruid-3.0.1/modifica_var_contr.php:783:$var_non_predef = esegui_query("select numero from $tablecontratti where (tipo = 'var' or tipo = 'var$contr_cond') and testo = '".aggslashdb($var_arr_pers)."' ");
hoteldruid-3.0.1/modifica_var_contr.php-784-if (numlin_query($var_non_predef)) $opt_arr_var_non_predef .= "<option value=\"a$num_arr_pers\">$arr_pers($var_arr_pers)</option>";
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-810-$num_contratti = numlin_query($contratti);
hoteldruid-3.0.1/modifica_var_contr.php:811:$nomi_contratti = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'nomi_contratti' and idutente = '$id_utente'");
hoteldruid-3.0.1/modifica_var_contr.php-812-$nomi_contratti = explode("#@&",risul_query($nomi_contratti,0,'valpersonalizza'));
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-829-if ($priv_mod_doc_api != "s") {
hoteldruid-3.0.1/modifica_var_contr.php:830:$api_esistente = esegui_query("select * from $tablecontratti where numero = '".aggslashdb($num_contr)."' and tipo = 'api'");
hoteldruid-3.0.1/modifica_var_contr.php-831-if (numlin_query($api_esistente)) $mod_doc_corr = 0;
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-868-$ordine_rar = "";
hoteldruid-3.0.1/modifica_var_contr.php:869:$condizioni_rar = esegui_query("select * from $tablecontratti where tipo = 'cond$contr_cond' and testo $LIKE 'rar%' order by testo");
hoteldruid-3.0.1/modifica_var_contr.php-870-$num_condizioni_rar = numlin_query($condizioni_rar);
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-883-$num_cond_mod_vedi = "";
hoteldruid-3.0.1/modifica_var_contr.php:884:$condizioni = esegui_query("select * from $tablecontratti where tipo = 'cond$contr_cond' order by testo $LIKE 'ind%' desc, testo $LIKE 'inr%' desc, testo $LIKE 'rpt%' desc, testo $LIKE 'ros%' desc, testo $LIKE 'rca%' desc, testo $LIKE 'rpa%' desc, testo $LIKE 'run%' desc, testo $LIKE 'rds%' desc$ordine_rar, numero");
hoteldruid-3.0.1/modifica_var_contr.php-885-$num_condizioni = numlin_query($condizioni);
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-1232-if ($contr_cond != $num_contr and ($attiva_contratti_consentiti == "n" or $contratti_consentiti_vett[$num_contr] == "SI" or $num_contr == $contr_importa_vc)) {
hoteldruid-3.0.1/modifica_var_contr.php:1233:$contr_imp_esist = esegui_query("select numero from $tablecontratti where numero = '$num_contr' and tipo = 'impor_vc' ");
hoteldruid-3.0.1/modifica_var_contr.php-1234-if (!numlin_query($contr_imp_esist)) {
##############################################
hoteldruid-3.0.1/modifica_var_contr.php-1745-
hoteldruid-3.0.1/modifica_var_contr.php:1746:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/modifica_var_contr.php-1747-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/crea_modelli.php-28-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/crea_modelli.php:29:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/crea_modelli.php-30-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/crea_modelli.php-50-if ($id_utente != 1) {
hoteldruid-3.0.1/crea_modelli.php:51:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/crea_modelli.php-52-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/crea_modelli.php-54-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/crea_modelli.php:55:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/crea_modelli.php-56-$priv_mod_pers = risul_query($privilegi_globali_utente,0,'priv_mod_pers');
##############################################
hoteldruid-3.0.1/crea_modelli.php-100-$titolo = "HotelDruid: ".mex("Crea Pagine Web",$pag);
hoteldruid-3.0.1/crea_modelli.php:101:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/crea_modelli.php-102-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/crea_modelli.php-214-if ($modello_ext != "." and $modello_ext != ".." and @is_dir("./includes/templates/$modello_ext")) {
hoteldruid-3.0.1/crea_modelli.php:215:include("./includes/templates/$modello_ext/name.php");
hoteldruid-3.0.1/crea_modelli.php-216-if ($$template_name) {
##############################################
hoteldruid-3.0.1/crea_modelli.php-218-if (($template_name_show['tpl_type'] != "interconnection" and $priv_crea_pagineweb == "s") or ($template_name_show['tpl_type'] == "interconnection" and $priv_crea_interconnessioni == "s")) {
hoteldruid-3.0.1/crea_modelli.php:219:include("./includes/templates/$modello_ext/phrases.php");
hoteldruid-3.0.1/crea_modelli.php:220:include("./includes/templates/$modello_ext/functions.php");
hoteldruid-3.0.1/crea_modelli.php-221-$funz_crea_modello = "crea_modello_".$modello_ext;
##############################################
hoteldruid-3.0.1/crea_modelli.php-258-
hoteldruid-3.0.1/crea_modelli.php:259:esegui_query("delete from $tablepersonalizza where idpersonalizza = 'ultime_sel_crea_modelli' and idutente = '$id_utente'");
hoteldruid-3.0.1/crea_modelli.php-260-esegui_query("insert into $tablepersonalizza (idpersonalizza,valpersonalizza,idutente) values ('ultime_sel_crea_modelli','".aggslashdb($anno_modello).";;".aggslashdb($lingua_modello).";;".aggslashdb($perc_cart_mod_sel)."','$id_utente') ");
##############################################
hoteldruid-3.0.1/crea_modelli.php-282-$ultimo_accesso = date("Y-m-d H:i:s",(time() + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/crea_modelli.php:283:esegui_query("delete from $tabletransazioni where spostamenti = '$modello_ext' and tipo_transazione = 'cpweb' ");
hoteldruid-3.0.1/crea_modelli.php-284-$dati_tr1 = aggslashdb($utente_liste);
##############################################
hoteldruid-3.0.1/crea_modelli.php-359-if (!$stile_soldi) {
hoteldruid-3.0.1/crea_modelli.php:360:$stile_soldi = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'stile_soldi' and idutente = '$id_utente'");
hoteldruid-3.0.1/crea_modelli.php-361-$stile_soldi = risul_query($stile_soldi,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/crea_modelli.php-376-if (!$stile_data) {
hoteldruid-3.0.1/crea_modelli.php:377:$stile_data = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'stile_data' and idutente = '$id_utente'");
hoteldruid-3.0.1/crea_modelli.php-378-$stile_data = risul_query($stile_data,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/crea_modelli.php-747-
hoteldruid-3.0.1/crea_modelli.php:748:$dati_struttura = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'dati_struttura' and idutente = '$id_utente'");
hoteldruid-3.0.1/crea_modelli.php-749-$dati_struttura = explode("#@&",risul_query($dati_struttura,0,'valpersonalizza'));
##############################################
hoteldruid-3.0.1/crea_modelli.php-781-
hoteldruid-3.0.1/crea_modelli.php:782:$origini_prenota = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'origini_prenota' and idutente = '$id_utente' ");
hoteldruid-3.0.1/crea_modelli.php-783-$origini_prenota = risul_query($origini_prenota,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/crea_modelli.php-1125-</select></td><td></td><td></td></tr>";
hoteldruid-3.0.1/crea_modelli.php:1126:$metodi_pagamento = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'metodi_pagamento' and idutente = '$id_utente' ");
hoteldruid-3.0.1/crea_modelli.php-1127-$metodi_pagamento = risul_query($metodi_pagamento,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/crea_modelli.php-1197-
hoteldruid-3.0.1/crea_modelli.php:1198:$campi_pers_comm = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'campi_pers_comm' and idutente = '$id_utente'");
hoteldruid-3.0.1/crea_modelli.php-1199-if (numlin_query($campi_pers_comm) == 1) $campi_pers_comm = explode(">",risul_query($campi_pers_comm,0,'valpersonalizza'));
##############################################
hoteldruid-3.0.1/crea_modelli.php-1245-$num_campi_doc_cond_max = 0;
hoteldruid-3.0.1/crea_modelli.php:1246:$nomi_contratti = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'nomi_contratti' and idutente = '$id_utente' ");
hoteldruid-3.0.1/crea_modelli.php-1247-$nomi_contratti = risul_query($nomi_contratti,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/crea_modelli.php-1256-if (controlla_num_pos($num_utenti[$utente_lis]) == "SI" and $num_utenti[$utente_lis] != "1") {
hoteldruid-3.0.1/crea_modelli.php:1257:$nomi_contratti = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'nomi_contratti' and idutente = '".$num_utenti[$utente_lis]."'");
hoteldruid-3.0.1/crea_modelli.php-1258-if (numlin_query($nomi_contratti)) {
##############################################
hoteldruid-3.0.1/crea_modelli.php-1270-$num_contr = risul_query($contr_txt,$num1,'numero');
hoteldruid-3.0.1/crea_modelli.php:1271:$salva_contr = esegui_query("select * from $tablecontratti where numero = '$num_contr' and tipo = 'dir' ");
hoteldruid-3.0.1/crea_modelli.php-1272-if (!numlin_query($salva_contr)) {
##############################################
hoteldruid-3.0.1/crea_modelli.php-1290-if ($num_campi_doc_cond_max) {
hoteldruid-3.0.1/crea_modelli.php:1291:$campi_pers_cliente = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'campi_pers_cliente' and idutente = '$id_utente'");
hoteldruid-3.0.1/crea_modelli.php-1292-if (numlin_query($campi_pers_cliente) == 1) $campi_pers_cliente = explode(">",risul_query($campi_pers_cliente,0,'valpersonalizza'));
##############################################
hoteldruid-3.0.1/crea_modelli.php-1682-if ($modello_ext != "." and $modello_ext != ".." and @is_dir("./includes/templates/$modello_ext")) {
hoteldruid-3.0.1/crea_modelli.php:1683:include("./includes/templates/$modello_ext/name.php");
hoteldruid-3.0.1/crea_modelli.php-1684-if (${"form_".$template_name} and $template_name_show['tpl_type'] != "interconnection") {
hoteldruid-3.0.1/crea_modelli.php-1685-$mostra_form_creazione = "NO";
hoteldruid-3.0.1/crea_modelli.php:1686:include("./includes/templates/$modello_ext/form.php");
hoteldruid-3.0.1/crea_modelli.php-1687-break;
##############################################
hoteldruid-3.0.1/crea_modelli.php-1716-if ($modello_ext != "." && $modello_ext != ".." and @is_dir("./includes/templates/$modello_ext")) {
hoteldruid-3.0.1/crea_modelli.php:1717:include("./includes/templates/$modello_ext/name.php");
hoteldruid-3.0.1/crea_modelli.php-1718-if ($template_name_show['tpl_type'] != "interconnection") {
##############################################
hoteldruid-3.0.1/crea_modelli.php-1781-if ($modello_ext != "." and $modello_ext != ".." and @is_dir("./includes/templates/$modello_ext")) {
hoteldruid-3.0.1/crea_modelli.php:1782:include("./includes/templates/$modello_ext/name.php");
hoteldruid-3.0.1/crea_modelli.php-1783-if ($template_name_show['tpl_type'] != "interconnection") {
##############################################
hoteldruid-3.0.1/crea_modelli.php-1810-} # fine for $num_cart
hoteldruid-3.0.1/crea_modelli.php:1811:if (!$perc_mod_elimina) esegui_query("delete from $tablepersonalizza where idpersonalizza = 'ultime_sel_crea_modelli' and idutente = '$id_utente'");
hoteldruid-3.0.1/crea_modelli.php-1812-if ($perc_mod_elimina) echo mex("Pagina cancellata",$pag).".<br>";
##############################################
hoteldruid-3.0.1/crea_modelli.php-1878-if ($modello_ext != "." and $modello_ext != ".." and @is_dir("./includes/templates/$modello_ext")) {
hoteldruid-3.0.1/crea_modelli.php:1879:include("./includes/templates/$modello_ext/name.php");
hoteldruid-3.0.1/crea_modelli.php-1880-if ($template_name_show['tpl_type'] != "interconnection") {
##############################################
hoteldruid-3.0.1/crea_modelli.php-1959-
hoteldruid-3.0.1/crea_modelli.php:1960:$ultime_selezioni = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'ultime_sel_crea_modelli' and idutente = '$id_utente'");
hoteldruid-3.0.1/crea_modelli.php-1961-if (numlin_query($ultime_selezioni) == 1) {
##############################################
hoteldruid-3.0.1/crea_modelli.php-2024-if ($modello_ext != "." and $modello_ext != ".." and @is_dir("./includes/templates/$modello_ext")) {
hoteldruid-3.0.1/crea_modelli.php:2025:include("./includes/templates/$modello_ext/name.php");
hoteldruid-3.0.1/crea_modelli.php-2026-if ($template_name_show['tpl_type'] != "interconnection") {
##############################################
hoteldruid-3.0.1/crea_modelli.php-2031-$messaggio = $template_name_show['ita'];
hoteldruid-3.0.1/crea_modelli.php:2032:include("./includes/lang/$lingua_mex/modt_$modello_ext.php");
hoteldruid-3.0.1/crea_modelli.php-2033-if ($messaggio == $template_name_show['ita']) $messaggio = "";
##############################################
hoteldruid-3.0.1/crea_modelli.php-2057-foreach ($modelli as $modello_ext => $val_i) {
hoteldruid-3.0.1/crea_modelli.php:2058:include("./includes/templates/$modello_ext/name.php");
hoteldruid-3.0.1/crea_modelli.php-2059-if ($template_name_show['tpl_type'] != "interconnection") {
##############################################
hoteldruid-3.0.1/crea_modelli.php-2070-$funz_trad = "mext_$modello_ext";
hoteldruid-3.0.1/crea_modelli.php:2071:if (!function_exists($funz_trad)) include("./includes/templates/$modello_ext/phrases.php");
hoteldruid-3.0.1/crea_modelli.php-2072-$nome_file = $funz_trad($template_file_name["ita"],$pag,$ini_lingua);
##############################################
hoteldruid-3.0.1/crea_modelli.php-2143-
hoteldruid-3.0.1/crea_modelli.php:2144:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/crea_modelli.php-2145-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/privilegi_utenti.php-27-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/privilegi_utenti.php:28:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/privilegi_utenti.php-29-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/privilegi_utenti.php-44-$titolo = "HotelDruid: ".mex("Privilegi Utenti",$pag);
hoteldruid-3.0.1/privilegi_utenti.php:45:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/privilegi_utenti.php-46-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/privilegi_utenti.php-179-$id_utente_privilegi = aggslashdb($id_utente_privilegi);
hoteldruid-3.0.1/privilegi_utenti.php:180:$utente_privilegi = esegui_query("select * from $tableutenti where idutenti = '$id_utente_privilegi'");
hoteldruid-3.0.1/privilegi_utenti.php-181-if (numlin_query($utente_privilegi)) {
##############################################
hoteldruid-3.0.1/privilegi_utenti.php-183-$nome_utente_privilegi = risul_query($utente_privilegi,0,'nome_utente');
hoteldruid-3.0.1/privilegi_utenti.php:184:$privilegi_globali = esegui_query("select * from $tableprivilegi where idutente = '$id_utente_privilegi' and anno = '1'");
hoteldruid-3.0.1/privilegi_utenti.php-185-$anni = esegui_query("select * from $tableanni order by idanni");
##############################################
hoteldruid-3.0.1/privilegi_utenti.php-190-$anno_esistente[$anno_mostra] = "SI";
hoteldruid-3.0.1/privilegi_utenti.php:191:$privilegi_anno[$anno_mostra] = esegui_query("select * from $tableprivilegi where idutente = '$id_utente_privilegi' and anno = '$anno_mostra'");
hoteldruid-3.0.1/privilegi_utenti.php-192-} # fine for $num1
##############################################
hoteldruid-3.0.1/privilegi_utenti.php-426-if ($crea_pagineweb == "s" or $crea_pagineweb == "c" or $crea_pagineweb == "n") $nuovi_priv_mod_pers = substr($nuovi_priv_mod_pers,0,8).$crea_pagineweb;
hoteldruid-3.0.1/privilegi_utenti.php:427:if ($nuovi_priv_mod_pers != $priv_mod_pers) esegui_query("update $tableprivilegi set priv_mod_pers = '$nuovi_priv_mod_pers' where idutente = '$id_utente_privilegi' and anno = '1'");
hoteldruid-3.0.1/privilegi_utenti.php-428-$nuovi_priv_ins_clienti = $priv_ins_clienti;
##############################################
hoteldruid-3.0.1/privilegi_utenti.php-433-if ($vedi_indirizzo == "s" or $vedi_indirizzo == "n") $nuovi_priv_ins_clienti = substr($nuovi_priv_ins_clienti,0,4).$vedi_indirizzo.substr($nuovi_priv_ins_clienti,5);
hoteldruid-3.0.1/privilegi_utenti.php:434:if ($nuovi_priv_ins_clienti != $priv_ins_clienti) esegui_query("update $tableprivilegi set priv_ins_clienti = '$nuovi_priv_ins_clienti' where idutente = '$id_utente_privilegi' and anno = '1'");
hoteldruid-3.0.1/privilegi_utenti.php-435-$nuovo_prefisso_clienti = $prefisso_clienti;
##############################################
hoteldruid-3.0.1/privilegi_utenti.php-440-if ($tipo_prefisso_clienti == "n") $nuovo_prefisso_clienti = substr($nuovo_prefisso_clienti,0,2);
hoteldruid-3.0.1/privilegi_utenti.php:441:if ($nuovo_prefisso_clienti != $prefisso_clienti) esegui_query("update $tableprivilegi set prefisso_clienti = '$nuovo_prefisso_clienti' where idutente = '$id_utente_privilegi' and anno = '1'");
hoteldruid-3.0.1/privilegi_utenti.php-442-$nuovi_priv_messaggi = $priv_messaggi;
##############################################
hoteldruid-3.0.1/privilegi_utenti.php-444-if ($ins_messaggi == "s" or $ins_messaggi == "n") $nuovi_priv_messaggi = substr($nuovi_priv_messaggi,0,1).$ins_messaggi;
hoteldruid-3.0.1/privilegi_utenti.php:445:if ($nuovi_priv_messaggi != $priv_messaggi) esegui_query("update $tableprivilegi set priv_messaggi = '$nuovi_priv_messaggi' where idutente = '$id_utente_privilegi' and anno = '1'");
hoteldruid-3.0.1/privilegi_utenti.php-446-$nuove_casse_consentite = $casse_consentite;
##############################################
hoteldruid-3.0.1/privilegi_utenti.php-448-if ($cambia_casse_sel) $nuove_casse_consentite = substr($nuove_casse_consentite,0,2).$nuove_casse_sel;
hoteldruid-3.0.1/privilegi_utenti.php:449:if ($nuove_casse_consentite != $casse_consentite) esegui_query("update $tableprivilegi set casse_consentite = '$nuove_casse_consentite' where idutente = '$id_utente_privilegi' and anno = '1'");
hoteldruid-3.0.1/privilegi_utenti.php-450-$nuovi_priv_inventario = $priv_inventario;
##############################################
hoteldruid-3.0.1/privilegi_utenti.php-459-if ($mod_beni_in_app == "s" or $mod_beni_in_app == "p" or $mod_beni_in_app == "g" or $mod_beni_in_app == "n") $nuovi_priv_inventario = substr($nuovi_priv_inventario,0,8).$mod_beni_in_app;
hoteldruid-3.0.1/privilegi_utenti.php:460:if ($nuovi_priv_inventario != $priv_inventario) esegui_query("update $tableprivilegi set priv_inventario = '$nuovi_priv_inventario' where idutente = '$id_utente_privilegi' and anno = '1'");
hoteldruid-3.0.1/privilegi_utenti.php:461:$privilegi_globali = esegui_query("select * from $tableprivilegi where idutente = '$id_utente_privilegi' and anno = '1'");
hoteldruid-3.0.1/privilegi_utenti.php-462-} # fine else if (!$continua)
##############################################
hoteldruid-3.0.1/privilegi_utenti.php-949-if ($cambia_motivazioni_reg1) $nuove_regole1_consentite = substr($nuove_regole1_consentite,0,3).$nuove_motivazioni_reg1;
hoteldruid-3.0.1/privilegi_utenti.php:950:if ($nuove_regole1_consentite != $regole1_consentite) esegui_query("update $tableprivilegi set regole1_consentite = '$nuove_regole1_consentite' where idutente = '$id_utente_privilegi' and anno = '$anno_modifica'");
hoteldruid-3.0.1/privilegi_utenti.php-951-$nuove_tariffe_consentite = $tariffe_consentite;
##############################################
hoteldruid-3.0.1/privilegi_utenti.php-953-if ($cambia_tariffe_sel) $nuove_tariffe_consentite = substr($nuove_tariffe_consentite,0,2).$nuove_tariffe_sel;
hoteldruid-3.0.1/privilegi_utenti.php:954:if ($nuove_tariffe_consentite != $tariffe_consentite) esegui_query("update $tableprivilegi set tariffe_consentite = '$nuove_tariffe_consentite' where idutente = '$id_utente_privilegi' and anno = '$anno_modifica'");
hoteldruid-3.0.1/privilegi_utenti.php-955-$nuovi_costi_agg_consentiti = $costi_agg_consentiti;
##############################################
hoteldruid-3.0.1/privilegi_utenti.php-957-if ($cambia_costi_agg_sel) $nuovi_costi_agg_consentiti = substr($nuovi_costi_agg_consentiti,0,2).$nuovi_costi_agg_sel;
hoteldruid-3.0.1/privilegi_utenti.php:958:if ($nuovi_costi_agg_consentiti != $costi_agg_consentiti) esegui_query("update $tableprivilegi set costi_agg_consentiti = '$nuovi_costi_agg_consentiti' where idutente = '$id_utente_privilegi' and anno = '$anno_modifica'");
hoteldruid-3.0.1/privilegi_utenti.php-959-$nuovi_contratti_consentiti = $contratti_consentiti;
##############################################
hoteldruid-3.0.1/privilegi_utenti.php-962-if ($cambia_contratti_sel) $nuovi_contratti_consentiti = substr($nuovi_contratti_consentiti,0,3).$nuovi_contratti_sel;
hoteldruid-3.0.1/privilegi_utenti.php:963:if ($nuovi_contratti_consentiti != $contratti_consentiti) esegui_query("update $tableprivilegi set contratti_consentiti = '$nuovi_contratti_consentiti' where idutente = '$id_utente_privilegi' and anno = '$anno_modifica'");
hoteldruid-3.0.1/privilegi_utenti.php-964-$nuovi_priv_ins_prenota = $priv_ins_prenota;
##############################################
hoteldruid-3.0.1/privilegi_utenti.php-977-if ($ins_comm_pers == "n" or $ins_comm_pers == "s") $nuovi_priv_ins_prenota = substr($nuovi_priv_ins_prenota,0,12).$ins_comm_pers;
hoteldruid-3.0.1/privilegi_utenti.php:978:if ($nuovi_priv_ins_prenota != $priv_ins_prenota) esegui_query("update $tableprivilegi set priv_ins_prenota = '$nuovi_priv_ins_prenota' where idutente = '$id_utente_privilegi' and anno = '$anno_modifica'");
hoteldruid-3.0.1/privilegi_utenti.php-979-$nuovi_priv_mod_prenota = $priv_mod_prenota;
##############################################
hoteldruid-3.0.1/privilegi_utenti.php-1016-if ($modp_canc_perm == "n" or $modp_canc_perm == "c" or $modp_canc_perm == "s") $nuovi_priv_mod_prenota = substr($nuovi_priv_mod_prenota,0,27).$modp_canc_perm;
hoteldruid-3.0.1/privilegi_utenti.php:1017:if ($nuovi_priv_mod_prenota != $priv_mod_prenota) esegui_query("update $tableprivilegi set priv_mod_prenota = '$nuovi_priv_mod_prenota' where idutente = '$id_utente_privilegi' and anno = '$anno_modifica'");
hoteldruid-3.0.1/privilegi_utenti.php:1018:if ($modp_cassa_pagamenti != $cassa_pagamenti) esegui_query("update $tableprivilegi set cassa_pagamenti = '".aggslashdb($modp_cassa_pagamenti)."' where idutente = '$id_utente_privilegi' and anno = '$anno_modifica'");
hoteldruid-3.0.1/privilegi_utenti.php-1019-$nuovi_priv_ins_costi = $priv_ins_costi;
##############################################
hoteldruid-3.0.1/privilegi_utenti.php-1023-if ($persona_spese == "n" or $persona_spese == "u" or $persona_spese == "c") $nuovi_priv_ins_costi = substr($nuovi_priv_ins_costi,0,3).$persona_spese;
hoteldruid-3.0.1/privilegi_utenti.php:1024:if ($nuovi_priv_ins_costi != $priv_ins_costi) esegui_query("update $tableprivilegi set priv_ins_costi = '$nuovi_priv_ins_costi' where idutente = '$id_utente_privilegi' and anno = '$anno_modifica'");
hoteldruid-3.0.1/privilegi_utenti.php-1025-$nuovi_priv_ins_tariffe = $priv_ins_tariffe;
##############################################
hoteldruid-3.0.1/privilegi_utenti.php-1031-if ($mod_reg2 == "n" or $mod_reg2 == "s") $nuovi_priv_ins_tariffe = substr($nuovi_priv_ins_tariffe,0,5).$mod_reg2.substr($nuovi_priv_ins_tariffe,6);
hoteldruid-3.0.1/privilegi_utenti.php:1032:if ($nuovi_priv_ins_tariffe != $priv_ins_tariffe) esegui_query("update $tableprivilegi set priv_ins_tariffe = '$nuovi_priv_ins_tariffe' where idutente = '$id_utente_privilegi' and anno = '$anno_modifica'");
hoteldruid-3.0.1/privilegi_utenti.php-1033-$nuovi_priv_vedi_tab = $priv_vedi_tab;
##############################################
hoteldruid-3.0.1/privilegi_utenti.php-1042-if ($oscura_tab_mesi == "o" or $oscura_tab_mesi == "v" or $oscura_tab_mesi == "f") $nuovi_priv_vedi_tab = substr($nuovi_priv_vedi_tab,0,8).$oscura_tab_mesi.substr($nuovi_priv_vedi_tab,9);
hoteldruid-3.0.1/privilegi_utenti.php:1043:if ($nuovi_priv_vedi_tab != $priv_vedi_tab) esegui_query("update $tableprivilegi set priv_vedi_tab = '$nuovi_priv_vedi_tab' where idutente = '$id_utente_privilegi' and anno = '$anno_modifica'");
hoteldruid-3.0.1/privilegi_utenti.php:1044:$privilegi_anno[$anno_modifica] = esegui_query("select * from $tableprivilegi where idutente = '$id_utente_privilegi' and anno = '$anno_modifica'");
hoteldruid-3.0.1/privilegi_utenti.php-1045-} # fine else if (!$continua)
##############################################
hoteldruid-3.0.1/privilegi_utenti.php-1053-esegui_query("insert into $tableprivilegi (idutente,anno,regole1_consentite,tariffe_consentite,costi_agg_consentiti,contratti_consentiti,priv_ins_prenota,priv_mod_prenota,priv_ins_costi,priv_vedi_tab,priv_ins_tariffe) values ('$id_utente_privilegi','$attiva_anno','nm,','n,','n,','ns,','nnnnnnnnnnnnn','nnnnnnnnnnnn000000nnnnnnnsns','nnnn','nnnnnnnno','nnnnnn')");
hoteldruid-3.0.1/privilegi_utenti.php:1054:$privilegi_anno[$attiva_anno] = esegui_query("select * from $tableprivilegi where idutente = '$id_utente_privilegi' and anno = '$attiva_anno'");
hoteldruid-3.0.1/privilegi_utenti.php-1055-include("./includes/funzioni_menu.php");
hoteldruid-3.0.1/privilegi_utenti.php:1056:$tipo_periodi_cambia = esegui_query("select * from $tableanni where idanni = '$attiva_anno'");
hoteldruid-3.0.1/privilegi_utenti.php-1057-$tipo_periodi_cambia = risul_query($tipo_periodi_cambia,0,'tipo_periodi');
##############################################
hoteldruid-3.0.1/privilegi_utenti.php-1062-$lingua_mex = $lingua[$id_utente];
hoteldruid-3.0.1/privilegi_utenti.php:1063:$giorno_vedi_ini_sett = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'giorno_vedi_ini_sett$attiva_anno' and idutente = '1'");
hoteldruid-3.0.1/privilegi_utenti.php-1064-if (numlin_query($giorno_vedi_ini_sett) == 1) {
##############################################
hoteldruid-3.0.1/privilegi_utenti.php-1073-if (controlla_anno($disattiva_anno) == "SI" and $anno_esistente[$disattiva_anno] == "SI" and numlin_query($privilegi_anno[$disattiva_anno]) != 0) {
hoteldruid-3.0.1/privilegi_utenti.php:1074:esegui_query("delete from $tableprivilegi where idutente = '$id_utente_privilegi' and anno = '$disattiva_anno'");
hoteldruid-3.0.1/privilegi_utenti.php:1075:$privilegi_anno[$disattiva_anno] = esegui_query("select * from $tableprivilegi where idutente = '$id_utente_privilegi' and anno = '$disattiva_anno'");
hoteldruid-3.0.1/privilegi_utenti.php-1076-if (@is_file(C_DATI_PATH."/selectperiodi$disattiva_anno.$id_utente_privilegi.php")) unlink(C_DATI_PATH."/selectperiodi$disattiva_anno.$id_utente_privilegi.php");
hoteldruid-3.0.1/privilegi_utenti.php-1077-if (@is_file(C_DATI_PATH."/selperiodimenu$disattiva_anno.$id_utente_privilegi.php")) unlink(C_DATI_PATH."/selperiodimenu$disattiva_anno.$id_utente_privilegi.php");
hoteldruid-3.0.1/privilegi_utenti.php:1078:esegui_query("delete from $tablepersonalizza where idpersonalizza = 'giorno_vedi_ini_sett$disattiva_anno' and idutente = '$id_utente_privilegi'");
hoteldruid-3.0.1/privilegi_utenti.php-1079-} # fine if (controlla_anno($disattiva_anno) == "SI" and ...
##############################################
hoteldruid-3.0.1/privilegi_utenti.php-2846-
hoteldruid-3.0.1/privilegi_utenti.php:2847:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/privilegi_utenti.php-2848-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/themes/snj/php/head.php-89-if (!$anno_utente_attivato) {
hoteldruid-3.0.1/themes/snj/php/head.php:90:if (!$privilegi_annuali_utente) $privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/themes/snj/php/head.php-91-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/themes/snj/php/head.php-94-if ($anno_utente_attivato == "SI") {
hoteldruid-3.0.1/themes/snj/php/head.php:95:if (!$privilegi_globali_utente) $privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/themes/snj/php/head.php-96-if (!$priv_mod_pers) $priv_mod_pers = risul_query($privilegi_globali_utente,0,'priv_mod_pers');
##############################################
hoteldruid-3.0.1/themes/blu/php/head.php-123-if (!$anno_utente_attivato) {
hoteldruid-3.0.1/themes/blu/php/head.php:124:if (!$privilegi_annuali_utente) $privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/themes/blu/php/head.php-125-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/themes/blu/php/head.php-128-if ($anno_utente_attivato == "SI") {
hoteldruid-3.0.1/themes/blu/php/head.php:129:if (!$privilegi_globali_utente) $privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/themes/blu/php/head.php-130-if (!$priv_mod_pers) $priv_mod_pers = risul_query($privilegi_globali_utente,0,'priv_mod_pers');
##############################################
hoteldruid-3.0.1/mostra_sorgente.php-36-else $lingua_mex = "ita";
hoteldruid-3.0.1/mostra_sorgente.php:37:if ($tema[1] and $tema[1] != "base" and @is_dir("./themes/".$tema[1]."/php")) include("./themes/".$tema[1]."/php/head.php");
hoteldruid-3.0.1/mostra_sorgente.php-38-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/mostra_sorgente.php-92-if ($raw != "SI") {
hoteldruid-3.0.1/mostra_sorgente.php:93:if ($tema[1] and $tema[1] != "base" and @is_dir("./themes/".$tema[1]."/php")) include("./themes/".$tema[1]."/php/foot.php");
hoteldruid-3.0.1/mostra_sorgente.php-94-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/personalizza.php-28-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/personalizza.php:29:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/personalizza.php-30-if (function_exists('ini_set')) @ini_set('opcache.enable',0);
##############################################
hoteldruid-3.0.1/personalizza.php-66-if ($id_utente != 1) {
hoteldruid-3.0.1/personalizza.php:67:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/personalizza.php-68-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/personalizza.php-70-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/personalizza.php:71:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/personalizza.php-72-$priv_mod_pers = risul_query($privilegi_globali_utente,0,'priv_mod_pers');
##############################################
hoteldruid-3.0.1/personalizza.php-86-if ($prendi_gruppi == "SI") {
hoteldruid-3.0.1/personalizza.php:87:$gruppi_utente = esegui_query("select idgruppo from $tablerelgruppi where idutente = '$id_utente' and idgruppo is not NULL ");
hoteldruid-3.0.1/personalizza.php-88-$num_gruppi_utente = numlin_query($gruppi_utente);
##############################################
hoteldruid-3.0.1/personalizza.php-90-$idgruppo = risul_query($gruppi_utente,$num1,'idgruppo');
hoteldruid-3.0.1/personalizza.php:91:$utenti_gruppo = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$idgruppo' ");
hoteldruid-3.0.1/personalizza.php-92-$num_utenti_gruppo = numlin_query($utenti_gruppo);
##############################################
hoteldruid-3.0.1/personalizza.php-112-$tableprivilegi = $PHPR_TAB_PRE."privilegi";
hoteldruid-3.0.1/personalizza.php:113:$privilegi_annuali_utente_mod = esegui_query("select * from $tableprivilegi where idutente = '$id_utente_mod' and anno = '$anno'");
hoteldruid-3.0.1/personalizza.php-114-if (numlin_query($privilegi_annuali_utente_mod) == 0) $attiva_contratti_consentiti = "n";
##############################################
hoteldruid-3.0.1/personalizza.php-142-$titolo = "HotelDruid: ".mex("Personalizza",$pag);
hoteldruid-3.0.1/personalizza.php:143:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/personalizza.php-144-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/personalizza.php-149-
hoteldruid-3.0.1/personalizza.php:150:$tipo_periodi = esegui_query("select * from $tableanni where idanni = '$anno'");
hoteldruid-3.0.1/personalizza.php-151-$tipo_periodi = risul_query($tipo_periodi,0,'tipo_periodi');
##############################################
hoteldruid-3.0.1/personalizza.php-220-$nome_vecchia_tariffa = "tariffa" . $num1;
hoteldruid-3.0.1/personalizza.php:221:esegui_query("delete from $tableregole where tariffa_per_app = '$nome_vecchia_tariffa'");
hoteldruid-3.0.1/personalizza.php:222:esegui_query("delete from $tableregole where tariffa_per_utente = '$nome_vecchia_tariffa'");
hoteldruid-3.0.1/personalizza.php:223:esegui_query("delete from $tableregole where tariffa_per_persone = '$nome_vecchia_tariffa'");
hoteldruid-3.0.1/personalizza.php:224:esegui_query("delete from $tableregole where tariffa_chiusa = '$nome_vecchia_tariffa'");
hoteldruid-3.0.1/personalizza.php:225:esegui_query("delete from $tabledescrizioni where nome = '$nome_vecchia_tariffa' and (tipo = 'tardescr' or tipo = 'tarfoto' or tipo = 'tarcommfoto') ");
hoteldruid-3.0.1/personalizza.php-226-esegui_query("update $tableperiodi set $nome_vecchia_tariffa = NULL");
##############################################
hoteldruid-3.0.1/personalizza.php-365-esegui_query("update $tableperiodi set $tar_nuova"."p = $tar_vecchia"."p ");
hoteldruid-3.0.1/personalizza.php:366:esegui_query("update $tableregole set tariffa_chiusa = '$tar_nuova' where tariffa_chiusa = '$tar_vecchia' ");
hoteldruid-3.0.1/personalizza.php:367:esegui_query("update $tableregole set tariffa_per_app = '$tar_nuova' where tariffa_per_app = '$tar_vecchia' ");
hoteldruid-3.0.1/personalizza.php:368:esegui_query("update $tableregole set tariffa_per_utente = '$tar_nuova' where tariffa_per_utente = '$tar_vecchia' ");
hoteldruid-3.0.1/personalizza.php:369:esegui_query("update $tableregole set tariffa_per_persone = '$tar_nuova' where tariffa_per_persone = '$tar_vecchia' ");
hoteldruid-3.0.1/personalizza.php:370:esegui_query("update $tabledescrizioni set nome = '$tar_nuova' where nome = '$tar_vecchia' and (tipo = 'tardescr' or tipo = 'tarfoto' or tipo = 'tarcommfoto') ");
hoteldruid-3.0.1/personalizza.php:371:$priv = esegui_query("select * from $tableprivilegi where tariffe_consentite $LIKE '%,$vecchio_num%' and anno = '$anno' ");
hoteldruid-3.0.1/personalizza.php-372-$num_priv = numlin_query($priv);
##############################################
hoteldruid-3.0.1/personalizza.php-383-if (strlen($tar_cons) > 2) $tar_cons = substr($tar_cons,0,-1);
hoteldruid-3.0.1/personalizza.php:384:esegui_query("update $tableprivilegi set tariffe_consentite = '$tar_cons' where idutente = '$idut_priv' and anno = '$anno'");
hoteldruid-3.0.1/personalizza.php-385-} # fine if ($n_tar_cons != $tar_cons)
##############################################
hoteldruid-3.0.1/personalizza.php-399-$tar_incomp = substr($tar_incomp,0,-1);
hoteldruid-3.0.1/personalizza.php:400:esegui_query("update $tablecostiprenota set vartariffeincomp = '$tar_incomp' where idcostiprenota = '$idcostp' ");
hoteldruid-3.0.1/personalizza.php-401-} # fine if ($n_tar_incomp != $tar_incomp)
##############################################
hoteldruid-3.0.1/personalizza.php-414-} # fine for $num1
hoteldruid-3.0.1/personalizza.php:415:$mess = esegui_query("select * from $tablemessaggi where tipo_messaggio = 'rprenota' and dati_messaggio6 $LIKE '%$vecchio_num%' and dati_messaggio18 = '$anno' ");
hoteldruid-3.0.1/personalizza.php-416-$num_mess = numlin_query($mess);
##############################################
hoteldruid-3.0.1/personalizza.php-425-} # fine for $num2
hoteldruid-3.0.1/personalizza.php:426:esegui_query("update $tablemessaggi set dati_messaggio6 = '$tar_mess' where idmessaggi = '$idmess' ");
hoteldruid-3.0.1/personalizza.php-427-} # fine for $num1
hoteldruid-3.0.1/personalizza.php:428:$ins_p = esegui_query("select * from $tabletransazioni where tipo_transazione = 'ins_p' and anno = '$anno' and dati_transazione5 $LIKE '%$tar_vecchia%' ");
hoteldruid-3.0.1/personalizza.php-429-$num_ins_p = numlin_query($ins_p);
##############################################
hoteldruid-3.0.1/personalizza.php-438-} # fine for $num2
hoteldruid-3.0.1/personalizza.php:439:esegui_query("update $tabletransazioni set dati_transazione5 = '$tar_ins_p' where idtransazioni = '$idtrans' ");
hoteldruid-3.0.1/personalizza.php-440-} # fine for $num1
hoteldruid-3.0.1/personalizza.php:441:$mod_p = esegui_query("select * from $tabletransazioni where tipo_transazione = 'mod_p' and anno = '$anno' ");
hoteldruid-3.0.1/personalizza.php-442-$num_mod_p = numlin_query($mod_p);
##############################################
hoteldruid-3.0.1/personalizza.php-450-$n_tar_mod_p = serialize($n_tar_mod_p_vett);
hoteldruid-3.0.1/personalizza.php:451:if ($n_tar_mod_p != $tar_mod_p) esegui_query("update $tabletransazioni set dati_transazione12 = '".aggslashdb($n_tar_mod_p)."' where idtransazioni = '$idtrans' ");
hoteldruid-3.0.1/personalizza.php-452-} # fine for $num1
hoteldruid-3.0.1/personalizza.php:453:$pay = esegui_query("select * from $tabletransazioniweb where tipo_transazione $LIKE 'pay_%' and anno = '$anno' and dati_transazione6 $LIKE '%$vecchio_num%' ");
hoteldruid-3.0.1/personalizza.php-454-$num_pay = numlin_query($pay);
##############################################
hoteldruid-3.0.1/personalizza.php-463-} # fine for $num2
hoteldruid-3.0.1/personalizza.php:464:esegui_query("update $tabletransazioniweb set dati_transazione6 = '$tar_pay' where idtransazioni = '$idtrans' ");
hoteldruid-3.0.1/personalizza.php-465-} # fine for $num1
##############################################
hoteldruid-3.0.1/personalizza.php-662-$limite_transazioni_vecchie = date("Y-m-d H:i:s",(time() - ($minuti_durata_blocco * 60) + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/personalizza.php:663:esegui_query("delete from $tabletransazioni where ultimo_accesso <= '$limite_transazioni_vecchie' and tipo_transazione = 'er_cc' ");
hoteldruid-3.0.1/personalizza.php:664:$err_transazioni = esegui_query("select * from $tabletransazioni where tipo_transazione = 'er_cc' and dati_transazione2 = '$id_utente' ");
hoteldruid-3.0.1/personalizza.php-665-$err_transazioni2 = esegui_query("select * from $tabletransazioni where tipo_transazione = 'er_cc' ");
##############################################
hoteldruid-3.0.1/personalizza.php-767-$data_corr = risul_query($q_priv_key_cc,0,'valpersonalizza_num');
hoteldruid-3.0.1/personalizza.php:768:esegui_query("delete from $tablepersonalizza where (idpersonalizza = 'old_cert_cc' or idpersonalizza = 'old_priv_key_cc') and valpersonalizza_num = '$data_corr' ");
hoteldruid-3.0.1/personalizza.php-769-esegui_query("update $tablepersonalizza set idpersonalizza = 'old_cert_cc' where idpersonalizza = 'cert_cc' and idutente = '1' ");
##############################################
hoteldruid-3.0.1/personalizza.php-772-$data_canc = risul_query($vecchi_cert,$num1,'valpersonalizza_num');
hoteldruid-3.0.1/personalizza.php:773:esegui_query("delete from $tablepersonalizza where (idpersonalizza = 'old_cert_cc' or idpersonalizza = 'old_priv_key_cc') and valpersonalizza_num = '$data_canc' ");
hoteldruid-3.0.1/personalizza.php-774-} # fine for $num1
##############################################
hoteldruid-3.0.1/personalizza.php-790-$val_crypt = base64_encode($val_crypt);
hoteldruid-3.0.1/personalizza.php:791:esegui_query("update $tablerelclienti set testo2 = '".aggslashdb($val_crypt)."' where idclienti = '$idclienti_cc' and tipo = 'cc' and numero = '$numero_cc' ");
hoteldruid-3.0.1/personalizza.php-792-} # fine if ($num_cc)
##############################################
hoteldruid-3.0.1/personalizza.php-797-$val_crypt = base64_encode($val_crypt);
hoteldruid-3.0.1/personalizza.php:798:esegui_query("update $tablerelclienti set testo5 = '".aggslashdb($val_crypt)."' where idclienti = '$idclienti_cc' and tipo = 'cc' and numero = '$numero_cc' ");
hoteldruid-3.0.1/personalizza.php-799-} # fine if ($cvc_cc)
##############################################
hoteldruid-3.0.1/personalizza.php-890-if (controlla_num_pos($id_gruppo_log)) {
hoteldruid-3.0.1/personalizza.php:891:$gruppo_esistente = esegui_query("select * from $tablegruppi where idgruppi = '$id_gruppo_log' ");
hoteldruid-3.0.1/personalizza.php-892-if (numlin_query($gruppo_esistente)) {
hoteldruid-3.0.1/personalizza.php-893-$phpr_log .= "$id_gruppo_log";
hoteldruid-3.0.1/personalizza.php:894:$utenti_gruppo_log = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$id_gruppo_log' order by idutente");
hoteldruid-3.0.1/personalizza.php-895-for ($num1 = 0 ; $num1 < numlin_query($utenti_gruppo_log) ; $num1++) $phpr_log .= ",".risul_query($utenti_gruppo_log,$num1,'idutente');
##############################################
hoteldruid-3.0.1/personalizza.php-899-elseif (controlla_num_pos($id_utente_log)) {
hoteldruid-3.0.1/personalizza.php:900:$utente_esistente = esegui_query("select * from $tableutenti where idutenti = '$id_utente_log' ");
hoteldruid-3.0.1/personalizza.php-901-if (numlin_query($utente_esistente)) $phpr_log .= ",$id_utente_log";
##############################################
hoteldruid-3.0.1/personalizza.php-1108-foreach ($modelli as $modello_ext => $val_i) {
hoteldruid-3.0.1/personalizza.php:1109:include("./includes/templates/$modello_ext/name.php");
hoteldruid-3.0.1/personalizza.php-1110-if ($template_name_show['tpl_type'] != "interconnection") {
##############################################
hoteldruid-3.0.1/personalizza.php-1126-$funz_trad = "mext_$modello_ext";
hoteldruid-3.0.1/personalizza.php:1127:if (!function_exists($funz_trad)) include("./includes/templates/$modello_ext/phrases.php");
hoteldruid-3.0.1/personalizza.php-1128-$nome_file = $funz_trad($template_file_name["ita"],$pag,$ini_lingua);
##############################################
hoteldruid-3.0.1/personalizza.php-1219-$trad_var['bed'] = "#bed#";
hoteldruid-3.0.1/personalizza.php:1220:include($file_unit);
hoteldruid-3.0.1/personalizza.php-1221-if ($unit['s_n'] == "#cam#") $da_cam = 1;
##############################################
hoteldruid-3.0.1/personalizza.php-1264-if ($da_cam) {
hoteldruid-3.0.1/personalizza.php:1265:include("./includes/lang/$ini_lingua/unit.php");
hoteldruid-3.0.1/personalizza.php-1266-${"trad_s_n_".$ini_lingua} = $trad_var['room'];
##############################################
hoteldruid-3.0.1/personalizza.php-1270-if ($da_app) {
hoteldruid-3.0.1/personalizza.php:1271:include("./includes/lang/$ini_lingua/unit.php");
hoteldruid-3.0.1/personalizza.php-1272-${"trad_s_n_".$ini_lingua} = $trad_var['apartment'];
##############################################
hoteldruid-3.0.1/personalizza.php-1276-if ($da_bed) {
hoteldruid-3.0.1/personalizza.php:1277:include("./includes/lang/$ini_lingua/unit.php");
hoteldruid-3.0.1/personalizza.php-1278-${"trad_s_n_".$ini_lingua} = $trad_var['bed'];
##############################################
hoteldruid-3.0.1/personalizza.php-1359-if (controlla_num_pos($num_contr_elimina) == "SI") {
hoteldruid-3.0.1/personalizza.php:1360:$contr_esist = esegui_query("select numero from $tablecontratti where numero = '$num_contr_elimina' and tipo  $LIKE 'contr%' ");
hoteldruid-3.0.1/personalizza.php-1361-if (numlin_query($contr_esist)) {
##############################################
hoteldruid-3.0.1/personalizza.php-1519-global $LIKE;
hoteldruid-3.0.1/personalizza.php:1520:esegui_query("update $tablecontratti set numero = '$nuovo_num' where tipo $LIKE 'contr%' and numero = '$vecchio_num'");
hoteldruid-3.0.1/personalizza.php:1521:esegui_query("update $tablecontratti set numero = '$nuovo_num' where (tipo = 'oggetto' or tipo = 'allegato' or tipo = 'bcc' or tipo = 'opzeml') and numero = '$vecchio_num'");
hoteldruid-3.0.1/personalizza.php:1522:esegui_query("update $tablecontratti set numero = '$nuovo_num' where (tipo = 'headhtm' or tipo = 'foothtm') and numero = '$vecchio_num'");
hoteldruid-3.0.1/personalizza.php:1523:esegui_query("update $tablecontratti set numero = '$nuovo_num' where tipo = 'est_txt' and numero = '$vecchio_num'");
hoteldruid-3.0.1/personalizza.php:1524:esegui_query("update $tablecontratti set numero = '$nuovo_num' where tipo = 'dir' and numero = '$vecchio_num'");
hoteldruid-3.0.1/personalizza.php:1525:esegui_query("update $tablecontratti set numero = '$nuovo_num' where tipo $LIKE 'mln_%' and numero = '$vecchio_num'");
hoteldruid-3.0.1/personalizza.php:1526:esegui_query("update $tablecontratti set tipo = 'var$nuovo_num' where tipo = 'var$vecchio_num' ");
hoteldruid-3.0.1/personalizza.php:1527:esegui_query("update $tablecontratti set tipo = 'vett$nuovo_num' where tipo = 'vett$vecchio_num' ");
hoteldruid-3.0.1/personalizza.php:1528:esegui_query("update $tablecontratti set tipo = 'cond$nuovo_num' where tipo = 'cond$vecchio_num' ");
hoteldruid-3.0.1/personalizza.php:1529:esegui_query("update $tablecontratti set numero = '$nuovo_num' where tipo = 'impor_vc' and numero = '$vecchio_num'");
hoteldruid-3.0.1/personalizza.php:1530:esegui_query("update $tablecontratti set testo = '$nuovo_num' where tipo = 'impor_vc' and testo = '$vecchio_num'");
hoteldruid-3.0.1/personalizza.php:1531:esegui_query("update $tablecontratti set numero = '$nuovo_num' where tipo = 'num_prog' and numero = '$vecchio_num'");
hoteldruid-3.0.1/personalizza.php:1532:esegui_query("update $tablecontratti set testo = '$nuovo_num' where tipo = 'num_prog' and testo = '$vecchio_num'");
hoteldruid-3.0.1/personalizza.php:1533:esegui_query("update $tablecontratti set numero = '$nuovo_num' where tipo = 'nomefile' and numero = '$vecchio_num'");
hoteldruid-3.0.1/personalizza.php:1534:esegui_query("update $tablecontratti set numero = '$nuovo_num' where tipo = 'formati' and numero = '$vecchio_num'");
hoteldruid-3.0.1/personalizza.php:1535:esegui_query("update $tablecontratti set numero = '$nuovo_num' where (tipo = 'autosalv' or tipo = 'compress' or tipo = 'incr_np') and numero = '$vecchio_num'");
hoteldruid-3.0.1/personalizza.php-1536-$priv = esegui_query("select * from $tableprivilegi where contratti_consentiti $LIKE '%,$vecchio_num%' ");
##############################################
hoteldruid-3.0.1/personalizza.php-1549-if (strlen($contr_cons) > 2) $contr_cons = substr($contr_cons,0,-1);
hoteldruid-3.0.1/personalizza.php:1550:esegui_query("update $tableprivilegi set contratti_consentiti = '$contr_cons' where idutente = '$idut_priv' and anno = '$anno_priv'");
hoteldruid-3.0.1/personalizza.php-1551-} # fine if ($n_contr_cons != $contr_cons)
##############################################
hoteldruid-3.0.1/personalizza.php-1558-$val_nc = substr(str_replace("#@&$vecchio_num#?&","#@&$nuovo_num#?&","#@&".$val_nc),3);
hoteldruid-3.0.1/personalizza.php:1559:esegui_query("update $tablepersonalizza set valpersonalizza = '".aggslashdb($val_nc)."' where idutente = '$idut_nc' and idpersonalizza = 'nomi_contratti'");
hoteldruid-3.0.1/personalizza.php-1560-} # fine for $num1
##############################################
hoteldruid-3.0.1/personalizza.php-1636-if ($modello_ext != "." and $modello_ext != ".." and @is_dir("./includes/templates/$modello_ext")) {
hoteldruid-3.0.1/personalizza.php:1637:include("./includes/templates/$modello_ext/name.php");
hoteldruid-3.0.1/personalizza.php:1638:include("./includes/templates/$modello_ext/phrases.php");
hoteldruid-3.0.1/personalizza.php:1639:include("./includes/templates/$modello_ext/functions.php");
hoteldruid-3.0.1/personalizza.php-1640-$funz_recupera_var_modello = "recupera_var_modello_".$modello_ext;
##############################################
hoteldruid-3.0.1/personalizza.php-1713-esegui_query("delete from $tablecontratti where tipo $LIKE 'contr%' and numero > '$nuovo_num_contratti'");
hoteldruid-3.0.1/personalizza.php:1714:esegui_query("delete from $tablecontratti where (tipo = 'oggetto' or tipo = 'bcc') and numero > '$nuovo_num_contratti'");
hoteldruid-3.0.1/personalizza.php:1715:esegui_query("delete from $tablecontratti where (tipo = 'headhtm' or tipo = 'foothtm') and numero > '$nuovo_num_contratti'");
hoteldruid-3.0.1/personalizza.php:1716:esegui_query("delete from $tablecontratti where tipo = 'est_txt' and numero > '$nuovo_num_contratti'");
hoteldruid-3.0.1/personalizza.php:1717:esegui_query("delete from $tablecontratti where tipo = 'dir' and numero > '$nuovo_num_contratti'");
hoteldruid-3.0.1/personalizza.php-1718-esegui_query("delete from $tablecontratti where tipo $LIKE 'mln_%' and numero > '$nuovo_num_contratti'");
hoteldruid-3.0.1/personalizza.php:1719:esegui_query("delete from $tablecontratti where tipo = 'opzeml' and numero > '$nuovo_num_contratti'");
hoteldruid-3.0.1/personalizza.php-1720-for ($num1 = ($nuovo_num_contratti + 1) ; $num1 <= $max_contr ; $num1++) {
hoteldruid-3.0.1/personalizza.php:1721:$num_all = esegui_query("select * from $tablecontratti where numero = '$num1' and tipo = 'allegato'");
hoteldruid-3.0.1/personalizza.php-1722-if (numlin_query($num_all)) {
hoteldruid-3.0.1/personalizza.php-1723-$num_all = risul_query($num_all,0,'testo');
hoteldruid-3.0.1/personalizza.php:1724:esegui_query("delete from $tablecontratti where numero = '$num1' and tipo = 'allegato'");
hoteldruid-3.0.1/personalizza.php-1725-if ($num_all) {
hoteldruid-3.0.1/personalizza.php:1726:$altri_all = esegui_query("select * from $tablecontratti where testo = '$num_all' and tipo = 'allegato'");
hoteldruid-3.0.1/personalizza.php-1727-if (!numlin_query($altri_all)) {
hoteldruid-3.0.1/personalizza.php:1728:esegui_query("delete from $tablecontratti where numero = '$num_all' and tipo = 'file_all' ");
hoteldruid-3.0.1/personalizza.php-1729-} # fine if (!numlin_query($altri_all))
##############################################
hoteldruid-3.0.1/personalizza.php-1731-} # fine if (numlin_query($num_all))
hoteldruid-3.0.1/personalizza.php:1732:$contr_imp_vc = esegui_query("select numero from $tablecontratti where testo = '$num1' and tipo = 'impor_vc' ");
hoteldruid-3.0.1/personalizza.php-1733-$num_contr_imp_vc = numlin_query($contr_imp_vc);
##############################################
hoteldruid-3.0.1/personalizza.php-1737-$nuovo_contr_imp_vc = $num_contr_vc;
hoteldruid-3.0.1/personalizza.php:1738:esegui_query("delete from $tablecontratti where numero = '$num_contr_vc' and tipo = 'impor_vc' ");
hoteldruid-3.0.1/personalizza.php:1739:esegui_query("update $tablecontratti set tipo = 'var$num_contr_vc' where tipo = 'var$num1' ");
hoteldruid-3.0.1/personalizza.php:1740:esegui_query("update $tablecontratti set tipo = 'vett$num_contr_vc' where tipo = 'vett$num1' ");
hoteldruid-3.0.1/personalizza.php:1741:esegui_query("update $tablecontratti set tipo = 'cond$num_contr_vc' where tipo = 'cond$num1' ");
hoteldruid-3.0.1/personalizza.php-1742-} # fine if ($num2 == 0)
hoteldruid-3.0.1/personalizza.php:1743:else esegui_query("update $tablecontratti set testo = '$nuovo_contr_imp_vc' where numero = '$num_contr_vc' and tipo = 'impor_vc'");
hoteldruid-3.0.1/personalizza.php-1744-} # fine for $num2
hoteldruid-3.0.1/personalizza.php:1745:$contr_num_prog = esegui_query("select numero from $tablecontratti where testo = '$num1' and tipo = 'num_prog' ");
hoteldruid-3.0.1/personalizza.php-1746-$num_contr_num_prog = numlin_query($contr_num_prog);
##############################################
hoteldruid-3.0.1/personalizza.php-1750-$nuovo_contr_num_prog = $num_contr_np;
hoteldruid-3.0.1/personalizza.php:1751:esegui_query("delete from $tablecontratti where numero = '$num_contr_np' and tipo = 'num_prog' ");
hoteldruid-3.0.1/personalizza.php-1752-} # fine if ($num2 == 0)
hoteldruid-3.0.1/personalizza.php:1753:else esegui_query("update $tablecontratti set testo = '$nuovo_contr_num_prog' where numero = '$num_contr_np' and tipo = 'num_prog' ");
hoteldruid-3.0.1/personalizza.php-1754-} # fine for $num2
hoteldruid-3.0.1/personalizza.php:1755:esegui_query("delete from $tablecontratti where tipo = 'var$num1' ");
hoteldruid-3.0.1/personalizza.php:1756:esegui_query("delete from $tablecontratti where tipo = 'vett$num1' ");
hoteldruid-3.0.1/personalizza.php:1757:esegui_query("delete from $tablecontratti where tipo = 'cond$num1' ");
hoteldruid-3.0.1/personalizza.php:1758:esegui_query("delete from $tablecontratti where numero = '$num1' and tipo = 'impor_vc' ");
hoteldruid-3.0.1/personalizza.php:1759:esegui_query("delete from $tablecontratti where numero = '$num1' and tipo = 'num_prog' ");
hoteldruid-3.0.1/personalizza.php:1760:esegui_query("delete from $tablecontratti where numero = '$num1' and tipo = 'nomefile' ");
hoteldruid-3.0.1/personalizza.php:1761:esegui_query("delete from $tablecontratti where numero = '$num1' and tipo = 'autosalv' ");
hoteldruid-3.0.1/personalizza.php:1762:esegui_query("delete from $tablecontratti where numero = '$num1' and tipo = 'compress' ");
hoteldruid-3.0.1/personalizza.php:1763:esegui_query("delete from $tablecontratti where numero = '$num1' and tipo = 'incr_np' ");
hoteldruid-3.0.1/personalizza.php-1764-$priv = esegui_query("select * from $tableprivilegi where contratti_consentiti $LIKE '%,$num1%' ");
##############################################
hoteldruid-3.0.1/personalizza.php-1770-$contr_cons = substr(str_replace(",$num1,",",",$contr_cons.","),0,-1);
hoteldruid-3.0.1/personalizza.php:1771:esegui_query("update $tableprivilegi set contratti_consentiti = '$contr_cons' where idutente = '$idut_priv' and anno = '$anno_priv'");
hoteldruid-3.0.1/personalizza.php-1772-} # fine for $num2
##############################################
hoteldruid-3.0.1/personalizza.php-1778-$val_nc = substr(preg_replace("/#@&$num1#\?&[^(#@&)]*#@&/","#@&","#@&".$val_nc."#@&"),3,-3);
hoteldruid-3.0.1/personalizza.php:1779:esegui_query("update $tablepersonalizza set valpersonalizza = '".aggslashdb($val_nc)."' where idutente = '$idut_nc' and idpersonalizza = 'nomi_contratti'");
hoteldruid-3.0.1/personalizza.php-1780-} # fine for $num2
##############################################
hoteldruid-3.0.1/personalizza.php-1832-$id_gruppo_mod = substr($id_utente_mod,2);
hoteldruid-3.0.1/personalizza.php:1833:$ut_gr = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$id_gruppo_mod' order by idutente");
hoteldruid-3.0.1/personalizza.php-1834-$fine_for_utenti = numlin_query($ut_gr);
##############################################
hoteldruid-3.0.1/personalizza.php-1836-$id_utente_mod_vett[$num1] = risul_query($ut_gr,$num1,'idutente');
hoteldruid-3.0.1/personalizza.php:1837:$nome_utente_corr = esegui_query("select nome_utente from $tableutenti where idutenti = '".$id_utente_mod_vett[$num1]."' ");
hoteldruid-3.0.1/personalizza.php-1838-$nome_utente_mod_vett[$num1] = risul_query($nome_utente_corr,0,'nome_utente');
##############################################
hoteldruid-3.0.1/personalizza.php-1884-$tableprivilegi = $PHPR_TAB_PRE."privilegi";
hoteldruid-3.0.1/personalizza.php:1885:$privilegi_annuali_utente_mod = esegui_query("select * from $tableprivilegi where idutente = '$id_utente_mod' and anno = '$anno'");
hoteldruid-3.0.1/personalizza.php-1886-if (numlin_query($privilegi_annuali_utente_mod) == 0) $attiva_contratti_consentiti = "n";
##############################################
hoteldruid-3.0.1/personalizza.php-1997-if ($modello_ext != "." and $modello_ext != ".." and @is_dir("./includes/templates/$modello_ext")) {
hoteldruid-3.0.1/personalizza.php:1998:include("./includes/templates/$modello_ext/name.php");
hoteldruid-3.0.1/personalizza.php:1999:include("./includes/templates/$modello_ext/phrases.php");
hoteldruid-3.0.1/personalizza.php:2000:include("./includes/templates/$modello_ext/functions.php");
hoteldruid-3.0.1/personalizza.php-2001-$funz_recupera_var_modello = "recupera_var_modello_".$modello_ext;
##############################################
hoteldruid-3.0.1/personalizza.php-2126-$nuovi_dati_strut = $n_nome_strutt."#@&".$n_tipo_strutt."#@&".$n_email."#@&".$n_rag_sociale_strutt."#@&".$n_sito_web_strutt."#@&".$n_nome_contatto_strutt."#@&".$n_nazione_strutt."#@&".$n_comune_strutt."#@&".$n_indirizzo_strutt."#@&".$n_cap_strutt."#@&".$n_telefono_strutt."#@&".$n_fax_strutt."#@&".$n_cod_fiscale_strutt."#@&".$n_partita_iva_strutt."#@&".$n_num_stelle_strutt."#@&".$n_logo_strutt."#@&".$n_regione_strutt;
hoteldruid-3.0.1/personalizza.php:2127:esegui_query("update $tablepersonalizza set valpersonalizza = '$nuovi_dati_strut' where idpersonalizza = 'dati_struttura' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2128-echo "<br>".mex("I dati della struttura sono stati cambiati",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-2146-if (!$valuta_esist) {
hoteldruid-3.0.1/personalizza.php:2147:esegui_query("update $tablepersonalizza set valpersonalizza = '".aggslashdb($n_valuta)."' where idpersonalizza = 'valuta' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2148-echo mex("La valuta è stata cambiata",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-2159-$nuovo_arrotond = aggslashdb($nuovo_arrotond);
hoteldruid-3.0.1/personalizza.php:2160:esegui_query("update $tablepersonalizza set valpersonalizza = '$nuovo_arrotond' where idpersonalizza = 'arrotond_predef' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2161-echo ucfirst(mex("il",$pag))." ".mex("valore predefinito a cui arrotondare le percentuali dei prezzi",$pag)." ".mex("è stato cambiato",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-2170-$nuovo_arrotond_tasse = aggslashdb($nuovo_arrotond_tasse);
hoteldruid-3.0.1/personalizza.php:2171:esegui_query("update $tablepersonalizza set valpersonalizza = '$nuovo_arrotond_tasse' where idpersonalizza = 'arrotond_tasse' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2172-echo ucfirst(mex("il",$pag))." ".mex("valore a cui arrotondare le percentuali delle tasse e delle valute",$pag)." ".mex("è stato cambiato",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-2191-if ($c_valuta2 != $altre_valute[$num1]['cambio'] or $nuovo_arr != $altre_valute[$num1]['arrotond']) {
hoteldruid-3.0.1/personalizza.php:2192:esegui_query("update $tablepersonalizza set valpersonalizza = '".aggslashdb($altre_valute[$num1]['nome'].">$c_valuta2>$nuovo_arr")."' where idpersonalizza = 'valuta2' and idutente = '$id_utente_mod' and  valpersonalizza = '".aggslashdb($altre_valute[$num1]['nome'].">".$altre_valute[$num1]['cambio'].">".$altre_valute[$num1]['arrotond'])."' ");
hoteldruid-3.0.1/personalizza.php-2193-echo mex("La valuta secondaria",$pag)." <em>".$altre_valute[$num1]['nome']."</em> ".mex("è stata modificata",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-2242-if ($altre_valute[$num1]['nome'] == $valuta2) {
hoteldruid-3.0.1/personalizza.php:2243:esegui_query("delete from $tablepersonalizza where idpersonalizza = 'valuta2' and idutente = '$id_utente_mod' and  valpersonalizza = '".aggslashdb($altre_valute[$num1]['nome'].">".$altre_valute[$num1]['cambio'].">".$altre_valute[$num1]['arrotond'])."' ");
hoteldruid-3.0.1/personalizza.php-2244-echo mex("La valuta secondaria",$pag)." <em>".$altre_valute[$num1]['nome']."</em> ".mex("è stata eliminata",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-2255-if ($n_stile_soldi != "europa" and $n_stile_soldi != "usa") $n_stile_soldi = "europa";
hoteldruid-3.0.1/personalizza.php:2256:esegui_query("update $tablepersonalizza set valpersonalizza = '$n_stile_soldi' where idpersonalizza = 'stile_soldi' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2257-echo mex("Il formato di visualizzazione dei soldi è stato cambiato",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-2262-if ($n_stile_data != "europa" and $n_stile_data != "usa") $n_stile_data = "europa";
hoteldruid-3.0.1/personalizza.php:2263:esegui_query("update $tablepersonalizza set valpersonalizza='$n_stile_data' where idpersonalizza = 'stile_data' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2264-echo mex("Il formato di visualizzazione delle date è stato cambiato",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-2278-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/personalizza.php:2279:$num_categorie_persone = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'num_categorie_persone' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2280-$perc_cat_persone = risul_query($num_categorie_persone,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-2285-if ($lingua != "ita") {
hoteldruid-3.0.1/personalizza.php:2286:include("./includes/lang/$lingua/$pagina");
hoteldruid-3.0.1/personalizza.php-2287-} # fine if ($lingua != "ita")
##############################################
hoteldruid-3.0.1/personalizza.php-2306-else {
hoteldruid-3.0.1/personalizza.php:2307:$nomi_cat_pers = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'nomi_cat_pers_".aggslashdb($l_ling[$num2])."' and idutente = '$id_utente_mod' ");
hoteldruid-3.0.1/personalizza.php-2308-$nomi_cat_pers = risul_query($nomi_cat_pers,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-2319-while ($nome_presente[$n_nome_s.$num_corr] or $nome_presente[$n_nome_p.$num_corr]) $num_corr++;
hoteldruid-3.0.1/personalizza.php:2320:esegui_query("update $tablepersonalizza set valpersonalizza = '".aggslashdb($nomi_cat_pers."<".$n_nome_s.$num_corr.">".$n_nome_p.$num_corr)."' where idpersonalizza = 'nomi_cat_pers_".aggslashdb($l_ling[$num2])."' and idutente = '$id_utente_mod' ");
hoteldruid-3.0.1/personalizza.php-2321-} # fine else if ($num1 == 1)
##############################################
hoteldruid-3.0.1/personalizza.php-2330-for ($num2 = 0 ; $num2 <= $n_ling ; $num2++) {
hoteldruid-3.0.1/personalizza.php:2331:if ($nuovo_num_cat_presone == 1) esegui_query("delete from $tablepersonalizza where idpersonalizza = 'nomi_cat_pers_".aggslashdb($l_ling[$num2])."' and idutente = '$id_utente_mod' ");
hoteldruid-3.0.1/personalizza.php-2332-else {
hoteldruid-3.0.1/personalizza.php:2333:$nomi_cat_pers = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'nomi_cat_pers_".aggslashdb($l_ling[$num2])."' and idutente = '$id_utente_mod' ");
hoteldruid-3.0.1/personalizza.php-2334-$nomi_cat_pers = risul_query($nomi_cat_pers,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-2336-$nomi_cat_pers = substr($nomi_cat_pers,0,(-1 * (strlen($nomi_cat_pers_vett[(count($nomi_cat_pers_vett) - 1)]) + 1)));
hoteldruid-3.0.1/personalizza.php:2337:esegui_query("update $tablepersonalizza set valpersonalizza = '".aggslashdb($nomi_cat_pers)."' where idpersonalizza = 'nomi_cat_pers_".aggslashdb($l_ling[$num2])."' and idutente = '$id_utente_mod' ");
hoteldruid-3.0.1/personalizza.php-2338-} # fine else if ($nuovo_num_cat_presone == 1)
##############################################
hoteldruid-3.0.1/personalizza.php-2340-} # fine for $num1
hoteldruid-3.0.1/personalizza.php:2341:esegui_query("update $tablepersonalizza set valpersonalizza = '".aggslashdb($perc_cat_persone)."', valpersonalizza_num = '$nuovo_num_cat_presone' where idpersonalizza = 'num_categorie_persone' and idutente = '$id_utente_mod' ");
hoteldruid-3.0.1/personalizza.php-2342-echo "<br>".mex("Il numero di tipologie di persone è stato cambiato",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-2352-$tabelle_lock = lock_tabelle($tabelle_lock,$altre_tab_lock);
hoteldruid-3.0.1/personalizza.php:2353:$num_categorie_persone = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'num_categorie_persone' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2354-$perc_cat_persone = risul_query($num_categorie_persone,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-2401-$cambiato = 1;
hoteldruid-3.0.1/personalizza.php:2402:esegui_query("update $tablepersonalizza set valpersonalizza = '".aggslashdb($n_perc_cat_persone)."' where idpersonalizza = 'num_categorie_persone' and idutente = '$id_utente_mod' ");
hoteldruid-3.0.1/personalizza.php-2403-} # fine if ($n_perc_cat_persone != $perc_cat_persone)
##############################################
hoteldruid-3.0.1/personalizza.php-2405-$n_nomi_cat_pers[$num1] = substr($n_nomi_cat_pers[$num1],0,-1);
hoteldruid-3.0.1/personalizza.php:2406:$nomi_cat_pers = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'nomi_cat_pers_".aggslashdb($l_ling[$num1])."' and idutente = '$id_utente_mod' ");
hoteldruid-3.0.1/personalizza.php-2407-if (numlin_query($nomi_cat_pers)) $nomi_cat_pers = risul_query($nomi_cat_pers,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-2410-$cambiato = 1;
hoteldruid-3.0.1/personalizza.php:2411:esegui_query("update $tablepersonalizza set valpersonalizza = '".aggslashdb($n_nomi_cat_pers[$num1])."' where idpersonalizza = 'nomi_cat_pers_".aggslashdb($l_ling[$num1])."' and idutente = '$id_utente_mod' ");
hoteldruid-3.0.1/personalizza.php-2412-if (!$costi_agg_obsoleti) {
##############################################
hoteldruid-3.0.1/personalizza.php-2446-$tabelle_lock = lock_tabelle($tabelle_lock,$altre_tab_lock);
hoteldruid-3.0.1/personalizza.php:2447:esegui_query("update $tablepersonalizza set valpersonalizza = 'SI' where idpersonalizza = 'attiva_checkin' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2448-if ($id_utente == 1) {
##############################################
hoteldruid-3.0.1/personalizza.php-2457-if ($disattiva_checkin) {
hoteldruid-3.0.1/personalizza.php:2458:esegui_query("update $tablepersonalizza set valpersonalizza = 'NO' where idpersonalizza = 'attiva_checkin' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2459-echo mex("Registrazione degli orari di entrata ed uscita disattivata",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-2464-if ($ore_anticipa_periodo_corrente != "" and controlla_num($ore_anticipa_periodo_corrente) == "SI" and $ore_anticipa_periodo_corrente >= -224 and $ore_anticipa_periodo_corrente <= 999) {
hoteldruid-3.0.1/personalizza.php:2465:esegui_query("update $tablepersonalizza set valpersonalizza_num = '$ore_anticipa_periodo_corrente' where idpersonalizza = 'ore_anticipa_periodo_corrente' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2466-echo mex("Le ore di anticipo dell'inizio delle prenotazioni sono state cambiate",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-2471-$anchor = "liste_pers";
hoteldruid-3.0.1/personalizza.php:2472:$metodi_pagamento_int = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'metodi_pagamento' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2473-$metodi_pagamento_int = risul_query($metodi_pagamento_int,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-2501-} # fine if ($aggiungi_pagamento)
hoteldruid-3.0.1/personalizza.php:2502:if ($n_metodi_pagamento != $metodi_pagamento_int) esegui_query("update $tablepersonalizza set valpersonalizza = '$n_metodi_pagamento' where idpersonalizza = 'metodi_pagamento' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2503-} # fine if ($elimina_pagamento or $aggiungi_pagamento)
##############################################
hoteldruid-3.0.1/personalizza.php-2506-$anchor = "liste_pers";
hoteldruid-3.0.1/personalizza.php:2507:$origini_prenota_int = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'origini_prenota' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2508-$origini_prenota_int = risul_query($origini_prenota_int,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-2536-} # fine if ($aggiungi_origine)
hoteldruid-3.0.1/personalizza.php:2537:if ($n_origini_prenota != $origini_prenota_int) esegui_query("update $tablepersonalizza set valpersonalizza = '$n_origini_prenota' where idpersonalizza = 'origini_prenota' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2538-} # fine if ($elimina_origine or $aggiungi_origine)
##############################################
hoteldruid-3.0.1/personalizza.php-2543-$n_campo_comm = $nuovo_campo_comm;
hoteldruid-3.0.1/personalizza.php:2544:$campi_comm_q = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'campi_pers_comm' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2545-if (numlin_query($campi_comm_q) == 1) $campi_comm_int = risul_query($campi_comm_q,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-2582-if ($n_campi_comm != $campi_comm_int) {
hoteldruid-3.0.1/personalizza.php:2583:if (!$n_campi_comm) esegui_query("delete from $tablepersonalizza where idpersonalizza = 'campi_pers_comm' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2584-else {
hoteldruid-3.0.1/personalizza.php:2585:if (numlin_query($campi_comm_q) == 1) esegui_query("update $tablepersonalizza set valpersonalizza = '$n_campi_comm' where idpersonalizza = 'campi_pers_comm' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2586-else esegui_query("insert into $tablepersonalizza (idpersonalizza,valpersonalizza,idutente) values ('campi_pers_comm','".aggslashdb($n_campi_comm)."','$id_utente_mod')");
##############################################
hoteldruid-3.0.1/personalizza.php-2595-$tabelle_lock = lock_tabelle($tabelle_lock,$altre_tab_lock);
hoteldruid-3.0.1/personalizza.php:2596:$comb_app_q = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'comb_app' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2597-if (numlin_query($comb_app_q) == 1) $comb_app_int = risul_query($comb_app_q,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-2625-for ($num1 = 0 ; $num1 < count($n_comb_app_vett) ; $num1++) {
hoteldruid-3.0.1/personalizza.php:2626:$app_esistente = esegui_query("select idappartamenti from $tableappartamenti where idappartamenti = '".aggslashdb($n_comb_app_vett[$num1])."' ");
hoteldruid-3.0.1/personalizza.php-2627-if (numlin_query($app_esistente) == 1) $n_comb_app .= $n_comb_app_vett[$num1].",";
##############################################
hoteldruid-3.0.1/personalizza.php-2636-if ($n_comb_app_int != $comb_app_int) {
hoteldruid-3.0.1/personalizza.php:2637:if (!$n_comb_app_int) esegui_query("delete from $tablepersonalizza where idpersonalizza = 'comb_app' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2638-else {
hoteldruid-3.0.1/personalizza.php:2639:if (numlin_query($comb_app_q) == 1) esegui_query("update $tablepersonalizza set valpersonalizza = '".aggslashdb($n_comb_app_int)."' where idpersonalizza = 'comb_app' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2640-else esegui_query("insert into $tablepersonalizza (idpersonalizza,valpersonalizza,idutente) values ('comb_app','".aggslashdb($n_comb_app_int)."','$id_utente_mod')");
##############################################
hoteldruid-3.0.1/personalizza.php-2649-$n_titolo_cliente = $nuovo_titolo_cliente;
hoteldruid-3.0.1/personalizza.php:2650:$titoli_cliente_q = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'titoli_cliente' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2651-if (numlin_query($titoli_cliente_q) == 1) $titoli_cliente_int = risul_query($titoli_cliente_q,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-2678-if ($n_titoli_cliente != $titoli_cliente_int) {
hoteldruid-3.0.1/personalizza.php:2679:if (!$n_titoli_cliente) esegui_query("delete from $tablepersonalizza where idpersonalizza = 'titoli_cliente' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2680-else {
hoteldruid-3.0.1/personalizza.php:2681:if (numlin_query($titoli_cliente_q) == 1) esegui_query("update $tablepersonalizza set valpersonalizza = '$n_titoli_cliente' where idpersonalizza = 'titoli_cliente' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2682-else esegui_query("insert into $tablepersonalizza (idpersonalizza,valpersonalizza,idutente) values ('titoli_cliente','".aggslashdb($n_titoli_cliente)."','$id_utente_mod')");
##############################################
hoteldruid-3.0.1/personalizza.php-2690-$n_campo_cliente = $nuovo_campo_cliente;
hoteldruid-3.0.1/personalizza.php:2691:$campi_clienti_q = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'campi_pers_cliente' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2692-if (numlin_query($campi_clienti_q) == 1) $campi_cliente_int = risul_query($campi_clienti_q,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-2730-if ($n_campi_cliente != $campi_cliente_int) {
hoteldruid-3.0.1/personalizza.php:2731:if (!$n_campi_cliente) esegui_query("delete from $tablepersonalizza where idpersonalizza = 'campi_pers_cliente' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2732-else {
hoteldruid-3.0.1/personalizza.php:2733:if (numlin_query($campi_clienti_q) == 1) esegui_query("update $tablepersonalizza set valpersonalizza = '$n_campi_cliente' where idpersonalizza = 'campi_pers_cliente' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2734-else esegui_query("insert into $tablepersonalizza (idpersonalizza,valpersonalizza,idutente) values ('campi_pers_cliente','".aggslashdb($n_campi_cliente)."','$id_utente_mod')");
##############################################
hoteldruid-3.0.1/personalizza.php-2764-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/personalizza.php:2765:$num_rel = esegui_query("select * from $tablerel where nome_$rel_sing = '".$$rel_da_eliminare."' ");
hoteldruid-3.0.1/personalizza.php-2766-if (numlin_query($num_rel)) {
##############################################
hoteldruid-3.0.1/personalizza.php-2786-if ($giorno_vedi_ini_sett < 1 or $giorno_vedi_ini_sett > 6 or strlen($giorno_vedi_ini_sett) != 1) $giorno_vedi_ini_sett = 0;
hoteldruid-3.0.1/personalizza.php:2787:if ($giorno_vedi_ini_sett == 0) esegui_query("delete from $tablepersonalizza where idpersonalizza = 'giorno_vedi_ini_sett$anno' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2788-else {
hoteldruid-3.0.1/personalizza.php:2789:$vecchio_giorno = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'giorno_vedi_ini_sett$anno' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php:2790:if (numlin_query($vecchio_giorno) == 1) esegui_query("update $tablepersonalizza set valpersonalizza_num = '$giorno_vedi_ini_sett' where idpersonalizza = 'giorno_vedi_ini_sett$anno' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2791-else {
hoteldruid-3.0.1/personalizza.php:2792:if (numlin_query($vecchio_giorno) > 1) esegui_query("delete from $tablepersonalizza where idpersonalizza = 'giorno_vedi_ini_sett$anno' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2793-esegui_query("insert into $tablepersonalizza (idpersonalizza,valpersonalizza_num,idutente) values ('giorno_vedi_ini_sett$anno','$giorno_vedi_ini_sett','$id_utente_mod')");
##############################################
hoteldruid-3.0.1/personalizza.php-2812-$data_fineperiodo = $fineperiodo;
hoteldruid-3.0.1/personalizza.php:2813:$idinizioperiodo = esegui_query("select idperiodi from $tableperiodi where datainizio = '$inizioperiodo' ");
hoteldruid-3.0.1/personalizza.php-2814-$num_idinizioperiodo = numlin_query($idinizioperiodo);
##############################################
hoteldruid-3.0.1/personalizza.php-2817-$inizioperiodo = $idinizioperiodo;
hoteldruid-3.0.1/personalizza.php:2818:$idfineperiodo = esegui_query("select idperiodi from $tableperiodi where datafine = '$fineperiodo' ");
hoteldruid-3.0.1/personalizza.php-2819-$num_idfineperiodo = numlin_query($idfineperiodo);
##############################################
hoteldruid-3.0.1/personalizza.php-2841-$date_parziali = 0;
hoteldruid-3.0.1/personalizza.php:2842:$tipo_periodi = esegui_query("select * from $tableanni where idanni = '$anno'");
hoteldruid-3.0.1/personalizza.php-2843-$tipo_periodi = risul_query($tipo_periodi,0,'tipo_periodi');
##############################################
hoteldruid-3.0.1/personalizza.php-2857-$data_option = aggslashdb(substr($file_intero[$num2],16,10));
hoteldruid-3.0.1/personalizza.php:2858:$id_data_option = esegui_query("select idperiodi from $tableperiodi where datainizio = '$data_option' ");
hoteldruid-3.0.1/personalizza.php-2859-$esiste_data_option = numlin_query($id_data_option);
##############################################
hoteldruid-3.0.1/personalizza.php-2861-else {
hoteldruid-3.0.1/personalizza.php:2862:$id_data_option = esegui_query("select idperiodi from $tableperiodi where datafine = '$data_option' ");
hoteldruid-3.0.1/personalizza.php-2863-$id_data_option = risul_query($id_data_option,0,'idperiodi');
##############################################
hoteldruid-3.0.1/personalizza.php-2945-if ($colonna_utenteinserimento == "SI") $col_tab_tutte_prenota .= "ui#@&";
hoteldruid-3.0.1/personalizza.php:2946:$campi_pers_comm = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'campi_pers_comm' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2947-if (numlin_query($campi_pers_comm) == 1) $campi_pers_comm = risul_query($campi_pers_comm,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-2983-if ($col_tab_tutte_prenota) $col_tab_tutte_prenota = substr($col_tab_tutte_prenota,0,-3);
hoteldruid-3.0.1/personalizza.php:2984:esegui_query("update $tablepersonalizza set valpersonalizza = '$col_tab_tutte_prenota' where idpersonalizza = 'col_tab_tutte_prenota' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-2985-echo mex("Le colonne sono state cambiate",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-3007-if ($colonna_utenteinserimento == "SI") $col_gruppo .= "ui#?&";
hoteldruid-3.0.1/personalizza.php:3008:$campi_pers_comm = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'campi_pers_comm' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3009-if (numlin_query($campi_pers_comm) == 1) $campi_pers_comm = risul_query($campi_pers_comm,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-3041-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/personalizza.php:3042:$col_tab_tutte_prenota = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'col_tab_tutte_prenota' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3043-$col_tab_tutte_prenota = risul_query($col_tab_tutte_prenota,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-3048-$col_tab_tutte_prenota .= "gr#?&$soprannome_col_gruppo#?&$spazio#?&".$col_gruppo;
hoteldruid-3.0.1/personalizza.php:3049:esegui_query("update $tablepersonalizza set valpersonalizza = '$col_tab_tutte_prenota' where idpersonalizza = 'col_tab_tutte_prenota' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3050-echo mex("La colonna gruppo è stata aggiunta",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-3056-$anchor = "tab_pren";
hoteldruid-3.0.1/personalizza.php:3057:$col_tab_tutte_prenota = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'col_tab_tutte_prenota' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3058-$col_tab_tutte_prenota = risul_query($col_tab_tutte_prenota,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-3083-$nuove_col_tab_tutte_prenota = substr($nuove_col_tab_tutte_prenota,3);
hoteldruid-3.0.1/personalizza.php:3084:if ($nuove_col_tab_tutte_prenota != $col_tab_tutte_prenota) esegui_query("update $tablepersonalizza set valpersonalizza = '$nuove_col_tab_tutte_prenota' where idpersonalizza = 'col_tab_tutte_prenota' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3085-echo mex("Le colonne necessarie sono state cambiate",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-3095-if ($rig_tab_tutte_prenota) $rig_tab_tutte_prenota = substr($rig_tab_tutte_prenota,0,-3);
hoteldruid-3.0.1/personalizza.php:3096:esegui_query("update $tablepersonalizza set valpersonalizza = '$rig_tab_tutte_prenota' where idpersonalizza = 'rig_tab_tutte_prenota' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3097-echo mex("Le righe aggiuntive sono state cambiate",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-3102-$aggiorna = "SI";
hoteldruid-3.0.1/personalizza.php:3103:$num_righe_tab_tutte_prenota = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'num_righe_tab_tutte_prenota' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3104-$num_righe_tab_tutte_prenota = risul_query($num_righe_tab_tutte_prenota,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/personalizza.php-3110-if ($aggiorna != "NO") {
hoteldruid-3.0.1/personalizza.php:3111:esegui_query("update $tablepersonalizza set valpersonalizza_num = '$n_num_righe_tab_tutte_prenota' where idpersonalizza = 'num_righe_tab_tutte_prenota' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3112-echo mex("Il numero delle righe della tabella con tutte le prenotazioni è stato cambiato",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-3118-if ($n_selezione_tab_tutte_prenota == "tutte" or $n_selezione_tab_tutte_prenota == "correnti" or $n_selezione_tab_tutte_prenota == "future" or $n_selezione_tab_tutte_prenota == "partcorr") {
hoteldruid-3.0.1/personalizza.php:3119:esegui_query("update $tablepersonalizza set valpersonalizza = '$n_selezione_tab_tutte_prenota' where idpersonalizza = 'selezione_tab_tutte_prenota' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3120-echo mex("La selezione predefinita delle prenotazioni nella tabella con tutte le prenotazioni è stata cambiata",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-3126-if (controlla_num($nuova_aggiunta_tronca) == "NO" or $nuova_aggiunta_tronca < -4 or $nuova_aggiunta_tronca > 3) $nuova_aggiunta_tronca = 0;
hoteldruid-3.0.1/personalizza.php:3127:esegui_query("update $tablepersonalizza set valpersonalizza_num = '$nuova_aggiunta_tronca' where idpersonalizza = 'aggiunta_tronca_nomi_tab1' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3128-echo mex("La lunghezza dei cognomi nelle tabelle dei mesi è stata cambiata",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-3136-$num_linee_tab2_prenota = $num_appartamenti * ($num_tab2_prenota + 1) -1;
hoteldruid-3.0.1/personalizza.php:3137:esegui_query("update $tablepersonalizza set valpersonalizza_num = '$num_linee_tab2_prenota' where idpersonalizza = 'num_linee_tab2_prenota' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3138-echo mex("Il numero di tabelle è stato cambiato",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-3143-if ($mostra_giorni_tab_mesi != "SI") $mostra_giorni_tab_mesi = "NO";
hoteldruid-3.0.1/personalizza.php:3144:esegui_query("update $tablepersonalizza set valpersonalizza = '$mostra_giorni_tab_mesi' where idpersonalizza = 'mostra_giorni_tab_mesi' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3145-echo mex("I giorni da mostrare nella tabella dei mesi sono stati cambiati",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-3152-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/personalizza.php:3153:$allinea_tab_mesi_v = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'allinea_tab_mesi' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3154-if (numlin_query($allinea_tab_mesi_v) == 1) $allinea_tab_mesi_v = risul_query($allinea_tab_mesi_v,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-3156-if ($allinea_tab_mesi == "NO") {
hoteldruid-3.0.1/personalizza.php:3157:esegui_query("delete from $tablepersonalizza where idpersonalizza = 'allinea_tab_mesi' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3158-echo mex("L'allineamento dei giorni con la disponibilità nella tabella dei mesi è stato cambiato",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-3191-else {
hoteldruid-3.0.1/personalizza.php:3192:esegui_query("update $tablepersonalizza set valpersonalizza = '$colore_sel_1,$colore_sel_2,$colore_sel_3,$colore_sel_4' where idpersonalizza = 'colori_tab_mesi' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3193-echo mex("I colori delle prenotazioni sono stati cambiati",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-3199-if (controlla_num_pos($linee_ripeti_date) == "NO" or $linee_ripeti_date == 0) $linee_ripeti_date = 25;
hoteldruid-3.0.1/personalizza.php:3200:esegui_query("update $tablepersonalizza set valpersonalizza_num = '$linee_ripeti_date' where idpersonalizza = 'linee_ripeti_date_tab_mesi' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3201-echo mex("Il numero  di righe dopo cui ripetere la riga delle date è stato cambiato",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-3206-$aggiorna = "SI";
hoteldruid-3.0.1/personalizza.php:3207:$num_righe_tab_tutti_clienti = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'num_righe_tab_tutti_clienti' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3208-$num_righe_tab_tutti_clienti = risul_query($num_righe_tab_tutti_clienti,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/personalizza.php-3214-if ($aggiorna != "NO") {
hoteldruid-3.0.1/personalizza.php:3215:esegui_query("update $tablepersonalizza set valpersonalizza_num = '$n_num_righe_tab_tutti_clienti' where idpersonalizza = 'num_righe_tab_tutti_clienti' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3216-echo mex("Il numero delle righe della tabella con tutti i clienti è stato cambiato",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-3230-$campi_cerca_clienti = substr($campi_cerca_clienti,0,-1);
hoteldruid-3.0.1/personalizza.php:3231:if (!$campi_cerca_clienti) esegui_query("delete from $tablepersonalizza where idpersonalizza = 'campi_cerca_clienti' and idutente = '$id_utente_mod' ");
hoteldruid-3.0.1/personalizza.php-3232-else {
hoteldruid-3.0.1/personalizza.php:3233:$ccc_esist = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'campi_cerca_clienti' and idutente = '$id_utente_mod' ");
hoteldruid-3.0.1/personalizza.php:3234:if (numlin_query($ccc_esist)) esegui_query("update $tablepersonalizza set valpersonalizza = '$campi_cerca_clienti' where idpersonalizza = 'campi_cerca_clienti' and idutente = '$id_utente_mod' ");
hoteldruid-3.0.1/personalizza.php-3235-else esegui_query("insert into $tablepersonalizza (idpersonalizza,idutente,valpersonalizza) values ('campi_cerca_clienti','$id_utente_mod','$campi_cerca_clienti') ");
##############################################
hoteldruid-3.0.1/personalizza.php-3246-if (!strcmp($server_email_tm,"")) {
hoteldruid-3.0.1/personalizza.php:3247:esegui_query("delete from $tablepersonalizza where idpersonalizza = 'server_email_tab_messaggi' and idutente = '$id_utente_mod' ");
hoteldruid-3.0.1/personalizza.php-3248-$cancella_cache = 1;
##############################################
hoteldruid-3.0.1/personalizza.php-3278-$n_server_email_tm .= "#@#$therad_email_tm#@#$mittente_email_tm#@#$oggetto_email_tm";
hoteldruid-3.0.1/personalizza.php:3279:$server_email_tab_messaggi = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'server_email_tab_messaggi' and idutente = '$id_utente_mod' ");
hoteldruid-3.0.1/personalizza.php-3280-if (numlin_query($server_email_tab_messaggi)) {
##############################################
hoteldruid-3.0.1/personalizza.php-3282-if ($server_email_tm != $d_server[0] or $username_email_tm != $d_server[1]) $cancella_cache = 1;
hoteldruid-3.0.1/personalizza.php:3283:esegui_query("update $tablepersonalizza set valpersonalizza = '".aggslashdb($n_server_email_tm)."' where idpersonalizza = 'server_email_tab_messaggi' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3284-} # fine if (numlin_query($server_email_tab_messaggi))
##############################################
hoteldruid-3.0.1/personalizza.php-3287-} # fine else if (!strcmp($server_email_tm,""))
hoteldruid-3.0.1/personalizza.php:3288:if ($cancella_cache) esegui_query("delete from $tablecache where numero = '$id_utente_mod' and tipo = 'messv_em' ");
hoteldruid-3.0.1/personalizza.php-3289-unlock_tabelle($tabelle_lock);
##############################################
hoteldruid-3.0.1/personalizza.php-3295-$aggiorna = "SI";
hoteldruid-3.0.1/personalizza.php:3296:$num_righe_tab_messaggi = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'num_righe_tab_messaggi' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3297-$num_righe_tab_messaggi = risul_query($num_righe_tab_messaggi,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/personalizza.php-3303-if ($aggiorna != "NO") {
hoteldruid-3.0.1/personalizza.php:3304:esegui_query("update $tablepersonalizza set valpersonalizza_num = '$n_num_righe_tab_messaggi' where idpersonalizza = 'num_righe_tab_messaggi' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3305-echo mex("Il numero di righe della tabella dei messaggi è stato cambiato",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-3311-$aggiorna = "SI";
hoteldruid-3.0.1/personalizza.php:3312:$num_righe_tab_casse = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'num_righe_tab_casse' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3313-$num_righe_tab_casse = risul_query($num_righe_tab_casse,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/personalizza.php-3319-if ($aggiorna != "NO") {
hoteldruid-3.0.1/personalizza.php:3320:esegui_query("update $tablepersonalizza set valpersonalizza_num = '$n_num_righe_tab_casse' where idpersonalizza = 'num_righe_tab_casse' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3321-echo mex("Il numero delle righe delle tabelle con le casse è stato cambiato",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-3331-$totali_tab_casse = substr($totali_tab_casse,0,-1);
hoteldruid-3.0.1/personalizza.php:3332:esegui_query("update $tablepersonalizza set valpersonalizza = '$totali_tab_casse' where idpersonalizza = 'tot_giornalero_tab_casse' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3333-echo mex("Le righe da mostrare nelle tabelle delle casse sono state cambiate",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-3338-$aggiorna = "SI";
hoteldruid-3.0.1/personalizza.php:3339:$num_righe_tab_storia_soldi = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'num_righe_tab_storia_soldi' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3340-$num_righe_tab_storia_soldi = risul_query($num_righe_tab_storia_soldi,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/personalizza.php-3346-if ($aggiorna != "NO") {
hoteldruid-3.0.1/personalizza.php:3347:esegui_query("update $tablepersonalizza set valpersonalizza_num = '$n_num_righe_tab_storia_soldi' where idpersonalizza = 'num_righe_tab_storia_soldi' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3348-echo mex("Il numero delle righe della tabella con la storia delle entrate e delle uscite è stato cambiato",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-3353-$anchor = "pos_inv";
hoteldruid-3.0.1/personalizza.php:3354:$ordine_inventario = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'ordine_inventario' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3355-$ordine_inventario = risul_query($ordine_inventario,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-3357-if ($ordine_inventario != $n_ordine_inventario) {
hoteldruid-3.0.1/personalizza.php:3358:esegui_query("update $tablepersonalizza set valpersonalizza = '$n_ordine_inventario' where idpersonalizza = 'ordine_inventario' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3359-echo mex("L'ordinamento nell'inventario e nel punto vendita è stato cambiato",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-3377-$tasti_pos = substr($tasti_pos,0,-1);
hoteldruid-3.0.1/personalizza.php:3378:esegui_query("update $tablepersonalizza set valpersonalizza = '$tasti_pos' where idpersonalizza = 'tasti_pos' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3379-echo mex("I tasti per operazioni nel punto vendita sono stati cambiati",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-3384-$aggiorna = "SI";
hoteldruid-3.0.1/personalizza.php:3385:$num_righe_tab_doc_salvati = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'num_righe_tab_doc_salvati' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3386-$num_righe_tab_doc_salvati = risul_query($num_righe_tab_doc_salvati,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/personalizza.php-3392-if ($aggiorna != "NO") {
hoteldruid-3.0.1/personalizza.php:3393:esegui_query("update $tablepersonalizza set valpersonalizza_num = '$n_num_righe_tab_doc_salvati' where idpersonalizza = 'num_righe_tab_doc_salvati' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3394-echo mex("Il numero delle righe della tabella con i documenti salvati è stato cambiato",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-3413-if ($nomi_contratti) $nomi_contratti = substr($nomi_contratti,0,-3);
hoteldruid-3.0.1/personalizza.php:3414:esegui_query("update $tablepersonalizza set valpersonalizza = '$nomi_contratti' where idpersonalizza = 'nomi_contratti' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3415-echo mex("I nomi dei documenti sono stati cambiati",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-3420-$utente_importa_contratti = aggslashdb($utente_importa_contratti);
hoteldruid-3.0.1/personalizza.php:3421:$nomi_contratti = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'nomi_contratti' and idutente = '$utente_importa_contratti'");
hoteldruid-3.0.1/personalizza.php-3422-if (numlin_query($nomi_contratti) == 1) {
hoteldruid-3.0.1/personalizza.php-3423-$nomi_contratti = risul_query($nomi_contratti,0,'valpersonalizza');
hoteldruid-3.0.1/personalizza.php:3424:esegui_query("update $tablepersonalizza set valpersonalizza = '".aggslashdb($nomi_contratti)."' where idpersonalizza = 'nomi_contratti' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3425-echo mex("I nomi dei documenti sono stati cambiati",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-3431-if ($mostra_quadro_disp != "app" and $mostra_quadro_disp != "reg2" and $mostra_quadro_disp != "pers") $mostra_quadro_disp = "";
hoteldruid-3.0.1/personalizza.php:3432:$pers_presente = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'mostra_quadro_disp' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3433-if (numlin_query($pers_presente) == 0) esegui_query("insert into $tablepersonalizza (idpersonalizza,idutente,valpersonalizza) values ('mostra_quadro_disp','$id_utente_mod','$mostra_quadro_disp')");
hoteldruid-3.0.1/personalizza.php:3434:else esegui_query("update $tablepersonalizza set valpersonalizza = '$mostra_quadro_disp' where idpersonalizza = 'mostra_quadro_disp' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/personalizza.php-3435-echo mex("Il modo di visualizzazione del quadro di disponibilità è stato cambiato",$pag).".<br>";
##############################################
hoteldruid-3.0.1/personalizza.php-3468-if (@is_file($file_interconnessioni)) {
hoteldruid-3.0.1/personalizza.php:3469:include($file_interconnessioni);
hoteldruid-3.0.1/personalizza.php-3470-if (@is_array($ic_present)) {
##############################################
hoteldruid-3.0.1/personalizza.php-3474-if ($mod_ext != "." and $mod_ext != ".." and @is_dir("./includes/interconnect/$mod_ext")) {
hoteldruid-3.0.1/personalizza.php:3475:include("./includes/interconnect/$mod_ext/name.php");
hoteldruid-3.0.1/personalizza.php-3476-if ($ic_present[$interconnection_name] == "SI") {
##############################################
hoteldruid-3.0.1/personalizza.php-3654-if ($invia_cc and !strstr($ext_html,"creadb.php")) {
hoteldruid-3.0.1/personalizza.php:3655:include_once("./includes/funzioni_$PHPR_DB_TYPE"."_extra.php");
hoteldruid-3.0.1/personalizza.php-3656-include("./includes/funzioni_backup.php");
##############################################
hoteldruid-3.0.1/personalizza.php-3823-if (substr($log_vett[0],2)) {
hoteldruid-3.0.1/personalizza.php:3824:$nome_gruppo_log = esegui_query("select nome_gruppo from $tablegruppi where idgruppi = '".substr($log_vett[0],2)."' ");
hoteldruid-3.0.1/personalizza.php-3825-if (numlin_query($nome_gruppo_log)) echo mex("dal gruppo",$pag)." <em>".risul_query($nome_gruppo_log,0,'nome_gruppo')."</em>";
##############################################
hoteldruid-3.0.1/personalizza.php-3827-else {
hoteldruid-3.0.1/personalizza.php:3828:$nome_utente_log = esegui_query("select nome_utente from $tableutenti where idutenti = '".$log_vett[1]."' ");
hoteldruid-3.0.1/personalizza.php-3829-if (numlin_query($nome_utente_log)) echo mex("dall'utente",$pag)." <em>".risul_query($nome_utente_log,0,'nome_utente')."</em>";
##############################################
hoteldruid-3.0.1/personalizza.php-3938-if ($lingua_mex == "ita") include("./includes/unit.php");
hoteldruid-3.0.1/personalizza.php:3939:else include("./includes/lang/$lingua_mex/unit.php");
hoteldruid-3.0.1/personalizza.php-3940-echo "<table cellspacing=\"0\"><tr><td><form accept-charset=\"utf-8\" method=\"post\" action=\"./personalizza.php\"><div>
##############################################
hoteldruid-3.0.1/personalizza.php-3998-if ($lingua_mex == "ita") include("./includes/unit.php");
hoteldruid-3.0.1/personalizza.php:3999:else include("./includes/lang/$lingua_mex/unit.php");
hoteldruid-3.0.1/personalizza.php-4000-echo "<tr><td><form accept-charset=\"utf-8\" method=\"post\" action=\"./personalizza.php\"><div>
##############################################
hoteldruid-3.0.1/personalizza.php-4094-$id_gruppo_mod = substr($id_utente_mod,2);
hoteldruid-3.0.1/personalizza.php:4095:$dati_gruppo = esegui_query("select nome_gruppo from $tablegruppi where idgruppi = '".aggslashdb($id_gruppo_mod)."' ");
hoteldruid-3.0.1/personalizza.php-4096-if (numlin_query($dati_gruppo) == 1) $nome_gruppo = risul_query($dati_gruppo,0,'nome_gruppo');
##############################################
hoteldruid-3.0.1/personalizza.php-4098-echo "<big>".mex("Personalizzazioni del gruppo",$pag)." <b>$nome_gruppo</b>.</big><br>";
hoteldruid-3.0.1/personalizza.php:4099:$id_utenti = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$id_gruppo_mod' order by idutente");
hoteldruid-3.0.1/personalizza.php-4100-$nomi_utenti = "";
##############################################
hoteldruid-3.0.1/personalizza.php-4102-$id_utente_gr = risul_query($id_utenti,$num1,'idutente');
hoteldruid-3.0.1/personalizza.php:4103:$nome_utente_gr = esegui_query("select nome_utente from $tableutenti where idutenti = '$id_utente_gr'");
hoteldruid-3.0.1/personalizza.php-4104-$nomi_utenti .= risul_query($nome_utente_gr,0,'nome_utente').",";
##############################################
hoteldruid-3.0.1/personalizza.php-4131-if (substr($id_utente_mod,0,2) == "gr") {
hoteldruid-3.0.1/personalizza.php:4132:$id_utente_sel = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$id_gruppo_mod' order by idutente");
hoteldruid-3.0.1/personalizza.php-4133-$id_utente_sel = risul_query($id_utente_sel,0,'idutente');
##############################################
hoteldruid-3.0.1/personalizza.php-4173-if ($ini_tema != "." && $ini_tema != "..") {
hoteldruid-3.0.1/personalizza.php:4174:include("./themes/$ini_tema/php/name.php");
hoteldruid-3.0.1/personalizza.php-4175-if ($theme_name[$lingua_mex]) $nome_tema = $theme_name[$lingua_mex];
##############################################
hoteldruid-3.0.1/personalizza.php-4208-<input type=\"hidden\" name=\"cambiaarrotonda\" value=\"1\">";
hoteldruid-3.0.1/personalizza.php:4209:$arrotond_predef = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'arrotond_predef' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-4210-$arrotond_predef = virgola_in_num(risul_query($arrotond_predef,0,'valpersonalizza'),$stile_soldi);
##############################################
hoteldruid-3.0.1/personalizza.php-4225-<input type=\"hidden\" name=\"cambiaarrtasse\" value=\"SI\">";
hoteldruid-3.0.1/personalizza.php:4226:$arrotond_tasse = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'arrotond_tasse' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-4227-$arrotond_tasse = virgola_in_num(risul_query($arrotond_tasse,0,'valpersonalizza'),$stile_soldi);
##############################################
hoteldruid-3.0.1/personalizza.php-4318-<td align=\"center\">".mex("Formato di visualizzazione delle date",$pag).":</td>";
hoteldruid-3.0.1/personalizza.php:4319:$stile_data = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'stile_data' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-4320-$stile_data = risul_query($stile_data,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-4330-
hoteldruid-3.0.1/personalizza.php:4331:$perc_cat_persone = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'num_categorie_persone' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-4332-$num_categorie_persone = risul_query($perc_cat_persone,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/personalizza.php-4395-for ($num2 = 0 ; $num2 <= $n_ling ; $num2++) {
hoteldruid-3.0.1/personalizza.php:4396:$nomi_cat_pers[$num2] = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'nomi_cat_pers_".aggslashdb($l_ling[$num2])."' and idutente = '$id_utente_sel' ");
hoteldruid-3.0.1/personalizza.php-4397-$nomi_cat_pers[$num2] = explode("<",risul_query($nomi_cat_pers[$num2],0,'valpersonalizza'));
##############################################
hoteldruid-3.0.1/personalizza.php-4441-<input type=\"hidden\" name=\"aggiorna_qualcosa\" value=\"SI\">";
hoteldruid-3.0.1/personalizza.php:4442:$attiva_checkin = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'attiva_checkin' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-4443-$attiva_checkin = risul_query($attiva_checkin,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-4458-<input type=\"hidden\" name=\"aggiorna_qualcosa\" value=\"SI\">";
hoteldruid-3.0.1/personalizza.php:4459:$ore_anticipa_periodo_corrente = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'ore_anticipa_periodo_corrente' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-4460-$ore_anticipa_periodo_corrente = risul_query($ore_anticipa_periodo_corrente,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/personalizza.php-4471-<input type=\"hidden\" name=\"aggiorna_qualcosa\" value=\"SI\">";
hoteldruid-3.0.1/personalizza.php:4472:$metodi_pagamento = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'metodi_pagamento' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-4473-$metodi_pagamento = risul_query($metodi_pagamento,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-4490-<input type=\"hidden\" name=\"aggiorna_qualcosa\" value=\"SI\">";
hoteldruid-3.0.1/personalizza.php:4491:$origini_prenota = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'origini_prenota' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-4492-$origini_prenota = risul_query($origini_prenota,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-4509-<input type=\"hidden\" name=\"aggiorna_qualcosa\" value=\"SI\">";
hoteldruid-3.0.1/personalizza.php:4510:$campi_pers_comm = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'campi_pers_comm' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-4511-if (numlin_query($campi_pers_comm) == 1) $campi_pers_comm = risul_query($campi_pers_comm,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-4533-<input type=\"hidden\" name=\"aggiorna_qualcosa\" value=\"SI\">";
hoteldruid-3.0.1/personalizza.php:4534:$comb_app = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'comb_app' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-4535-if (numlin_query($comb_app) == 1) $comb_app = risul_query($comb_app,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-4561-<input type=\"hidden\" name=\"aggiorna_qualcosa\" value=\"SI\">";
hoteldruid-3.0.1/personalizza.php:4562:$titoli_cliente = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'titoli_cliente' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-4563-if (numlin_query($titoli_cliente) == 1) $titoli_cliente = risul_query($titoli_cliente,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-4591-<input type=\"hidden\" name=\"aggiorna_qualcosa\" value=\"SI\">";
hoteldruid-3.0.1/personalizza.php:4592:$campi_pers_cliente = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'campi_pers_cliente' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-4593-if (numlin_query($campi_pers_cliente) == 1) $campi_pers_cliente = risul_query($campi_pers_cliente,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-4630-if ($rel_sup_sing) {
hoteldruid-3.0.1/personalizza.php:4631:$rel_sup_utente = esegui_query("select distinct $tablerel_sup.nome_$rel_sup_sing from $tablerelutenti inner join $tablerel_sup on $tablerelutenti.id$rel_sup_sing = $tablerel_sup.id$rel_sup_plur where $tablerelutenti.idutente = '$id_utente_sel' order by $tablerel_sup.nome_$rel_sup_sing");
hoteldruid-3.0.1/personalizza.php-4632-$num_rel_sup_utente = numlin_query($rel_sup_utente);
##############################################
hoteldruid-3.0.1/personalizza.php-4636-} # fine for $num1
hoteldruid-3.0.1/personalizza.php:4637:$rel_sup_esist = esegui_query("select id$rel_sing from $tablerelutenti where id$rel_sing is not NULL and idsup is not NULL and idutente = '$id_utente_sel' limit 1");
hoteldruid-3.0.1/personalizza.php-4638-if (numlin_query($rel_sup_esist) > 0) {
##############################################
hoteldruid-3.0.1/personalizza.php-4647-<b id=\"b_$rel_sing"."_da_eliminare\" style=\"font-weight: normal;\">";
hoteldruid-3.0.1/personalizza.php:4648:$rel_utente = esegui_query("select distinct $tablerel.nome_$rel_sing,$tablerel.codice_$rel_sing,$tablerel.codice2_$rel_sing,$tablerel.codice3_$rel_sing from $tablerelutenti inner join $tablerel on $tablerelutenti.id$rel_sing = $tablerel.id$rel_plur where $tablerelutenti.idutente = '$id_utente_sel' and $tablerelutenti.idsup is NULL order by $tablerel.nome_$rel_sing");
hoteldruid-3.0.1/personalizza.php-4649-$num_rel_utente = numlin_query($rel_utente);
##############################################
hoteldruid-3.0.1/personalizza.php-4671-if ($mostra_sup != "SI") {
hoteldruid-3.0.1/personalizza.php:4672:$rel_utente = esegui_query("select distinct $tablerel.nome_$rel_sing,$tablerel.codice_$rel_sing,$tablerel.codice2_$rel_sing,$tablerel.codice3_$rel_sing from $tablerelutenti inner join $tablerel on $tablerelutenti.id$rel_sing = $tablerel.id$rel_plur where $tablerelutenti.idutente = '$id_utente_sel' order by $tablerel.nome_$rel_sing");
hoteldruid-3.0.1/personalizza.php-4673-$num_rel_utente = numlin_query($rel_utente);
##############################################
hoteldruid-3.0.1/personalizza.php-4744-else $readonly = "";
hoteldruid-3.0.1/personalizza.php:4745:$dati_strut = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'dati_struttura' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-4746-$dati_strut = risul_query($dati_strut,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-4773-if ($dati_strut[6]) {
hoteldruid-3.0.1/personalizza.php:4774:$id_sup = esegui_query("select idnazioni from $tablenazioni where nome_nazione = '".aggslashdb($dati_strut[6])."' ");
hoteldruid-3.0.1/personalizza.php-4775-if (numlin_query($id_sup)) $id_sup_sel = risul_query($id_sup,0,'idnazioni');
##############################################
hoteldruid-3.0.1/personalizza.php-4784-if ($dati_strut[16]) {
hoteldruid-3.0.1/personalizza.php:4785:$id_sup = esegui_query("select idregioni from $tableregioni where nome_regione = '".aggslashdb($dati_strut[16])."' ");
hoteldruid-3.0.1/personalizza.php-4786-if (numlin_query($id_sup)) $id_sup_sel = risul_query($id_sup,0,'idregioni');
##############################################
hoteldruid-3.0.1/personalizza.php-4820-<input type=\"hidden\" name=\"aggiorna_qualcosa\" value=\"SI\">";
hoteldruid-3.0.1/personalizza.php:4821:$giorno_vedi_ini_sett = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'giorno_vedi_ini_sett$anno' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-4822-if (numlin_query($giorno_vedi_ini_sett) == 1) $giorno_vedi_ini_sett = risul_query($giorno_vedi_ini_sett,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/personalizza.php-4853-".mex("nei menù a tendina",$pag).":</td><td>";
hoteldruid-3.0.1/personalizza.php:4854:if (@is_file(C_DATI_PATH."/selperiodimenu$anno.$id_utente_sel.php")) include(C_DATI_PATH."/selperiodimenu$anno.$id_utente_sel.php");
hoteldruid-3.0.1/personalizza.php-4855-$incrementi_date = $d_increment;
##############################################
hoteldruid-3.0.1/personalizza.php-4890-$data_fine_periodi = risul_query($data_fine_periodi,0,0);
hoteldruid-3.0.1/personalizza.php:4891:$data_fine_periodi = esegui_query("select * from $tableperiodi where idperiodi = $data_fine_periodi");
hoteldruid-3.0.1/personalizza.php-4892-$data_fine_periodi = risul_query($data_fine_periodi,0,'datainizio');
##############################################
hoteldruid-3.0.1/personalizza.php-4921-if (defined('C_CANCELLA_ANNO_ATTUALE') and C_CANCELLA_ANNO_ATTUALE == "NO" and $anno != $anno_attuale) {
hoteldruid-3.0.1/personalizza.php:4922:$anno_attuale_esistente = esegui_query("select * from $tableanni where idanni = $anno_attuale");
hoteldruid-3.0.1/personalizza.php-4923-if (numlin_query($anno_attuale_esistente) == 0) $anno_attuale = $anno;
##############################################
hoteldruid-3.0.1/personalizza.php-4944-".mex("Scegli le colonne da far comparire",$pag).":";
hoteldruid-3.0.1/personalizza.php:4945:$col_tab_tutte_prenota = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'col_tab_tutte_prenota' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-4946-$col_tab_tutte_prenota = risul_query($col_tab_tutte_prenota,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-5165-".mex("Scegli le righe aggiuntive da mostrare",$pag).":";
hoteldruid-3.0.1/personalizza.php:5166:$rig_tab_tutte_prenota = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'rig_tab_tutte_prenota' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-5167-$rig_tab_tutte_prenota = risul_query($rig_tab_tutte_prenota,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-5189-<input type=\"hidden\" name=\"aggiorna_qualcosa\" value=\"SI\">";
hoteldruid-3.0.1/personalizza.php:5190:$num_righe_tab_tutte_prenota = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'num_righe_tab_tutte_prenota' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-5191-$num_righe_tab_tutte_prenota = risul_query($num_righe_tab_tutte_prenota,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/personalizza.php-5201-<input type=\"hidden\" name=\"aggiorna_qualcosa\" value=\"SI\">";
hoteldruid-3.0.1/personalizza.php:5202:$selezione_tab_tutte_prenota = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'selezione_tab_tutte_prenota' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-5203-$selezione_tab_tutte_prenota = risul_query($selezione_tab_tutte_prenota,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-5229-$num_appartamenti = numlin_query($appartamenti);
hoteldruid-3.0.1/personalizza.php:5230:$aggiunta_tronca_nomi_tab1 = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'aggiunta_tronca_nomi_tab1' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-5231-$aggiunta_tronca_nomi_tab1 = risul_query($aggiunta_tronca_nomi_tab1,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/personalizza.php-5258-$num_appartamenti = numlin_query($appartamenti);
hoteldruid-3.0.1/personalizza.php:5259:$num_linee_tab2_prenota = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'num_linee_tab2_prenota' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-5260-$num_linee_tab2_prenota = risul_query($num_linee_tab2_prenota,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/personalizza.php-5272-<input type=\"hidden\" name=\"aggiorna_qualcosa\" value=\"SI\">";
hoteldruid-3.0.1/personalizza.php:5273:$linee_ripeti_date_tab_mesi = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'linee_ripeti_date_tab_mesi' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-5274-$linee_ripeti_date_tab_mesi = risul_query($linee_ripeti_date_tab_mesi,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/personalizza.php-5284-<input type=\"hidden\" name=\"aggiorna_qualcosa\" value=\"SI\">";
hoteldruid-3.0.1/personalizza.php:5285:$mostra_giorni_tab_mesi = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'mostra_giorni_tab_mesi' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-5286-$mostra_giorni_tab_mesi = risul_query($mostra_giorni_tab_mesi,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-5301-<input type=\"hidden\" name=\"aggiorna_qualcosa\" value=\"SI\">";
hoteldruid-3.0.1/personalizza.php:5302:$allinea_tab_mesi = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'allinea_tab_mesi' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-5303-if (numlin_query($allinea_tab_mesi) == 1) $allinea_tab_mesi = risul_query($allinea_tab_mesi,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-5320-<table cellspacing=\"0\" cellpadding=\"1\"><tr><td>".mex("Colori delle prenotazioni",$pag).":</td>";
hoteldruid-3.0.1/personalizza.php:5321:$colori_tab_mesi = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'colori_tab_mesi' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-5322-$colori_tab_mesi = explode(",",",".risul_query($colori_tab_mesi,0,'valpersonalizza'));
##############################################
hoteldruid-3.0.1/personalizza.php-5357-<input type=\"hidden\" name=\"aggiorna_qualcosa\" value=\"SI\">";
hoteldruid-3.0.1/personalizza.php:5358:$num_righe_tab_tutti_clienti = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'num_righe_tab_tutti_clienti' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-5359-$num_righe_tab_tutti_clienti = risul_query($num_righe_tab_tutti_clienti,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/personalizza.php-5369-$codpostale_check = "";
hoteldruid-3.0.1/personalizza.php:5370:$campi_cerca_clienti = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'campi_cerca_clienti' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-5371-if (numlin_query($campi_cerca_clienti)) {
##############################################
hoteldruid-3.0.1/personalizza.php-5407-if (!$cambia_email_tm) {
hoteldruid-3.0.1/personalizza.php:5408:$server_email_tab_messaggi = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'server_email_tab_messaggi' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-5409-if (numlin_query($server_email_tab_messaggi)) {
##############################################
hoteldruid-3.0.1/personalizza.php-5513-<input type=\"hidden\" name=\"aggiorna_qualcosa\" value=\"SI\">";
hoteldruid-3.0.1/personalizza.php:5514:$num_righe_tab_messaggi = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'num_righe_tab_messaggi' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-5515-$num_righe_tab_messaggi = risul_query($num_righe_tab_messaggi,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/personalizza.php-5526-<input type=\"hidden\" name=\"aggiorna_qualcosa\" value=\"SI\">";
hoteldruid-3.0.1/personalizza.php:5527:$num_righe_tab_casse = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'num_righe_tab_casse' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-5528-$num_righe_tab_casse = risul_query($num_righe_tab_casse,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/personalizza.php-5538-<input type=\"hidden\" name=\"aggiorna_qualcosa\" value=\"SI\">";
hoteldruid-3.0.1/personalizza.php:5539:$tot_giornalero_tab_casse = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'tot_giornalero_tab_casse' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-5540-$tot_giornalero_tab_casse = risul_query($tot_giornalero_tab_casse,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-5565-<input type=\"hidden\" name=\"aggiorna_qualcosa\" value=\"SI\">";
hoteldruid-3.0.1/personalizza.php:5566:$num_righe_tab_storia_soldi = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'num_righe_tab_storia_soldi' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-5567-$num_righe_tab_storia_soldi = risul_query($num_righe_tab_storia_soldi,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/personalizza.php-5578-<input type=\"hidden\" name=\"aggiorna_qualcosa\" value=\"SI\">";
hoteldruid-3.0.1/personalizza.php:5579:$ordine_inventario = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'ordine_inventario' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-5580-$ordine_inventario = risul_query($ordine_inventario,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-5594-".mex("Tasti per operazioni nel punto vendita",$pag).": ";
hoteldruid-3.0.1/personalizza.php:5595:$tasti_pos = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'tasti_pos' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-5596-$tasti_pos = explode(";",risul_query($tasti_pos,0,'valpersonalizza'));
##############################################
hoteldruid-3.0.1/personalizza.php-5638-<input type=\"hidden\" name=\"aggiorna_qualcosa\" value=\"SI\">";
hoteldruid-3.0.1/personalizza.php:5639:$num_righe_tab_doc_salvati = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'num_righe_tab_doc_salvati' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-5640-$num_righe_tab_doc_salvati = risul_query($num_righe_tab_doc_salvati,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/personalizza.php-5649-$max_contr = risul_query($max_contr,0,0);
hoteldruid-3.0.1/personalizza.php:5650:$nomi_contratti = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'nomi_contratti' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-5651-$nomi_contratti = risul_query($nomi_contratti,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-5718-if ($priv_mod_doc_api != "s") {
hoteldruid-3.0.1/personalizza.php:5719:$api_esistente = esegui_query("select * from $tablecontratti where numero = '$num_contratto' and tipo = 'api'");
hoteldruid-3.0.1/personalizza.php-5720-if (numlin_query($api_esistente)) $mod_doc_corr = 0;
##############################################
hoteldruid-3.0.1/personalizza.php-5788-<input type=\"hidden\" name=\"aggiorna_qualcosa\" value=\"SI\">";
hoteldruid-3.0.1/personalizza.php:5789:$mostra_quadro_disp = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'mostra_quadro_disp' and idutente = '$id_utente_sel'");
hoteldruid-3.0.1/personalizza.php-5790-$mostra_quadro_disp = risul_query($mostra_quadro_disp,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/personalizza.php-5818-
hoteldruid-3.0.1/personalizza.php:5819:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/personalizza.php-5820-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/creaanno.php-29-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/creaanno.php:30:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/creaanno.php-31-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/creaanno.php-40-$titolo = "HotelDruid: ".mex("Crea Anno",$pag);
hoteldruid-3.0.1/creaanno.php:41:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente])) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/creaanno.php-42-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/creaanno.php-57-
hoteldruid-3.0.1/creaanno.php:58:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente])) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/creaanno.php-59-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/clienti.php-27-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/clienti.php:28:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/clienti.php-29-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/clienti.php-48-$tablerelgruppi = $PHPR_TAB_PRE."relgruppi";
hoteldruid-3.0.1/clienti.php:49:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/clienti.php-50-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/clienti.php-52-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/clienti.php:53:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/clienti.php-54-$priv_mod_pers = risul_query($privilegi_globali_utente,0,'priv_mod_pers');
##############################################
hoteldruid-3.0.1/clienti.php-99-$tableutenti = $PHPR_TAB_PRE."utenti";
hoteldruid-3.0.1/clienti.php:100:$nome_utente = esegui_query("select * from $tableutenti where idutenti = '$id_utente'");
hoteldruid-3.0.1/clienti.php-101-$nome_utente = risul_query($nome_utente,0,'nome_utente');
##############################################
hoteldruid-3.0.1/clienti.php-104-if ($prendi_gruppi == "SI") {
hoteldruid-3.0.1/clienti.php:105:$gruppi_utente = esegui_query("select idgruppo from $tablerelgruppi where idutente = '$id_utente' and idgruppo is not NULL ");
hoteldruid-3.0.1/clienti.php-106-$num_gruppi_utente = numlin_query($gruppi_utente);
##############################################
hoteldruid-3.0.1/clienti.php-108-$idgruppo = risul_query($gruppi_utente,$num1,"idgruppo");
hoteldruid-3.0.1/clienti.php:109:$utenti_gruppo = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$idgruppo' ");
hoteldruid-3.0.1/clienti.php-110-$num_utenti_gruppo = numlin_query($utenti_gruppo);
##############################################
hoteldruid-3.0.1/clienti.php-144-$titolo = "HotelDruid: ".mex("Clienti",$pag);
hoteldruid-3.0.1/clienti.php:145:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/clienti.php-146-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/clienti.php-150-
hoteldruid-3.0.1/clienti.php:151:$campi_pers = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'campi_pers_cliente' and idutente = '$id_utente'");
hoteldruid-3.0.1/clienti.php-152-if (numlin_query($campi_pers) == 1) {
##############################################
hoteldruid-3.0.1/clienti.php-265-<input type=\"hidden\" name=\"num_persone_casa$n_t\" value=\"".htmlspecialchars(${"num_persone_casa".$n_t})."\">";
hoteldruid-3.0.1/clienti.php:266:$idinizioperiodo = esegui_query("select idperiodi from $tableperiodi where datainizio = '".aggslashdb(${"inizioperiodo".$n_t})."' ");
hoteldruid-3.0.1/clienti.php-267-if (numlin_query($idinizioperiodo) == 1) ${"inizioperiodo".$n_t} = risul_query($idinizioperiodo,0,'idperiodi');
hoteldruid-3.0.1/clienti.php:268:$idfineperiodo = esegui_query("select idperiodi from $tableperiodi where datafine = '".aggslashdb(${"fineperiodo".$n_t})."' ");
hoteldruid-3.0.1/clienti.php-269-$num_idfineperiodo = numlin_query($idfineperiodo);
##############################################
hoteldruid-3.0.1/clienti.php-317-esegui_query("insert into $tableprenota (idprenota,idclienti,idappartamenti,iddatainizio,iddatafine,tariffa,tariffa_tot,caparra,conferma,datainserimento,hostinserimento,utente_inserimento) values ('$idprenota','0','".$appartamento_vett[($num1 - 1)]."','".$iniper."','".$fineper."','a#@&1','1','1','N','$datainserimento','$HOSTNAME','$id_utente')","",1);
hoteldruid-3.0.1/clienti.php:318:if (${"lista_app".$n_t}) esegui_query("update $tableprenota set app_assegnabili = '".${"lista_app".$n_t}."' where idprenota = '$idprenota' ","",1);
hoteldruid-3.0.1/clienti.php:319:if (${"assegnazioneapp".$n_t}) esegui_query("update $tableprenota set assegnazioneapp = '".${"assegnazioneapp".$n_t}."' where idprenota = '$idprenota' ","",1);
hoteldruid-3.0.1/clienti.php:320:if (${"numpersone".$n_t}) esegui_query("update $tableprenota set num_persone = '".${"numpersone".$n_t}."' where idprenota = '$idprenota' ","",1);
hoteldruid-3.0.1/clienti.php-321-if ($num1 != 1) $lista_idprenota .= ",";
##############################################
hoteldruid-3.0.1/clienti.php-340-$idprenota_vicine = substr(str_replace(",".$idprenota.",",",",",".$idprenota_vicine.","),1,-1);
hoteldruid-3.0.1/clienti.php:341:esegui_query("update $tableprenota set idprenota_compagna = '$idprenota_vicine' where idprenota = '$idprenota' ","",1);
hoteldruid-3.0.1/clienti.php-342-} # fine for $num1
##############################################
hoteldruid-3.0.1/clienti.php-350-$idprenota_vicine = substr(str_replace(",".$idprenota.",",",",",".$lista_idprenota.","),1,-1);
hoteldruid-3.0.1/clienti.php:351:esegui_query("update $tableprenota set idprenota_compagna = '$idprenota_vicine' where idprenota = '$idprenota' ","",1);
hoteldruid-3.0.1/clienti.php-352-} # fine for $num1
##############################################
hoteldruid-3.0.1/clienti.php-375-if (@is_file($file_interconnessioni)) {
hoteldruid-3.0.1/clienti.php:376:include($file_interconnessioni);
hoteldruid-3.0.1/clienti.php-377-if (@is_array($ic_present)) {
##############################################
hoteldruid-3.0.1/clienti.php-381-if ($mod_ext != "." and $mod_ext != ".." and @is_dir("./includes/interconnect/$mod_ext")) {
hoteldruid-3.0.1/clienti.php:382:include("./includes/interconnect/$mod_ext/name.php");
hoteldruid-3.0.1/clienti.php-383-if ($ic_present[$interconnection_name] == "SI") {
hoteldruid-3.0.1/clienti.php:384:include("./includes/interconnect/$mod_ext/functions_import.php");
hoteldruid-3.0.1/clienti.php-385-$funz_import_reservations = "import_reservations_".$interconnection_func_name;
##############################################
hoteldruid-3.0.1/clienti.php-423-if (substr($fineperiodo,0,4) != $anno) {
hoteldruid-3.0.1/clienti.php:424:$anno_succ_esistente = esegui_query("select idanni from $tableanni where idanni = '".($anno + 1)."'");
hoteldruid-3.0.1/clienti.php-425-if (numlin_query($anno_succ_esistente) == 1) {
hoteldruid-3.0.1/clienti.php:426:$data_succ_esistente = esegui_query("select idperiodi from $PHPR_TAB_PRE"."periodi".($anno + 1)." where datafine <= '$fineperiodo'");
hoteldruid-3.0.1/clienti.php-427-if (numlin_query($data_succ_esistente) >= 1) $data_in_anno_succ[$n_t] = "SI";
##############################################
hoteldruid-3.0.1/clienti.php-543-$fineperiodo_orig[$n_t] = $fineperiodo;
hoteldruid-3.0.1/clienti.php:544:$idinizioperiodo = esegui_query("select idperiodi from $tableperiodi where datainizio = '".aggslashdb($inizioperiodo)."' ");
hoteldruid-3.0.1/clienti.php-545-$num_idinizioperiodo = numlin_query($idinizioperiodo);
##############################################
hoteldruid-3.0.1/clienti.php-549-if (!$idinizioperiodo_tot or $idinizioperiodo < $idinizioperiodo_tot) $idinizioperiodo_tot = $idinizioperiodo;
hoteldruid-3.0.1/clienti.php:550:$idfineperiodo = esegui_query("select idperiodi from $tableperiodi where datafine = '".aggslashdb($fineperiodo)."' ");
hoteldruid-3.0.1/clienti.php-551-$num_idfineperiodo = numlin_query($idfineperiodo);
##############################################
hoteldruid-3.0.1/clienti.php-564-if ($modifica_pers == "NO") {
hoteldruid-3.0.1/clienti.php:565:@include(C_DATI_PATH."/selperiodimenu$anno.$id_utente.php");
hoteldruid-3.0.1/clienti.php-566-if (!strpos($dates_options_list,$inizioperiodo)) $data_sbagliata = "SI";
##############################################
hoteldruid-3.0.1/clienti.php-635-if (!$numpersone) {
hoteldruid-3.0.1/clienti.php:636:$regole4 = esegui_query("select * from $tableregole where tariffa_per_persone = '$tipotariffa'");
hoteldruid-3.0.1/clienti.php-637-if (numlin_query($regole4) == 1) {
##############################################
hoteldruid-3.0.1/clienti.php-700-if ($id_utente == 1) {
hoteldruid-3.0.1/clienti.php:701:$regole3 = esegui_query("select * from $tableregole where tariffa_per_utente = '$tipotariffa'");
hoteldruid-3.0.1/clienti.php-702-if (numlin_query($regole3) == 1) {
##############################################
hoteldruid-3.0.1/clienti.php-719-for ($num = $idinizioperiodo; $num <= $idfineperiodo; $num = $num + 1) {
hoteldruid-3.0.1/clienti.php:720:$prenotazioni = esegui_query("select * from $tableprenota where iddatainizio <= $num and iddatafine >= $num");
hoteldruid-3.0.1/clienti.php-721-$numprenotazioni = numlin_query($prenotazioni);
hoteldruid-3.0.1/clienti.php:722:$rigasettimana = esegui_query("select * from $tableperiodi where idperiodi = '$num' ");
hoteldruid-3.0.1/clienti.php-723-$esistetariffa = risul_query($rigasettimana,0,$tipotariffa);
##############################################
hoteldruid-3.0.1/clienti.php-878-if ($idmessaggi) {
hoteldruid-3.0.1/clienti.php:879:$id_periodi_mess = esegui_query("select dati_messaggio9,dati_messaggio10,dati_messaggio14 from $tablemessaggi where tipo_messaggio = 'rprenota' and idutenti $LIKE '%,$id_utente,%' and idmessaggi = '".aggslashdb($idmessaggi)."' ");
hoteldruid-3.0.1/clienti.php-880-if (numlin_query($id_periodi_mess) == 1) {
##############################################
hoteldruid-3.0.1/clienti.php-904-if ($periodo_costo_trovato == "SI") {
hoteldruid-3.0.1/clienti.php:905:$date_sett_costo = esegui_query("select datainizio,datafine from $tableperiodi where idperiodi = '$num1'");
hoteldruid-3.0.1/clienti.php-906-echo "<label><input type=\"checkbox\" name=\"sett$num1"."costo$numca"."_$n_t\" value=\"SI\"".${"ck_sett".$num1}.">".mex("dal",$pag)."
##############################################
hoteldruid-3.0.1/clienti.php-1065-${"app_richiesti".$n_t}[$appo] = "SI";
hoteldruid-3.0.1/clienti.php:1066:$appartamento_esistente = esegui_query("select idappartamenti from $tableappartamenti where idappartamenti = '$appo'");
hoteldruid-3.0.1/clienti.php-1067-if (numlin_query($appartamento_esistente) != 1) {
##############################################
hoteldruid-3.0.1/clienti.php-1081-$num_piano = aggslashdb($num_piano);
hoteldruid-3.0.1/clienti.php:1082:$query = $query."where numpiano = '$num_piano' ";
hoteldruid-3.0.1/clienti.php-1083-$where_immesso = "SI";
##############################################
hoteldruid-3.0.1/clienti.php-1087-if ($where_immesso) $query = $query."and numcasa = '$num_casa' ";
hoteldruid-3.0.1/clienti.php:1088:else $query = $query."where numcasa = '$num_casa' ";
hoteldruid-3.0.1/clienti.php-1089-$where_immesso = "SI";
##############################################
hoteldruid-3.0.1/clienti.php-1093-if ($where_immesso) $query .= "and maxoccupanti = '$num_persone_casa' ";
hoteldruid-3.0.1/clienti.php:1094:else $query .= "where maxoccupanti = '$num_persone_casa' ";
hoteldruid-3.0.1/clienti.php-1095-} # fine if ($num_persone_casa)
##############################################
hoteldruid-3.0.1/clienti.php-1217-if (empty($app_richiesti_copia) or $app_richiesti_copia[$idapp] == "SI") {
hoteldruid-3.0.1/clienti.php:1218:$appartamento_consentito = esegui_query("select idregole,iddatainizio,iddatafine from $tableregole where app_agenzia = '$idapp' and (motivazione2 != 'x' or motivazione2 is NULL) and iddatainizio <= '$idfineperiodo' and iddatafine >= '$idinizioperiodo' and $condizioni_regole1_consentite order by iddatainizio");
hoteldruid-3.0.1/clienti.php-1219-unset($iddatainizio_regole_tot);
##############################################
hoteldruid-3.0.1/clienti.php-1502-if (!$condizioni_regole1_non_sel and ($applica_regole1 == "m" or $applica_regole1 == "f")) $condizioni_regole1_non_sel = " and motivazione2 = 'x'";
hoteldruid-3.0.1/clienti.php:1503:$app_agenzia = esegui_query("select * from $tableregole where app_agenzia != ''$condizioni_regole1_non_sel");
hoteldruid-3.0.1/clienti.php-1504-$num_app_agenzia = numlin_query($app_agenzia);
##############################################
hoteldruid-3.0.1/clienti.php-1508-$lim_prenota_temp = aggslashdb(date("Y-m-d H:i:s",(time() + (C_DIFF_ORE * 3600) - ($minuti_durata_insprenota * 60))));
hoteldruid-3.0.1/clienti.php:1509:esegui_query("delete from $tableprenota where idclienti = '0' and ( datainserimento < '".$lim_prenota_temp."' or utente_inserimento = '$id_utente' ) ","",1);
hoteldruid-3.0.1/clienti.php-1510-
##############################################
hoteldruid-3.0.1/clienti.php-1608-$motivazione_app_agenzia = risul_query($app_agenzia,$num1,'motivazione');
hoteldruid-3.0.1/clienti.php:1609:$idprenota_cambiate_da_ag = esegui_query("select idprenota from $tableprenota where idappartamenti = '$id_app_agenzia' and iddatainizio <= '$idfine_app_agenzia' and iddatafine >= '$idinizio_app_agenzia'");
hoteldruid-3.0.1/clienti.php-1610-$num_idprenota_cambiate_da_ag = numlin_query($idprenota_cambiate_da_ag);
##############################################
hoteldruid-3.0.1/clienti.php-1614-$idapp_camb = $app_prenota_id[$idprenota_cambiata];
hoteldruid-3.0.1/clienti.php:1615:$dati_cambiati = esegui_query("select * from $tableprenota where idprenota = '$idprenota_cambiata'");
hoteldruid-3.0.1/clienti.php-1616-$idclienti_camb = risul_query($dati_cambiati,0,'idclienti');
hoteldruid-3.0.1/clienti.php:1617:$cliente_camb = esegui_query("select cognome from $tableclienti where idclienti = '$idclienti_camb'");
hoteldruid-3.0.1/clienti.php-1618-if ($idclienti_camb) $cliente_camb = risul_query($cliente_camb,0,'cognome');
##############################################
hoteldruid-3.0.1/clienti.php-1620-$iddatainizio_camb = $inizio_prenota_id[$idprenota_cambiata];
hoteldruid-3.0.1/clienti.php:1621:$datainizio_camb = esegui_query("select datainizio from $tableperiodi where idperiodi = '$iddatainizio_camb'");
hoteldruid-3.0.1/clienti.php-1622-$datainizio_camb = risul_query($datainizio_camb,0,'datainizio');
##############################################
hoteldruid-3.0.1/clienti.php-1624-$iddatafine_camb = $fine_prenota_id[$idprenota_cambiata];
hoteldruid-3.0.1/clienti.php:1625:$datafine_camb = esegui_query("select datafine from $tableperiodi where idperiodi = '$iddatafine_camb'");
hoteldruid-3.0.1/clienti.php-1626-$datafine_camb = risul_query($datafine_camb,0,'datafine');
##############################################
hoteldruid-3.0.1/clienti.php-1634-if ($app_orig_prenota_id[$idprenota_cambiata] and $app_prenota_id[$idprenota_cambiata] != $app_orig_prenota_id[$idprenota_cambiata]) {
hoteldruid-3.0.1/clienti.php:1635:$dati_cambiati = esegui_query("select * from $tableprenota where idprenota = $idprenota_cambiata");
hoteldruid-3.0.1/clienti.php-1636-$idapp_camb = $app_orig_prenota_id[$idprenota_cambiata];
hoteldruid-3.0.1/clienti.php-1637-$idclienti_camb = risul_query($dati_cambiati,0,'idclienti');
hoteldruid-3.0.1/clienti.php:1638:$cliente_camb = esegui_query("select cognome from $tableclienti where idclienti = $idclienti_camb");
hoteldruid-3.0.1/clienti.php-1639-if ($idclienti_camb) $cliente_camb = risul_query($cliente_camb,0,'cognome');
##############################################
hoteldruid-3.0.1/clienti.php-1641-$iddatainizio_camb = $inizio_prenota_id[$idprenota_cambiata];
hoteldruid-3.0.1/clienti.php:1642:$datainizio_camb = esegui_query("select datainizio from $tableperiodi where idperiodi = $iddatainizio_camb");
hoteldruid-3.0.1/clienti.php-1643-$datainizio_camb = risul_query($datainizio_camb,0,'datainizio');
##############################################
hoteldruid-3.0.1/clienti.php-1645-$iddatafine_camb = $fine_prenota_id[$idprenota_cambiata];
hoteldruid-3.0.1/clienti.php:1646:$datafine_camb = esegui_query("select datafine from $tableperiodi where idperiodi = $iddatafine_camb");
hoteldruid-3.0.1/clienti.php-1647-$datafine_camb = risul_query($datafine_camb,0,'datafine');
##############################################
hoteldruid-3.0.1/clienti.php-1820-$limiti_var['lim_prenota_temp'] = aggslashdb(date("Y-m-d H:i:s",(time() + (C_DIFF_ORE * 3600) - ($minuti_durata_insprenota * 60))));
hoteldruid-3.0.1/clienti.php:1821:esegui_query("delete from $tableprenota where idclienti = '0' and ( datainserimento < '".$limiti_var['lim_prenota_temp']."' or utente_inserimento = '$id_utente' ) ","",1);
hoteldruid-3.0.1/clienti.php-1822-$profondita['iniziale'] = "";
##############################################
hoteldruid-3.0.1/clienti.php-1898-$dati_transazione10 = substr($dati_transazione10,1);
hoteldruid-3.0.1/clienti.php:1899:esegui_query("update $tabletransazioni set dati_transazione10 = '$dati_transazione10' where idtransazioni = '$id_transazione' and idsessione = '$id_sessione'");
hoteldruid-3.0.1/clienti.php:1900:if ($num_tipologie = 1 and $num_app_richiesti1 = 1 and $id_utente == 1) esegui_query("update $tabletransazioni set dati_transazione7 = 'v', dati_transazione9 = '' where idtransazioni = '$id_transazione' and idsessione = '$id_sessione'");
hoteldruid-3.0.1/clienti.php-1901-} # fine else if ($fatto_libera2 == "SI")
##############################################
hoteldruid-3.0.1/clienti.php-1910-ins_prenota_temp_in_tab($tableprenota,$tablecostiprenota,$num_tipologie,$limiti_var,$dati_transazione13,$prenota_vicine,$id_utente,$HOSTNAME);
hoteldruid-3.0.1/clienti.php:1911:esegui_query("update $tabletransazioni set dati_transazione13 = '$dati_transazione13' where idtransazioni = '$id_transazione' and idsessione = '$id_sessione'");
hoteldruid-3.0.1/clienti.php-1912-} # fine else if (!$risul_agg)
##############################################
hoteldruid-3.0.1/clienti.php-2038-$idcognome[$num] = risul_query($esistecognome,$num,'idclienti');
hoteldruid-3.0.1/clienti.php:2039:$dati = esegui_query("select * from $tableclienti where idclienti = '".$idcognome[$num]."' ");
hoteldruid-3.0.1/clienti.php-2040-
##############################################
hoteldruid-3.0.1/clienti.php-2233-$idclienti = aggslashdb($idclienti);
hoteldruid-3.0.1/clienti.php:2234:$dati_cliente = esegui_query("select cognome,utente_inserimento from $tableclienti where idclienti = '$idclienti'");
hoteldruid-3.0.1/clienti.php-2235-$cognome = risul_query($dati_cliente,0,'cognome');
##############################################
hoteldruid-3.0.1/clienti.php-2315-if ($idmessaggi) {
hoteldruid-3.0.1/clienti.php:2316:$dati_mess = esegui_query("select dati_messaggio15 from $tablemessaggi where idmessaggi = '".aggslashdb($idmessaggi)."' and idutenti $LIKE '%,$id_utente,%' ");
hoteldruid-3.0.1/clienti.php-2317-if (numlin_query($dati_mess) == 1) {
##############################################
hoteldruid-3.0.1/clienti.php-2376-<hr style=\"width: 95%\">";
hoteldruid-3.0.1/clienti.php:2377:$titoli_cliente = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'titoli_cliente' and idutente = '$id_utente'");
hoteldruid-3.0.1/clienti.php-2378-if (numlin_query($titoli_cliente) == 1) $titoli_cliente = risul_query($titoli_cliente,0,"valpersonalizza");
##############################################
hoteldruid-3.0.1/clienti.php-2392-$tableprivilegi = $PHPR_TAB_PRE."privilegi";
hoteldruid-3.0.1/clienti.php:2393:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente_ins' and anno = '1'");
hoteldruid-3.0.1/clienti.php-2394-$prefisso_clienti = risul_query($privilegi_globali_utente,0,'prefisso_clienti');
##############################################
hoteldruid-3.0.1/clienti.php-2714-
hoteldruid-3.0.1/clienti.php:2715:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/clienti.php-2716-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-39-if ($ordine_imposto) $ordine = $ordine_imposto;
hoteldruid-3.0.1/includes/funzioni_costi_agg.php:40:$costi = esegui_query("select * from $tablenometariffe where idntariffe > 10  and nomecostoagg != ''$cond_visibili order by $ordine");
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-41-$dati_ca['num'] = numlin_query($costi);
##############################################
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-193-$tableperiodi_succ = $PHPR_TAB_PRE."periodi".($tra_anni + 1);
hoteldruid-3.0.1/includes/funzioni_costi_agg.php:194:$data_fine = esegui_query("select datainizio,datafine from $tableperiodi_prec where idperiodi = '$id_periodo'");
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-195-$data_inizio = aggslashdb(risul_query($data_fine,0,'datainizio'));
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-196-$data_fine = aggslashdb(risul_query($data_fine,0,'datafine'));
hoteldruid-3.0.1/includes/funzioni_costi_agg.php:197:$periodo_succ = esegui_query("select idperiodi from $tableperiodi_succ where datainizio = '$data_inizio' and datafine = '$data_fine'");
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-198-if (numlin_query($periodo_succ) == 1) {
##############################################
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-202-if ($id_prenota) {
hoteldruid-3.0.1/includes/funzioni_costi_agg.php:203:$prenota_esistente = esegui_query("select idprenota from $tableprenota where iddatainizio = '0' and commento = '$id_prenota'");
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-204-if (numlin_query($prenota_esistente) == 1) $id_prenota = risul_query($prenota_esistente,0,'idprenota');
##############################################
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-209-if ($id_prenota) $cond_escludi_prenota = " and $tablecostiprenota.idprenota != '$id_prenota'";
hoteldruid-3.0.1/includes/funzioni_costi_agg.php:210:$costi = esegui_query("select distinct $tablecostiprenota.idcostiprenota,$tablecostiprenota.moltiplica,$tablecostiprenota.associasett,$tablecostiprenota.settimane from $tablecostiprenota inner join $tableprenota on $tablecostiprenota.idprenota = $tableprenota.idprenota where $tablecostiprenota.idntariffe = '$id_costo' and $tablecostiprenota.nome = '$nome_costo' and $tableprenota.iddatainizio <= '$id_periodo' and $tableprenota.iddatafine >= '$id_periodo'$cond_escludi_prenota");
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-211-$num_costi = numlin_query($costi);
##############################################
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-400-if ($dati_ca[$num_costo]['numsett'] == "g") {
hoteldruid-3.0.1/includes/funzioni_costi_agg.php:401:$dataini_gio = esegui_query("select datainizio from $tableperiodi where idperiodi = '$num1'");
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-402-$dataini_gio = risul_query($dataini_gio,0,'datainizio');
##############################################
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-579-
hoteldruid-3.0.1/includes/funzioni_costi_agg.php:580:$costi = esegui_query("select * from $tablecostiprenota where idprenota = '$id_prenota' order by tipo, idcostiprenota");
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-581-$dati_cap['num'] = numlin_query($costi);
##############################################
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-815-$beniinv_presenti[$tipo_beniinv][$id_beneinv] = 0;
hoteldruid-3.0.1/includes/funzioni_costi_agg.php:816:$bip = esegui_query("select quantita from $tablerelinventario where idbeneinventario = '$id_beneinv' and $cond_mag ");
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-817-if (numlin_query($bip)) $beniinv_presenti[$tipo_beniinv][$id_beneinv] = risul_query($bip,0,'quantita');
##############################################
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-845-foreach ($id_beniinv as $id_beneinv => $n_num_bene) {
hoteldruid-3.0.1/includes/funzioni_costi_agg.php:846:esegui_query("update $tablerelinventario set quantita = '$n_num_bene' where idbeneinventario = '$id_beneinv' and $cond_mag ");
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-847-} # fine foreach ($id_beniinv as $id_beneinv => $n_num_bene)
##############################################
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-857-if ($attiva_costi_agg_consentiti != "n") {
hoteldruid-3.0.1/includes/funzioni_costi_agg.php:858:$costi_agg_cons_int = esegui_query("select costi_agg_consentiti from $tableprivilegi where idutente = '$id_utente' and anno = '$anno' ");
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-859-$costi_agg_cons_int = risul_query($costi_agg_cons_int,0,"costi_agg_consentiti");
hoteldruid-3.0.1/includes/funzioni_costi_agg.php:860:esegui_query("update $tableprivilegi set costi_agg_consentiti = '$costi_agg_cons_int,$idntariffe' where idutente = '$id_utente' and anno = '$anno' ");
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-861-} # fine if ($attiva_costi_agg_consentiti != "n")
##############################################
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-865-global $LIKE;
hoteldruid-3.0.1/includes/funzioni_costi_agg.php:866:$q_utenti_costi_sel = esegui_query("select * from $tableprivilegi where anno = '$anno' and costi_agg_consentiti $LIKE 's%' ");
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-867-} # fine if ($q_utenti_costi_sel == "q")
##############################################
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-873-if ($idut_gr != $id_utente) {
hoteldruid-3.0.1/includes/funzioni_costi_agg.php:874:$costi_agg_cons_int = esegui_query("select costi_agg_consentiti from $tableprivilegi where idutente = '$idut_gr' and anno = '$anno' ");
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-875-if (numlin_query($costi_agg_cons_int) == 1) {
##############################################
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-877-if (substr($costi_agg_cons_int,0,1) != "n") {
hoteldruid-3.0.1/includes/funzioni_costi_agg.php:878:esegui_query("update $tableprivilegi set costi_agg_consentiti = '$costi_agg_cons_int,$idntariffe' where idutente = '$idut_gr' and anno = '$anno' ");
hoteldruid-3.0.1/includes/funzioni_costi_agg.php-879-} # fine if (substr($costi_agg_cons_int,0,1) != "n")
##############################################
hoteldruid-3.0.1/includes/funzioni_appartamenti.php-94-$tariffa = "tariffa".$numtariffa;
hoteldruid-3.0.1/includes/funzioni_appartamenti.php:95:$regola2 = esegui_query("select motivazione from $tableregole where tariffa_per_app = '$tariffa'");
hoteldruid-3.0.1/includes/funzioni_appartamenti.php-96-if (numlin_query($regola2) == 0) {
##############################################
hoteldruid-3.0.1/includes/sett_gio.php-24-$tableanni = $PHPR_TAB_PRE."anni";
hoteldruid-3.0.1/includes/sett_gio.php:25:$tipo_periodi = esegui_query("select * from $tableanni where idanni = '$anno' ");
hoteldruid-3.0.1/includes/sett_gio.php-26-$tipo_periodi = risul_query($tipo_periodi,0,'tipo_periodi');
##############################################
hoteldruid-3.0.1/includes/funzioni.php-123-if ($lingua_mex != "ita") {
hoteldruid-3.0.1/includes/funzioni.php:124:include("./includes/lang/$lingua_mex/$pagina");
hoteldruid-3.0.1/includes/funzioni.php-125-} # fine if ($lingua_mex != "ita")
##############################################
hoteldruid-3.0.1/includes/funzioni.php-138-if ($lingua_mex != "ita") {
hoteldruid-3.0.1/includes/funzioni.php:139:include("./includes/lang/$lingua_mex/$pagina");
hoteldruid-3.0.1/includes/funzioni.php-140-} # fine if ($lingua_mex != "ita")
##############################################
hoteldruid-3.0.1/includes/funzioni.php-211-else global $id_utente;
hoteldruid-3.0.1/includes/funzioni.php:212:$nome_valuta = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'valuta' and idutente = '$id_utente'");
hoteldruid-3.0.1/includes/funzioni.php-213-$nome_valuta = risul_query($nome_valuta,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/includes/funzioni.php-226-else global $id_utente;
hoteldruid-3.0.1/includes/funzioni.php:227:$valute = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'valuta2' and idutente = '$id_utente' order by valpersonalizza ");
hoteldruid-3.0.1/includes/funzioni.php-228-$altre_valute['num'] = numlin_query($valute);
##############################################
hoteldruid-3.0.1/includes/funzioni.php-247-else global $id_utente;
hoteldruid-3.0.1/includes/funzioni.php:248:$stile_data = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'stile_data' and idutente = '$id_utente'");
hoteldruid-3.0.1/includes/funzioni.php-249-$stile_data = risul_query($stile_data,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/includes/funzioni.php-281-else global $id_utente;
hoteldruid-3.0.1/includes/funzioni.php:282:$stile_soldi = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'stile_soldi' and idutente = '$id_utente'");
hoteldruid-3.0.1/includes/funzioni.php-283-$stile_soldi = risul_query($stile_soldi,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/includes/funzioni.php-470-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/includes/funzioni.php:471:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/includes/funzioni.php-472-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/includes/funzioni.php-484-$limite_login_sbagliati = date("Y-m-d H:i:s",(time() - $sec_log_sbagliati + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/includes/funzioni.php:485:$ultimo_login_sbagliato = esegui_query("select ultimo_accesso from $tabletransazioni where tipo_transazione = 'err_l' and dati_transazione1 = '".aggslashdb($nome_utente_phpr)."' and ultimo_accesso >= '$limite_login_sbagliati'");
hoteldruid-3.0.1/includes/funzioni.php-486-if (numlin_query($ultimo_login_sbagliato) > 0) {
##############################################
hoteldruid-3.0.1/includes/funzioni.php-495-$limite_transazioni_vecchie = date("Y-m-d H:i:s",(time() - ($minuti_durata_sessione * 60) + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/includes/funzioni.php:496:esegui_query("delete from $tabletransazioni where ultimo_accesso <= '$limite_transazioni_vecchie'");
hoteldruid-3.0.1/includes/funzioni.php:497:$login_sbagliati = esegui_query("select tipo_transazione from $tabletransazioni where tipo_transazione = 'err_l' and dati_transazione1 = '".aggslashdb($nome_utente_phpr)."' ");
hoteldruid-3.0.1/includes/funzioni.php-498-$login_sbagliati = numlin_query($login_sbagliati);
##############################################
hoteldruid-3.0.1/includes/funzioni.php-529-$password_phpr = aggslashdb($password_phpr);
hoteldruid-3.0.1/includes/funzioni.php:530:$utente = esegui_query("select * from $tableutenti where nome_utente = '$nome_utente_phpr'");
hoteldruid-3.0.1/includes/funzioni.php-531-if (numlin_query($utente) == 1) {
##############################################
hoteldruid-3.0.1/includes/funzioni.php-600-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/includes/funzioni.php:601:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/includes/funzioni.php-602-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/includes/funzioni.php-612-$limite_sessioni_vecchie = date("Y-m-d H:i:s",(time() - ($minuti_durata_sessione * 60) + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/includes/funzioni.php:613:esegui_query("delete from $tablesessioni where ultimo_accesso <= '$limite_sessioni_vecchie'");
hoteldruid-3.0.1/includes/funzioni.php-614-$ultimo_accesso = date("Y-m-d H:i:s",(time() + (C_DIFF_ORE * 3600)));
##############################################
hoteldruid-3.0.1/includes/funzioni.php-621-$HTTP_USER_AGENT = aggslashdb($HTTP_USER_AGENT);
hoteldruid-3.0.1/includes/funzioni.php:622:$sessione = esegui_query("select * from $tablesessioni where idsessioni = '$id_sessione'");
hoteldruid-3.0.1/includes/funzioni.php-623-if (numlin_query($sessione) == 1) {
##############################################
hoteldruid-3.0.1/includes/funzioni.php-628-$id_utente_presunto = risul_query($sessione,0,'idutente');
hoteldruid-3.0.1/includes/funzioni.php:629:$utente_presente = esegui_query("select nome_utente from $tableutenti where idutenti = '$id_utente_presunto'");
hoteldruid-3.0.1/includes/funzioni.php-630-if (numlin_query($utente_presente) == 1) {
##############################################
hoteldruid-3.0.1/includes/funzioni.php-632-$id_utente = $id_utente_presunto;
hoteldruid-3.0.1/includes/funzioni.php:633:esegui_query("update $tablesessioni set ultimo_accesso = '$ultimo_accesso' where idsessioni = '$id_sessione'");
hoteldruid-3.0.1/includes/funzioni.php-634-} # fine if (numlin_query($utente_presente) == 1)
##############################################
hoteldruid-3.0.1/includes/funzioni.php-682-$tema_corr = $tema[1];
hoteldruid-3.0.1/includes/funzioni.php:683:if ($tema[1] and $tema[1] != "base" and @is_dir("./themes/".$tema[1]."/php")) include("./themes/".$tema[1]."/php/head.php");
hoteldruid-3.0.1/includes/funzioni.php-684-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/includes/funzioni.php-720-
hoteldruid-3.0.1/includes/funzioni.php:721:if ($tema[1] and $tema[1] != "base" and @is_dir("./themes/".$tema[1]."/php")) include("./themes/".$tema[1]."/php/foot.php");
hoteldruid-3.0.1/includes/funzioni.php-722-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/includes/funzioni.php-742-$show_bar = "NO";
hoteldruid-3.0.1/includes/funzioni.php:743:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/includes/funzioni.php-744-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/includes/funzioni.php-750-</div></form>";
hoteldruid-3.0.1/includes/funzioni.php:751:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/includes/funzioni.php-752-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/includes/funzioni.php-867-else $cond_tipo = "";
hoteldruid-3.0.1/includes/funzioni.php:868:esegui_query("delete from $tabletransazioni where ultimo_accesso <= '$limite_transazioni_vecchie' $cond_tipo");
hoteldruid-3.0.1/includes/funzioni.php-869-$id_transazione = aggslashdb($id_transazione);
##############################################
hoteldruid-3.0.1/includes/funzioni.php-871-else $cond_sessione = "";
hoteldruid-3.0.1/includes/funzioni.php:872:$dati_transazione = esegui_query("select * from $tabletransazioni where idtransazioni = '$id_transazione' $cond_sessione");
hoteldruid-3.0.1/includes/funzioni.php-873-if (numlin_query($dati_transazione) == 1) {
##############################################
hoteldruid-3.0.1/includes/funzioni.php-876-$ultimo_accesso = date("Y-m-d H:i:s",(time() + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/includes/funzioni.php:877:esegui_query("update $tabletransazioni set ultimo_accesso = '$ultimo_accesso' where idtransazioni = '$id_transazione' $cond_sessione");
hoteldruid-3.0.1/includes/funzioni.php-878-} # fine if ($anno == risul_query($dati_transazione,0,'anno'))
##############################################
hoteldruid-3.0.1/includes/funzioni.php-898-else $id_utente_anticipa_ore = $id_utente;
hoteldruid-3.0.1/includes/funzioni.php:899:$ore_anticipa_periodo_corrente = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'ore_anticipa_periodo_corrente' and idutente = '$id_utente_anticipa_ore'");
hoteldruid-3.0.1/includes/funzioni.php-900-$ore_anticipa_periodo_corrente = risul_query($ore_anticipa_periodo_corrente,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/includes/funzioni.php-904-else $oggi = date("Y-m-d",(time() + ($ore_anticipa_periodo_corrente * 3600) + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/includes/funzioni.php:905:$idperiodocorrente = esegui_query("select idperiodi from $tableperiodi where datainizio <= '$oggi' and datafine >= '$oggi' ");
hoteldruid-3.0.1/includes/funzioni.php-906-$numidperiodocorrente = numlin_query($idperiodocorrente);
##############################################
hoteldruid-3.0.1/includes/funzioni.php-936-else $current_dates_menu = 0;
hoteldruid-3.0.1/includes/funzioni.php:937:if (substr($file,0,(strlen(C_DATI_PATH) + 15)) == C_DATI_PATH."/selperiodimenu" and $mos_tut_dat == "SI" and $modifica_pers != "NO") include(C_DATI_PATH."/selectperiodi".substr($file,(strlen(C_DATI_PATH) + 15)));
hoteldruid-3.0.1/includes/funzioni.php:938:else include($file);
hoteldruid-3.0.1/includes/funzioni.php-939-} # fine if ($last_dates_menu != $file)
##############################################
hoteldruid-3.0.1/includes/funzioni.php-959-
hoteldruid-3.0.1/includes/funzioni.php:960:if ($tema[$id_utente] != "base") include("./themes/".$tema[$id_utente]."/php/selectperiod.php");
hoteldruid-3.0.1/includes/funzioni.php-961-
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-82-flock($filelock,2);
hoteldruid-3.0.1/includes/funzioni_anno.php:83:$anno_esistente = esegui_query("select * from $tableanni where idanni = $anno");
hoteldruid-3.0.1/includes/funzioni_anno.php-84-if (numlin_query($anno_esistente) == 0) {
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-352-$data_inizio_periodi = risul_query($data_inizio_periodi,0,'datainizio');
hoteldruid-3.0.1/includes/funzioni_anno.php:353:$ini_periodo_interferenza =  esegui_query("select * from $tableperiodi_prec where datainizio = '$data_inizio_periodi'");
hoteldruid-3.0.1/includes/funzioni_anno.php-354-$num_periodo_interferenza = numlin_query($ini_periodo_interferenza);
hoteldruid-3.0.1/includes/funzioni_anno.php:355:$tipo_periodi_prec = esegui_query("select * from $tableanni where idanni = $anno_prec");
hoteldruid-3.0.1/includes/funzioni_anno.php-356-$tipo_periodi_prec = risul_query($tipo_periodi_prec,0,'tipo_periodi');
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-384-$max_idcostiprenota_prec = risul_query($max_idcostiprenota_prec,0,0) + 1;
hoteldruid-3.0.1/includes/funzioni_anno.php:385:$prenota_gia_iniziate = esegui_query("select * from $tableprenota_prec where iddatainizio < $id_data_ini_periodi_prec and iddatafine >= $id_data_ini_periodi_prec and iddatafine <= $id_data_fine_periodi_prec ");
hoteldruid-3.0.1/includes/funzioni_anno.php-386-$num_prenota_gia_iniziate = numlin_query($prenota_gia_iniziate);
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-405-esegui_query("insert into $tableprenota (idprenota,idclienti,idappartamenti,iddatainizio,iddatafine,assegnazioneapp,commento,codice,datainserimento,hostinserimento,utente_inserimento) values ('$idprenota_corr','$idclienti','$idappartamenti','0',$iddatafine,'k','$idprenota','$codice','$datainserimento','$hostinserimento','$utente_inserimento') ");
hoteldruid-3.0.1/includes/funzioni_anno.php:406:if ($checkin) esegui_query("update $tableprenota set checkin = '".aggslashdb($checkin)."' where idprenota = '$idprenota_corr'");
hoteldruid-3.0.1/includes/funzioni_anno.php:407:if ($checkout) esegui_query("update $tableprenota set checkout = '".aggslashdb($checkout)."' where idprenota = '$idprenota_corr'");
hoteldruid-3.0.1/includes/funzioni_anno.php:408:if ($pagato) esegui_query("update $tableprenota set pagato = '".aggslashdb($pagato)."' where idprenota = '$idprenota_corr'");
hoteldruid-3.0.1/includes/funzioni_anno.php:409:if ($tariffa_tot) esegui_query("update $tableprenota set tariffa_tot = '".aggslashdb($tariffa_tot)."' where idprenota = '$idprenota_corr'");
hoteldruid-3.0.1/includes/funzioni_anno.php:410:esegui_query("update $tablecostiprenota_prec set idprenota = '$max_idprenota_prec' where idprenota = '$idprenota'");
hoteldruid-3.0.1/includes/funzioni_anno.php:411:esegui_query("insert into $tablecostiprenota select $col_tablecostiprenota from $tablecostiprenota_prec where idprenota = '$max_idprenota_prec' ");
hoteldruid-3.0.1/includes/funzioni_anno.php:412:esegui_query("update $tablecostiprenota set idprenota = '$idprenota_corr' where idprenota = '$max_idprenota_prec'");
hoteldruid-3.0.1/includes/funzioni_anno.php:413:esegui_query("update $tablecostiprenota_prec set idprenota = '$idprenota' where idprenota = '$max_idprenota_prec'");
hoteldruid-3.0.1/includes/funzioni_anno.php:414:esegui_query("update $tablerclientiprenota_prec set idprenota = '$max_idprenota_prec' where idprenota = '$idprenota'");
hoteldruid-3.0.1/includes/funzioni_anno.php:415:esegui_query("insert into $tablerclientiprenota select $col_tablerclientiprenota from $tablerclientiprenota_prec where idprenota = '$max_idprenota_prec' ");
hoteldruid-3.0.1/includes/funzioni_anno.php:416:esegui_query("update $tablerclientiprenota set idprenota = '$idprenota_corr' where idprenota = '$max_idprenota_prec'");
hoteldruid-3.0.1/includes/funzioni_anno.php:417:esegui_query("update $tablerclientiprenota_prec set idprenota = '$idprenota' where idprenota = '$max_idprenota_prec'");
hoteldruid-3.0.1/includes/funzioni_anno.php-418-$nuovo_idprenota_iniziata[$idprenota] = $idprenota_corr;
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-423-$nuovo_iddatafine = array();
hoteldruid-3.0.1/includes/funzioni_anno.php:424:$prenota_importate = esegui_query("select * from $tableprenota_prec where iddatainizio >= '$id_data_ini_periodi_prec' and iddatafine <= '$id_data_fine_periodi_prec' order by idprenota ");
hoteldruid-3.0.1/includes/funzioni_anno.php-425-$num_prenota_importate = numlin_query($prenota_importate);
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-437-$idprenota_corr++;
hoteldruid-3.0.1/includes/funzioni_anno.php:438:esegui_query("update $tableprenota_prec set idprenota = '$max_idprenota_prec' where idprenota = '$idprenota'");
hoteldruid-3.0.1/includes/funzioni_anno.php:439:esegui_query("insert into $tableprenota select $col_tableprenota from $tableprenota_prec where idprenota = '$max_idprenota_prec' ");
hoteldruid-3.0.1/includes/funzioni_anno.php:440:esegui_query("update $tableprenota set iddatainizio = '$iddatainizio' where idprenota = '$max_idprenota_prec'");
hoteldruid-3.0.1/includes/funzioni_anno.php:441:esegui_query("update $tableprenota set iddatafine = '$iddatafine' where idprenota = '$max_idprenota_prec'");
hoteldruid-3.0.1/includes/funzioni_anno.php:442:esegui_query("update $tableprenota set id_anni_prec = '$id_anni_prec' where idprenota = '$max_idprenota_prec'");
hoteldruid-3.0.1/includes/funzioni_anno.php:443:esegui_query("update $tableprenota set idprenota = '$idprenota_corr' where idprenota = '$max_idprenota_prec'");
hoteldruid-3.0.1/includes/funzioni_anno.php:444:esegui_query("delete from $tableprenota_prec where idprenota = '$max_idprenota_prec'");
hoteldruid-3.0.1/includes/funzioni_anno.php:445:esegui_query("update $tablecostiprenota_prec set idprenota = '$max_idprenota_prec' where idprenota = '$idprenota'");
hoteldruid-3.0.1/includes/funzioni_anno.php:446:esegui_query("insert into $tablecostiprenota select $col_tablecostiprenota from $tablecostiprenota_prec where idprenota = '$max_idprenota_prec' ");
hoteldruid-3.0.1/includes/funzioni_anno.php:447:esegui_query("update $tablecostiprenota set idprenota = '$idprenota_corr' where idprenota = '$max_idprenota_prec'");
hoteldruid-3.0.1/includes/funzioni_anno.php:448:esegui_query("delete from $tablecostiprenota_prec where idprenota = '$max_idprenota_prec'");
hoteldruid-3.0.1/includes/funzioni_anno.php:449:esegui_query("update $tablerclientiprenota_prec set idprenota = '$max_idprenota_prec' where idprenota = '$idprenota'");
hoteldruid-3.0.1/includes/funzioni_anno.php:450:esegui_query("insert into $tablerclientiprenota select $col_tablerclientiprenota from $tablerclientiprenota_prec where idprenota = '$max_idprenota_prec' ");
hoteldruid-3.0.1/includes/funzioni_anno.php:451:esegui_query("update $tablerclientiprenota set idprenota = '$idprenota_corr' where idprenota = '$max_idprenota_prec'");
hoteldruid-3.0.1/includes/funzioni_anno.php:452:esegui_query("delete from $tablerclientiprenota_prec where idprenota = '$max_idprenota_prec'");
hoteldruid-3.0.1/includes/funzioni_anno.php:453:esegui_query("update $tableinterconnessioni set idlocale = '$idprenota_corr', anno = '$anno' where idlocale = '$idprenota' and ( tipoid = 'prenota' or tipoid = 'mess' ) and anno = '$anno_prec' ");
hoteldruid-3.0.1/includes/funzioni_anno.php-454-$nuovo_idprenota[$idprenota] = $idprenota_corr;
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-458-
hoteldruid-3.0.1/includes/funzioni_anno.php:459:$prenotacanc_importate = esegui_query("select * from $tableprenotacanc_prec where iddatainizio >= '$id_data_ini_periodi_prec' and iddatafine <= '$id_data_fine_periodi_prec' order by idprenota ");
hoteldruid-3.0.1/includes/funzioni_anno.php-460-$num_prenotacanc_importate = numlin_query($prenotacanc_importate);
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-472-$idprenota_corr++;
hoteldruid-3.0.1/includes/funzioni_anno.php:473:esegui_query("update $tableprenotacanc_prec set idprenota = '$max_idprenota_prec' where idprenota = '$idprenota'");
hoteldruid-3.0.1/includes/funzioni_anno.php:474:esegui_query("insert into $tableprenotacanc select $col_tableprenota from $tableprenotacanc_prec where idprenota = '$max_idprenota_prec' ");
hoteldruid-3.0.1/includes/funzioni_anno.php:475:esegui_query("update $tableprenotacanc set iddatainizio = '$iddatainizio' where idprenota = '$max_idprenota_prec'");
hoteldruid-3.0.1/includes/funzioni_anno.php:476:esegui_query("update $tableprenotacanc set iddatafine = '$iddatafine' where idprenota = '$max_idprenota_prec'");
hoteldruid-3.0.1/includes/funzioni_anno.php:477:esegui_query("update $tableprenotacanc set id_anni_prec = '$id_anni_prec' where idprenota = '$max_idprenota_prec'");
hoteldruid-3.0.1/includes/funzioni_anno.php:478:esegui_query("update $tableprenotacanc set idprenota = '$idprenota_corr' where idprenota = '$max_idprenota_prec'");
hoteldruid-3.0.1/includes/funzioni_anno.php:479:esegui_query("delete from $tableprenotacanc_prec where idprenota = '$max_idprenota_prec'");
hoteldruid-3.0.1/includes/funzioni_anno.php:480:esegui_query("update $tablecostiprenota_prec set idprenota = '$max_idprenota_prec' where idprenota = '$idprenota'");
hoteldruid-3.0.1/includes/funzioni_anno.php:481:esegui_query("insert into $tablecostiprenota select $col_tablecostiprenota from $tablecostiprenota_prec where idprenota = '$max_idprenota_prec' ");
hoteldruid-3.0.1/includes/funzioni_anno.php:482:esegui_query("update $tablecostiprenota set idprenota = '$idprenota_corr' where idprenota = '$max_idprenota_prec'");
hoteldruid-3.0.1/includes/funzioni_anno.php:483:esegui_query("delete from $tablecostiprenota_prec where idprenota = '$max_idprenota_prec'");
hoteldruid-3.0.1/includes/funzioni_anno.php:484:esegui_query("update $tablerclientiprenota_prec set idprenota = '$max_idprenota_prec' where idprenota = '$idprenota'");
hoteldruid-3.0.1/includes/funzioni_anno.php:485:esegui_query("insert into $tablerclientiprenota select $col_tablerclientiprenota from $tablerclientiprenota_prec where idprenota = '$max_idprenota_prec' ");
hoteldruid-3.0.1/includes/funzioni_anno.php:486:esegui_query("update $tablerclientiprenota set idprenota = '$idprenota_corr' where idprenota = '$max_idprenota_prec'");
hoteldruid-3.0.1/includes/funzioni_anno.php:487:esegui_query("delete from $tablerclientiprenota_prec where idprenota = '$max_idprenota_prec'");
hoteldruid-3.0.1/includes/funzioni_anno.php:488:esegui_query("update $tableinterconnessioni set idlocale = '$idprenota_corr', anno = '$anno' where idlocale = '$idprenota' and ( tipoid = 'prenota' or tipoid = 'mess' ) and anno = '$anno_prec' ");
hoteldruid-3.0.1/includes/funzioni_anno.php-489-$nuovo_idprenota[$idprenota] = $idprenota_corr;
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-502-for ($num2 = 1 ; $num2 < count($idprenota_compagna) ; $num2++) $n_idprenota_compagna .= ",".$nuovo_idprenota[$idprenota_compagna[$num2]];
hoteldruid-3.0.1/includes/funzioni_anno.php:503:esegui_query("update $tableprenota set idprenota_compagna = '$n_idprenota_compagna' where idprenota = '$idprenota'");
hoteldruid-3.0.1/includes/funzioni_anno.php-504-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-510-$max_idcostiprenota_prec++;
hoteldruid-3.0.1/includes/funzioni_anno.php:511:esegui_query("update $tablecostiprenota set idcostiprenota = '$max_idcostiprenota_prec' where idcostiprenota = '$idcostiprenota'");
hoteldruid-3.0.1/includes/funzioni_anno.php-512-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-521-for ($num2 = 1 ; $num2 < (count($settimane) - 1) ; $num2++) $settimane_nuove .= ($settimane[$num2] - $id_data_ini_periodi_prec + 1).",";
hoteldruid-3.0.1/includes/funzioni_anno.php:522:esegui_query("update $tablecostiprenota set settimane = '$settimane_nuove' where idcostiprenota = '$idcostiprenota'");
hoteldruid-3.0.1/includes/funzioni_anno.php-523-} # fine if (str_replace(",","",$settimane) != $settimane)
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-540-if (strlen($vpp_nuovi) > 1) $vpp_nuovi = substr($vpp_nuovi,0,-1);
hoteldruid-3.0.1/includes/funzioni_anno.php:541:esegui_query("update $tablecostiprenota set varperiodipermessi = '$vpp_nuovi' where idcostiprenota = '$idcostiprenota'");
hoteldruid-3.0.1/includes/funzioni_anno.php-542-} # fine if ($varperiodipermessi)
hoteldruid-3.0.1/includes/funzioni_anno.php:543:esegui_query("update $tablecostiprenota set idcostiprenota = '".($num1 + 2)."' where idcostiprenota = '$idcostiprenota'");
hoteldruid-3.0.1/includes/funzioni_anno.php-544-} # fine for $num1
hoteldruid-3.0.1/includes/funzioni_anno.php-545-
hoteldruid-3.0.1/includes/funzioni_anno.php:546:$tariffe_importate = esegui_query("select * from $tableperiodi_prec where idperiodi >= '$id_data_ini_periodi_prec' and idperiodi <= '$id_data_fine_periodi_prec' ");
hoteldruid-3.0.1/includes/funzioni_anno.php-547-$num_tariffe_iportate = numlin_query($tariffe_importate);
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-552-$tariffa = (string) risul_query($tariffe_importate,$num1,"tariffa".$num2);
hoteldruid-3.0.1/includes/funzioni_anno.php:553:if (strcmp($tariffa,"")) esegui_query("update $tableperiodi set tariffa$num2 = '$tariffa' where idperiodi = $idperiodi ");
hoteldruid-3.0.1/includes/funzioni_anno.php-554-$tariffap = (string) risul_query($tariffe_importate,$num1,"tariffa".$num2."p");
hoteldruid-3.0.1/includes/funzioni_anno.php:555:if (strcmp($tariffap,"")) esegui_query("update $tableperiodi set tariffa$num2"."p = '$tariffap' where idperiodi = $idperiodi ");
hoteldruid-3.0.1/includes/funzioni_anno.php-556-} # fine for $num2
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-558-
hoteldruid-3.0.1/includes/funzioni_anno.php:559:$regole_prec = esegui_query("select * from $tableregole_prec where iddatafine >= '$id_data_ini_periodi_prec' ");
hoteldruid-3.0.1/includes/funzioni_anno.php-560-$num_regole_prec = numlin_query($regole_prec);
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-579-} # fine else $tariffa_commissioni)
hoteldruid-3.0.1/includes/funzioni_anno.php:580:if (strcmp($motivazione,"")) esegui_query("update $tableregole set motivazione = '".aggslashdb($motivazione)."' where idregole = '$idregole' ");
hoteldruid-3.0.1/includes/funzioni_anno.php:581:if (strcmp($motivazione2,"")) esegui_query("update $tableregole set motivazione2 = '".aggslashdb($motivazione2)."' where idregole = '$idregole' ");
hoteldruid-3.0.1/includes/funzioni_anno.php:582:if (strcmp($motivazione3,"")) esegui_query("update $tableregole set motivazione3 = '".aggslashdb($motivazione3)."' where idregole = '$idregole' ");
hoteldruid-3.0.1/includes/funzioni_anno.php-583-} # fine for $num1
hoteldruid-3.0.1/includes/funzioni_anno.php-584-
hoteldruid-3.0.1/includes/funzioni_anno.php:585:$soldi_importati = esegui_query("select * from $tablesoldi_prec where data_inserimento >= '$data_inizio_periodi' and  saldo_prenota is not NULL order by idsoldi");
hoteldruid-3.0.1/includes/funzioni_anno.php-586-$num_soldi_importati = numlin_query($soldi_importati);
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-593-$n_motiv = $motiv[0].";".$nuovo_iddatainizio[$motiv[3]].";".$nuovo_iddatafine[$motiv[3]].";".$nuovo_idprenota[$motiv[3]];
hoteldruid-3.0.1/includes/funzioni_anno.php:594:esegui_query("insert into $tablesoldi select $col_tablesoldi from $tablesoldi_prec where idsoldi = '$idsoldi_prec' ");
hoteldruid-3.0.1/includes/funzioni_anno.php:595:esegui_query("delete from $tablesoldi_prec where idsoldi = '$idsoldi_prec' ");
hoteldruid-3.0.1/includes/funzioni_anno.php:596:esegui_query("update $tablesoldi set motivazione = '$n_motiv' where idsoldi = '$idsoldi_prec' ");
hoteldruid-3.0.1/includes/funzioni_anno.php:597:esegui_query("update $tablesoldi set idsoldi = '$idsoldi_corr' where idsoldi = '$idsoldi_prec' ");
hoteldruid-3.0.1/includes/funzioni_anno.php-598-} # fine if ($nuovo_idprenota[$motiv[3]])
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-601-# aggiorno i messaggi con prenotazioni del nuovo anno già inserite, quelli da inserire sono aggiornati con i modelli internet
hoteldruid-3.0.1/includes/funzioni_anno.php:602:$messaggi_importati = esegui_query("select * from $tablemessaggi where stato = 'ins' and dati_messaggio18 = '$anno_prec' ");
hoteldruid-3.0.1/includes/funzioni_anno.php-603-$num_messaggi_importati = numlin_query($messaggi_importati);
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-614-$n_lista_pren = substr($n_lista_pren,0,-1);
hoteldruid-3.0.1/includes/funzioni_anno.php:615:esegui_query("update $tablemessaggi set dati_messaggio1 = '$n_lista_pren', dati_messaggio18 = '$anno' where idmessaggi = '$idmess' ");
hoteldruid-3.0.1/includes/funzioni_anno.php-616-} # fine if ($agg_mess)
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-637-for ($num2 = 1 ; $num2 <= $max_contr ; $num2++) $nomi_contr_ut[$idutente_contr][$num2] = $parola_documento.$num2;
hoteldruid-3.0.1/includes/funzioni_anno.php:638:$nomi_contratti = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'nomi_contratti' and idutente = '$idutente_contr'");
hoteldruid-3.0.1/includes/funzioni_anno.php-639-$nomi_contratti = risul_query($nomi_contratti,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-653-$num_contr = risul_query($dirs_salva,$num1,'numero');
hoteldruid-3.0.1/includes/funzioni_anno.php:654:/*$tipo_contratto = esegui_query("select tipo from ".$PHPR_TAB_PRE."contratti where numero = '$num_contr' and tipo $LIKE 'contr%' ");
hoteldruid-3.0.1/includes/funzioni_anno.php-655-$tipo_contratto = risul_query($tipo_contratto,0,'tipo');
hoteldruid-3.0.1/includes/funzioni_anno.php:656:$compress = esegui_query("select testo from ".$PHPR_TAB_PRE."contratti where numero = '$num_contr' and tipo = 'compress' ");
hoteldruid-3.0.1/includes/funzioni_anno.php-657-if (numlin_query($compress)) $compress = risul_query($compress,0,'testo');
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-662-if ($compress) $suff_file .= ".gz";*/
hoteldruid-3.0.1/includes/funzioni_anno.php:663:$nomefile = esegui_query("select testo from ".$PHPR_TAB_PRE."contratti where numero = '$num_contr' and tipo = 'nomefile' ");
hoteldruid-3.0.1/includes/funzioni_anno.php-664-if (numlin_query($nomefile)) $nomefile = risul_query($nomefile,0,'testo');
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-743-
hoteldruid-3.0.1/includes/funzioni_anno.php:744:$costi_importati = esegui_query("select * from $tablecosti_prec where datainserimento >= '$data_inizio_periodi' and  tipo_costo is not NULL order by idcosti");
hoteldruid-3.0.1/includes/funzioni_anno.php-745-$num_costi_importati = numlin_query($costi_importati);
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-749-$idcosti_prec = risul_query($costi_importati,$num1,'idcosti');
hoteldruid-3.0.1/includes/funzioni_anno.php:750:esegui_query("insert into $tablecosti select $col_tablecosti from $tablecosti_prec where idcosti = '$idcosti_prec' ");
hoteldruid-3.0.1/includes/funzioni_anno.php:751:esegui_query("delete from $tablecosti_prec where idcosti = '$idcosti_prec' ");
hoteldruid-3.0.1/includes/funzioni_anno.php:752:esegui_query("update $tablecosti set idcosti = '$idcosti_corr' where idcosti = '$idcosti_prec' ");
hoteldruid-3.0.1/includes/funzioni_anno.php-753-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-755-$data_lim = ($anno + 1)."-01-01 00:00:00";
hoteldruid-3.0.1/includes/funzioni_anno.php:756:$costi_cassa = esegui_query("select * from $tablecosti where tipo_costo = 'e' and provenienza_costo = 'p' and datainserimento < '$data_lim' ");
hoteldruid-3.0.1/includes/funzioni_anno.php-757-$num_costi_cassa = numlin_query($costi_cassa);
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-776-$idcosti_corr++;
hoteldruid-3.0.1/includes/funzioni_anno.php:777:$nome_utente = esegui_query("select * from $tableutenti where idutenti = '$utente_costo' ");
hoteldruid-3.0.1/includes/funzioni_anno.php-778-if (numlin_query($nome_utente)) $nome_utente = risul_query($nome_utente,0,'nome_utente');
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-785-esegui_query("insert into $tablecosti (idcosti,nome_costo,val_costo,persona_costo,tipo_costo,datainserimento,hostinserimento,utente_inserimento) values ('$idcosti_corr','$anno_prec','$val_costo','".aggslashdb($nome_utente)."','$tipo_costo','$datainserimento','$HOSTNAME','$utente_costo') ");
hoteldruid-3.0.1/includes/funzioni_anno.php:786:if ($nome_cassa != "@#principale#@") esegui_query("update $tablecosti set nome_cassa = '".aggslashdb($nome_cassa)."' where idcosti = '$idcosti_corr' ");
hoteldruid-3.0.1/includes/funzioni_anno.php-787-} # fine foreach ($casse as $nome_cassa => $val_costo)
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-839-if (strlen($pp_nuovi) > 1) $pp_nuovi = substr($pp_nuovi,0,-1);
hoteldruid-3.0.1/includes/funzioni_anno.php:840:esegui_query("update $tablenometariffe set periodipermessi_ca = '$pp_nuovi' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/includes/funzioni_anno.php-841-} # fine if ($periodipermessi)
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-846-esegui_query("insert into $tableregole select $col_tableregole from $tableregole_prec where tariffa_commissioni is not NULL and iddatainizio is NULL ");
hoteldruid-3.0.1/includes/funzioni_anno.php:847:$privilegi_prec = esegui_query("select * from $tableprivilegi where anno = '$anno_prec'");
hoteldruid-3.0.1/includes/funzioni_anno.php-848-for ($num1 = 0 ; $num1 < numlin_query($privilegi_prec) ; $num1++) {
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-869-$lingua_mex = $lingua[1];
hoteldruid-3.0.1/includes/funzioni_anno.php:870:$giorno_vedi_ini_sett = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'giorno_vedi_ini_sett$anno_prec' and idutente = '$idutente_p'");
hoteldruid-3.0.1/includes/funzioni_anno.php-871-if (numlin_query($giorno_vedi_ini_sett) == 1 and $tipo_periodi == "g") esegui_query("insert into $tablepersonalizza (idpersonalizza,valpersonalizza_num,idutente) values ('giorno_vedi_ini_sett$anno','".risul_query($giorno_vedi_ini_sett,0,"valpersonalizza_num")."','$idutente_p')");
hoteldruid-3.0.1/includes/funzioni_anno.php-872-} # fine for $num1
hoteldruid-3.0.1/includes/funzioni_anno.php:873:$giorno_vedi_ini_sett = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'giorno_vedi_ini_sett$anno_prec' and idutente = '1'");
hoteldruid-3.0.1/includes/funzioni_anno.php-874-if (numlin_query($giorno_vedi_ini_sett) == 1 and $tipo_periodi == "g") esegui_query("insert into $tablepersonalizza (idpersonalizza,valpersonalizza_num,idutente) values ('giorno_vedi_ini_sett$anno','".risul_query($giorno_vedi_ini_sett,0,"valpersonalizza_num")."','1')");
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-888-$lista_clienti_conserva_cc = $lista_clienti_importati;
hoteldruid-3.0.1/includes/funzioni_anno.php:889:$ini_ultimo_quad =  esegui_query("select * from $tableperiodi_prec where datainizio = '$anno_prec-09-01'");
hoteldruid-3.0.1/includes/funzioni_anno.php-890-if (numlin_query($ini_ultimo_quad)) {
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-898-} # fine if (numlin_query($ini_ultimo_quad))
hoteldruid-3.0.1/includes/funzioni_anno.php:899:esegui_query("delete from $tablerelclienti where tipo = 'cc' $lista_clienti_conserva_cc");
hoteldruid-3.0.1/includes/funzioni_anno.php-900-} # fine if ((!defined('C_URL_MOD_EXT_CARTE_CREDITO') or C_URL_MOD_EXT_CARTE_CREDITO == "") and $importa_anno_prec == "SI")
##############################################
hoteldruid-3.0.1/includes/funzioni_anno.php-957-if ($modello_ext != "." and $modello_ext != ".." and @is_dir("./includes/templates/$modello_ext")) {
hoteldruid-3.0.1/includes/funzioni_anno.php:958:include("./includes/templates/$modello_ext/name.php");
hoteldruid-3.0.1/includes/funzioni_anno.php:959:include("./includes/templates/$modello_ext/phrases.php");
hoteldruid-3.0.1/includes/funzioni_anno.php:960:include("./includes/templates/$modello_ext/functions.php");
hoteldruid-3.0.1/includes/funzioni_anno.php-961-$funz_recupera_var_modello = "recupera_var_modello_".$modello_ext;
##############################################
hoteldruid-3.0.1/includes/funzioni_clienti.php-114-if ($attiva_prefisso_clienti == "s") $cognome_maius = $cognome_maius.$prefisso_clienti;
hoteldruid-3.0.1/includes/funzioni_clienti.php:115:esegui_query("update $tableclienti set cognome = '".aggslashdb(substr($cognome_maius,0,70))."' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-116-} # fine elseif ($cognome)
##############################################
hoteldruid-3.0.1/includes/funzioni_clienti.php-118-$nome_maius = trim(ucwords($nome));
hoteldruid-3.0.1/includes/funzioni_clienti.php:119:esegui_query("update $tableclienti set nome = '".aggslashdb(substr($nome_maius,0,70))."' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-120-} # fine if ($nome)
hoteldruid-3.0.1/includes/funzioni_clienti.php-121-if ($soprannome) {
hoteldruid-3.0.1/includes/funzioni_clienti.php:122:esegui_query("update $tableclienti set soprannome = '".aggslashdb($soprannome)."' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-123-} # fine if ($soprannome)
hoteldruid-3.0.1/includes/funzioni_clienti.php-124-if ($titolo_cli) {
hoteldruid-3.0.1/includes/funzioni_clienti.php:125:$titoli_cliente = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'titoli_cliente' and idutente = '$id_utente'");
hoteldruid-3.0.1/includes/funzioni_clienti.php-126-if (numlin_query($titoli_cliente) == 1) {
##############################################
hoteldruid-3.0.1/includes/funzioni_clienti.php-131-if ($titolo_cli == $tito[0]) {
hoteldruid-3.0.1/includes/funzioni_clienti.php:132:esegui_query("update $tableclienti set titolo = '".aggslashdb($titolo_cli)."' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-133-if ($tito[1] and !$sesso) $sesso = $tito[1];
##############################################
hoteldruid-3.0.1/includes/funzioni_clienti.php-140-if ($sesso != "f") $sesso = "m";
hoteldruid-3.0.1/includes/funzioni_clienti.php:141:esegui_query("update $tableclienti set sesso = '$sesso' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-142-} # fine if ($sesso)
##############################################
hoteldruid-3.0.1/includes/funzioni_clienti.php-150-$datanascita = aggslashdb($datanascita);
hoteldruid-3.0.1/includes/funzioni_clienti.php:151:esegui_query("update $tableclienti set datanascita = '$datanascita' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-152-} # fine if ($mesenascita and ...
##############################################
hoteldruid-3.0.1/includes/funzioni_clienti.php-155-$nazionenascita_maius = aggslashdb($nazionenascita_maius);
hoteldruid-3.0.1/includes/funzioni_clienti.php:156:esegui_query("update $tableclienti set nazionenascita = '$nazionenascita_maius' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-157-} # fine if ($nazionenascita)
##############################################
hoteldruid-3.0.1/includes/funzioni_clienti.php-160-$cittanascita_maius = aggslashdb($cittanascita_maius);
hoteldruid-3.0.1/includes/funzioni_clienti.php:161:esegui_query("update $tableclienti set cittanascita = '$cittanascita_maius' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-162-} # fine if ($cittanascita)
##############################################
hoteldruid-3.0.1/includes/funzioni_clienti.php-165-$regionenascita_maius = aggslashdb($regionenascita_maius);
hoteldruid-3.0.1/includes/funzioni_clienti.php:166:esegui_query("update $tableclienti set regionenascita = '$regionenascita_maius' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-167-} # fine if ($regionenascita)
hoteldruid-3.0.1/includes/funzioni_clienti.php-168-if ($documento) {
hoteldruid-3.0.1/includes/funzioni_clienti.php:169:if ($tipodoc) esegui_query("update $tableclienti set tipodoc = '".aggslashdb($tipodoc)."' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-170-$documento = aggslashdb($documento);
hoteldruid-3.0.1/includes/funzioni_clienti.php:171:esegui_query("update $tableclienti set documento = '$documento' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-172-} # fine if ($documento)
##############################################
hoteldruid-3.0.1/includes/funzioni_clienti.php-175-$datascaddoc = aggslashdb($datascaddoc);
hoteldruid-3.0.1/includes/funzioni_clienti.php:176:esegui_query("update $tableclienti set scadenzadoc = '$datascaddoc' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-177-} # fine if ($mesescaddoc and ...
##############################################
hoteldruid-3.0.1/includes/funzioni_clienti.php-180-$nazionedoc_maius = aggslashdb($nazionedoc_maius);
hoteldruid-3.0.1/includes/funzioni_clienti.php:181:esegui_query("update $tableclienti set nazionedoc = '$nazionedoc_maius' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-182-} # fine if ($nazionedoc)
##############################################
hoteldruid-3.0.1/includes/funzioni_clienti.php-185-$cittadoc_maius = aggslashdb($cittadoc_maius);
hoteldruid-3.0.1/includes/funzioni_clienti.php:186:esegui_query("update $tableclienti set cittadoc = '$cittadoc_maius' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-187-} # fine if ($cittadoc)
##############################################
hoteldruid-3.0.1/includes/funzioni_clienti.php-190-$regionedoc_maius = aggslashdb($regionedoc_maius);
hoteldruid-3.0.1/includes/funzioni_clienti.php:191:esegui_query("update $tableclienti set regionedoc = '$regionedoc_maius' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-192-} # fine if ($regionedoc)
##############################################
hoteldruid-3.0.1/includes/funzioni_clienti.php-195-$nazionalita_maius = aggslashdb($nazionalita_maius);
hoteldruid-3.0.1/includes/funzioni_clienti.php:196:esegui_query("update $tableclienti set nazionalita = '$nazionalita_maius' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-197-} # fine if ($nazionalita)
##############################################
hoteldruid-3.0.1/includes/funzioni_clienti.php-200-if ($lingua_cli == $lingua_mex or $lingua_cli == "ita" or @is_dir("./includes/lang/$lingua_cli")) {
hoteldruid-3.0.1/includes/funzioni_clienti.php:201:esegui_query("update $tableclienti set lingua = '".aggslashdb($lingua_cli)."' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-202-} # fine if ($lingua == $lingua_mex or $lingua_cli == "ita" or...
##############################################
hoteldruid-3.0.1/includes/funzioni_clienti.php-208-$nazione_maius = trim(ucwords($nazione));
hoteldruid-3.0.1/includes/funzioni_clienti.php:209:esegui_query("update $tableclienti set nazione = '".aggslashdb(substr($nazione_maius,0,70))."' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-210-} # fine if ($nazione)
##############################################
hoteldruid-3.0.1/includes/funzioni_clienti.php-212-$citta_maius = trim(ucwords($citta));
hoteldruid-3.0.1/includes/funzioni_clienti.php:213:esegui_query("update $tableclienti set citta = '".aggslashdb(substr($citta_maius,0,70))."' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-214-} # fine if ($citta)
##############################################
hoteldruid-3.0.1/includes/funzioni_clienti.php-216-$regione_maius = trim(ucwords($regione));
hoteldruid-3.0.1/includes/funzioni_clienti.php:217:esegui_query("update $tableclienti set regione = '".aggslashdb(substr($regione_maius,0,70))."' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-218-} # fine if ($regione)
##############################################
hoteldruid-3.0.1/includes/funzioni_clienti.php-220-if (strcmp($via,"")) {
hoteldruid-3.0.1/includes/funzioni_clienti.php:221:if ($lingua_mex != "ita") include("./includes/lang/$lingua_mex/ordine_frasi.php");
hoteldruid-3.0.1/includes/funzioni_clienti.php-222-if ($ordine_strada == 2) $via = $nomevia." ".$via;
##############################################
hoteldruid-3.0.1/includes/funzioni_clienti.php-226-$via_maius = trim(ucwords($via));
hoteldruid-3.0.1/includes/funzioni_clienti.php:227:esegui_query("update $tableclienti set via = '".aggslashdb(substr($via_maius,0,70))."' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-228-} # fine if ($nomevia)
hoteldruid-3.0.1/includes/funzioni_clienti.php:229:if ($numcivico) esegui_query("update $tableclienti set numcivico = '".aggslashdb(substr($numcivico,0,30))."' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php:230:if ($cap) esegui_query("update $tableclienti set cap = '".aggslashdb(substr($cap,0,30))."' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php:231:if ($telefono) esegui_query("update $tableclienti set telefono = '".aggslashdb(substr($telefono,0,50))."' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php:232:if ($telefono2) esegui_query("update $tableclienti set telefono2 = '".aggslashdb(substr($telefono2,0,50))."' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php:233:if ($telefono3) esegui_query("update $tableclienti set telefono3 = '".aggslashdb(substr($telefono3,0,50))."' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php:234:if ($fax) esegui_query("update $tableclienti set fax = '".aggslashdb(substr($fax,0,50))."' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-235-$email = aggslashdb($email);
hoteldruid-3.0.1/includes/funzioni_clienti.php:236:if ($email) esegui_query("update $tableclienti set email = '$email' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-237-$email2 = aggslashdb($email2);
hoteldruid-3.0.1/includes/funzioni_clienti.php:238:if ($email2) esegui_query("update $tableclienti set email2 = '$email2' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-239-$email_cert = aggslashdb($email_cert);
hoteldruid-3.0.1/includes/funzioni_clienti.php:240:if ($email_cert) esegui_query("update $tableclienti set email3 = '$email_cert' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-241-$cod_fiscale = aggslashdb($cod_fiscale);
hoteldruid-3.0.1/includes/funzioni_clienti.php:242:if ($cod_fiscale) esegui_query("update $tableclienti set cod_fiscale = '$cod_fiscale' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-243-$partita_iva = aggslashdb($partita_iva);
hoteldruid-3.0.1/includes/funzioni_clienti.php:244:if ($partita_iva) esegui_query("update $tableclienti set partita_iva = '$partita_iva' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php:245:if ($max_num_ordine) esegui_query("update $tableclienti set max_num_ordine = '".aggslashdb($max_num_ordine)."' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-246-
##############################################
hoteldruid-3.0.1/includes/funzioni_clienti.php-270-if (!$priv_ins_clienti) {
hoteldruid-3.0.1/includes/funzioni_clienti.php:271:$privilegi_globali_utente = esegui_query("select * from $PHPR_TAB_PRE"."privilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/includes/funzioni_clienti.php-272-$priv_ins_clienti = risul_query($privilegi_globali_utente,0,'priv_ins_clienti');
##############################################
hoteldruid-3.0.1/includes/funzioni_clienti.php-504-if (!$liste_relutente[$id_sup_sel][$nomelista]) {
hoteldruid-3.0.1/includes/funzioni_clienti.php:505:if (!$rel_sup_sing and !$id_sup_sel) $lista_utente = esegui_query("select distinct $tablelista.$nomelista from $tablerelutenti inner join $tablelista on $tablerelutenti.$idrelutenti = $tablelista.$idlista where $tablerelutenti.idutente = '$id_utente' order by $tablelista.$nomelista");
hoteldruid-3.0.1/includes/funzioni_clienti.php-506-else {
##############################################
hoteldruid-3.0.1/includes/funzioni_clienti.php-508-else $is_id = "is NULL";
hoteldruid-3.0.1/includes/funzioni_clienti.php:509:$lista_utente = esegui_query("select distinct $tablelista.$nomelista from $tablerelutenti inner join $tablelista on $tablerelutenti.$idrelutenti = $tablelista.$idlista where $tablerelutenti.idutente = '$id_utente' and $tablerelutenti.idsup $is_id order by $tablelista.$nomelista");
hoteldruid-3.0.1/includes/funzioni_clienti.php-510-} # fine else if (!$rel_sup_sing and !$id_sup_sel)
##############################################
hoteldruid-3.0.1/includes/funzioni_clienti.php-533-if ($rel_inf_sing) {
hoteldruid-3.0.1/includes/funzioni_clienti.php:534:$inf_esist = esegui_query("select idsup from $tablerelutenti where idutente = '$id_utente' and id$rel_inf_sing is not NULL and idsup is not NULL limit 1 ");
hoteldruid-3.0.1/includes/funzioni_clienti.php-535-if (!numlin_query($inf_esist)) $rel_inf_sing = "";
##############################################
hoteldruid-3.0.1/includes/dati_lista_clienti.php-32-$id_clienti = aggslashdb($lista_clienti[$num1]);
hoteldruid-3.0.1/includes/dati_lista_clienti.php:33:$dati_cliente = esegui_query("select * from $tableclienti where idclienti = '$id_clienti' ");
hoteldruid-3.0.1/includes/dati_lista_clienti.php-34-if ($vedi_clienti == "PROPRI" or $vedi_clienti == "GRUPPI") {
##############################################
hoteldruid-3.0.1/includes/dati_lista_clienti.php-79-if (strcmp(risul_query($dati_cliente,0,'partita_iva'),"")) ${"partita_iva_".$num_c} = risul_query($dati_cliente,0,'partita_iva');
hoteldruid-3.0.1/includes/dati_lista_clienti.php:80:$dati_relcliente = esegui_query("select * from $tablerelclienti where idclienti = '$id_clienti' and tipo = 'campo_pers' ");
hoteldruid-3.0.1/includes/dati_lista_clienti.php-81-$num_dati_relcliente = numlin_query($dati_relcliente);
##############################################
hoteldruid-3.0.1/includes/interconnect/aggiorna_ic_fork.php-27-unset($ic_present);
hoteldruid-3.0.1/includes/interconnect/aggiorna_ic_fork.php:28:include($file_interconnessioni);
hoteldruid-3.0.1/includes/interconnect/aggiorna_ic_fork.php-29-if (@is_array($ic_present)) {
##############################################
hoteldruid-3.0.1/includes/interconnect/aggiorna_ic_fork.php-55-if ($mod_ext != "." and $mod_ext != ".." and @is_dir("./includes/interconnect/$mod_ext")) {
hoteldruid-3.0.1/includes/interconnect/aggiorna_ic_fork.php:56:include("./includes/interconnect/$mod_ext/name.php");
hoteldruid-3.0.1/includes/interconnect/aggiorna_ic_fork.php-57-if ($ic_present[$interconnection_name] == "SI") {
##############################################
hoteldruid-3.0.1/includes/interconnect/aggiorna_ic_fork.php-59-$funz_update_rates = "update_rates_".$interconnection_func_name;
hoteldruid-3.0.1/includes/interconnect/aggiorna_ic_fork.php:60:if (!function_exists($funz_update_availability)) include("./includes/interconnect/$mod_ext/functions.php");
hoteldruid-3.0.1/includes/interconnect/aggiorna_ic_fork.php-61-if ($aggiorna_disp) $funz_update_availability($file_interconnessioni,$anno,$PHPR_TAB_PRE,$lock);
##############################################
hoteldruid-3.0.1/includes/interconnect/aggiorna_ic.php-27-unset($ic_present);
hoteldruid-3.0.1/includes/interconnect/aggiorna_ic.php:28:include($file_interconnessioni);
hoteldruid-3.0.1/includes/interconnect/aggiorna_ic.php-29-if (@is_array($ic_present)) {
##############################################
hoteldruid-3.0.1/includes/interconnect/aggiorna_ic.php-36-if ($mod_ext != "." and $mod_ext != ".." and @is_dir("./includes/interconnect/$mod_ext")) {
hoteldruid-3.0.1/includes/interconnect/aggiorna_ic.php:37:include("./includes/interconnect/$mod_ext/name.php");
hoteldruid-3.0.1/includes/interconnect/aggiorna_ic.php-38-if ($ic_present[$interconnection_name] == "SI") {
##############################################
hoteldruid-3.0.1/includes/interconnect/aggiorna_ic.php-40-$funz_update_rates = "update_rates_".$interconnection_func_name;
hoteldruid-3.0.1/includes/interconnect/aggiorna_ic.php:41:if (!function_exists($funz_update_availability)) include("./includes/interconnect/$mod_ext/functions.php");
hoteldruid-3.0.1/includes/interconnect/aggiorna_ic.php-42-if ($aggiorna_disp) $funz_update_availability($file_interconnessioni,$anno,$PHPR_TAB_PRE,$lock);
##############################################
hoteldruid-3.0.1/includes/funzioni_menu.php-27-#else $aggiungi_giorni = 7;
hoteldruid-3.0.1/includes/funzioni_menu.php:28:include($file_menu);
hoteldruid-3.0.1/includes/funzioni_menu.php-29-$file_intero = file("$file_menu");
##############################################
hoteldruid-3.0.1/includes/funzioni_menu.php-135-#else $aggiungi_giorni = 7;
hoteldruid-3.0.1/includes/funzioni_menu.php:136:include($file_menu);
hoteldruid-3.0.1/includes/funzioni_menu.php-137-$file_intero = file("$file_menu");
##############################################
hoteldruid-3.0.1/includes/funzioni_menu.php-293-unset($d_increment);
hoteldruid-3.0.1/includes/funzioni_menu.php:294:include($file_menu);
hoteldruid-3.0.1/includes/funzioni_menu.php-295-$num_periodi_vecchi = count($y_ini_menu);
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-44-if (!$inc) {
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:45:$tipo_periodi = esegui_query("select * from $tableanni where idanni = $anno");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-46-$tipo_periodi = risul_query($tipo_periodi,0,'tipo_periodi');
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-69-$fineperiodo_orig[$n_t] = $fineperiodo[$n_t];
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:70:$idinizioperiodo = esegui_query("select idperiodi from $tableperiodi where datainizio = '".aggslashdb($inizioperiodo[$n_t])."' ");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-71-$num_idinizioperiodo = numlin_query($idinizioperiodo);
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-75-if (!$idinizioperiodo_tot or $idinizioperiodo < $idinizioperiodo_tot) $idinizioperiodo_tot = $idinizioperiodo;
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:76:$idfineperiodo = esegui_query("select idperiodi from $tableperiodi where datafine = '".aggslashdb($fineperiodo[$n_t])."' ");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-77-$num_idfineperiodo = numlin_query($idfineperiodo);
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-95-for ($num1 = $inizioperiodo[$n_t] ; $num1 <= $fineperiodo[$n_t] ; $num1++) {
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:96:$rigasettimana = esegui_query("select * from $tableperiodi where idperiodi = '$num1' ");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-97-$esistetariffa = risul_query($rigasettimana,0,$tipotariffa[$n_t]);
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-119-if ($id_utente == 1) {
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:120:$regole3 = esegui_query("select * from $tableregole where tariffa_per_utente = '".aggslashdb($tipotariffa[$n_t])."'");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-121-if (numlin_query($regole3) == 1) $id_utente_ins = risul_query($regole3,0,'iddatainizio');
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-128-if (!$numpersone[$n_t]) {
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:129:$regole4 = esegui_query("select * from $tableregole where tariffa_per_persone = '".aggslashdb($tipotariffa[$n_t])."'");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-130-if (numlin_query($regole4) == 1) $numpersone[$n_t] = risul_query($regole4,0,'iddatainizio');
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-145-else {
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:146:$cliente_esistente = esegui_query("select cognome from $tableclienti where idclienti = '".$idclienti[$n_t]."' ");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-147-if (numlin_query($cliente_esistente) != 1) $inserire = "NO";
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-160-$app_richiesti_id[$n_t][$appo] = "SI";
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:161:$appartamento_esistente = esegui_query("select idappartamenti from $tableappartamenti where idappartamenti = '$appo' ");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-162-if (numlin_query($appartamento_esistente) != 1) {
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-259-if (controlla_num_pos($id_prenota_imp[$n_t]) == "SI") {
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:260:$id_esistente = esegui_query("select idprenota from $tableprenota where idprenota = '".$id_prenota_imp[$n_t]."' ");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-261-if (numlin_query($id_esistente)) unset($id_prenota_imp);
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-270-
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:271:$app_agenzia = esegui_query("select * from $tableregole where app_agenzia != ''$condizioni_regole1_non_sel");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-272-$num_app_agenzia = numlin_query($app_agenzia);
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-276-$lim_prenota_temp = aggslashdb(date("Y-m-d H:i:s",(time() + (C_DIFF_ORE * 3600) - ($minuti_durata_insprenota * 60))));
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:277:esegui_query("delete from $tableprenota where idclienti = '0' and datainserimento < '".$lim_prenota_temp."' ");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-278-
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-387-$motivazione_app_agenzia = risul_query($app_agenzia,$num1,'motivazione');
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:388:$idprenota_cambiate_da_ag = esegui_query("select idprenota from $tableprenota where idappartamenti = '$id_app_agenzia' and iddatainizio <= '$idfine_app_agenzia' and iddatafine >= '$idinizio_app_agenzia'");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-389-$num_idprenota_cambiate_da_ag = numlin_query($idprenota_cambiate_da_ag);
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-393-$idapp_camb = $app_prenota_id[$idprenota_cambiata];
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:394:$dati_cambiati = esegui_query("select * from $tableprenota where idprenota = '$idprenota_cambiata'");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-395-$idclienti_camb = risul_query($dati_cambiati,0,'idclienti');
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:396:$cliente_camb = esegui_query("select cognome from $tableclienti where idclienti = '$idclienti_camb'");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-397-if ($idclienti_camb) $cliente_camb = risul_query($cliente_camb,0,'cognome');
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-399-$iddatainizio_camb = $inizio_prenota_id[$idprenota_cambiata];
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:400:$datainizio_camb = esegui_query("select datainizio from $tableperiodi where idperiodi = '$iddatainizio_camb'");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-401-$datainizio_camb = risul_query($datainizio_camb,0,'datainizio');
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-403-$iddatafine_camb = $fine_prenota_id[$idprenota_cambiata];
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:404:$datafine_camb = esegui_query("select datafine from $tableperiodi where idperiodi = '$iddatafine_camb'");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-405-$datafine_camb = risul_query($datafine_camb,0,'datafine');
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-413-if ($app_orig_prenota_id[$idprenota_cambiata] and $app_prenota_id[$idprenota_cambiata] != $app_orig_prenota_id[$idprenota_cambiata]) {
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:414:$dati_cambiati = esegui_query("select * from $tableprenota where idprenota = $idprenota_cambiata");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-415-$idapp_camb = $app_orig_prenota_id[$idprenota_cambiata];
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-416-$idclienti_camb = risul_query($dati_cambiati,0,'idclienti');
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:417:$cliente_camb = esegui_query("select cognome from $tableclienti where idclienti = $idclienti_camb");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-418-if ($idclienti_camb) $cliente_camb = risul_query($cliente_camb,0,'cognome');
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-420-$iddatainizio_camb = $inizio_prenota_id[$idprenota_cambiata];
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:421:$datainizio_camb = esegui_query("select datainizio from $tableperiodi where idperiodi = $iddatainizio_camb");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-422-$datainizio_camb = risul_query($datainizio_camb,0,'datainizio');
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-424-$iddatafine_camb = $fine_prenota_id[$idprenota_cambiata];
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:425:$datafine_camb = esegui_query("select datafine from $tableperiodi where idperiodi = $iddatafine_camb");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-426-$datafine_camb = risul_query($datafine_camb,0,'datafine');
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-482-
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:483:$metodi_pagamento = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'metodi_pagamento' and idutente = '$id_utente'");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-484-$metodi_pagamento = risul_query($metodi_pagamento,0,'valpersonalizza');
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-485-if ($metodi_pagamento) $metodi_pagamento = explode(",",$metodi_pagamento);
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:486:$origini_prenota = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'origini_prenota' and idutente = '$id_utente'");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-487-$origini_prenota = risul_query($origini_prenota,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-519-for ($num2 = $inizioperiodo[$n_t] ; $num2 <= $fineperiodo[$n_t] ; $num2++) {
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:520:$riga_tariffa = esegui_query("select * from  $tableperiodi where idperiodi = $num2");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-521-if (strcmp($tar_sett_imp[$num2],"")) $costo_tariffa = $tar_sett_imp[$num2];
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-566-if ($numpersone[$n_t]) {
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:567:esegui_query("update $tableprenota set num_persone = '".$numpersone[$n_t]."' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-568-} # fine if ($numpersone[$n_t])
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-570-if ($dati_tariffe[$tipotariffa[$n_t]]['tasse_percent']) {
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:571:esegui_query("update $tableprenota set tasseperc = '".$dati_tariffe[$tipotariffa[$n_t]]['tasse_percent']."' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-572-} # fine if ($dati_tariffe[$tipotariffa[$n_t]]['tasse_percent'])
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-656-esegui_query("insert into $tablecostiprenota (idcostiprenota,idprenota,tipo,nome,valore,associasett,settimane,moltiplica,letto,idntariffe,variazione,varmoltiplica,varnumsett,varperiodipermessi,varbeniinv,varappincompatibili,vartariffeassociate,vartariffeincomp,datainserimento,hostinserimento,utente_inserimento) values ('$idcostiprenota','$idprenota','$tipo_ca','".aggslashdb($dati_ca[$num_costo]['nome'])."','$valore_ca','$associasett_ca','$settimane_costo','$moltiplica','".$dati_ca[$num_costo]['letto']."','".$dati_ca[$num_costo]['id']."','$variazione_ca','$varmoltiplica_ca','$varnumsett_ca','$varperiodipermessi_ca','$varbeniinv_ca','$varappincompatibili_ca','$vartariffeassociate_ca','$vartariffeincomp_ca','$datainserimento','$HOSTNAME','$id_utente_ins')");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:657:if (substr($tipo_ca,1,1) != "f") esegui_query("update $tablecostiprenota set valore_perc = '$valore_perc_ca', arrotonda = '".$dati_ca[$num_costo]['arrotonda']."' where idcostiprenota = '$idcostiprenota'");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:658:if ($dati_ca[$num_costo]['tasseperc']) esegui_query("update $tablecostiprenota set tasseperc = '".$dati_ca[$num_costo]['tasseperc']."' where idcostiprenota = '$idcostiprenota'");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:659:if (strcmp($dati_ca[$num_costo]['categoria'],"")) esegui_query("update $tablecostiprenota set categoria = '".$dati_ca[$num_costo]['categoria']."' where idcostiprenota = '$idcostiprenota'");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-660-if ($prezzo_costo_tot) {
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-686-if ($app_eliminati_costi[$n_t]) {
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:687:esegui_query("update $tableprenota set incompatibilita = '".aggslashdb($app_eliminati_costi[$n_t])."' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-688-} # fine if ($app_eliminati_costi[$n_t])
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-692-if ($sconto[$n_t] > $costo_tariffa_tot) $sconto[$n_t] = $costo_tariffa_tot;
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:693:esegui_query("update $tableprenota set sconto = '".$sconto[$n_t]."' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-694-$sconto_p = punti_in_num($sconto[$n_t],$stile_soldi);
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-704-
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:705:esegui_query("update $tableprenota set tariffa_tot = '$costo_tariffa_tot' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-706-$costo_tariffa_tot_p = punti_in_num($costo_tariffa_tot,$stile_soldi);
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-709-if ($lista_app[$n_t]) {
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:710:esegui_query("update $tableprenota set app_assegnabili = '".$lista_app[$n_t]."' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-711-} # fine if ($lista_app[$n_t])
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-713-if ($assegnazioneapp[$n_t]) {
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:714:esegui_query("update $tableprenota set assegnazioneapp = '".$assegnazioneapp[$n_t]."' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-715-} # fine if ($assegnazioneapp[$n_t])
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-718-if ($caparra[$n_t] > $costo_tariffa_tot) $caparra[$n_t] = $costo_tariffa_tot;
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:719:esegui_query("update $tableprenota set caparra = '".$caparra[$n_t]."' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-720-$da_pagare = $costo_tariffa_tot - $caparra[$n_t];
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-731-if ($met_trovato == "SI") {
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:732:esegui_query("update $tableprenota set metodo_pagamento = '".aggslashdb($met_paga_caparra[$n_t])."' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-733-if (!$caparra) $mess_prenota .= "<br>";
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-738-if ($commissioni[$n_t]) {
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:739:esegui_query("update $tableprenota set commissioni = '".$commissioni[$n_t]."' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-740-$resto_comm = $costo_tariffa_tot - $commissioni[$n_t];
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-753-$origine_prenota[$n_t] = aggslashdb($origine_prenota[$n_t]);
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:754:esegui_query("update $tableprenota set origine = '".$origine_prenota[$n_t]."' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-755-if (!$caparra[$n_t] and $met_trovato == "NO" and !$commissioni[$n_t]) $mess_prenota .= "<br>";
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-763-if (controlla_num_pos($giorno_stima_checkin[$n_t]) == "SI" and $giorno_stima_checkin[$n_t] >= 1 and $giorno_stima_checkin[$n_t] <= 7 and $giorno_stima_checkin[$n_t] <= ($giorni_periodo + 1)) {
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:764:$data_stima_checkin = esegui_query("select datainizio from $tableperiodi where idperiodi = '".$inizioperiodo[$n_t]."'");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-765-$data_stima_checkin = risul_query($data_stima_checkin,0,'datainizio');
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-772-if (preg_match("/[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:00/",$stima_checkin)) {
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:773:esegui_query("update $tableprenota set checkout = '$stima_checkin' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-774-$mess_prenota .= "<br>".mex("Orario stimato di entrata","prenota.php").": <b>".substr(str_replace($data_ini_prenota_f,"",formatta_data($stima_checkin,$stile_data)),0,-3)."</b>.<br>";
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-783-$commento[$n_t] = aggslashdb($commento[$n_t]);
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:784:esegui_query("update $tableprenota set commento = '".$commento[$n_t]."' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-785-} # fine if (strcmp($commento[$n_t],"") or $commento['pers'][$n_t])
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-815-$idprenota_vicine = substr(str_replace(",".$idprenota.",",",",",".$lista_idprenota_corr.","),1,-1);
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:816:esegui_query("update $tableprenota set idprenota_compagna = '$idprenota_vicine' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-817-} # fine for $num2
##############################################
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-827-$idprenota_vicine = substr(str_replace(",".$idprenota.",",",",",".$lista_idprenota.","),1,-1);
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php:828:esegui_query("update $tableprenota set idprenota_compagna = '$idprenota_vicine' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/includes/funzioni_ins_prenota.php-829-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_quadro_disp.php-151-else $id_utente_gio = $id_utente;
hoteldruid-3.0.1/includes/funzioni_quadro_disp.php:152:$giorno_vedi_ini_sett = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'giorno_vedi_ini_sett$anno' and idutente = '$id_utente_gio'");
hoteldruid-3.0.1/includes/funzioni_quadro_disp.php-153-if (numlin_query($giorno_vedi_ini_sett) == 1) $giorno_vedi_ini_sett = risul_query($giorno_vedi_ini_sett,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/includes/funzioni_quadro_disp.php-163-else $id_periodo = $id_data_inizio_tab_disp + $num1 - 1;
hoteldruid-3.0.1/includes/funzioni_quadro_disp.php:164:$riga_periodo = esegui_query("select * from $tableperiodi where idperiodi = '$id_periodo'");
hoteldruid-3.0.1/includes/funzioni_quadro_disp.php-165-if ($num1 != $num_colonne_tab_disp) $inizio_periodo = risul_query($riga_periodo,0,'datainizio');
##############################################
hoteldruid-3.0.1/includes/funzioni_quadro_disp.php-239-$quadro_non_preciso = "SI";
hoteldruid-3.0.1/includes/funzioni_quadro_disp.php:240:if (!$regole1_consentite) $regole1_consentite = esegui_query("select idregole,app_agenzia,iddatainizio,iddatafine from $tableregole where app_agenzia != '' and $condizioni_regole1_consentite");
hoteldruid-3.0.1/includes/funzioni_quadro_disp.php-241-$num_regole1_consentite = numlin_query($regole1_consentite);
##############################################
hoteldruid-3.0.1/includes/funzioni_sqlite.php-236-
hoteldruid-3.0.1/includes/funzioni_sqlite.php:237:$numconnessione->exec("create index $nome on $tabella ($colonne)");
hoteldruid-3.0.1/includes/funzioni_sqlite.php-238-
##############################################
hoteldruid-3.0.1/includes/funzioni_dati_relutenti.php-61-$id = htmlspecialchars($id);
hoteldruid-3.0.1/includes/funzioni_dati_relutenti.php:62:$id_sup = esegui_query("select distinct $tablerel_sup.id$rel_sup_plur from $tablerelutenti inner join $tablerel_sup on $tablerelutenti.id$rel_sup_sing = $tablerel_sup.id$rel_sup_plur where $tablerelutenti.idutente = '$id_ut_sel' and $tablerel_sup.nome_$rel_sup_sing = '".aggslashdb($id)."' ");
hoteldruid-3.0.1/includes/funzioni_dati_relutenti.php-63-if (numlin_query($id_sup)) $is_id = "= '".risul_query($id_sup,0,"id$rel_sup_plur",$tablerel_sup)."'";
##############################################
hoteldruid-3.0.1/includes/funzioni_dati_relutenti.php-78-
hoteldruid-3.0.1/includes/funzioni_dati_relutenti.php:79:$rel_utente = esegui_query("select distinct $tablerel.nome_$rel_sing,$tablerel.codice_$rel_sing,$tablerel.codice2_$rel_sing,$tablerel.codice3_$rel_sing from $tablerelutenti inner join $tablerel on $tablerelutenti.id$rel_sing = $tablerel.id$rel_plur where $tablerelutenti.idutente = '$id_ut_sel' and $tablerelutenti.idsup $is_id order by $tablerel.nome_$rel_sing");
hoteldruid-3.0.1/includes/funzioni_dati_relutenti.php-80-$num_rel_utente = numlin_query($rel_utente);
##############################################
hoteldruid-3.0.1/includes/dati_lista_prenota.php-40-$id_prenota = aggslashdb($lista_prenota[$num1]);
hoteldruid-3.0.1/includes/dati_lista_prenota.php:41:$dati_prenota = esegui_query("select * from $tableprenota where idprenota = '$id_prenota'");
hoteldruid-3.0.1/includes/dati_lista_prenota.php-42-if (numlin_query($dati_prenota) == 1) {
##############################################
hoteldruid-3.0.1/includes/dati_lista_prenota.php-57-$id_clienti = risul_query($dati_prenota,0,'idclienti');
hoteldruid-3.0.1/includes/dati_lista_prenota.php:58:$dati_cliente = esegui_query("select * from $tableclienti where idclienti = '$id_clienti' ");
hoteldruid-3.0.1/includes/dati_lista_prenota.php-59-if ($vedi_clienti == "PROPRI" or $vedi_clienti == "GRUPPI") {
##############################################
hoteldruid-3.0.1/includes/dati_lista_prenota.php-102-if (strcmp(risul_query($dati_cliente,0,'partita_iva'),"")) ${"partita_iva_".$num_r} = risul_query($dati_cliente,0,'partita_iva');
hoteldruid-3.0.1/includes/dati_lista_prenota.php:103:$dati_relcliente = esegui_query("select * from $tablerelclienti where idclienti = '$id_clienti' and tipo = 'campo_pers' ");
hoteldruid-3.0.1/includes/dati_lista_prenota.php-104-$num_dati_relcliente = numlin_query($dati_relcliente);
##############################################
hoteldruid-3.0.1/includes/dati_lista_prenota.php-118-$id_data_fine = risul_query($dati_prenota,0,'iddatafine');
hoteldruid-3.0.1/includes/dati_lista_prenota.php:119:${"data_fine_".$num_r} = esegui_query("select * from $tableperiodi where idperiodi = '$id_data_fine'");
hoteldruid-3.0.1/includes/dati_lista_prenota.php-120-${"data_fine_".$num_r} = risul_query(${"data_fine_".$num_r},0,'datafine');
hoteldruid-3.0.1/includes/dati_lista_prenota.php-121-if ($id_data_inizio) {
hoteldruid-3.0.1/includes/dati_lista_prenota.php:122:${"data_inizio_".$num_r} = esegui_query("select * from $tableperiodi where idperiodi = '$id_data_inizio'");
hoteldruid-3.0.1/includes/dati_lista_prenota.php-123-${"data_inizio_".$num_r} = risul_query(${"data_inizio_".$num_r},0,'datainizio');
##############################################
hoteldruid-3.0.1/includes/dati_lista_prenota.php-240-$id_anno_prec = explode(",",$id_anni_prec_vett[$num2]);
hoteldruid-3.0.1/includes/dati_lista_prenota.php:241:$anno_prec_esistente = esegui_query("select idanni from $tableanni where idanni = '".aggslashdb($id_anno_prec[0])."'");
hoteldruid-3.0.1/includes/dati_lista_prenota.php-242-if (numlin_query($anno_prec_esistente)) {
##############################################
hoteldruid-3.0.1/includes/templates/cal/form.php-27-if (preg_replace("/[a-z]/","",$template_data_dir) != "") $template_data_dir = "";
hoteldruid-3.0.1/includes/templates/cal/form.php:28:include("./includes/templates/$template_data_dir/phrases.php");
hoteldruid-3.0.1/includes/templates/cal/form.php-29-
##############################################
hoteldruid-3.0.1/includes/templates/cal/form.php-31-
hoteldruid-3.0.1/includes/templates/cal/form.php:32:esegui_query("delete from $tablepersonalizza where idpersonalizza = 'ultime_sel_crea_modelli' and idutente = '$id_utente'");
hoteldruid-3.0.1/includes/templates/cal/form.php-33-esegui_query("insert into $tablepersonalizza (idpersonalizza,valpersonalizza,idutente) values ('ultime_sel_crea_modelli','".aggslashdb($anno_modello).";;".aggslashdb($lingua_modello).";;".aggslashdb($perc_cart_mod_sel)."','$id_utente') ");
##############################################
hoteldruid-3.0.1/includes/templates/cal/form.php-47-$lingua_mex = $lingua_mex_1;
hoteldruid-3.0.1/includes/templates/cal/form.php:48:include("./includes/templates/$template_data_dir/functions.php");
hoteldruid-3.0.1/includes/templates/cal/form.php-49-recupera_var_modello_cal($nome_file,$percorso_cartella_modello,$pag,$fr_frase,$num_frasi,$var_mod,$num_var_mod,$tipo_periodi,"NO",$anno_modello,$PHPR_TAB_PRE);
##############################################
hoteldruid-3.0.1/includes/templates/cal/form.php-60-$ultimo_accesso = date("Y-m-d H:i:s",(time() + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/includes/templates/cal/form.php:61:esegui_query("delete from $tabletransazioni where spostamenti = '$modello_ext' and tipo_transazione = 'cpweb' ");
hoteldruid-3.0.1/includes/templates/cal/form.php-62-$dati_tr2 = aggslashdb(serialize($tariffe_mostra));
##############################################
hoteldruid-3.0.1/includes/templates/cal/form.php-278-
hoteldruid-3.0.1/includes/templates/cal/form.php:279:$dati_struttura = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'dati_struttura' and idutente = '$id_utente'");
hoteldruid-3.0.1/includes/templates/cal/form.php-280-$dati_struttura = explode("#@&",risul_query($dati_struttura,0,'valpersonalizza'));
##############################################
hoteldruid-3.0.1/includes/templates/cal/form.php-295-
hoteldruid-3.0.1/includes/templates/cal/form.php:296:include("./includes/templates/$template_data_dir/themes.php");
hoteldruid-3.0.1/includes/templates/cal/form.php-297-$num_temi = count($template_theme_name);
##############################################
hoteldruid-3.0.1/includes/templates/cal/template.php-64-if ($num_date_mancanti > 0) {
hoteldruid-3.0.1/includes/templates/cal/template.php:65:$id_ultima_data = esegui_query("select idperiodi from  $tableperiodi where datafine = '$ultima_data_menu_periodi'");
hoteldruid-3.0.1/includes/templates/cal/template.php-66-$id_ultima_data = risul_query($id_ultima_data,0,'idperiodi');
hoteldruid-3.0.1/includes/templates/cal/template.php:67:$id_penultima_data = esegui_query("select idperiodi from  $tableperiodi where datafine = '$penultima_data_menu_periodi'");
hoteldruid-3.0.1/includes/templates/cal/template.php-68-$id_penultima_data = risul_query($id_penultima_data,0,'idperiodi');
##############################################
hoteldruid-3.0.1/includes/templates/cal/template.php-136-
hoteldruid-3.0.1/includes/templates/cal/template.php:137:$min_periodo = esegui_query("select idperiodi from $tableperiodi where datainizio = '".aggslashdb($inizioperiodi[0])."'");
hoteldruid-3.0.1/includes/templates/cal/template.php-138-$min_periodo = risul_query($min_periodo,0,'idperiodi');
hoteldruid-3.0.1/includes/templates/cal/template.php:139:$max_periodo = esegui_query("select idperiodi from $tableperiodi where datafine = '".aggslashdb($fineperiodi[0])."'");
hoteldruid-3.0.1/includes/templates/cal/template.php-140-$max_periodo = risul_query($max_periodo,0,'idperiodi');
##############################################
hoteldruid-3.0.1/includes/templates/cal/template.php-147-else {
hoteldruid-3.0.1/includes/templates/cal/template.php:148:$id_data_inizio_tab_disp = esegui_query("select idperiodi from $tableperiodi where datainizio = '".aggslashdb($data_preselezionata)."'");
hoteldruid-3.0.1/includes/templates/cal/template.php-149-if (numlin_query($id_data_inizio_tab_disp) == 1) $id_data_inizio_tab_disp = risul_query($id_data_inizio_tab_disp,0,'idperiodi');
##############################################
hoteldruid-3.0.1/includes/templates/cal/template.php-185-else $condizioni_regole1_consentite = "idregole < '0'";
hoteldruid-3.0.1/includes/templates/cal/template.php:186:$app_agenzia = esegui_query("select * from $tableregole where app_agenzia != '' and $condizioni_regole1_consentite ");
hoteldruid-3.0.1/includes/templates/cal/template.php-187-
##############################################
hoteldruid-3.0.1/includes/templates/cal/functions.php-281-else {
hoteldruid-3.0.1/includes/templates/cal/functions.php:282:$anno_esistente = esegui_query("select * from $tableanni where idanni = '$anno_modello'");
hoteldruid-3.0.1/includes/templates/cal/functions.php-283-if (numlin_query($anno_esistente) != 1) $continua = "NO";
##############################################
hoteldruid-3.0.1/includes/templates/cal/functions.php-383-else {
hoteldruid-3.0.1/includes/templates/cal/functions.php:384:$anno_esistente = esegui_query("select * from $tableanni where idanni = '$anno_modello'");
hoteldruid-3.0.1/includes/templates/cal/functions.php-385-if (numlin_query($anno_esistente) != 1) $continua = "NO";
##############################################
hoteldruid-3.0.1/includes/templates/cal/functions.php-419-$fineperiodo = aggslashdb(${"fineperiodo".$num1});
hoteldruid-3.0.1/includes/templates/cal/functions.php:420:$idinizioperiodo = esegui_query("select idperiodi from $tableperiodi_modello where datainizio = '$inizioperiodo' ");
hoteldruid-3.0.1/includes/templates/cal/functions.php-421-$num_idinizioperiodo = numlin_query($idinizioperiodo);
##############################################
hoteldruid-3.0.1/includes/templates/cal/functions.php-429-else {
hoteldruid-3.0.1/includes/templates/cal/functions.php:430:$idfineperiodo = esegui_query("select idperiodi from $tableperiodi_modello where datafine = '$fineperiodo' ");
hoteldruid-3.0.1/includes/templates/cal/functions.php-431-$num_idfineperiodo = numlin_query($idfineperiodo);
##############################################
hoteldruid-3.0.1/includes/templates/cal/functions.php-451-$pag_gm = "giorni_mesi.php";
hoteldruid-3.0.1/includes/templates/cal/functions.php:452:$m_tipo_periodi = esegui_query("select tipo_periodi from $tableanni where idanni = '$anno_modello'");
hoteldruid-3.0.1/includes/templates/cal/functions.php-453-$m_tipo_periodi = risul_query($m_tipo_periodi,0,0);
##############################################
hoteldruid-3.0.1/includes/templates/cal/functions.php-460-$data_option = substr($file_intero[$num2],16,10);
hoteldruid-3.0.1/includes/templates/cal/functions.php:461:$id_data_option = esegui_query("select idperiodi from $tableperiodi_modello where datainizio = '".aggslashdb($data_option)."' ");
hoteldruid-3.0.1/includes/templates/cal/functions.php-462-$esiste_data_option = numlin_query($id_data_option);
##############################################
hoteldruid-3.0.1/includes/templates/cal/functions.php-464-else {
hoteldruid-3.0.1/includes/templates/cal/functions.php:465:$id_data_option = esegui_query("select idperiodi from $tableperiodi_modello where datafine = '".aggslashdb($data_option)."' ");
hoteldruid-3.0.1/includes/templates/cal/functions.php-466-$id_data_option = risul_query($id_data_option,0,'idperiodi');
##############################################
hoteldruid-3.0.1/includes/templates/cal/functions.php-515-if ($data_presel == "fissa") {
hoteldruid-3.0.1/includes/templates/cal/functions.php:516:$data_presel_esistente = esegui_query("select idperiodi from $tableperiodi_modello where datainizio = '".aggslashdb($data_fissa_sel)."' ");
hoteldruid-3.0.1/includes/templates/cal/functions.php-517-if (numlin_query($data_presel_esistente) == 1) $data_preselezionata = $data_fissa_sel;
##############################################
hoteldruid-3.0.1/includes/templates/cal/functions.php-569-if (strcmp($tema_modello,"")) {
hoteldruid-3.0.1/includes/templates/cal/functions.php:570:include("./includes/templates/$template_data_dir/themes.php");
hoteldruid-3.0.1/includes/templates/cal/functions.php-571-$num_temi = count($template_theme_name);
##############################################
hoteldruid-3.0.1/includes/templates/cal/functions.php-979-$fineperiodo = aggslashdb(${"fineperiodo".$num1});
hoteldruid-3.0.1/includes/templates/cal/functions.php:980:$idinizioperiodo = esegui_query("select idperiodi from $tableperiodi_prec where datainizio = '$inizioperiodo' ");
hoteldruid-3.0.1/includes/templates/cal/functions.php-981-$num_idinizioperiodo = numlin_query($idinizioperiodo);
##############################################
hoteldruid-3.0.1/includes/templates/cal/functions.php-984-$inizioperiodo = $idinizioperiodo;
hoteldruid-3.0.1/includes/templates/cal/functions.php:985:$idfineperiodo = esegui_query("select idperiodi from $tableperiodi_prec where datafine = '$fineperiodo' ");
hoteldruid-3.0.1/includes/templates/cal/functions.php-986-$num_idfineperiodo = numlin_query($idfineperiodo);
##############################################
hoteldruid-3.0.1/includes/templates/cal/functions.php-1021-$datainizio = date("Y-m-d",mktime(0,0,0,$mese_inizio,$giorno_inizio,$anno_inizio));
hoteldruid-3.0.1/includes/templates/cal/functions.php:1022:$datainizio = esegui_query("select * from $tableperiodi where datainizio = '$datainizio'");
hoteldruid-3.0.1/includes/templates/cal/functions.php-1023-if (numlin_query($datainizio) == 1) {
##############################################
hoteldruid-3.0.1/includes/templates/cal/functions.php-1034-$fineperiodo = $n_fineperiodo[$num1];
hoteldruid-3.0.1/includes/templates/cal/functions.php:1035:$inizioperiodo = esegui_query("select datainizio from $tableperiodi where idperiodi = '$inizioperiodo' ");
hoteldruid-3.0.1/includes/templates/cal/functions.php-1036-$inizioperiodo = @risul_query($inizioperiodo,0,'datainizio');
hoteldruid-3.0.1/includes/templates/cal/functions.php:1037:$fineperiodo = esegui_query("select datafine from $tableperiodi where idperiodi = '$fineperiodo' ");
hoteldruid-3.0.1/includes/templates/cal/functions.php-1038-$fineperiodo = @risul_query($fineperiodo,0,'datafine');
##############################################
hoteldruid-3.0.1/includes/templates/cal/phrases.php-29-if ($lingua_mex != "en" and $lingua_mex != "ita" and $lingua_mex != "es") {
hoteldruid-3.0.1/includes/templates/cal/phrases.php:30:if (@is_file("./includes/lang/$lingua_mex/modt_cal.php")) include("./includes/lang/$lingua_mex/modt_cal.php");
hoteldruid-3.0.1/includes/templates/cal/phrases.php-31-} # fine if ($lingua_mex != "en" and...
##############################################
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-361-else {
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php:362:$anno_esistente = esegui_query("select * from $tableanni where idanni = '$anno_modello'");
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-363-if (numlin_query($anno_esistente) != 1) $continua = "NO";
##############################################
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-598-global $id_utente;
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php:599:$metodi_pagamento = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'metodi_pagamento' and idutente = '$id_utente' ");
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-600-$metodi_pagamento = risul_query($metodi_pagamento,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-714-else {
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php:715:$anno_esistente = esegui_query("select * from $tableanni where idanni = '$anno_modello'");
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-716-if (numlin_query($anno_esistente) != 1) $continua = "NO";
##############################################
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-772-$fineperiodo = aggslashdb(${"fineperiodo".$num1});
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php:773:$idinizioperiodo = esegui_query("select idperiodi from $tableperiodi_modello where datainizio = '$inizioperiodo' ");
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-774-$num_idinizioperiodo = numlin_query($idinizioperiodo);
##############################################
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-782-else {
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php:783:$idfineperiodo = esegui_query("select idperiodi from $tableperiodi_modello where datafine = '$fineperiodo' ");
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-784-$num_idfineperiodo = numlin_query($idfineperiodo);
##############################################
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-803-$pag_gm = "giorni_mesi.php";
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php:804:$m_tipo_periodi = esegui_query("select tipo_periodi from $tableanni where idanni = '$anno_modello'");
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-805-$m_tipo_periodi = risul_query($m_tipo_periodi,0,0);
##############################################
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-812-$data_option = substr($file_intero[$num2],16,10);
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php:813:$id_data_option = esegui_query("select idperiodi from $tableperiodi_modello where datainizio = '".aggslashdb($data_option)."' ");
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-814-$esiste_data_option = numlin_query($id_data_option);
##############################################
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-816-else {
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php:817:$id_data_option = esegui_query("select idperiodi from $tableperiodi_modello where datafine = '".aggslashdb($data_option)."' ");
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-818-$id_data_option = risul_query($id_data_option,0,'idperiodi');
##############################################
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-870-if (@get_magic_quotes_gpc()) $utente_liste = stripslashes($utente_liste);
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php:871:$id_utente_liste = esegui_query("select idutenti from $tableutenti where nome_utente = '".aggslashdb($utente_liste)."'");
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-872-if (numlin_query($id_utente_liste) != 1 or ($id_utente != 1 and $utente_liste != $utente_liste_tr)) {
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-873-$id_utente_liste = $id_utente;
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php:874:$utente_liste = esegui_query("select nome_utente from $tableutenti where idutenti = '$id_utente' ");
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-875-$utente_liste = risul_query($utente_liste,0,'nome_utente');
##############################################
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-940-if (@get_magic_quotes_gpc()) $utente_messaggio = stripslashes($utente_messaggio);
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php:941:$utente_esistente = esegui_query("select idutenti from $tableutenti where nome_utente = '".aggslashdb($utente_messaggio)."'");
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-942-if (numlin_query($utente_esistente) != 1 or ($id_utente != 1 and $id_utente != risul_query($utente_esistente,0,'idutenti') and $utente_messaggio != $utente_messaggio_tr)) $continua = "NO";
##############################################
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-945-if ((string) $orig_prenota != "" and $orig_prenota != $origine_prenotazione_tr) {
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php:946:$origini_prenota = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'origini_prenota' and idutente = '$id_utente' ");
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-947-$origini_prenota = risul_query($origini_prenota,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-1004-else {
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php:1005:$contr_txt = esegui_query("select numero from $tablecontratti where (tipo = 'contrtxt' or tipo = 'contrhtm') and numero = '".$$num_doc_cond."' ");
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-1006-if (!numlin_query($contr_txt)) {
##############################################
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-1009-else {
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php:1010:$salva_contr = esegui_query("select * from $tablecontratti where numero = '".$$num_doc_cond."' and tipo = 'dir' ");
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-1011-if (numlin_query($salva_contr)) {
##############################################
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-1137-$metodi_pagamenti_chiesti = array('array_esistente' => 1);
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php:1138:$metodi_pagamento = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'metodi_pagamento' and idutente = '$id_utente' ");
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-1139-$metodi_pagamento = risul_query($metodi_pagamento,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-1982-} # fine for \$num1
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php:1983:\$ut_lis = esegui_query(\"select idutenti from \$PHPR_TAB_PRE\".\"utenti where nome_utente = '\".aggslashdb(\$utente_liste).\"'\");
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-1984-if (numlin_query(\$ut_lis) != 1) \$ut_lis = 1;
##############################################
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-2119-$fineperiodo = aggslashdb(${"fineperiodo".$num1});
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php:2120:$idinizioperiodo = esegui_query("select idperiodi from $tableperiodi_prec where datainizio = '$inizioperiodo' ");
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-2121-$num_idinizioperiodo = numlin_query($idinizioperiodo);
##############################################
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-2124-$inizioperiodo = $idinizioperiodo;
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php:2125:$idfineperiodo = esegui_query("select idperiodi from $tableperiodi_prec where datafine = '$fineperiodo' ");
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-2126-$num_idfineperiodo = numlin_query($idfineperiodo);
##############################################
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-2161-$datainizio = date("Y-m-d",mktime(0,0,0,$mese_inizio,$giorno_inizio,$anno_inizio));
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php:2162:$datainizio = esegui_query("select * from $tableperiodi where datainizio = '$datainizio'");
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-2163-if (numlin_query($datainizio) == 1) {
##############################################
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-2174-$fineperiodo = $n_fineperiodo[$num1];
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php:2175:$inizioperiodo = esegui_query("select datainizio from $tableperiodi where idperiodi = '$inizioperiodo' ");
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-2176-$inizioperiodo = @risul_query($inizioperiodo,0,'datainizio');
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php:2177:$fineperiodo = esegui_query("select datafine from $tableperiodi where idperiodi = '$fineperiodo' ");
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-2178-$fineperiodo = @risul_query($fineperiodo,0,'datafine');
##############################################
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-2191-$tabelle_lock = lock_tabelle($tabelle_lock,$altre_tab_lock);
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php:2192:$data_ini_periodi_prec = esegui_query("select datainizio from $tableperiodi_prec where idperiodi = '$id_data_ini_periodi_prec' ");
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-2193-$data_ini_periodi_prec = risul_query($data_ini_periodi_prec,0,'datainizio');
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php:2194:$da_aggiornare = esegui_query("select idmessaggi,dati_messaggio3,dati_messaggio4,dati_messaggio9,dati_messaggio14 from $tablemessaggi where tipo_messaggio = 'rprenota' and dati_messaggio1 = 'da_inserire' and dati_messaggio18 = '".($anno - 1)."' ");
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-2195-$num_da_aggiornare = numlin_query($da_aggiornare);
##############################################
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-2221-} # fine for $n_t
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php:2222:esegui_query("update $tablemessaggi set dati_messaggio14 = '$n_id_periodi_costo', dati_messaggio18 = '$anno' where idmessaggi = '".aggslashdb($id_messaggio)."' ");
hoteldruid-3.0.1/includes/templates/funzioni_mod_disp.php-2223-} # fine if ($aggiornare == "SI")
##############################################
hoteldruid-3.0.1/includes/templates/aggiorna_modelli.php-86-if ($modello_ext != "." and $modello_ext != ".." and @is_dir("./includes/templates/$modello_ext")) {
hoteldruid-3.0.1/includes/templates/aggiorna_modelli.php:87:include("./includes/templates/$modello_ext/name.php");
hoteldruid-3.0.1/includes/templates/aggiorna_modelli.php:88:include("./includes/templates/$modello_ext/phrases.php");
hoteldruid-3.0.1/includes/templates/aggiorna_modelli.php:89:include("./includes/templates/$modello_ext/functions.php");
hoteldruid-3.0.1/includes/templates/aggiorna_modelli.php-90-$funz_recupera_var_modello = "recupera_var_modello_".$modello_ext;
##############################################
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-49-else {
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php:50:$utente_liste = esegui_query("select idutenti from $tableutenti where nome_utente = '".aggslashdb($utente_liste)."'");
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-51-if (numlin_query($utente_liste) != 1) $utente_liste = 1;
##############################################
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-88-if ($num_date_mancanti > 0 or $chiedi_oracheckin != "NO") {
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php:89:$id_ultima_data = esegui_query("select idperiodi from  $tableperiodi where datafine = '$ultima_data_menu_periodi'");
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-90-$id_ultima_data = risul_query($id_ultima_data,0,'idperiodi');
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php:91:$id_penultima_data = esegui_query("select idperiodi from  $tableperiodi where datafine = '$penultima_data_menu_periodi'");
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-92-$id_penultima_data = risul_query($id_penultima_data,0,'idperiodi');
##############################################
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-361-$data_fineperiodo_f[$n_t] = formatta_data($data_fineperiodo[$n_t],$stile_data);
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php:362:$idinizioperiodo[$n_t] = esegui_query("select idperiodi from $tableperiodi where datainizio = '".aggslashdb($inizioperiodo)."' ");
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-363-$num_idinizioperiodo = numlin_query($idinizioperiodo[$n_t]);
##############################################
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-367-if (!$idinizioperiodo_min or $inizioperiodo < $idinizioperiodo_min) $idinizioperiodo_min = $inizioperiodo;
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php:368:$idfineperiodo[$n_t] = esegui_query("select idperiodi from $tableperiodi where datafine = '".aggslashdb($fineperiodo)."' ");
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-369-$num_idfineperiodo = numlin_query($idfineperiodo[$n_t]);
##############################################
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-726-for ($num1 = $idinizioperiodo[$n_t]; $num1 <= $idfineperiodo[$n_t]; $num1 = $num1 + 1) {
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php:727:$prenotazioni = esegui_query("select * from $tableprenota where iddatainizio <= $num1 and iddatafine >= $num1");
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-728-$numprenotazioni = numlin_query($prenotazioni);
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php:729:$rigasettimana = esegui_query("select * from $tableperiodi where idperiodi = '$num1' ");
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-730-if ($numprenotazioni >= $numappartamenti) {
##############################################
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-1050-} # fine if ($dati_tariffe[$tipotariffa]['chiusa'][$num1])
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php:1051:$rigasettimana = esegui_query("select * from $tableperiodi where idperiodi = '$num1' ");
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-1052-$costo_tariffa_settimana = risul_query($rigasettimana,0,$tipotariffa);
##############################################
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-1272-if ($periodo_costo_trovato == "SI") {
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php:1273:$date_sett_costo = esegui_query("select datainizio,datafine from $tableperiodi where idperiodi = '$num1'");
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-1274-echo "<label><input type=\"checkbox\" name=\"sett$num1"."costo$numca"."_$n_t\" value=\"SI\">$fr_dal
##############################################
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-1609-for ($num2 = 1 ; $num2 < (count($numsettimane) - 1) ; $num2++) {
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php:1610:$date_sett_costo = esegui_query("select datainizio,datafine from $tableperiodi where idperiodi = '".$numsettimane[$num2]."'");
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-1611-$valnumsettimane_ca .= formatta_data(risul_query($date_sett_costo,0,'datainizio'),$stile_data)." $fr_al ".formatta_data(risul_query($date_sett_costo,0,'datafine'),$stile_data)."; ";
##############################################
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-1783-$nome_contratto = array();
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php:1784:$nomi_contratti = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'nomi_contratti' and idutente = '$utente_liste' ");
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-1785-if (numlin_query($nomi_contratti)) {
##############################################
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-1795-if (controlla_num_pos($num_doc) == "SI") {
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php:1796:$contr_txt = esegui_query("select * from $tablecontratti where (tipo = 'contrtxt' or tipo = 'contrhtm') and numero = '$num_doc' ");
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-1797-if (numlin_query($contr_txt)) {
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php:1798:$salva_contr = esegui_query("select numero from $tablecontratti where numero = '$num_doc' and tipo = 'dir' ");
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-1799-if (!numlin_query($salva_contr)) {
##############################################
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-2114-else {
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php:2115:$utente_esistente = esegui_query("select idutenti from $tableutenti where nome_utente = '$utente_messaggio'");
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-2116-if (numlin_query($utente_esistente) != 1) $utente_trovato = "NO";
##############################################
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-2120-$data_limite = date("Y-m-d H:i:s",(time() + (C_DIFF_ORE * 3600) - (24 * 3600)));
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php:2121:$richieste_precedenti = esegui_query("select idmessaggi from $tablemessaggi where tipo_messaggio = 'rprenota' and dati_messaggio17 = '$REMOTE_ADDR' and  datainserimento > '$data_limite'");
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-2122-if (numlin_query($richieste_precedenti) > 30) $utente_trovato = "NO";
##############################################
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-3199-} # fine function seleziona_data_vicina
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php:3200:$date_select = esegui_query("select idperiodi from $tableperiodi where datainizio <= '$oggi' and datafine > '$oggi' ");
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php:3201:if (numlin_query($date_select) == 1) $date_select = esegui_query("select datainizio,datafine from $tableperiodi where idperiodi = '".(risul_query($date_select,0,'idperiodi') + $sett_no_prenota)."'");
hoteldruid-3.0.1/includes/templates/modello_disponibilita.php-3202-if (numlin_query($date_select) == 1) {
##############################################
hoteldruid-3.0.1/includes/templates/funzioni_modelli.php-58-if ($lingua != "ita") {
hoteldruid-3.0.1/includes/templates/funzioni_modelli.php:59:include("./includes/lang/$lingua/$pagina");
hoteldruid-3.0.1/includes/templates/funzioni_modelli.php-60-} # fine if ($lingua != "ita")
##############################################
hoteldruid-3.0.1/includes/templates/rat/form.php-27-if (preg_replace("/[a-z]/","",$template_data_dir) != "") $template_data_dir = "";
hoteldruid-3.0.1/includes/templates/rat/form.php:28:include("./includes/templates/$template_data_dir/phrases.php");
hoteldruid-3.0.1/includes/templates/rat/form.php-29-
##############################################
hoteldruid-3.0.1/includes/templates/rat/form.php-31-
hoteldruid-3.0.1/includes/templates/rat/form.php:32:esegui_query("delete from $tablepersonalizza where idpersonalizza = 'ultime_sel_crea_modelli' and idutente = '$id_utente'");
hoteldruid-3.0.1/includes/templates/rat/form.php-33-esegui_query("insert into $tablepersonalizza (idpersonalizza,valpersonalizza,idutente) values ('ultime_sel_crea_modelli','".aggslashdb($anno_modello).";;".aggslashdb($lingua_modello).";;".aggslashdb($perc_cart_mod_sel)."','$id_utente') ");
##############################################
hoteldruid-3.0.1/includes/templates/rat/form.php-47-$lingua_mex = $lingua_mex_1;
hoteldruid-3.0.1/includes/templates/rat/form.php:48:include("./includes/templates/$template_data_dir/functions.php");
hoteldruid-3.0.1/includes/templates/rat/form.php-49-recupera_var_modello_rat($nome_file,$percorso_cartella_modello,$pag,$fr_frase,$num_frasi,$var_mod,$num_var_mod,$tipo_periodi,"NO",$anno_modello,$PHPR_TAB_PRE);
##############################################
hoteldruid-3.0.1/includes/templates/rat/form.php-60-$ultimo_accesso = date("Y-m-d H:i:s",(time() + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/includes/templates/rat/form.php:61:esegui_query("delete from $tabletransazioni where spostamenti = '$modello_ext' and tipo_transazione = 'cpweb' ");
hoteldruid-3.0.1/includes/templates/rat/form.php-62-$dati_tr2 = aggslashdb(serialize($tariffe_mostra));
##############################################
hoteldruid-3.0.1/includes/templates/rat/form.php-127-if (!$stile_soldi) {
hoteldruid-3.0.1/includes/templates/rat/form.php:128:$stile_soldi = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'stile_soldi' and idutente = '$id_utente'");
hoteldruid-3.0.1/includes/templates/rat/form.php-129-$stile_soldi = risul_query($stile_soldi,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/includes/templates/rat/form.php-144-if (!$stile_data) {
hoteldruid-3.0.1/includes/templates/rat/form.php:145:$stile_data = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'stile_data' and idutente = '$id_utente'");
hoteldruid-3.0.1/includes/templates/rat/form.php-146-$stile_data = risul_query($stile_data,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/includes/templates/rat/form.php-255-
hoteldruid-3.0.1/includes/templates/rat/form.php:256:$dati_struttura = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'dati_struttura' and idutente = '$id_utente'");
hoteldruid-3.0.1/includes/templates/rat/form.php-257-$dati_struttura = explode("#@&",risul_query($dati_struttura,0,'valpersonalizza'));
##############################################
hoteldruid-3.0.1/includes/templates/rat/form.php-275-
hoteldruid-3.0.1/includes/templates/rat/form.php:276:include("./includes/templates/$template_data_dir/themes.php");
hoteldruid-3.0.1/includes/templates/rat/form.php-277-$num_temi = count($template_theme_name);
##############################################
hoteldruid-3.0.1/includes/templates/rat/template.php-64-if ($num_date_mancanti > 0) {
hoteldruid-3.0.1/includes/templates/rat/template.php:65:$id_ultima_data = esegui_query("select idperiodi from  $tableperiodi where datafine = '$ultima_data_menu_periodi'");
hoteldruid-3.0.1/includes/templates/rat/template.php-66-$id_ultima_data = risul_query($id_ultima_data,0,'idperiodi');
hoteldruid-3.0.1/includes/templates/rat/template.php:67:$id_penultima_data = esegui_query("select idperiodi from  $tableperiodi where datafine = '$penultima_data_menu_periodi'");
hoteldruid-3.0.1/includes/templates/rat/template.php-68-$id_penultima_data = risul_query($id_penultima_data,0,'idperiodi');
##############################################
hoteldruid-3.0.1/includes/templates/rat/template.php-285-if ($per_persona[$num1]) {
hoteldruid-3.0.1/includes/templates/rat/template.php:286:$fissotariffa = esegui_query("select idperiodi from $tableperiodi where tariffa$num1 is not NULL and tariffa$num1 != '' and tariffa$num1 != '0' ");
hoteldruid-3.0.1/includes/templates/rat/template.php-287-if (numlin_query($fissotariffa)) $per_p_vedi = $fr_per_p;
##############################################
hoteldruid-3.0.1/includes/templates/rat/functions.php-276-else {
hoteldruid-3.0.1/includes/templates/rat/functions.php:277:$anno_esistente = esegui_query("select * from $tableanni where idanni = '$anno_modello'");
hoteldruid-3.0.1/includes/templates/rat/functions.php-278-if (numlin_query($anno_esistente) != 1) $continua = "NO";
##############################################
hoteldruid-3.0.1/includes/templates/rat/functions.php-357-else {
hoteldruid-3.0.1/includes/templates/rat/functions.php:358:$anno_esistente = esegui_query("select * from $tableanni where idanni = '$anno_modello'");
hoteldruid-3.0.1/includes/templates/rat/functions.php-359-if (numlin_query($anno_esistente) != 1) $continua = "NO";
##############################################
hoteldruid-3.0.1/includes/templates/rat/functions.php-393-$fineperiodo = aggslashdb(${"fineperiodo".$num1});
hoteldruid-3.0.1/includes/templates/rat/functions.php:394:$idinizioperiodo = esegui_query("select idperiodi from $tableperiodi_modello where datainizio = '$inizioperiodo' ");
hoteldruid-3.0.1/includes/templates/rat/functions.php-395-$num_idinizioperiodo = numlin_query($idinizioperiodo);
##############################################
hoteldruid-3.0.1/includes/templates/rat/functions.php-403-else {
hoteldruid-3.0.1/includes/templates/rat/functions.php:404:$idfineperiodo = esegui_query("select idperiodi from $tableperiodi_modello where datafine = '$fineperiodo' ");
hoteldruid-3.0.1/includes/templates/rat/functions.php-405-$num_idfineperiodo = numlin_query($idfineperiodo);
##############################################
hoteldruid-3.0.1/includes/templates/rat/functions.php-424-$pag_gm = "giorni_mesi.php";
hoteldruid-3.0.1/includes/templates/rat/functions.php:425:$m_tipo_periodi = esegui_query("select tipo_periodi from $tableanni where idanni = '$anno_modello'");
hoteldruid-3.0.1/includes/templates/rat/functions.php-426-$m_tipo_periodi = risul_query($m_tipo_periodi,0,0);
##############################################
hoteldruid-3.0.1/includes/templates/rat/functions.php-433-$data_option = substr($file_intero[$num2],16,10);
hoteldruid-3.0.1/includes/templates/rat/functions.php:434:$id_data_option = esegui_query("select idperiodi from $tableperiodi_modello where datainizio = '".aggslashdb($data_option)."' ");
hoteldruid-3.0.1/includes/templates/rat/functions.php-435-$esiste_data_option = numlin_query($id_data_option);
##############################################
hoteldruid-3.0.1/includes/templates/rat/functions.php-437-else {
hoteldruid-3.0.1/includes/templates/rat/functions.php:438:$id_data_option = esegui_query("select idperiodi from $tableperiodi_modello where datafine = '".aggslashdb($data_option)."' ");
hoteldruid-3.0.1/includes/templates/rat/functions.php-439-$id_data_option = risul_query($id_data_option,0,'idperiodi');
##############################################
hoteldruid-3.0.1/includes/templates/rat/functions.php-528-if (strcmp($tema_modello,"")) {
hoteldruid-3.0.1/includes/templates/rat/functions.php:529:include("./includes/templates/$template_data_dir/themes.php");
hoteldruid-3.0.1/includes/templates/rat/functions.php-530-$num_temi = count($template_theme_name);
##############################################
hoteldruid-3.0.1/includes/templates/rat/functions.php-931-$fineperiodo = aggslashdb(${"fineperiodo".$num1});
hoteldruid-3.0.1/includes/templates/rat/functions.php:932:$idinizioperiodo = esegui_query("select idperiodi from $tableperiodi_prec where datainizio = '$inizioperiodo' ");
hoteldruid-3.0.1/includes/templates/rat/functions.php-933-$num_idinizioperiodo = numlin_query($idinizioperiodo);
##############################################
hoteldruid-3.0.1/includes/templates/rat/functions.php-936-$inizioperiodo = $idinizioperiodo;
hoteldruid-3.0.1/includes/templates/rat/functions.php:937:$idfineperiodo = esegui_query("select idperiodi from $tableperiodi_prec where datafine = '$fineperiodo' ");
hoteldruid-3.0.1/includes/templates/rat/functions.php-938-$num_idfineperiodo = numlin_query($idfineperiodo);
##############################################
hoteldruid-3.0.1/includes/templates/rat/functions.php-973-$datainizio = date("Y-m-d",mktime(0,0,0,$mese_inizio,$giorno_inizio,$anno_inizio));
hoteldruid-3.0.1/includes/templates/rat/functions.php:974:$datainizio = esegui_query("select * from $tableperiodi where datainizio = '$datainizio'");
hoteldruid-3.0.1/includes/templates/rat/functions.php-975-if (numlin_query($datainizio) == 1) {
##############################################
hoteldruid-3.0.1/includes/templates/rat/functions.php-986-$fineperiodo = $n_fineperiodo[$num1];
hoteldruid-3.0.1/includes/templates/rat/functions.php:987:$inizioperiodo = esegui_query("select datainizio from $tableperiodi where idperiodi = '$inizioperiodo' ");
hoteldruid-3.0.1/includes/templates/rat/functions.php-988-$inizioperiodo = @risul_query($inizioperiodo,0,datainizio);
hoteldruid-3.0.1/includes/templates/rat/functions.php:989:$fineperiodo = esegui_query("select datafine from $tableperiodi where idperiodi = '$fineperiodo' ");
hoteldruid-3.0.1/includes/templates/rat/functions.php-990-$fineperiodo = @risul_query($fineperiodo,0,datafine);
##############################################
hoteldruid-3.0.1/includes/templates/rat/phrases.php-29-if ($lingua_mex != "en" and $lingua_mex != "ita" and $lingua_mex != "es") {
hoteldruid-3.0.1/includes/templates/rat/phrases.php:30:if (@is_file("./includes/lang/$lingua_mex/modt_rat.php")) include("./includes/lang/$lingua_mex/modt_rat.php");
hoteldruid-3.0.1/includes/templates/rat/phrases.php-31-} # fine if ($lingua_mex != "en" and...
##############################################
hoteldruid-3.0.1/includes/funzioni_mysql.php-61-
hoteldruid-3.0.1/includes/funzioni_mysql.php:62:$risul = mysql_query($query);
hoteldruid-3.0.1/includes/funzioni_mysql.php-63-if (!$risul and !$silenzio) {
##############################################
hoteldruid-3.0.1/includes/funzioni_mysql.php-79-
hoteldruid-3.0.1/includes/funzioni_mysql.php:80:$risul = mysql_query($query);
hoteldruid-3.0.1/includes/funzioni_mysql.php-81-if (!$risul and !$silenzio) {
##############################################
hoteldruid-3.0.1/includes/funzioni_mysql.php-192-$lista_tabelle = substr($lista_tabelle,0,-1);
hoteldruid-3.0.1/includes/funzioni_mysql.php:193:$risul = mysql_query("lock tables $lista_tabelle");
hoteldruid-3.0.1/includes/funzioni_mysql.php-194-if (!$risul) echo "<br>ERROR IN: lock tables $lista_tabelle<br>".mysql_errno().": ".mysql_error()."<br>";
##############################################
hoteldruid-3.0.1/includes/funzioni_mysql.php-211-
hoteldruid-3.0.1/includes/funzioni_mysql.php:212:mysql_query("alter table $tabella add index $nome ($colonne)");
hoteldruid-3.0.1/includes/funzioni_mysql.php-213-
##############################################
hoteldruid-3.0.1/includes/funzioni_relutenti.php-25-function cancella_relutente ($num_rel,$id_utente_mod,$rel_sing,$rel_plur,$tablerel,$tablerelutenti,$rel_inf_sing = "",$rel_inf_plur = "",$tablerel_inf = "",$gia_canc = "",$relutente_usate = "",$nolog = "") {
hoteldruid-3.0.1/includes/funzioni_relutenti.php:26:if ($rel_inf_sing) esegui_query("update $tablerelutenti set idsup = NULL where idutente = '$id_utente_mod' and idsup = '$num_rel' and id$rel_inf_sing is not NULL ","",$nolog);
hoteldruid-3.0.1/includes/funzioni_relutenti.php-27-if (!$gia_canc) {
hoteldruid-3.0.1/includes/funzioni_relutenti.php:28:esegui_query("delete from $tablerelutenti where idutente = '$id_utente_mod' and id$rel_sing = '$num_rel'","",$nolog);
hoteldruid-3.0.1/includes/funzioni_relutenti.php:29:$relutente_usata = esegui_query("select idutente from $tablerelutenti where id$rel_sing = '$num_rel'");
hoteldruid-3.0.1/includes/funzioni_relutenti.php-30-$num_relutente_usata = numlin_query($relutente_usata);
##############################################
hoteldruid-3.0.1/includes/funzioni_relutenti.php-32-else $num_relutente_usata = $relutente_usate[$num_rel];
hoteldruid-3.0.1/includes/funzioni_relutenti.php:33:if (!$num_relutente_usata) esegui_query("delete from $tablerel where id$rel_plur = '$num_rel' ","",$nolog);
hoteldruid-3.0.1/includes/funzioni_relutenti.php-34-} # fine function cancella_relutente
##############################################
hoteldruid-3.0.1/includes/funzioni_relutenti.php-69-if ($rel_sup_sing and $sup_n_rel) {
hoteldruid-3.0.1/includes/funzioni_relutenti.php:70:$sup_n_rel_esist = esegui_query("select distinct $tablerel_sup.id$rel_sup_plur from $tablerelutenti inner join $tablerel_sup on $tablerelutenti.id$rel_sup_sing = $tablerel_sup.id$rel_sup_plur where $tablerelutenti.idutente = '$id_utente_mod' and $tablerel_sup.nome_$rel_sup_sing = '".aggslashdb($sup_n_rel)."' ");
hoteldruid-3.0.1/includes/funzioni_relutenti.php-71-if (numlin_query($sup_n_rel_esist) > 0) $id_rel_sup_vett[0] = risul_query($sup_n_rel_esist,0,"id$rel_sup_plur",$tablerel_sup);
##############################################
hoteldruid-3.0.1/includes/funzioni_relutenti.php-74-else {
hoteldruid-3.0.1/includes/funzioni_relutenti.php:75:$rel_canc = esegui_query("select id$rel_sing from $tablerelutenti where idutente = '$id_utente_mod' and id$rel_sing is not NULL ");
hoteldruid-3.0.1/includes/funzioni_relutenti.php-76-$num_rel_canc = numlin_query($rel_canc);
hoteldruid-3.0.1/includes/funzioni_relutenti.php:77:esegui_query("delete from $tablerelutenti where idutente = '$id_utente_mod' and id$rel_sing is not NULL ");
hoteldruid-3.0.1/includes/funzioni_relutenti.php-78-$rel_usate = esegui_query("select distinct id$rel_sing from $tablerelutenti where id$rel_sing is not NULL");
##############################################
hoteldruid-3.0.1/includes/funzioni_relutenti.php-94-global ${"lista_".$rel_plur},${"cod_".$rel_plur},${"cod2_".$rel_plur},${"cod3_".$rel_plur},${"cod_".$rel_sup_sing."_".$rel_plur};
hoteldruid-3.0.1/includes/funzioni_relutenti.php:95:if ($lingua[$id_utente_mod] == "ita") include_once("./includes/lista_$rel_plur.php");
hoteldruid-3.0.1/includes/funzioni_relutenti.php:96:else if (@is_file("./includes/lang/".$lingua[$id_utente_mod]."/lista_$rel_plur.php")) include_once("./includes/lang/".$lingua[$id_utente_mod]."/lista_$rel_plur.php");
hoteldruid-3.0.1/includes/funzioni_relutenti.php-97-$lista_rel = ${"lista_".$rel_plur};
##############################################
hoteldruid-3.0.1/includes/funzioni_relutenti.php-113-$utente_importa_rel = aggslashdb($utente_importa_rel);
hoteldruid-3.0.1/includes/funzioni_relutenti.php:114:$rel_ut_imp = esegui_query("select distinct $tablerel.nome_$rel_sing,$tablerelutenti.idsup from $tablerelutenti inner join $tablerel on $tablerelutenti.id$rel_sing = $tablerel.id$rel_plur where $tablerelutenti.idutente = '$utente_importa_rel' order by $tablerel.nome_$rel_sing");
hoteldruid-3.0.1/includes/funzioni_relutenti.php-115-$num_rel_ut_imp = numlin_query($rel_ut_imp);
##############################################
hoteldruid-3.0.1/includes/funzioni_relutenti.php-139-unset($rel_esistenti);
hoteldruid-3.0.1/includes/funzioni_relutenti.php:140:$rel_esistenti2 = esegui_query("select id$rel_sing,idsup from $tablerelutenti where idutente = '$id_utente_mod' and id$rel_sing is not NULL ");
hoteldruid-3.0.1/includes/funzioni_relutenti.php-141-$num_rel_esistenti2 = numlin_query($rel_esistenti2);
##############################################
hoteldruid-3.0.1/includes/funzioni_relutenti.php-160-else {
hoteldruid-3.0.1/includes/funzioni_relutenti.php:161:$rel_sup = esegui_query("select id$rel_sup_plur from $tablerel_sup where codice_$rel_sup_sing = '".aggslashdb($cod_rel_sup[$num1])."' ");
hoteldruid-3.0.1/includes/funzioni_relutenti.php-162-if (numlin_query($rel_sup) > 0) {
##############################################
hoteldruid-3.0.1/includes/funzioni_relutenti.php-170-else {
hoteldruid-3.0.1/includes/funzioni_relutenti.php:171:$rel_sup = esegui_query("select id$rel_sup_plur from $tablerel_sup where id$rel_sup_plur = '".aggslashdb($id_rel_sup_vett[$num1])."' ");
hoteldruid-3.0.1/includes/funzioni_relutenti.php-172-if (numlin_query($rel_sup) > 0) {
##############################################
hoteldruid-3.0.1/includes/funzioni_relutenti.php-179-if ($num_rel_agg < $num_passa_a_var) {
hoteldruid-3.0.1/includes/funzioni_relutenti.php:180:$rel_esistenti = esegui_query("select id$rel_plur,nome_$rel_sing,codice_$rel_sing from $tablerel where nome_$rel_sing = '".aggslashdb($lista_rel[$num1])."' ");
hoteldruid-3.0.1/includes/funzioni_relutenti.php-181-if (numlin_query($rel_esistenti)) {
##############################################
hoteldruid-3.0.1/includes/funzioni_relutenti.php-190-if ($cod_rel[$num1] and $id_utente_mod != 1 and (!$cod2_rel[$num1] or !$cod3_rel[$num1])) {
hoteldruid-3.0.1/includes/funzioni_relutenti.php:191:$cod_esistenti = esegui_query("select id$rel_plur,codice2_$rel_sing,codice3_$rel_sing from $tablerel where codice_$rel_sing = '".aggslashdb($cod_rel[$num1])."' and (codice2_$rel_sing is not NULL or codice3_$rel_sing is not NULL) ");
hoteldruid-3.0.1/includes/funzioni_relutenti.php-192-# Query con inner join è molto più lenta con molte città
hoteldruid-3.0.1/includes/funzioni_relutenti.php:193:#$cod_admin = esegui_query("select distinct $tablerel.codice2_$rel_sing,codice3_$rel_sing from $tablerel inner join $tablerelutenti on $tablerel.id$rel_plur = $tablerelutenti.id$rel_sing where $tablerelutenti.idutente = '1' and $tablerel.codice_$rel_sing = '".aggslashdb($cod_rel[$num1])."' ");
hoteldruid-3.0.1/includes/funzioni_relutenti.php-194-for ($num2 = 0 ; $num2 < numlin_query($cod_esistenti) ; $num2++) {
hoteldruid-3.0.1/includes/funzioni_relutenti.php-195-$id_rel_cod = risul_query($cod_esistenti,$num2,"id$rel_plur");
hoteldruid-3.0.1/includes/funzioni_relutenti.php:196:$utente_cod = esegui_query("select id$rel_sing from $tablerelutenti where id$rel_sing = '$id_rel_cod' and idutente = '1' ");
hoteldruid-3.0.1/includes/funzioni_relutenti.php-197-if (numlin_query($utente_cod)) {
##############################################
hoteldruid-3.0.1/includes/funzioni_relutenti.php-217-$r_cod = $cod_esistente[$lista_rel[$num1]];
hoteldruid-3.0.1/includes/funzioni_relutenti.php:218:if ((!$r_cod or $rel_predefinite) and $cod_rel[$num1]) esegui_query("update $tablerel set codice_$rel_sing = '".aggslashdb($cod_rel[$num1])."' where id$rel_plur = '$num_n_rel' ","",$nolog);
hoteldruid-3.0.1/includes/funzioni_relutenti.php:219:if ($cod2_rel[$num1]) esegui_query("update $tablerel set codice2_$rel_sing = '".aggslashdb($cod2_rel[$num1])."' where id$rel_plur = '$num_n_rel' ","",$nolog);
hoteldruid-3.0.1/includes/funzioni_relutenti.php:220:if ($cod3_rel[$num1]) esegui_query("update $tablerel set codice3_$rel_sing = '".aggslashdb($cod3_rel[$num1])."' where id$rel_plur = '$num_n_rel' ","",$nolog);
hoteldruid-3.0.1/includes/funzioni_relutenti.php-221-if ($num_rel_agg < $num_passa_a_var) {
hoteldruid-3.0.1/includes/funzioni_relutenti.php:222:$rel_esistenti2 = esegui_query("select idsup from $tablerelutenti where idutente = '$id_utente_mod' and id$rel_sing = '$num_n_rel' ");
hoteldruid-3.0.1/includes/funzioni_relutenti.php-223-if (numlin_query($rel_esistenti2)) {
##############################################
hoteldruid-3.0.1/includes/funzioni_relutenti.php-237-$idsup = $idsup_esistente2[$num_n_rel];
hoteldruid-3.0.1/includes/funzioni_relutenti.php:238:if (!$idsup) esegui_query("update $tablerelutenti set idsup = '$id_rel_sup' where idutente = '$id_utente_mod' and id$rel_sing = '$num_n_rel' ","",$nolog);
hoteldruid-3.0.1/includes/funzioni_relutenti.php-239-} # fine elseif ($id_rel_sup)
##############################################
hoteldruid-3.0.1/includes/funzioni_backup.php-243-function esegui_query2 ($query,$tipo_db,$silenzio = "") {
hoteldruid-3.0.1/includes/funzioni_backup.php:244:if ($tipo_db == "postgresql") $risul = pg_exec($query);
hoteldruid-3.0.1/includes/funzioni_backup.php:245:if ($tipo_db == "mysql") $risul = mysql_query($query);
hoteldruid-3.0.1/includes/funzioni_backup.php-246-if ($tipo_db == "mysqli") {
##############################################
hoteldruid-3.0.1/includes/funzioni_backup.php-263-function esegui_query3 (&$query,$tipo_db,$silenzio = "") {
hoteldruid-3.0.1/includes/funzioni_backup.php:264:if ($tipo_db == "postgresql") $risul = pg_exec($query);
hoteldruid-3.0.1/includes/funzioni_backup.php:265:if ($tipo_db == "mysql") $risul = mysql_query($query);
hoteldruid-3.0.1/includes/funzioni_backup.php-266-if ($tipo_db == "mysqli") {
##############################################
hoteldruid-3.0.1/includes/funzioni_backup.php-283-function crea_indice2 ($tabella,$colonne,$nome,$tipo_db) {
hoteldruid-3.0.1/includes/funzioni_backup.php:284:if ($tipo_db == "postgresql") pg_exec("create index $nome on $tabella ($colonne)");
hoteldruid-3.0.1/includes/funzioni_backup.php:285:if ($tipo_db == "mysql") mysql_query("alter table $tabella add index $nome ($colonne)");
hoteldruid-3.0.1/includes/funzioni_backup.php-286-if ($tipo_db == "mysqli") {
##############################################
hoteldruid-3.0.1/includes/funzioni_backup.php-927-$collation_db_orig = mysql_result($collation,0,'Value');
hoteldruid-3.0.1/includes/funzioni_backup.php:928:if ($character_set_db_orig != "utf8" or $collation_db_orig != "utf8_general_ci") mysql_query("alter database $N_PHPR_DB_NAME default character set 'utf8' collate 'utf8_general_ci'");
hoteldruid-3.0.1/includes/funzioni_backup.php-929-} # fine if (mysql_num_rows($character_set) == 1 and mysql_num_rows($collation) == 1)
##############################################
hoteldruid-3.0.1/includes/funzioni_backup.php-1339-else  $cond_hostinserimento = "hostinserimento = '".aggslashdb($hostinserimento)."'";
hoteldruid-3.0.1/includes/funzioni_backup.php:1340:$utente_esistente = esegui_query("select idutenti from ".$PHPR_TAB_PRE."utenti where idutenti = '$idutente_vecchio' and $cond_datainserimento and $cond_hostinserimento ");
hoteldruid-3.0.1/includes/funzioni_backup.php-1341-if (!numlin_query($utente_esistente)) {
##############################################
hoteldruid-3.0.1/includes/funzioni_backup.php-1343-foreach ($anno_mantieni as $anno_vecchio => $val) {
hoteldruid-3.0.1/includes/funzioni_backup.php:1344:esegui_query("update ".$PHPR_TAB_PRE."prenota$anno_vecchio set utente_inserimento = '1' where utente_inserimento = '$idutente_vecchio' ");
hoteldruid-3.0.1/includes/funzioni_backup.php:1345:esegui_query("update ".$PHPR_TAB_PRE."costi$anno_vecchio set utente_inserimento = '1' where utente_inserimento = '$idutente_vecchio' ");
hoteldruid-3.0.1/includes/funzioni_backup.php:1346:esegui_query("update ".$PHPR_TAB_PRE."costiprenota$anno_vecchio set utente_inserimento = '1' where utente_inserimento = '$idutente_vecchio' ");
hoteldruid-3.0.1/includes/funzioni_backup.php:1347:esegui_query("update ".$PHPR_TAB_PRE."rclientiprenota$anno_vecchio set utente_inserimento = '1' where utente_inserimento = '$idutente_vecchio' ");
hoteldruid-3.0.1/includes/funzioni_backup.php:1348:esegui_query("update ".$PHPR_TAB_PRE."soldi$anno_vecchio set utente_inserimento = '1' where utente_inserimento = '$idutente_vecchio' ");
hoteldruid-3.0.1/includes/funzioni_backup.php-1349-if (@is_file(C_DATI_PATH."/selectperiodi$anno_vecchio.$idutente_vecchio.php")) unlink(C_DATI_PATH."/selectperiodi$anno_vecchio.$idutente_vecchio.php");
##############################################
hoteldruid-3.0.1/includes/funzioni_backup.php-1367-foreach ($anno_mantieni as $anno_vecchio => $val) {
hoteldruid-3.0.1/includes/funzioni_backup.php:1368:$idcliente_presente = esegui_query("select idclienti from ".$PHPR_TAB_PRE."prenota$anno_vecchio where idclienti = '$idcliente_vecchio' ");
hoteldruid-3.0.1/includes/funzioni_backup.php:1369:$idcliente_presente2 = esegui_query("select idclienti from ".$PHPR_TAB_PRE."rclientiprenota$anno_vecchio where idclienti = '$idcliente_vecchio' ");
hoteldruid-3.0.1/includes/funzioni_backup.php-1370-$idcliente_presente3 = esegui_query("select idsoldi from ".$PHPR_TAB_PRE."soldi$anno_vecchio where motivazione $LIKE '$idcliente_vecchio;%' ");
##############################################
hoteldruid-3.0.1/includes/funzioni_backup.php-1382-else  $cond_hostinserimento = "hostinserimento = '".aggslashdb($hostinserimento)."'";
hoteldruid-3.0.1/includes/funzioni_backup.php:1383:$cliente_esistente = esegui_query("select idclienti from ".$PHPR_TAB_PRE."clienti where idclienti = '$idcliente_vecchio' and $cond_datainserimento and $cond_hostinserimento ");
hoteldruid-3.0.1/includes/funzioni_backup.php-1384-if (!numlin_query($cliente_esistente)) {
hoteldruid-3.0.1/includes/funzioni_backup.php:1385:$cliente_esistente = esegui_query("select idclienti from ".$PHPR_TAB_PRE."clienti where cognome = '".aggslashdb(risul_query($clienti_vecchi,$num1,'cognome'))."' and $cond_datainserimento and $cond_hostinserimento ");
hoteldruid-3.0.1/includes/funzioni_backup.php-1386-if (numlin_query($cliente_esistente) == 1) $id_nuovo = risul_query($cliente_esistente,0,'idclienti');
hoteldruid-3.0.1/includes/funzioni_backup.php-1387-else {
hoteldruid-3.0.1/includes/funzioni_backup.php:1388:$id_esistente = esegui_query("select idclienti from ".$PHPR_TAB_PRE."clienti where idclienti = '$idcliente_vecchio' ");
hoteldruid-3.0.1/includes/funzioni_backup.php-1389-if (numlin_query($id_esistente)) {
##############################################
hoteldruid-3.0.1/includes/funzioni_backup.php-1429-$datanascita = risul_query($clienti_vecchi,$num1,'datanascita');
hoteldruid-3.0.1/includes/funzioni_backup.php:1430:if ($datanascita) esegui_query("update ".$PHPR_TAB_PRE."clienti set datanascita = '".aggslashdb($datanascita)."' where idclienti = '$id_nuovo' ");
hoteldruid-3.0.1/includes/funzioni_backup.php-1431-$scadenzadoc = risul_query($clienti_vecchi,$num1,'scadenzadoc');
hoteldruid-3.0.1/includes/funzioni_backup.php:1432:if ($scadenzadoc) esegui_query("update ".$PHPR_TAB_PRE."clienti set scadenzadoc = '".aggslashdb($scadenzadoc)."' where idclienti = '$id_nuovo' ");
hoteldruid-3.0.1/includes/funzioni_backup.php:1433:if ($datainserimento) esegui_query("update ".$PHPR_TAB_PRE."clienti set datainserimento = '".aggslashdb($datainserimento)."' where idclienti = '$id_nuovo' ");
hoteldruid-3.0.1/includes/funzioni_backup.php-1434-$id_clienti_inseriti[$idcliente_vecchio] = $id_nuovo;
##############################################
hoteldruid-3.0.1/includes/funzioni_backup.php-1439-foreach ($anno_mantieni as $anno_vecchio => $val) {
hoteldruid-3.0.1/includes/funzioni_backup.php:1440:esegui_query("update ".$PHPR_TAB_PRE."prenota$anno_vecchio set idclienti = '$id_nuovo' where idclienti = '$idcliente_vecchio' ");
hoteldruid-3.0.1/includes/funzioni_backup.php:1441:esegui_query("update ".$PHPR_TAB_PRE."rclientiprenota$anno_vecchio set idclienti = '$id_nuovo' where idclienti = '$idcliente_vecchio' ");
hoteldruid-3.0.1/includes/funzioni_backup.php-1442-$storia_soldi = esegui_query("select * from ".$PHPR_TAB_PRE."soldi$anno_vecchio where motivazione $LIKE '$idcliente_vecchio;%' ");
##############################################
hoteldruid-3.0.1/includes/funzioni_backup.php-1446-$motivazione = $id_nuovo.substr($motivazione,strlen($idcliente_vecchio));
hoteldruid-3.0.1/includes/funzioni_backup.php:1447:esegui_query("update ".$PHPR_TAB_PRE."soldi$anno_vecchio set motivazione = '$motivazione' where idsoldi = '$idsoldi' ");
hoteldruid-3.0.1/includes/funzioni_backup.php-1448-} # fine for $num2
##############################################
hoteldruid-3.0.1/includes/funzioni_backup.php-1458-$n_idclienti_compagni = ",";
hoteldruid-3.0.1/includes/funzioni_backup.php:1459:$idclienti_compagni = esegui_query("select idclienti_compagni from ".$PHPR_TAB_PRE."clienti where idclienti = '$id_nuovo' ");
hoteldruid-3.0.1/includes/funzioni_backup.php-1460-$idclienti_compagni = risul_query($idclienti_compagni,0,'idclienti_compagni');
##############################################
hoteldruid-3.0.1/includes/funzioni_backup.php-1464-} # fine for $num1
hoteldruid-3.0.1/includes/funzioni_backup.php:1465:if ($n_idclienti_compagni != $idclienti_compagni) esegui_query("update ".$PHPR_TAB_PRE."clienti set idclienti_compagni = '$n_idclienti_compagni' where idclienti = '$id_nuovo' ");
hoteldruid-3.0.1/includes/funzioni_backup.php-1466-} # fine foreach ($id_clienti_inseriti as $idcliente_vecchio => $id_nuovo)
##############################################
hoteldruid-3.0.1/includes/funzioni_backup.php-1601-if ($modello_ext != "." and $modello_ext != ".." and @is_dir("./includes/templates/$modello_ext")) {
hoteldruid-3.0.1/includes/funzioni_backup.php:1602:include("./includes/templates/$modello_ext/name.php");
hoteldruid-3.0.1/includes/funzioni_backup.php:1603:include("./includes/templates/$modello_ext/phrases.php");
hoteldruid-3.0.1/includes/funzioni_backup.php:1604:include("./includes/templates/$modello_ext/functions.php");
hoteldruid-3.0.1/includes/funzioni_backup.php-1605-$funz_recupera_var_modello = "recupera_var_modello_".$modello_ext;
##############################################
hoteldruid-3.0.1/includes/funzioni_backup.php-2014-$testo = $riga[$num_colonna['testo']];
hoteldruid-3.0.1/includes/funzioni_backup.php:2015:$var_esistente = esegui_query("select * from ".$PHPR_TAB_PRE."contratti where (tipo $LIKE 'var%' and testo = '".aggslashdb($testo)."') or (tipo $LIKE 'vett%' and testo $LIKE '".aggslashdb($testo).";%') ");
hoteldruid-3.0.1/includes/funzioni_backup.php-2016-for ($num2 = 0 ; $num2 < numlin_query($var_esistente) ; $num2++) if ($testo == risul_query($var_esistente,$num2,'testo') and $tipo_contr == risul_query($var_esistente,$num2,'tipo')) $num_var_esistente = ($num2 + 1);
##############################################
hoteldruid-3.0.1/includes/funzioni_backup.php-2028-else $nuovo_nome .= "_";
hoteldruid-3.0.1/includes/funzioni_backup.php:2029:$var_esistente = esegui_query("select * from ".$PHPR_TAB_PRE."contratti where (tipo $LIKE 'var%' and testo = '".aggslashdb($nuovo_nome)."') or (tipo $LIKE 'vett%' and testo $LIKE '".aggslashdb($nuovo_nome).";%') ");
hoteldruid-3.0.1/includes/funzioni_backup.php-2030-if (!numlin_query($var_esistente)) $nuovo_nome_trovato = "SI";
##############################################
hoteldruid-3.0.1/includes/funzioni_backup.php-2038-$nome_arr = substr($nuovo_nome_var[$key],0,(-1 * (strlen($nuovo_nome) + 2)));
hoteldruid-3.0.1/includes/funzioni_backup.php:2039:$arr_esistente = esegui_query("select * from ".$PHPR_TAB_PRE."contratti where tipo = 'vett$contr_cond' and testo = '".aggslashdb($nome_arr).";".aggslashdb($testo)."' ");
hoteldruid-3.0.1/includes/funzioni_backup.php-2040-if (numlin_query($arr_esistente)) {
##############################################
hoteldruid-3.0.1/includes/funzioni_backup.php-2043-$testo_arr = implode(";",$testo_arr);
hoteldruid-3.0.1/includes/funzioni_backup.php:2044:esegui_query("update ".$PHPR_TAB_PRE."contratti set testo = '".aggslashdb($testo_arr)."' where tipo = 'vett$contr_cond' and testo = '".aggslashdb($nome_arr).";".aggslashdb($testo)."' ");
hoteldruid-3.0.1/includes/funzioni_backup.php-2045-} # fine if (numlin_query($arr_esistente))
##############################################
hoteldruid-3.0.1/includes/funzioni_backup.php-2074-$nome_arr = $nome_arr[0];
hoteldruid-3.0.1/includes/funzioni_backup.php:2075:$arr_esistente = esegui_query("select * from ".$PHPR_TAB_PRE."contratti where (tipo $LIKE 'var%' and testo = '".aggslashdb($nome_arr)."') or (tipo $LIKE 'vett%' and testo $LIKE '".aggslashdb($nome_arr).";%') ");
hoteldruid-3.0.1/includes/funzioni_backup.php-2076-for ($num2 = 0 ; $num2 < numlin_query($arr_esistente) ; $num2++) if ($testo == risul_query($arr_esistente,$num2,'testo') and $tipo_contr == risul_query($arr_esistente,$num2,'tipo')) $num_arr_esistente = ($num2 + 1);
##############################################
hoteldruid-3.0.1/includes/funzioni_backup.php-2088-else $nuovo_nome .= "_";
hoteldruid-3.0.1/includes/funzioni_backup.php:2089:$arr_esistente = esegui_query("select * from ".$PHPR_TAB_PRE."contratti where (tipo $LIKE 'var%' and testo = '".aggslashdb($nuovo_nome)."') or (tipo $LIKE 'vett%' and testo $LIKE '".aggslashdb($nuovo_nome).";%') ");
hoteldruid-3.0.1/includes/funzioni_backup.php-2090-if (!numlin_query($arr_esistente)) $nuovo_nome_trovato = "SI";
##############################################
hoteldruid-3.0.1/includes/funzioni_backup.php-2162-$testo = aggslashdb($riga[$num_colonna['testo']]);
hoteldruid-3.0.1/includes/funzioni_backup.php:2163:#$cond_esistente = esegui_query("select * from ".$PHPR_TAB_PRE."contratti where tipo = 'cond$contr_cond' and testo = '$testo' ");
hoteldruid-3.0.1/includes/funzioni_backup.php-2164-#for ($num2 = 0 ; $num2 < numlin_query($cond_esistente) ; $num2++) if ($cond_nuova == risul_query($cond_esistente,$num2,'testo')) $inserire_riga = "NO";
##############################################
hoteldruid-3.0.1/includes/funzioni_backup.php-2228-$nomi_contr_utente = risul_query($d_nomi_contr,$num1,'valpersonalizza').$n_nomi_contratti;
hoteldruid-3.0.1/includes/funzioni_backup.php:2229:esegui_query("update $PHPR_TAB_PRE"."personalizza set valpersonalizza = '".aggslashdb($nomi_contr_utente)."' where idpersonalizza = 'nomi_contratti' and idutente = '$idutente_contr' ");
hoteldruid-3.0.1/includes/funzioni_backup.php-2230-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_contratti.php-29-if (!$rel_esist['e'][$rel_sing][$rel]) {
hoteldruid-3.0.1/includes/funzioni_contratti.php:30:$cod = esegui_query("select distinct $tablerel.codice_$rel_sing,$tablerel.codice2_$rel_sing,$tablerel.codice3_$rel_sing from $tablerelutenti inner join $tablerel on $tablerelutenti.id$rel_sing = $tablerel.id$rel_plur where $tablerelutenti.idutente = '$id_utente' and $tablerel.nome_$rel_sing = '".aggslashdb($rel)."'");
hoteldruid-3.0.1/includes/funzioni_contratti.php-31-if (numlin_query($cod)) {
##############################################
hoteldruid-3.0.1/includes/funzioni_contratti.php-36-else {
hoteldruid-3.0.1/includes/funzioni_contratti.php:37:$cod = esegui_query("select codice_$rel_sing,codice2_$rel_sing,codice3_$rel_sing from $tablerel where nome_$rel_sing = '".aggslashdb($rel)."'");
hoteldruid-3.0.1/includes/funzioni_contratti.php-38-if (numlin_query($cod)) {
##############################################
hoteldruid-3.0.1/includes/funzioni_contratti.php-98-for ($num1 = 1 ; $num1 <= $max_contr ; $num1++) $nomi_contratti[$num1] = mex("documento",$pag)."$num1";
hoteldruid-3.0.1/includes/funzioni_contratti.php:99:$nomi_contr = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'nomi_contratti' and idutente = '$id_utente'");
hoteldruid-3.0.1/includes/funzioni_contratti.php-100-$nomi_contr = risul_query($nomi_contr,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/includes/funzioni_contratti.php-111-for ($num1 = 1 ; $num1 <= $max_contr ; $num1++) {
hoteldruid-3.0.1/includes/funzioni_contratti.php:112:$nomefile_esistente = esegui_query("select testo from $tablecontratti where numero = '$num1' and tipo = 'nomefile' ");
hoteldruid-3.0.1/includes/funzioni_contratti.php-113-if (numlin_query($nomefile_esistente)) $nomi_contratti['salv'][$num1] = risul_query($nomefile_esistente,0,'testo');
##############################################
hoteldruid-3.0.1/includes/funzioni_contratti.php-115-$nomi_contratti['salv'][$num1] = str_replace("\\","_",str_replace("/","_",str_replace(" ","_",$nomi_contratti['salv'][$num1])));
hoteldruid-3.0.1/includes/funzioni_contratti.php:116:$dir_salva = esegui_query("select * from $tablecontratti where numero = '$num1' and tipo = 'dir'");
hoteldruid-3.0.1/includes/funzioni_contratti.php-117-if (numlin_query($dir_salva)) $nomi_contratti['dir'][$num1] = formatta_dir_salva_doc(risul_query($dir_salva,0,'testo'));
##############################################
hoteldruid-3.0.1/includes/funzioni_contratti.php-120-if ($nomi_contratti['dir'][$num1]) {
hoteldruid-3.0.1/includes/funzioni_contratti.php:121:$num_prog = esegui_query("select testo from $tablecontratti where numero = '$num1' and tipo = 'num_prog' ");
hoteldruid-3.0.1/includes/funzioni_contratti.php-122-if (numlin_query($num_prog)) {
##############################################
hoteldruid-3.0.1/includes/funzioni_contratti.php-128-} # fine if (numlin_query($num_prog))
hoteldruid-3.0.1/includes/funzioni_contratti.php:129:$compress = esegui_query("select testo from $tablecontratti where numero = '$num1' and tipo = 'compress' ");
hoteldruid-3.0.1/includes/funzioni_contratti.php-130-if (numlin_query($compress)) $nomi_contratti['compress'][$num1] = risul_query($compress,0,'testo');
##############################################
hoteldruid-3.0.1/includes/funzioni_contratti.php-205-if (!$date_id[$stringa_date_vett[$num1]] and controlla_num_pos($stringa_date_vett[$num1]) == "SI") {
hoteldruid-3.0.1/includes/funzioni_contratti.php:206:$data = esegui_query("select datainizio from $tableperiodi where idperiodi = '".$stringa_date_vett[$num1]."' ");
hoteldruid-3.0.1/includes/funzioni_contratti.php-207-if (numlin_query($data)) $date_id[$stringa_date_vett[$num1]] = risul_query($data,0,'datainizio');
##############################################
hoteldruid-3.0.1/includes/funzioni_contratti.php-474-
hoteldruid-3.0.1/includes/funzioni_contratti.php:475:$formati_contr = esegui_query("select * from $tablecontratti where numero = '$numero_contratto' and tipo = 'formati'");
hoteldruid-3.0.1/includes/funzioni_contratti.php-476-if (numlin_query($formati_contr)) {
##############################################
hoteldruid-3.0.1/includes/funzioni_contratti.php-588-$num_contr_vc = $numero_contratto;
hoteldruid-3.0.1/includes/funzioni_contratti.php:589:$contr_imp_vc = esegui_query("select testo from $tablecontratti where numero = '$numero_contratto' and tipo = 'impor_vc' ");
hoteldruid-3.0.1/includes/funzioni_contratti.php-590-if (numlin_query($contr_imp_vc)) $num_contr_vc = risul_query($contr_imp_vc,0,'testo');
hoteldruid-3.0.1/includes/funzioni_contratti.php:591:$variabili = esegui_query("select * from $tablecontratti where tipo = 'var' or tipo = 'var$num_contr_vc' order by tipo, numero");
hoteldruid-3.0.1/includes/funzioni_contratti.php-592-$num_variabili = numlin_query($variabili);
hoteldruid-3.0.1/includes/funzioni_contratti.php:593:$arrays = esegui_query("select * from $tablecontratti where tipo = 'vett' or tipo = 'vett$num_contr_vc' order by tipo, numero");
hoteldruid-3.0.1/includes/funzioni_contratti.php-594-$num_arrays = numlin_query($arrays);
hoteldruid-3.0.1/includes/funzioni_contratti.php:595:$condizioni_ini_d = esegui_query("select * from $tablecontratti where (tipo = 'cond' or tipo = 'cond$num_contr_vc') and testo $LIKE 'ind%' order by tipo, numero");
hoteldruid-3.0.1/includes/funzioni_contratti.php-596-$num_condizioni_ini_d = numlin_query($condizioni_ini_d);
hoteldruid-3.0.1/includes/funzioni_contratti.php:597:$condizioni_ini_r = esegui_query("select * from $tablecontratti where (tipo = 'cond' or tipo = 'cond$num_contr_vc') and testo $LIKE 'inr%' order by tipo, numero");
hoteldruid-3.0.1/includes/funzioni_contratti.php-598-$num_condizioni_ini_r = numlin_query($condizioni_ini_r);
hoteldruid-3.0.1/includes/funzioni_contratti.php:599:$condizioni = esegui_query("select * from $tablecontratti where (tipo = 'cond' or tipo = 'cond$num_contr_vc') and testo $LIKE 'rpt%' order by tipo, numero");
hoteldruid-3.0.1/includes/funzioni_contratti.php-600-$num_condizioni = numlin_query($condizioni);
hoteldruid-3.0.1/includes/funzioni_contratti.php:601:$condizioni_rip_o = esegui_query("select * from $tablecontratti where (tipo = 'cond' or tipo = 'cond$num_contr_vc') and testo $LIKE 'ros%' order by tipo, numero");
hoteldruid-3.0.1/includes/funzioni_contratti.php-602-$num_condizioni_rip_o = numlin_query($condizioni_rip_o);
hoteldruid-3.0.1/includes/funzioni_contratti.php:603:$condizioni_rip_c = esegui_query("select * from $tablecontratti where (tipo = 'cond' or tipo = 'cond$num_contr_vc') and testo $LIKE 'rca%' order by tipo, numero");
hoteldruid-3.0.1/includes/funzioni_contratti.php-604-$num_condizioni_rip_c = numlin_query($condizioni_rip_c);
hoteldruid-3.0.1/includes/funzioni_contratti.php:605:$condizioni_rip_p = esegui_query("select * from $tablecontratti where (tipo = 'cond' or tipo = 'cond$num_contr_vc') and testo $LIKE 'rpa%' order by tipo, numero");
hoteldruid-3.0.1/includes/funzioni_contratti.php-606-$num_condizioni_rip_p = numlin_query($condizioni_rip_p);
hoteldruid-3.0.1/includes/funzioni_contratti.php:607:$condizioni_rip_d = esegui_query("select * from $tablecontratti where (tipo = 'cond' or tipo = 'cond$num_contr_vc') and testo $LIKE 'rds%' order by tipo, numero");
hoteldruid-3.0.1/includes/funzioni_contratti.php-608-$num_condizioni_rip_d = numlin_query($condizioni_rip_d);
hoteldruid-3.0.1/includes/funzioni_contratti.php:609:$condizioni_rip_u = esegui_query("select * from $tablecontratti where (tipo = 'cond' or tipo = 'cond$num_contr_vc') and testo $LIKE 'run%' order by tipo, numero");
hoteldruid-3.0.1/includes/funzioni_contratti.php-610-$num_condizioni_rip_u = numlin_query($condizioni_rip_u);
hoteldruid-3.0.1/includes/funzioni_contratti.php:611:$condizioni_rip_a = esegui_query("select * from $tablecontratti where (tipo = 'cond' or tipo = 'cond$num_contr_vc') and testo $LIKE 'rar%' order by tipo, numero");
hoteldruid-3.0.1/includes/funzioni_contratti.php-612-$num_condizioni_rip_a = numlin_query($condizioni_rip_a);
hoteldruid-3.0.1/includes/funzioni_contratti.php:613:$dir_salva = esegui_query("select * from $tablecontratti where numero = '$numero_contratto' and tipo = 'dir'");
hoteldruid-3.0.1/includes/funzioni_contratti.php-614-if (numlin_query($dir_salva) == 1) {
##############################################
hoteldruid-3.0.1/includes/funzioni_contratti.php-617-else $dir_salva = "";
hoteldruid-3.0.1/includes/funzioni_contratti.php:618:$dati_contratto = esegui_query("select * from $tablecontratti where numero = '$numero_contratto' and tipo $LIKE 'contr%'");
hoteldruid-3.0.1/includes/funzioni_contratti.php-619-$tipo_contratto = risul_query($dati_contratto,0,'tipo');
##############################################
hoteldruid-3.0.1/includes/funzioni_contratti.php-628-$contratti_orig_mln['predef'] = substr($contratto_orig,7);
hoteldruid-3.0.1/includes/funzioni_contratti.php:629:$dati_contratti_mln = esegui_query("select * from $tablecontratti where numero = '$numero_contratto' and tipo $LIKE 'mln_%'");
hoteldruid-3.0.1/includes/funzioni_contratti.php-630-$num_contr_mln = numlin_query($dati_contratti_mln);
##############################################
hoteldruid-3.0.1/includes/funzioni_contratti.php-647-$tag_acapo = "\n";
hoteldruid-3.0.1/includes/funzioni_contratti.php:648:$oggetto_email = esegui_query("select * from $tablecontratti where numero = '$numero_contratto' and tipo = 'oggetto'");
hoteldruid-3.0.1/includes/funzioni_contratti.php-649-$oggetto_email = risul_query($oggetto_email,0,'testo');
hoteldruid-3.0.1/includes/funzioni_contratti.php:650:$allegato_email = esegui_query("select * from $tablecontratti where numero = '$numero_contratto' and tipo = 'allegato'");
hoteldruid-3.0.1/includes/funzioni_contratti.php-651-$allegato_email = risul_query($allegato_email,0,'testo');
hoteldruid-3.0.1/includes/funzioni_contratti.php-652-if ($allegato_email) {
hoteldruid-3.0.1/includes/funzioni_contratti.php:653:$allegato_email = esegui_query("select * from $tablecontratti where numero = '$allegato_email' and tipo = 'file_all'");
hoteldruid-3.0.1/includes/funzioni_contratti.php-654-$allegato_email = risul_query($allegato_email,0,'testo');
##############################################
hoteldruid-3.0.1/includes/funzioni_contratti.php-697-if ($anno_corr != ($anno + 1) or @is_file(C_DATI_PATH."/selectperiodi$anno_corr.1.php")) $anno_corr = $anno;
hoteldruid-3.0.1/includes/funzioni_contratti.php:698:$incrementa_num_prog = esegui_query("select * from $tablecontratti where numero = '$numero_contratto' and tipo = 'incr_np'");
hoteldruid-3.0.1/includes/funzioni_contratti.php-699-if (numlin_query($incrementa_num_prog)) $incr_np = risul_query($incrementa_num_prog,0,'testo');
##############################################
hoteldruid-3.0.1/includes/funzioni_contratti.php-1065-$trad_var = array();
hoteldruid-3.0.1/includes/funzioni_contratti.php:1066:include("./includes/lang/$ini_lingua/visualizza_contratto_var.php");
hoteldruid-3.0.1/includes/funzioni_contratti.php-1067-foreach ($trad_var as $var_trad_ita => $var_trad_ext) $trad_var_vett[$var_trad_ext] = $var_trad_ita;
##############################################
hoteldruid-3.0.1/includes/funzioni_contratti.php-1072-$trad_var = array();
hoteldruid-3.0.1/includes/funzioni_contratti.php:1073:include("./includes/lang/".$lingua_mex."/visualizza_contratto_var.php");
hoteldruid-3.0.1/includes/funzioni_contratti.php-1074-foreach ($trad_var as $var_trad_ita => $var_trad_ext) $trad_var_vett[$var_trad_ext] = $var_trad_ita;
##############################################
hoteldruid-3.0.1/includes/funzioni_contratti.php-1155-if ($var_if) {
hoteldruid-3.0.1/includes/funzioni_contratti.php:1156:$cliente = esegui_query("select idclienti from $tableclienti where (email = '".aggslashdb($var_if)."' or email2 = '".aggslashdb($var_if)."') and cognome = '".aggslashdb(${"cognome_".$n_r})."' and doc_inviati $ILIKE '%#@?".aggslashdb($oggetto_email)."#@?%' ");
hoteldruid-3.0.1/includes/funzioni_contratti.php-1157-if (numlin_query($cliente) >= 1) {
##############################################
hoteldruid-3.0.1/includes/funzioni_contratti.php-2293-if ($var_if) {
hoteldruid-3.0.1/includes/funzioni_contratti.php:2294:$cliente = esegui_query("select idclienti from $tableclienti where (email = '".aggslashdb($var_if)."' or email2 = '".aggslashdb($var_if)."') and cognome = '".aggslashdb(${"cognome_".$n_r})."' and doc_inviati $ILIKE '%#@?".aggslashdb($oggetto_email)."#@?%' ");
hoteldruid-3.0.1/includes/funzioni_contratti.php-2295-if (numlin_query($cliente) >= 1) {
##############################################
hoteldruid-3.0.1/includes/funzioni_contratti.php-2415-if ($tipo_parte2[$n_p2] == 2) {
hoteldruid-3.0.1/includes/funzioni_contratti.php:2416:$ospiti = esegui_query("select idclienti,parentela from $tablerclientiprenota where idprenota = '".aggslashdb($numero_prenotazione_orig)."' order by num_ordine ");
hoteldruid-3.0.1/includes/funzioni_contratti.php-2417-$num_ripeti2 = numlin_query($ospiti);
##############################################
hoteldruid-3.0.1/includes/funzioni_contratti.php-2449-$parentela_ospite = risul_query($ospiti,($n_r2 - 1),'parentela');
hoteldruid-3.0.1/includes/funzioni_contratti.php:2450:$dati_osp = esegui_query("select * from $tableclienti where idclienti = '$idospite' ");
hoteldruid-3.0.1/includes/funzioni_contratti.php-2451-$utente_ospite = risul_query($dati_osp,0,'utente_inserimento');
##############################################
hoteldruid-3.0.1/includes/funzioni_contratti.php-3948-";
hoteldruid-3.0.1/includes/funzioni_contratti.php:3949:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/includes/funzioni_contratti.php-3950-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/includes/funzioni_postgresql.php-60-
hoteldruid-3.0.1/includes/funzioni_postgresql.php:61:$risul = pg_exec($query);
hoteldruid-3.0.1/includes/funzioni_postgresql.php-62-if (!$risul and $silenzio != "totale") {
##############################################
hoteldruid-3.0.1/includes/funzioni_postgresql.php-78-
hoteldruid-3.0.1/includes/funzioni_postgresql.php:79:$risul = pg_exec($query);
hoteldruid-3.0.1/includes/funzioni_postgresql.php-80-if (!$risul and $silenzio != "totale") {
##############################################
hoteldruid-3.0.1/includes/funzioni_postgresql.php-194-$tabella = $tabelle[$num1];
hoteldruid-3.0.1/includes/funzioni_postgresql.php:195:pg_exec("lock table $tabella");
hoteldruid-3.0.1/includes/funzioni_postgresql.php-196-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_postgresql.php-219-
hoteldruid-3.0.1/includes/funzioni_postgresql.php:220:pg_exec("create index $nome on $tabella ($colonne)");
hoteldruid-3.0.1/includes/funzioni_postgresql.php-221-
##############################################
hoteldruid-3.0.1/includes/liberasettimane.php-126-} # fine if ($num_rip)
hoteldruid-3.0.1/includes/liberasettimane.php:127:else $prenota_in_var = esegui_query("select idprenota,idclienti,idappartamenti,iddatainizio,iddatafine,assegnazioneapp,app_assegnabili,num_persone,idprenota_compagna,checkin,datainserimento from $tableprenota where (iddatainizio < '".$limiti_var['ini']."' and iddatafine >= '".$limiti_var['n_ini']."') or (iddatainizio <= '".$limiti_var['n_fine']."' and iddatafine > '".$limiti_var['fine']."')");
hoteldruid-3.0.1/includes/liberasettimane.php-128-$num_prenota_in_var = numlin_query($prenota_in_var);
##############################################
hoteldruid-3.0.1/includes/liberasettimane.php-277-if ($app_prenota_id[$idprenota] != $app_prenota) {
hoteldruid-3.0.1/includes/liberasettimane.php:278:esegui_query("update $nome_tableprenota set idappartamenti = '".aggslashdb($app_prenota_id[$idprenota])."' where idprenota = '$idprenota'");
hoteldruid-3.0.1/includes/liberasettimane.php-279-#$adesso = date("Y-M-d H:i:s",(time() + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/includes/liberasettimane.php:280:#esegui_query("update $tableprenota set data_modifica = '$adesso' where idprenota = '$idprenota'");
hoteldruid-3.0.1/includes/liberasettimane.php-281-} # fine if ($app_prenota_id[$idprenota] != $app_prenota)
##############################################
hoteldruid-3.0.1/includes/dati_lista_cassa.php-35-$num_r = 0;
hoteldruid-3.0.1/includes/dati_lista_cassa.php:36:$cassa_esist = esegui_query("select nome_cassa from $tablecasse where idcasse = '".aggslashdb($lista_cassa)."' ");
hoteldruid-3.0.1/includes/dati_lista_cassa.php-37-if (numlin_query($cassa_esist)) {
##############################################
hoteldruid-3.0.1/includes/funzioni_tariffe.php-98-else $id_utente_pers = 1;
hoteldruid-3.0.1/includes/funzioni_tariffe.php:99:$arrotond_tasse = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'arrotond_tasse' and idutente = '$id_utente_pers'");
hoteldruid-3.0.1/includes/funzioni_tariffe.php-100-$dati_tariffe['tasse_arrotond'] = (double) risul_query($arrotond_tasse,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/includes/funzioni_tariffe.php-353-} # fine if ($dati_tariffe[$tariffa]['parte_prezzo'][$num_ord] != "p")
hoteldruid-3.0.1/includes/funzioni_tariffe.php:354:if ($prezzo_a) esegui_query("update $tableperiodi set $tariffa = '$prezzo_a' where idperiodi = '$num1'");
hoteldruid-3.0.1/includes/funzioni_tariffe.php:355:else esegui_query("update $tableperiodi set $tariffa = NULL where idperiodi = '$num1'");
hoteldruid-3.0.1/includes/funzioni_tariffe.php-356-} # fine if ((string) $prezzoperiodo != "NO")
##############################################
hoteldruid-3.0.1/includes/funzioni_tariffe.php-372-} # fine if ($dati_tariffe[$tariffa]['parte_prezzo'][$num_ord] != "f")
hoteldruid-3.0.1/includes/funzioni_tariffe.php:373:if ($prezzo_a_p) esegui_query("update $tableperiodi set $tariffa"."p = '$prezzo_a_p' where idperiodi = '$num1'");
hoteldruid-3.0.1/includes/funzioni_tariffe.php:374:else esegui_query("update $tableperiodi set $tariffa"."p = NULL where idperiodi = '$num1'");
hoteldruid-3.0.1/includes/funzioni_tariffe.php-375-} # fine if ((string) $prezzoperiodop != "NO")
##############################################
hoteldruid-3.0.1/includes/funzioni_tariffe.php-409-if ($priv_ins_num_persone != "n") {
hoteldruid-3.0.1/includes/funzioni_tariffe.php:410:$cat_pers = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'num_categorie_persone' and idutente = '$id_utente' ");
hoteldruid-3.0.1/includes/funzioni_tariffe.php-411-if ($dati_perc) $perc_cat_persone = explode(";",risul_query($cat_pers,0,'valpersonalizza'));
##############################################
hoteldruid-3.0.1/includes/funzioni_tariffe.php-418-} # fine if ($dati_perc)
hoteldruid-3.0.1/includes/funzioni_tariffe.php:419:$nomi_cat_pers = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'nomi_cat_pers_".aggslashdb($lingua_mex)."' and idutente = '$id_utente'");
hoteldruid-3.0.1/includes/funzioni_tariffe.php-420-if (!numlin_query($nomi_cat_pers)) {
hoteldruid-3.0.1/includes/funzioni_tariffe.php:421:$nomi_cat_pers = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'nomi_cat_pers_en' and idutente = '$id_utente'");
hoteldruid-3.0.1/includes/funzioni_tariffe.php-422-if (!numlin_query($nomi_cat_pers)) {
hoteldruid-3.0.1/includes/funzioni_tariffe.php:423:$nomi_cat_pers = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'nomi_cat_pers_ita' and idutente = '$id_utente'");
hoteldruid-3.0.1/includes/funzioni_tariffe.php-424-$dati_cat_pers['lang'] = "ita";
##############################################
hoteldruid-3.0.1/includes/funzioni_tariffe.php-432-if ($dati_cat_pers['lang'] != 'ita') {
hoteldruid-3.0.1/includes/funzioni_tariffe.php:433:$n_cat_pers = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'nomi_cat_pers_ita' and idutente = '$id_utente' ");
hoteldruid-3.0.1/includes/funzioni_tariffe.php-434-$n_cat_pers = explode("<",risul_query($n_cat_pers,0,'valpersonalizza'));
##############################################
hoteldruid-3.0.1/includes/funzioni_tariffe.php-460-if ($ini_lingua and $ini_lingua != $dati_cat_pers['lang']) {
hoteldruid-3.0.1/includes/funzioni_tariffe.php:461:$n_cat_pers = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'nomi_cat_pers_".aggslashdb($ini_lingua)."' and idutente = '$id_utente' ");
hoteldruid-3.0.1/includes/funzioni_tariffe.php-462-if (numlin_query($n_cat_pers)) {
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-176-$tableprenota = prenota. $anno_mostra;
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:177:pg_exec("alter table $tableprenota add column conferma varchar(4)");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-178-$tableregole = regole. $anno_mostra;
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:179:#pg_exec("lock table $tableregole");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:180:pg_exec("alter table $tableregole add column tariffa_per_app text");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:181:pg_exec("alter table $tableregole add column motivazione text");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-182-$tablesoldi = soldi. $anno_mostra;
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:183:pg_exec("create table $tablesoldi (idsoldi serial, motivazione text, saldo_prenota float8, saldo_cassa float8, soldi_prima float8, data_inserimento datetime)");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:184:#pg_exec("lock table $tablesoldi");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:185:pg_exec("insert into $tablesoldi (motivazione,soldi_prima) values ('soldi_prenotazioni_cancellate','0')");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-186-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-203-$idapp = pg_result($appartamenti,$num1,'idappart');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:204:pg_exec("update appart set idappartamenti = '$idapp' where idappart = '$idapp'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-205-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-214-$tableprenota_temp = 'pren'.$anno_cambia;
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:215:pg_exec("alter table $tableprenota rename to $tableprenota_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:216:pg_exec("drop index $tableprenota"."_pkey");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:217:pg_exec("alter table $tableprenota_temp rename column idappartamenti to idappart");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:218:pg_exec("alter table $tableprenota_temp add column idappartamenti text");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:219:pg_exec("alter table $tableprenota_temp rename column sconto to scon");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:220:pg_exec("alter table $tableprenota_temp add column sconto float8");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:221:pg_exec("alter table $tableprenota_temp rename column tariffa_tot to tariffa_t");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:222:pg_exec("alter table $tableprenota_temp add column tariffa_tot float8");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:223:pg_exec("alter table $tableprenota_temp rename column caparra to capar");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:224:pg_exec("alter table $tableprenota_temp add column caparra float8");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:225:pg_exec("alter table $tableprenota_temp rename column pagato to paga");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:226:pg_exec("alter table $tableprenota_temp add column pagato float8");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:227:$prenotazioni = pg_exec("select * from $tableprenota_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-228-$num_prenotazioni = pg_numrows($prenotazioni);
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-235-$paga = pg_result($prenotazioni,$num2,'paga');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:236:pg_exec("update $tableprenota_temp set idappartamenti = '$idapp' where idprenota = '$idprenota'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:237:pg_exec("update $tableprenota_temp set sconto = '$scon' where idprenota = '$idprenota'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:238:pg_exec("update $tableprenota_temp set tariffa_tot = '$tariffa_t' where idprenota = '$idprenota'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:239:pg_exec("update $tableprenota_temp set caparra = '$capar' where idprenota = '$idprenota'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:240:pg_exec("update $tableprenota_temp set pagato = '$paga' where idprenota = '$idprenota'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-241-} # fine for $num2
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:242:pg_exec("create table $tableprenota (idprenota integer primary key, idclienti integer, idappartamenti text, iddatainizio integer, iddatafine integer, assegnazioneapp varchar(4), app_assegnabili text, num_persone integer, idprenota_compagna text, tariffa text, costiaggiuntivi text, sconto float8, tariffa_tot float8, caparra float8, pagato float8, commento text, conferma varchar(4), datainserimento datetime, hostinserimento varchar(50), data_modifica datetime )");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:243:pg_exec("insert into $tableprenota select idprenota,idclienti,idappartamenti,iddatainizio,iddatafine,assegnazioneapp,app_assegnabili,num_persone,idprenota_compagna,tariffa,costiaggiuntivi,sconto,tariffa_tot,caparra,pagato,commento,conferma,datainserimento,hostinserimento,data_modifica from $tableprenota_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:244:pg_exec("drop table $tableprenota_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-245-$tableregole = 'regole'.$anno_cambia;
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-246-$tableregole_temp = 'reg'.$anno_cambia;
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:247:pg_exec("alter table $tableregole rename to $tableregole_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:248:pg_exec("alter table $tableregole_temp rename column app_agenzia to app_ag");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:249:pg_exec("alter table $tableregole_temp add column app_agenzia text");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:250:$regole = pg_exec("select * from $tableregole_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-251-$num_regole = pg_numrows($regole);
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-254-$app_ag = pg_result($regole,$num2,'app_ag');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:255:pg_exec("update $tableregole_temp set app_agenzia = '$app_ag' where idregole = '$idregole'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-256-} # fine for $num2
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:257:pg_exec("create table $tableregole (idregole integer, app_agenzia text, tariffa_per_app text, iddatainizio integer, iddatafine integer, motivazione text)");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:258:pg_exec("insert into $tableregole select idregole,app_agenzia,tariffa_per_app,iddatainizio,iddatafine,motivazione from $tableregole_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:259:pg_exec("drop table $tableregole_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-260-$tablenometariffe = 'ntariffe'.$anno_cambia;
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-261-$tablenometariffe_temp = 'ntarif'.$anno_cambia;
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:262:pg_exec("alter table $tablenometariffe rename to $tablenometariffe_temp ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:263:pg_exec("alter table $tablenometariffe_temp rename column costosettimanale to costosett");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:264:pg_exec("alter table $tablenometariffe_temp add column costosettimanale float8");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:265:pg_exec("alter table $tablenometariffe_temp rename column costofinale to costofin");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:266:pg_exec("alter table $tablenometariffe_temp add column costofinale float8");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:267:pg_exec("alter table $tablenometariffe_temp rename column costop_arrotond to costop_arr");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:268:pg_exec("alter table $tablenometariffe_temp add column costop_arrotond float8");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:269:pg_exec("alter table $tablenometariffe_temp rename column caparra_arrotond to caparra_arr");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:270:pg_exec("alter table $tablenometariffe_temp add column caparra_arrotond float8");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:271:$nomitariffe = pg_exec("select * from $tablenometariffe_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-272-$num_nomitariffe = pg_numrows($nomitariffe);
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-278-$caparra_arr = pg_result($nomitariffe,$num2,'caparra_arr');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:279:pg_exec("update $tablenometariffe_temp set costosettimanale = '$costosett' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:280:pg_exec("update $tablenometariffe_temp set costofinale = '$costofin' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:281:pg_exec("update $tablenometariffe_temp set costop_arrotond = '$costop_arr' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:282:pg_exec("update $tablenometariffe_temp set caparra_arrotond = '$caparra_arr' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-283-} # fine for $num2
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:284:pg_exec("create table $tablenometariffe (idntariffe integer, tariffa1 varchar(40), tariffa2 varchar(40), tariffa3 varchar(40), tariffa4 varchar(40), tariffa5 varchar(40), tariffa6 varchar(40), tariffa7 varchar(40), tariffa8 varchar(40), tariffa9 varchar(40), tariffa10 varchar(40), costosettimanale float8, costofinale float8, costopercentuale integer, costop_arrotond float8, regole varchar(40), caparra_percent integer, caparra_arrotond float8 )");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:285:pg_exec("insert into $tablenometariffe select idntariffe,tariffa1,tariffa2,tariffa3,tariffa4,tariffa5,tariffa6,tariffa7,tariffa8,tariffa9,tariffa10,costosettimanale,costofinale,costopercentuale,costop_arrotond,regole,caparra_percent,caparra_arrotond from $tablenometariffe_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:286:pg_exec("drop table $tablenometariffe_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-287-$tableperiodi = periodi . $anno_cambia;
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-288-$tableperiodi_temp = perio . $anno_cambia;
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:289:pg_exec("drop index $tableperiodi"."_pkey");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:290:pg_exec("alter table $tableperiodi rename to $tableperiodi_temp ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:291:pg_exec("alter table $tableperiodi_temp rename column tariffa1 to tari1");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:292:pg_exec("alter table $tableperiodi_temp add column tariffa1 float8");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:293:pg_exec("alter table $tableperiodi_temp rename column tariffa2 to tari2");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:294:pg_exec("alter table $tableperiodi_temp add column tariffa2 float8");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:295:pg_exec("alter table $tableperiodi_temp rename column tariffa3 to tari3");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:296:pg_exec("alter table $tableperiodi_temp add column tariffa3 float8");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:297:pg_exec("alter table $tableperiodi_temp rename column tariffa4 to tari4");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:298:pg_exec("alter table $tableperiodi_temp add column tariffa4 float8");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:299:pg_exec("alter table $tableperiodi_temp rename column tariffa5 to tari5");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:300:pg_exec("alter table $tableperiodi_temp add column tariffa5 float8");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:301:pg_exec("alter table $tableperiodi_temp rename column tariffa6 to tari6");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:302:pg_exec("alter table $tableperiodi_temp add column tariffa6 float8");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:303:pg_exec("alter table $tableperiodi_temp rename column tariffa7 to tari7");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:304:pg_exec("alter table $tableperiodi_temp add column tariffa7 float8");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:305:pg_exec("alter table $tableperiodi_temp rename column tariffa8 to tari8");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:306:pg_exec("alter table $tableperiodi_temp add column tariffa8 float8");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:307:pg_exec("alter table $tableperiodi_temp rename column tariffa9 to tari9");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:308:pg_exec("alter table $tableperiodi_temp add column tariffa9 float8");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:309:pg_exec("alter table $tableperiodi_temp rename column tariffa10 to tari10");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:310:pg_exec("alter table $tableperiodi_temp add column tariffa10 float8");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:311:$periodi = pg_exec("select * from $tableperiodi_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-312-$num_periodi = pg_numrows($periodi);
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-324-$tari10 = pg_result($periodi,$num2,'tari10');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:325:pg_exec("update $tableperiodi_temp set tariffa1 = '$tari1' where idperiodi = '$idperiodi'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:326:pg_exec("update $tableperiodi_temp set tariffa2 = '$tari2' where idperiodi = '$idperiodi'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:327:pg_exec("update $tableperiodi_temp set tariffa3 = '$tari3' where idperiodi = '$idperiodi'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:328:pg_exec("update $tableperiodi_temp set tariffa4 = '$tari4' where idperiodi = '$idperiodi'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:329:pg_exec("update $tableperiodi_temp set tariffa5 = '$tari5' where idperiodi = '$idperiodi'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:330:pg_exec("update $tableperiodi_temp set tariffa6 = '$tari6' where idperiodi = '$idperiodi'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:331:pg_exec("update $tableperiodi_temp set tariffa7 = '$tari7' where idperiodi = '$idperiodi'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:332:pg_exec("update $tableperiodi_temp set tariffa8 = '$tari8' where idperiodi = '$idperiodi'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:333:pg_exec("update $tableperiodi_temp set tariffa9 = '$tari9' where idperiodi = '$idperiodi'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:334:pg_exec("update $tableperiodi_temp set tariffa10 = '$tari10' where idperiodi = '$idperiodi'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-335-} # fine for $num2
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:336:pg_exec("create table $tableperiodi (idperiodi integer primary key, datainizio date not null, datafine date, tariffa1 float8, tariffa2 float8, tariffa3 float8, tariffa4 float8, tariffa5 float8, tariffa6 float8, tariffa7 float8, tariffa8 float8, tariffa9 float8, tariffa10 float8)");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:337:pg_exec("insert into $tableperiodi select idperiodi,datainizio,datafine,tariffa1,tariffa2,tariffa3,tariffa4,tariffa5,tariffa6,tariffa7,tariffa8,tariffa9,tariffa10 from $tableperiodi_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:338:pg_exec("drop table $tableperiodi_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-339-$tablecosti = costi . $anno_cambia;
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-340-$tablecosti_temp = cos . $anno_cambia;
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:341:pg_exec("drop index $tablecosti"."_idcosti_key");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:342:pg_exec("alter table $tablecosti rename to $tablecosti_temp ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:343:pg_exec("alter table $tablecosti_temp rename column val_costo to val_cos");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:344:pg_exec("alter table $tablecosti_temp add column val_costo float8");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:345:$costi = pg_exec("select * from $tablecosti_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-346-$num_costi = pg_numrows($costi);
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-349-$val_cos = pg_result($costi,$num2,'val_cos');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:350:pg_exec("update $tablecosti_temp set val_costo = '$val_cos' where idcosti = '$idcosti'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-351-} # fine for $num2
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:352:pg_exec("create table $tablecosti (idcosti integer unique,nome_costo text, val_costo float8, persona_costo text, provenienza_costo text, tipo_costo text, datainserimento datetime, hostinserimento varchar(50))");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:353:pg_exec("insert into $tablecosti select idcosti,nome_costo,val_costo,persona_costo,provenienza_costo,tipo_costo,datainserimento,hostinserimento from $tablecosti_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:354:pg_exec("drop table $tablecosti_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-355-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-368-$tableregole = 'regole'.$anno_mostra;
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:369:#pg_exec("lock table $tableregole");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-370-$tablesoldi = 'soldi'.$anno_mostra;
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:371:#pg_exec("lock table $tablesoldi");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-372-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-406-$tablenometariffe_temp = ntar . $anno_cambia;
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:407:pg_exec("alter table $tablenometariffe rename to $tablenometariffe_temp ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:408:$riga_ntariffe = pg_exec("select * from $tablenometariffe_temp where idntariffe = 1");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-409-$caparra_percent = pg_result($riga_ntariffe,0,'caparra_percent');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-410-$caparra_arrotond = pg_result($riga_ntariffe,0,'caparra_arrotond');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:411:pg_exec("create table $tablenometariffe (idntariffe integer, nomecostoagg varchar(40), costosettimanale float8, costofinale float8, costopercentuale integer, costop_arrotond float8, regole varchar(40), tariffa1 varchar(40), tariffa2 varchar(40), tariffa3 varchar(40), tariffa4 varchar(40), tariffa5 varchar(40), tariffa6 varchar(40), tariffa7 varchar(40), tariffa8 varchar(40), tariffa9 varchar(40), tariffa10 varchar(40) )");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:412:pg_exec("insert into $tablenometariffe (idntariffe,costosettimanale,costofinale,costopercentuale,costop_arrotond,regole,tariffa1,tariffa2,tariffa3,tariffa4,tariffa5,tariffa6,tariffa7,tariffa8,tariffa9,tariffa10) select idntariffe,costosettimanale,costofinale,costopercentuale,costop_arrotond,regole,tariffa1,tariffa2,tariffa3,tariffa4,tariffa5,tariffa6,tariffa7,tariffa8,tariffa9,tariffa10 from $tablenometariffe_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:413:pg_exec("drop table $tablenometariffe_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:414:pg_exec("update $tablenometariffe set nomecostoagg = 10 where idntariffe = 1");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:415:$idntariffe = pg_exec("select max(idntariffe) from $tablenometariffe");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-416-$idntariffe = pg_result($idntariffe,0,max) + 1;
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-419-for ($num2 = $idntariffe ; $num2 <= 3 ; $num2++) {
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:420:pg_exec("insert into $tablenometariffe (idntariffe) values ('$num2')");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-421-$idntariffe++;
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-423-for ($num2 = 2 ; $num2 <= $num_spostamenti ; $num2++) {
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:424:$riga_ntariffe = pg_exec("select * from $tablenometariffe where idntariffe = '$num2'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-425-if (pg_numrows($riga_ntariffe) != 0) {
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-431-$regole = pg_result($riga_ntariffe,0,'regole');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:432:pg_exec("insert into $tablenometariffe (idntariffe) values ('$idntariffe') ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:433:if ($tariffa1) pg_exec("update $tablenometariffe set tariffa1 = '$tariffa1' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:434:if ($costosettimanale) pg_exec("update $tablenometariffe set costosettimanale = '$costosettimanale' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:435:if ($costofinale) pg_exec("update $tablenometariffe set costofinale = '$costofinale' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:436:if ($costopercentuale) pg_exec("update $tablenometariffe set costopercentuale = '$costopercentuale' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:437:if ($costop_arrotond) pg_exec("update $tablenometariffe set costop_arrotond = '$costop_arrotond' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:438:if ($regole) pg_exec("update $tablenometariffe set regole = '$regole' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-439-$idntariffe++;
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:440:pg_exec("delete from $tablenometariffe where idntariffe = '$num2'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-441-} # fine if (pg_numrows($riga_ntariffe) != 0)
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:442:pg_exec("insert into $tablenometariffe (idntariffe) values ('$num2')");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-443-} # fine for $num2
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-445-$tariffa = "tariffa".$num2;
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:446:pg_exec("update $tablenometariffe set $tariffa = '$caparra_percent' where idntariffe = 2");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:447:pg_exec("update $tablenometariffe set $tariffa = '$caparra_arrotond' where idntariffe = 3");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-448-} # fine for $num2
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-449-for ($num2 = 4 ; $num2 < $idntariffe ; $num2++) {
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:450:$riga_ntariffe = pg_exec("select * from $tablenometariffe where idntariffe = '$num2'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-451-if (pg_numrows($riga_ntariffe) != 0) {
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-452-$tariffa1 = pg_result($riga_ntariffe,0,'tariffa1');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:453:pg_exec("update $tablenometariffe set nomecostoagg = '$tariffa1' where idntariffe = '$num2'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:454:pg_exec("update $tablenometariffe set tariffa1 = '' where idntariffe = '$num2'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:455:$regole = pg_exec("select regole from $tablenometariffe where idntariffe = '$num2'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-456-$regole = pg_result($regole,0,'regole');
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-459-$tariffa = "tariffa".$num3;
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:460:pg_exec("update $tablenometariffe set $tariffa = '1' where idntariffe = '$num2'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-461-} # fine for $num3
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-464-} # fine for $num2
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:465:$righe_costi_agg = pg_exec("select * from $tablenometariffe where idntariffe > 3");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-466-for ($num2 = 0 ; $num2 < pg_numrows($righe_costi_agg) ; $num2++) {
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-469-$idntariffe = pg_result($righe_costi_agg,$num2,'idntariffe');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:470:pg_exec("delete from $tablenometariffe where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-471-} # fine if (!$nome_costo_agg)
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-472-} # fine for $num2
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:473:pg_exec("update $tablenometariffe set costosettimanale = NULL,costofinale = NULL,costopercentuale = NULL where idntariffe < 4");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-474-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-556-$idapp = pg_result($appartamenti,$num1,'idappart');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:557:pg_exec("update appart set idappartamenti = '$idapp' where idappart = '$idapp'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-558-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-567-$tableprenota_temp = pren . $anno_cambia;
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:568:pg_exec("alter table $tableprenota rename to $tableprenota_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:569:pg_exec("drop index $tableprenota"."_pkey");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:570:pg_exec("alter table $tableprenota_temp rename column idappartamenti to idappart");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:571:pg_exec("alter table $tableprenota_temp add column idappartamenti varchar(100)");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:572:$prenotazioni = pg_exec("select * from $tableprenota_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-573-$num_prenotazioni = pg_numrows($prenotazioni);
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-576-$idapp = pg_result($prenotazioni,$num2,'idappart');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:577:pg_exec("update $tableprenota_temp set idappartamenti = '$idapp' where idprenota = '$idprenota'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-578-} # fine for $num2
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:579:pg_exec("create table $tableprenota (idprenota integer primary key, idclienti integer, idappartamenti varchar(100), iddatainizio integer, iddatafine integer, assegnazioneapp varchar(4), app_assegnabili text, num_persone integer, idprenota_compagna text, tariffa text, costiaggiuntivi text, sconto float8, tariffa_tot float8, caparra float8, pagato float8, commento text, conferma varchar(4), datainserimento datetime, hostinserimento varchar(50), data_modifica datetime )");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:580:pg_exec("insert into $tableprenota select idprenota,idclienti,idappartamenti,iddatainizio,iddatafine,assegnazioneapp,app_assegnabili,num_persone,idprenota_compagna,tariffa,costiaggiuntivi,sconto,tariffa_tot,caparra,pagato,commento,conferma,datainserimento,hostinserimento,data_modifica from $tableprenota_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:581:pg_exec("drop table $tableprenota_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-582-$tableregole = regole . $anno_cambia;
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-583-$tableregole_temp = reg . $anno_cambia;
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:584:pg_exec("alter table $tableregole rename to $tableregole_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:585:pg_exec("alter table $tableregole_temp rename column app_agenzia to app_ag");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:586:pg_exec("alter table $tableregole_temp add column app_agenzia varchar(100)");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:587:$regole = pg_exec("select * from $tableregole_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-588-$num_regole = pg_numrows($regole);
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-591-$app_ag = pg_result($regole,$num2,'app_ag');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:592:pg_exec("update $tableregole_temp set app_agenzia = '$app_ag' where idregole = '$idregole'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-593-} # fine for $num2
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:594:pg_exec("create table $tableregole (idregole integer, app_agenzia varchar(100), tariffa_per_app text, iddatainizio integer, iddatafine integer, motivazione text)");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:595:pg_exec("insert into $tableregole select idregole,app_agenzia,tariffa_per_app,iddatainizio,iddatafine,motivazione from $tableregole_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:596:pg_exec("drop table $tableregole_temp");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-597-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-605-$idpers = pg_result($personalizzazioni,$num1,'idpers');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:606:pg_exec("update pers set idpersonalizza = '$idpers' where idpers = '$idpers'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-607-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-618-$tableperiodi = "periodi" . $anno_cambia;
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:619:$tipo_periodi = pg_exec("select * from anni where idanni = $anno_cambia");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-620-$tipo_periodi = pg_result($tipo_periodi,0,'tipo_periodi');
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-622-else $aggiungi_giorni = 7;
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:623:$periodi = pg_exec("select * from $tableperiodi order by idperiodi");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-624-$num_periodi = pg_numrows($periodi);
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-929-else $d_num_costi_aggiuntivi = 0;
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:930:if ($d_num_costi_aggiuntivi > 0) esegui_query("update $tableprenota set costiassociati = 's' where idprenota = '$idprenota'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:931:else esegui_query("update $tableprenota set costiassociati = 'n' where idprenota = '$idprenota'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-932-for ($numca = 0 ; $numca < $d_num_costi_aggiuntivi ; $numca++) {
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-986-for ($num3 = $iddatainizio ; $num3 <= $iddatafine ; $num3++) {
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:987:$tariffa_periodo = esegui_query("select $tariffa_num from $tableperiodi where idperiodi = '$num3'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-988-$tariffa_periodo = risul_query($tariffa_periodo,0,$tariffa_num);
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1008-$lista_tariffe = substr($lista_tariffe,1);
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1009:esegui_query("update $tableprenota set tariffesettimanali = '$lista_tariffe' where idprenota = '$idprenota'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1010-} # fine if ($iddatainizio != 0)
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1049-$col_tab_tutte_prenota = str_replace("#@&cp#?&","#@&cu#?&",$col_tab_tutte_prenota);
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1050:esegui_query("update ".$PHPR_TAB_PRE."personalizza set valpersonalizza = '$col_tab_tutte_prenota' where idpersonalizza = 'col_tab_tutte_prenota' and idutente = '$id_utente_mod'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1051-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1068-$variazione_ca = risul_query($dati_ntariffe,$num2,'variazione_ca');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1069:esegui_query("update $tablenometariffe set variazione_ca = '$variazione_ca"."n' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1070-} # fine for $num2
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1093-$priv_mod_prec = risul_query($privilegi_anni,$num1,'priv_mod_prenota');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1094:esegui_query("update ".$PHPR_TAB_PRE."privilegi set priv_ins_prenota = '".$priv_ins_prec."s', priv_mod_prenota = '".$priv_mod_prec."sn' where idutente = '$idutente_priv' and anno = '$anno_priv' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1095-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1099-$val_pers =  risul_query($col_tab,$num1,'valpersonalizza');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1100:if ($val_pers) esegui_query("update ".$PHPR_TAB_PRE."personalizza set valpersonalizza = 'nu#@&cg#@&in#@&fi#@&".$val_pers."' where idutente = '$idutente_pers' and idpersonalizza = 'col_tab_tutte_prenota' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1101:else esegui_query("update ".$PHPR_TAB_PRE."personalizza set valpersonalizza = 'nu#@&cg#@&in#@&fi' where idutente = '$idutente_pers' and idpersonalizza = 'col_tab_tutte_prenota' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1102-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1120-$email = risul_query($clienti,$num1,'email');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1121:esegui_query("update ".$PHPR_TAB_PRE."clienti set email = '".addslashes($email)."' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1122-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1127-$anno_mostra = risul_query($anni,$num1,'idanni');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1128:$tipo_periodi = esegui_query("select * from ".$PHPR_TAB_PRE."anni where idanni = '$anno_mostra'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1129-$tipo_periodi = risul_query($tipo_periodi,0,'tipo_periodi');
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1202-$vartariffeassociate = addslashes(risul_query($costiprenota_cambia,$num2,'vartariffeassociate'));
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1203:if ($vartariffeassociate) esegui_query("update $tablecostiprenota set vartariffeassociate = 'p$vartariffeassociate' where idcostiprenota = '$idcostiprenota'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1204-} # fine for $num2
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1232-$val = risul_query($contenuto_col,$num2,$nome_colonna);
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1233:if (!contr_utf8($val)) esegui_query("update ".$PHPR_TAB_PRE."$tabella set $nome_colonna = '".addslashes(utf8_encode($val))."' where $nome_colonna = '".addslashes($val)."'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1234-} # fine for $num2
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1284-$anno_mod = risul_query($priv_reg1_cons,$num1,'anno');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1285:esegui_query("update ".$PHPR_TAB_PRE."privilegi set regole1_consentite = '".addslashes($reg1_cons_mod)."' where idutente = '$idutente_mod' and anno = '$anno_mod'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1286-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1399-esegui_query("insert into ".$PHPR_TAB_PRE."personalizza (idpersonalizza,idutente,valpersonalizza_num) values ('linee_ripeti_date_tab_mesi','$idutente_mostra','25')");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1400:esegui_query("update ".$PHPR_TAB_PRE."privilegi set priv_messaggi = 'nn' where idutente = '$idutente_mostra' and anno = '1' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1401-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1406-$priv_ins_prec = risul_query($privilegi_anni,$num1,'priv_ins_prenota');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1407:esegui_query("update ".$PHPR_TAB_PRE."privilegi set priv_ins_prenota = '".$priv_ins_prec."n' where idutente = '$idutente_priv' and anno = '$anno_priv' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1408-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1423-$id_soldi = risul_query($soldi_prenota,$num2,'idsoldi');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1424:esegui_query("update $tablesoldi set motivazione = '$motivazione".";' where idsoldi = '$id_soldi'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1425-} # fine for $num2
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1466-$dati_transazione15 .= addslashes($citta)."<d>".addslashes($via)."<d><d>".addslashes($cap)."<d>".addslashes($telefono)."<d><d><d><d>";
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1467:esegui_query("update ".$PHPR_TAB_PRE."transazioniweb set dati_transazione15 = '$dati_transazione15' where idtransazioni = '$id_trans'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1468-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1480-for ($num3 = 0 ; $num3 < 4 ; $num3++) $cod_prenota .= substr($valori,rand(0,22),1);
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1481:esegui_query("update $tableprenota set codice = '$cod_prenota' where idprenota = '$id_prenota'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1482-} # fine for $num2
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1488-$priv_mod_prec = risul_query($privilegi_anni,$num1,'priv_mod_prenota');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1489:esegui_query("update ".$PHPR_TAB_PRE."privilegi set priv_mod_prenota = '".$priv_mod_prec."n' where idutente = '$idutente_priv' and anno = '$anno_priv' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1490-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1503-$priv_mod_prec = risul_query($privilegi_anni,$num1,'priv_mod_prenota');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1504:esegui_query("update ".$PHPR_TAB_PRE."privilegi set priv_mod_prenota = '".$priv_mod_prec."n' where idutente = '$idutente_priv' and anno = '$anno_priv' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1505-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1527-$priv_mod_prec = risul_query($privilegi_anni,$num1,'priv_mod_prenota');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1528:esegui_query("update ".$PHPR_TAB_PRE."privilegi set priv_mod_prenota = '".$priv_mod_prec."n' where idutente = '$idutente_priv' and anno = '$anno_priv' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1529-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1556-esegui_query("insert into $tableclienti (idclienti,cognome,nome,documento,max_num_ordine,idclienti_compagni,datainserimento,hostinserimento,utente_inserimento) values ('$max_idclienti','$cognome2','$nome2','$documento2','2',',$idclienti,','$datainserimento','$hostinserimento','$utente_inserimento')");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1557:if ($sesso2) esegui_query("update $tableclienti set sesso = '$sesso2' where idclienti = '$max_idclienti' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1558:if ($datanascita2) esegui_query("update $tableclienti set datanascita = '$datanascita2' where idclienti = '$max_idclienti' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1559:if ($scadenzadoc2) esegui_query("update $tableclienti set scadenzadoc = '$scadenzadoc2' where idclienti = '$max_idclienti' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1560:esegui_query("update $tableclienti set idclienti_compagni = ',$max_idclienti,' where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1561-$nuovo_idclienti[$idclienti] = $max_idclienti;
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1586-$idclienti = risul_query($clienti2,$num2,'idclienti');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1587:$prenota_clienti2 = esegui_query("select * from $tableprenota where idclienti = '$idclienti' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1588-for ($num3 = 0 ; $num3 < numlin_query($prenota_clienti2) ; $num3++) {
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1593-esegui_query("insert into $tablerclientiprenota (idprenota,idclienti,num_ordine,hostinserimento) values ('$idprenota','".$nuovo_idclienti[$idclienti]."','2','$hostinserimento') ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1594:if ($datainserimento) esegui_query("update $tablerclientiprenota set datainserimento = '$datainserimento' where idprenota = '$idprenota' and idclienti = '".$nuovo_idclienti[$idclienti]."' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1595:if ($utente_inserimento) esegui_query("update $tablerclientiprenota set utente_inserimento = '$utente_inserimento' where idprenota = '$idprenota' and idclienti = '".$nuovo_idclienti[$idclienti]."' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1596-} # fine for $num3
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1620-$cond .= "=#%?".$condizione[5];
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1621:esegui_query("update ".$PHPR_TAB_PRE."contratti set testo = '".aggslashdb($cond)."' where numero = '$num_cond' and tipo = 'cond' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1622-} # fine if (substr($cond,0,5) == "if#%?")
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1645-$priv_ins_prec = risul_query($privilegi_anni,$num1,'priv_ins_prenota');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1646:esegui_query("update ".$PHPR_TAB_PRE."privilegi set priv_mod_prenota = '".$priv_mod_prec."n', priv_ins_prenota = '".$priv_ins_prec."n' where idutente = '$idutente_priv' and anno = '$anno_priv' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1647-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1701-$priv_vedi_tab_prec = risul_query($privilegi_anni,$num1,'priv_vedi_tab');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1702:esegui_query("update ".$PHPR_TAB_PRE."privilegi set priv_vedi_tab = '".$priv_vedi_tab_prec."n' where idutente = '$idutente_priv' and anno = '$anno_priv' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1703-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1733-$idutente_mostra = risul_query($utenti,$num1,'idutenti');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1734:$tipi_documento = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'tipi_documento' and idutente = '$idutente_mostra'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1735-$tipi_documento = risul_query($tipi_documento,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1739-$tipo_doc = $tipi_documento[$num2];
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1740:$tipo_doc_esist = esegui_query("select iddocumentiid from $tabledocumentiid where nome_documentoid = '".aggslashdb($tipo_doc)."' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1741-if (numlin_query($tipo_doc_esist) == 1) $num_documentoid = risul_query($tipo_doc_esist,0,'iddocumentiid');
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1749-} # fine if ($tipi_documento)
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1750:esegui_query("delete from $tablepersonalizza where idpersonalizza = 'tipi_documento' and idutente = '$idutente_mostra'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1751-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1760-scrivi_file("<?php
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1761:include(\"./$nome_nuovo\");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1762-?>","$percorso_cartella_modello/$nome_vecchio");
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1838-$variazione_ca = risul_query($dati_ntariffe,$num2,'variazione_ca');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1839:esegui_query("update $tablenometariffe set mostra_ca = '$mostra_ca"."n', variazione_ca = '$variazione_ca"."nn' where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1840-} # fine for $num2
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1852-global $trad_var,$lingua_mex;
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1853:if (!$trad_var and $lingua_mex != "ita") include("./includes/lang/$lingua_mex/visualizza_contratto_var.php");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1854-if ($trad_var[$messaggio]) $messaggio = $trad_var[$messaggio];
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1868-if (substr($cond,0,3) == "if3") $cond = "2if".substr($cond,3);
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1869:esegui_query("update ".$PHPR_TAB_PRE."contratti set testo = '".aggslashdb($cond)."' where numero = '$num_cond' and tipo = 'cond' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1870-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1906-$ind_email = risul_query($indirizzi_email,$num1,'valpersonalizza');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1907:esegui_query("update $tablepersonalizza set idpersonalizza = 'dati_struttura', valpersonalizza = '#@&#@&$ind_email#@&#@&#@&#@&#@&#@&#@&#@&#@&' where idpersonalizza = 'indirizzo_email' and idutente = '$idut_email' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1908-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1961-} # fine if ($condizione[0] == "break")
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1962:esegui_query("update ".$PHPR_TAB_PRE."contratti set testo = '".aggslashdb($nuova_cond)."' where numero = '$num_cond' and tipo = '$tipo_cond' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1963-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1969-$nuovo_vett = $vett[0].";".$vett[1];
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1970:esegui_query("update ".$PHPR_TAB_PRE."contratti set testo = '".aggslashdb($nuovo_vett)."' where numero = '$num_vett' and tipo = '$tipo_vett' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1971-if ($vett[2] == "dat" or $vett[2] == "val") {
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1972-$contr_cond = substr($tipo_vett,4);
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1973:$max_cond = esegui_query("select max(numero) from ".$PHPR_TAB_PRE."contratti where tipo = 'cond$contr_cond' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1974-if (numlin_query($max_cond) != 0) $max_cond = (risul_query($max_cond,0,0) + 1);
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1986-esegui_query("insert into ".$PHPR_TAB_PRE."contratti (numero,tipo,testo) values ('$num_all','file_all','".aggslashdb($allegato)."')");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:1987:esegui_query("update ".$PHPR_TAB_PRE."contratti set testo = '$num_all' where numero = '$num_contr' and tipo = 'allegato'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-1988-} # fine if ($allegato)
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2002-$val_nc = substr($val_nc,3);
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2003:esegui_query("update $tablepersonalizza set valpersonalizza = '$val_nc' where idutente = '$idut_nc' and idpersonalizza = 'nomi_contratti'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2004-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2011-$priv_mod_pers = risul_query($priv_glob,$num1,'priv_mod_pers');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2012:esegui_query("update $tableprivilegi set priv_mod_pers = '$priv_mod_pers"."n' where anno = '1' and idutente = '$id_ut' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2013-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2022-$priv_mod_prec = risul_query($privilegi_anni,$num1,'priv_mod_prenota');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2023:esegui_query("update ".$PHPR_TAB_PRE."privilegi set priv_mod_prenota = '".$priv_mod_prec."ss' where idutente = '$idutente_priv' and anno = '$anno_priv' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2024-} # fine for $num1*/
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2055-$priv_vedi_tab_prec = risul_query($privilegi_anni,$num1,'priv_vedi_tab');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2056:esegui_query("update ".$PHPR_TAB_PRE."privilegi set priv_vedi_tab = '".$priv_vedi_tab_prec."n' where idutente = '$idutente_priv' and anno = '$anno_priv' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2057-$priv_ca_cons_prec = risul_query($privilegi_anni,$num1,'costi_agg_consentiti');
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2063-} # fine for $num2
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2064:esegui_query("update ".$PHPR_TAB_PRE."privilegi set costi_agg_consentiti = '$priv_ca_cons' where idutente = '$idutente_priv' and anno = '$anno_priv' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2065-} # fine if (strlen($priv_ca_cons_prec) > 2)
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2108-for ($num2 = 5 ; $num2 < $num_costi_agg_v ; $num2++) {
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2109:esegui_query("update $tablenometariffe set idntariffe = '".($num2 + $num_costi_agg_v + 11)."' where idntariffe = '$num2'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2110:esegui_query("update $tablecostiprenota set idntariffe = '".($num2 + $num_costi_agg_v + 11)."' where idntariffe = '$num2'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2111-} # fine for $num2
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2112-for ($num2 = 5 ; $num2 < $num_costi_agg_v ; $num2++) {
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2113:esegui_query("update $tablenometariffe set idntariffe = '".($num2 + 6)."' where idntariffe = '".($num2 + $num_costi_agg_v + 11)."'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2114:esegui_query("update $tablecostiprenota set idntariffe = '".($num2 + 6)."' where idntariffe = '".($num2 + $num_costi_agg_v + 11)."'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2115-} # fine for $num2
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2159-$idutente_mostra = risul_query($utenti,$num1,'idutenti');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2160:$rig_tab_tutte_prenota = esegui_query("select * from ".$PHPR_TAB_PRE."personalizza where idpersonalizza = 'rig_tab_tutte_prenota' and idutente = '$idutente_mostra' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2161-$rig_tab_tutte_prenota = risul_query($rig_tab_tutte_prenota,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2163-else $rig_tab_tutte_prenota = "pc";
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2164:esegui_query("update ".$PHPR_TAB_PRE."personalizza set valpersonalizza = '$rig_tab_tutte_prenota' where idpersonalizza = 'rig_tab_tutte_prenota' and idutente = '$idutente_mostra' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2165-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2195-$priv_mod_pers = risul_query($priv_glob,$num1,'priv_mod_pers');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2196:esegui_query("update $tableprivilegi set priv_mod_pers = '$priv_mod_pers"."n' where anno = '1' and idutente = '$id_ut' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2197-$priv_ins_clienti = risul_query($priv_glob,$num1,'priv_ins_clienti');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2198:if (strlen($priv_ins_clienti) == 3) esegui_query("update $tableprivilegi set priv_ins_clienti = '$priv_ins_clienti"."ss' where anno = '1' and idutente = '$id_ut' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2199-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2253-$idper = risul_query($prezzi,$num3,'idperiodi');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2254:esegui_query("update $tableperiodi set tariffa$num2 = NULL, tariffa$num2"."p = '$prezzo' where idperiodi = '$idper' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2255-} # fine if (strcmp($prezzo,""))
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2263-$tariffesett = risul_query($prenota_tariffe_pers,$num2,'tariffesettimanali');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2264:esegui_query("update $tableprenota set tariffesettimanali = '$tariffesett;$tariffesett' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2265-} # fine for $num2
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2294-$moltiplica_ca = risul_query($costi_agg,$num2,'moltiplica_ca');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2295:esegui_query("update $tablenometariffe set moltiplica_ca = '$moltiplica_ca"."x0,' where idntariffe = '$idntariffe' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2296-$mostra_ca = risul_query($costi_agg,$num2,'mostra_ca');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2297:esegui_query("update $tablenometariffe set mostra_ca = '$mostra_ca"."n' where idntariffe = '$idntariffe' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2298-$variazione_ca = risul_query($costi_agg,$num2,'variazione_ca');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2299:esegui_query("update $tablenometariffe set variazione_ca = '$variazione_ca"."n' where idntariffe = '$idntariffe' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2300-if (substr($tipo,1,1) != "f") {
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2301-$valore_ca = risul_query($costi_agg,$num2,'valore_ca');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2302:esegui_query("update $tablenometariffe set valore_perc_ca = '$valore_ca', valore_ca = '0' where idntariffe = '$idntariffe' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2303-} # fine if (substr($tipo,1,1) != "f")
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2309-$varmoltiplica = risul_query($costi_pren,$num2,'varmoltiplica');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2310:if ($varmoltiplica) esegui_query("update $tablecostiprenota set varmoltiplica = '$varmoltiplica"."x0,' where idcostiprenota = '$idcostiprenota' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2311-if (substr($tipo,1,1) != "f") {
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2312-$valore = risul_query($costi_pren,$num2,'valore');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2313:esegui_query("update $tablecostiprenota set valore_perc = '$valore', valore = '0' where idcostiprenota = '$idcostiprenota' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2314-} # fine if (substr($tipo,1,1) != "f")
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2315:esegui_query("update $tablecostiprenota set variazione = 'n' where idcostiprenota = '$idcostiprenota' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2316-} # fine for $num2
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2339-for ($num2 = 1 ; $num2 < 15 ; $num2++) $pass = md5($pass.substr($salt,0,(20 - $num2)));
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2340:esegui_query("update $tableutenti set password = '$pass', salt = '$salt', tipo_pass = '5' where idutenti = '$id_ut' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2341-} # fine if ($tipo_pass != "n")
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2348-$priv_ins_clienti = risul_query($priv_glob,$num1,'priv_ins_clienti');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2349:if (strlen($priv_ins_clienti) == 3) esegui_query("update $tableprivilegi set priv_ins_clienti = '$priv_ins_clienti"."ss' where anno = '1' and idutente = '$id_ut' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2350-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2354-$ultime_sel_ins_prezzi = risul_query($sel_ins_prezzi,$num1,'valpersonalizza');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2355:esegui_query("update ".$PHPR_TAB_PRE."personalizza set valpersonalizza = '8,$ultime_sel_ins_prezzi' where idpersonalizza = 'ultime_sel_ins_prezzi' and idutente = '$idutente_pers' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2356-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2360-$opz_eml = risul_query($bcc,$num1,'testo');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2361:esegui_query("update ".$PHPR_TAB_PRE."contratti set testo = ';$opz_eml', tipo = 'opzeml' where numero = '$num_contr' and tipo = 'bcc'");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2362-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2375-$priv_vedi_tab_prec = risul_query($privilegi_anni,$num1,'priv_vedi_tab');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2376:if (strlen($priv_vedi_tab_prec) == 8) esegui_query("update ".$PHPR_TAB_PRE."privilegi set priv_vedi_tab = '".$priv_vedi_tab_prec."o' where idutente = '$idutente_priv' and anno = '$anno_priv' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2377-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2456-$priv_contr_cons = substr($priv_contr_cons_prec,0,1)."s".substr($priv_contr_cons_prec,1);
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2457:esegui_query("update ".$PHPR_TAB_PRE."privilegi set contratti_consentiti = '$priv_contr_cons' where idutente = '$idutente_priv' and anno = '$anno_priv' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2458-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2471-$mostra_ca = risul_query($costi_agg,$num2,'mostra_ca');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2472:esegui_query("update $tablenometariffe set mostra_ca = '$mostra_ca"."n' where idntariffe = '$idntariffe' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2473-} # fine for $num2
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2478-$variazione = risul_query($costi_pren,$num2,'variazione');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2479:esegui_query("update $tablecostiprenota set variazione = '$variazione"."n' where idcostiprenota = '$idcostiprenota' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2480-} # fine for $num2
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2491-$priv_mod_pers = risul_query($priv_glob,$num1,'priv_mod_pers');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2492:esegui_query("update ".$PHPR_TAB_PRE."privilegi set priv_mod_pers = '$priv_mod_pers"."n' where anno = '1' and idutente = '$id_ut' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2493-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2501-$priv_mod_comm_prec = substr($priv_mod_prec,5,1);
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2502:esegui_query("update ".$PHPR_TAB_PRE."privilegi set priv_ins_prenota = '".$priv_ins_prec.$priv_ins_comm_prec."', priv_mod_prenota = '".$priv_mod_prec."s".$priv_mod_comm_prec."' where idutente = '$idutente_priv' and anno = '$anno_priv' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2503-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2563-$tipo_cond = risul_query($cond_contr,$num1,'tipo');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2564:esegui_query("update ".$PHPR_TAB_PRE."contratti set testo = '".aggslashdb($condizione."#%?")."' where numero = '$num_cond' and tipo = '$tipo_cond' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2565-} # fine if ($azione[0] == "set")
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2570-$priv_mod_pers = risul_query($priv_glob,$num1,'priv_mod_pers');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2571:esegui_query("update ".$PHPR_TAB_PRE."privilegi set priv_mod_pers = '$priv_mod_pers"."n' where anno = '1' and idutente = '$id_ut' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2572-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2580-$priv_mod_pers = risul_query($priv_glob,$num1,'priv_mod_pers');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2581:esegui_query("update ".$PHPR_TAB_PRE."privilegi set priv_mod_pers = '$priv_mod_pers"."n' where anno = '1' and idutente = '$id_ut' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2582-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2638-$priv_mod = substr($priv_mod_prec,0,3).$priv_mod_tariffa.substr($priv_mod_prec,4,2).$priv_mod_sconto.$priv_mod_caparra.$priv_mod_ca."n".$priv_mod_pagato.substr($priv_mod_prec,11);
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2639:if ($priv_mod != $priv_mod_prec) esegui_query("update ".$PHPR_TAB_PRE."privilegi set priv_mod_prenota = '$priv_mod' where idutente = '$idutente_priv' and anno = '$anno_priv' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2640-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2708-for ($num3 = 0 ; $num3 < count($tariffesett); $num3++) $n_tariffesett .= ",".round(((double) $tariffesett[$num3] / (double) $numpers),2);
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2709:esegui_query("update $tableprenota set tariffesettimanali = '$tariffesett_orig;".substr($n_tariffesett,1)."' where idprenota = '$idprenota' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2710-} # fine if ($numpers)
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2723-$priv_mod_pers = risul_query($priv_glob,$num1,'priv_mod_pers');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2724:esegui_query("update ".$PHPR_TAB_PRE."privilegi set priv_mod_pers = '$priv_mod_pers"."n' where anno = '1' and idutente = '$id_ut' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2725-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2783-$priv_mod_pers = risul_query($priv_glob,$num1,'priv_mod_pers');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2784:esegui_query("update ".$PHPR_TAB_PRE."privilegi set priv_mod_pers = '$priv_mod_pers"."sn' where anno = '1' and idutente = '$id_ut' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2785-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2791-$priv_ins_tar_prec = risul_query($privilegi_anni,$num1,'priv_ins_tariffe');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2792:esegui_query("update ".$PHPR_TAB_PRE."privilegi set priv_mod_prenota = '".$priv_mod_prec."s', priv_ins_tariffe = '".$priv_ins_tar_prec."nn' where idutente = '$idutente_priv' and anno = '$anno_priv' ");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2793-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-2800-if ($disp_err_orig) ini_set('display_errors','0');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2801:#esegui_query("ALTER DATABASE `$PHPR_DB_NAME` CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2802:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."anni` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2803:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."appartamenti` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2804:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."beniinventario` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2805:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."cache` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2806:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."casse` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2807:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."citta` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2808:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2809:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."contratti` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2810:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."descrizioni` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2811:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."documentiid` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2812:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."gruppi` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2813:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."interconnessioni` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2814:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."magazzini` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2815:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2816:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."nazioni` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2817:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."parentele` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2818:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."personalizza` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2819:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."privilegi` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2820:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."regioni` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2821:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."relclienti` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2822:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."relgruppi` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2823:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."relinventario` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2824:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."relutenti` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2825:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."sessioni` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2826:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2827:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2828:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."utenti` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2829:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."versioni` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2830:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CHANGE `idtransazioni` `idtransazioni` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NOT NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2831:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CHANGE `idsessione` `idsessione` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2832:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CHANGE `tipo_transazione` `tipo_transazione` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2833:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."relclienti` CHANGE `tipo` `tipo` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2834:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."relclienti` CHANGE `hostinserimento` `hostinserimento` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2835:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `tipo_messaggio` `tipo_messaggio` varchar(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2836:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `stato` `stato` varchar(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2837:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."beniinventario` CHANGE `nome_bene` `nome_bene` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2838:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."beniinventario` CHANGE `codice_bene` `codice_bene` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2839:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."beniinventario` CHANGE `hostinserimento` `hostinserimento` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2840:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."personalizza` CHANGE `idpersonalizza` `idpersonalizza` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NOT NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2841:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."regioni` CHANGE `nome_regione` `nome_regione` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2842:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."regioni` CHANGE `codice_regione` `codice_regione` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2843:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."regioni` CHANGE `codice2_regione` `codice2_regione` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2844:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."regioni` CHANGE `codice3_regione` `codice3_regione` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2845:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."regioni` CHANGE `hostinserimento` `hostinserimento` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2846:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."descrizioni` CHANGE `tipo` `tipo` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2847:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."descrizioni` CHANGE `lingua` `lingua` varchar(3) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2848:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."parentele` CHANGE `nome_parentela` `nome_parentela` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2849:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."parentele` CHANGE `codice_parentela` `codice_parentela` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2850:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."parentele` CHANGE `codice2_parentela` `codice2_parentela` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2851:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."parentele` CHANGE `codice3_parentela` `codice3_parentela` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2852:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."parentele` CHANGE `hostinserimento` `hostinserimento` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2853:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."relgruppi` CHANGE `hostinserimento` `hostinserimento` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2854:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."casse` CHANGE `nome_cassa` `nome_cassa` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2855:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."casse` CHANGE `stato` `stato` varchar(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2856:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."casse` CHANGE `codice_cassa` `codice_cassa` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2857:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."casse` CHANGE `hostinserimento` `hostinserimento` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2858:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."nazioni` CHANGE `nome_nazione` `nome_nazione` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2859:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."nazioni` CHANGE `codice_nazione` `codice_nazione` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2860:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."nazioni` CHANGE `codice2_nazione` `codice2_nazione` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2861:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."nazioni` CHANGE `codice3_nazione` `codice3_nazione` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2862:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."nazioni` CHANGE `hostinserimento` `hostinserimento` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2863:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."utenti` CHANGE `tipo_pass` `tipo_pass` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2864:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."utenti` CHANGE `hostinserimento` `hostinserimento` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2865:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CHANGE `idtransazioni` `idtransazioni` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NOT NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2866:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CHANGE `idsessione` `idsessione` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2867:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CHANGE `tipo_transazione` `tipo_transazione` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2868:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."sessioni` CHANGE `idsessioni` `idsessioni` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NOT NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2869:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."sessioni` CHANGE `tipo_conn` `tipo_conn` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2870:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."magazzini` CHANGE `nome_magazzino` `nome_magazzino` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2871:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."magazzini` CHANGE `codice_magazzino` `codice_magazzino` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2872:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."magazzini` CHANGE `hostinserimento` `hostinserimento` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2873:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."privilegi` CHANGE `cassa_pagamenti` `cassa_pagamenti` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2874:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."privilegi` CHANGE `priv_ins_prenota` `priv_ins_prenota` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2875:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."privilegi` CHANGE `priv_mod_prenota` `priv_mod_prenota` varchar(35) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2876:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."privilegi` CHANGE `priv_mod_pers` `priv_mod_pers` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2877:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."privilegi` CHANGE `priv_ins_clienti` `priv_ins_clienti` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2878:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."privilegi` CHANGE `priv_ins_costi` `priv_ins_costi` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2879:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."privilegi` CHANGE `priv_vedi_tab` `priv_vedi_tab` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2880:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."privilegi` CHANGE `priv_ins_tariffe` `priv_ins_tariffe` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2881:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."privilegi` CHANGE `priv_ins_regole` `priv_ins_regole` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2882:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."privilegi` CHANGE `priv_messaggi` `priv_messaggi` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2883:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."privilegi` CHANGE `priv_inventario` `priv_inventario` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2884:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `cognome` `cognome` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NOT NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2885:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `nome` `nome` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2886:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `soprannome` `soprannome` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2887:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `sesso` `sesso` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2888:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `titolo` `titolo` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2889:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `lingua` `lingua` varchar(14) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2890:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `cittanascita` `cittanascita` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2891:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `regionenascita` `regionenascita` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2892:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `nazionenascita` `nazionenascita` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2893:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `documento` `documento` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2894:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `tipodoc` `tipodoc` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2895:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `cittadoc` `cittadoc` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2896:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `regionedoc` `regionedoc` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2897:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `nazionedoc` `nazionedoc` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2898:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `nazionalita` `nazionalita` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2899:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `nazione` `nazione` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2900:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `regione` `regione` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2901:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `citta` `citta` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2902:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `via` `via` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2903:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `numcivico` `numcivico` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2904:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `cap` `cap` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2905:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `telefono` `telefono` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2906:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `telefono2` `telefono2` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2907:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `telefono3` `telefono3` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2908:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `fax` `fax` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2909:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `cod_fiscale` `cod_fiscale` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2910:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `partita_iva` `partita_iva` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2911:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `hostinserimento` `hostinserimento` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2912:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."documentiid` CHANGE `nome_documentoid` `nome_documentoid` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2913:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."documentiid` CHANGE `codice_documentoid` `codice_documentoid` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2914:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."documentiid` CHANGE `codice2_documentoid` `codice2_documentoid` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2915:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."documentiid` CHANGE `codice3_documentoid` `codice3_documentoid` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2916:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."documentiid` CHANGE `hostinserimento` `hostinserimento` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2917:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."cache` CHANGE `tipo` `tipo` varchar(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2918:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."appartamenti` CHANGE `idappartamenti` `idappartamenti` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NOT NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2919:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."appartamenti` CHANGE `letto` `letto` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2920:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."relutenti` CHANGE `hostinserimento` `hostinserimento` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2921:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."interconnessioni` CHANGE `tipoid` `tipoid` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2922:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."interconnessioni` CHANGE `nome_ic` `nome_ic` varchar(24) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2923:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."interconnessioni` CHANGE `hostinserimento` `hostinserimento` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2924:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."citta` CHANGE `nome_citta` `nome_citta` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2925:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."citta` CHANGE `codice_citta` `codice_citta` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2926:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."citta` CHANGE `codice2_citta` `codice2_citta` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2927:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."citta` CHANGE `codice3_citta` `codice3_citta` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2928:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."citta` CHANGE `hostinserimento` `hostinserimento` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2929:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."contratti` CHANGE `tipo` `tipo` varchar(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2930:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."contratti` CHANGE `testo` `testo` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2931:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."relinventario` CHANGE `idappartamento` `idappartamento` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2932:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."relinventario` CHANGE `richiesto_checkin` `richiesto_checkin` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2933:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."relinventario` CHANGE `hostinserimento` `hostinserimento` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2934:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CHANGE `spostamenti` `spostamenti` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2935:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CHANGE `dati_transazione1` `dati_transazione1` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2936:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CHANGE `dati_transazione2` `dati_transazione2` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2937:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CHANGE `dati_transazione3` `dati_transazione3` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2938:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CHANGE `dati_transazione4` `dati_transazione4` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2939:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CHANGE `dati_transazione5` `dati_transazione5` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2940:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CHANGE `dati_transazione6` `dati_transazione6` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2941:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CHANGE `dati_transazione7` `dati_transazione7` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2942:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CHANGE `dati_transazione8` `dati_transazione8` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2943:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CHANGE `dati_transazione9` `dati_transazione9` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2944:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CHANGE `dati_transazione10` `dati_transazione10` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2945:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CHANGE `dati_transazione11` `dati_transazione11` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2946:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CHANGE `dati_transazione12` `dati_transazione12` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2947:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CHANGE `dati_transazione13` `dati_transazione13` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2948:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CHANGE `dati_transazione14` `dati_transazione14` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2949:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CHANGE `dati_transazione15` `dati_transazione15` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2950:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CHANGE `dati_transazione16` `dati_transazione16` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2951:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CHANGE `dati_transazione17` `dati_transazione17` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2952:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CHANGE `dati_transazione18` `dati_transazione18` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2953:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CHANGE `dati_transazione19` `dati_transazione19` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2954:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CHANGE `dati_transazione20` `dati_transazione20` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2955:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CHANGE `dati_transazione21` `dati_transazione21` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2956:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` CHANGE `dati_transazione22` `dati_transazione22` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2957:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."relclienti` CHANGE `testo1` `testo1` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2958:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."relclienti` CHANGE `testo2` `testo2` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2959:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."relclienti` CHANGE `testo3` `testo3` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2960:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."relclienti` CHANGE `testo4` `testo4` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2961:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."relclienti` CHANGE `testo5` `testo5` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2962:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."relclienti` CHANGE `testo6` `testo6` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2963:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."relclienti` CHANGE `testo7` `testo7` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2964:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."relclienti` CHANGE `testo8` `testo8` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2965:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `idutenti` `idutenti` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2966:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `idutenti_visto` `idutenti_visto` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2967:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `mittente` `mittente` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2968:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `testo` `testo` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2969:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `dati_messaggio1` `dati_messaggio1` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2970:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `dati_messaggio2` `dati_messaggio2` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2971:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `dati_messaggio3` `dati_messaggio3` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2972:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `dati_messaggio4` `dati_messaggio4` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2973:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `dati_messaggio5` `dati_messaggio5` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2974:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `dati_messaggio6` `dati_messaggio6` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2975:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `dati_messaggio7` `dati_messaggio7` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2976:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `dati_messaggio8` `dati_messaggio8` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2977:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `dati_messaggio9` `dati_messaggio9` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2978:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `dati_messaggio10` `dati_messaggio10` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2979:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `dati_messaggio11` `dati_messaggio11` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2980:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `dati_messaggio12` `dati_messaggio12` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2981:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `dati_messaggio13` `dati_messaggio13` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2982:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `dati_messaggio14` `dati_messaggio14` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2983:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `dati_messaggio15` `dati_messaggio15` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2984:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `dati_messaggio16` `dati_messaggio16` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2985:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `dati_messaggio17` `dati_messaggio17` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2986:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `dati_messaggio18` `dati_messaggio18` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2987:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `dati_messaggio19` `dati_messaggio19` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2988:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `dati_messaggio20` `dati_messaggio20` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2989:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `dati_messaggio21` `dati_messaggio21` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2990:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` CHANGE `dati_messaggio22` `dati_messaggio22` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2991:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."beniinventario` CHANGE `descrizione_bene` `descrizione_bene` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2992:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."personalizza` CHANGE `valpersonalizza` `valpersonalizza` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2993:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."descrizioni` CHANGE `nome` `nome` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NOT NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2994:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."descrizioni` CHANGE `testo` `testo` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2995:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."gruppi` CHANGE `nome_gruppo` `nome_gruppo` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2996:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."casse` CHANGE `descrizione_cassa` `descrizione_cassa` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2997:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."utenti` CHANGE `nome_utente` `nome_utente` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2998:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."utenti` CHANGE `password` `password` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:2999:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."utenti` CHANGE `salt` `salt` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3000:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CHANGE `spostamenti` `spostamenti` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3001:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CHANGE `dati_transazione1` `dati_transazione1` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3002:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CHANGE `dati_transazione2` `dati_transazione2` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3003:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CHANGE `dati_transazione3` `dati_transazione3` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3004:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CHANGE `dati_transazione4` `dati_transazione4` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3005:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CHANGE `dati_transazione5` `dati_transazione5` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3006:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CHANGE `dati_transazione6` `dati_transazione6` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3007:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CHANGE `dati_transazione7` `dati_transazione7` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3008:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CHANGE `dati_transazione8` `dati_transazione8` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3009:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CHANGE `dati_transazione9` `dati_transazione9` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3010:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CHANGE `dati_transazione10` `dati_transazione10` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3011:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CHANGE `dati_transazione11` `dati_transazione11` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3012:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CHANGE `dati_transazione12` `dati_transazione12` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3013:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CHANGE `dati_transazione13` `dati_transazione13` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3014:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CHANGE `dati_transazione14` `dati_transazione14` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3015:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CHANGE `dati_transazione15` `dati_transazione15` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3016:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CHANGE `dati_transazione16` `dati_transazione16` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3017:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CHANGE `dati_transazione17` `dati_transazione17` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3018:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CHANGE `dati_transazione18` `dati_transazione18` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3019:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CHANGE `dati_transazione19` `dati_transazione19` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3020:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CHANGE `dati_transazione20` `dati_transazione20` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3021:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CHANGE `dati_transazione21` `dati_transazione21` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3022:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` CHANGE `dati_transazione22` `dati_transazione22` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3023:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."sessioni` CHANGE `indirizzo_ip` `indirizzo_ip` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3024:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."sessioni` CHANGE `user_agent` `user_agent` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3025:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."magazzini` CHANGE `descrizione_magazzino` `descrizione_magazzino` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3026:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."magazzini` CHANGE `numpiano` `numpiano` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3027:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."magazzini` CHANGE `numcasa` `numcasa` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3028:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."privilegi` CHANGE `regole1_consentite` `regole1_consentite` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3029:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."privilegi` CHANGE `tariffe_consentite` `tariffe_consentite` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3030:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."privilegi` CHANGE `costi_agg_consentiti` `costi_agg_consentiti` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3031:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."privilegi` CHANGE `contratti_consentiti` `contratti_consentiti` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3032:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."privilegi` CHANGE `casse_consentite` `casse_consentite` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3033:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."privilegi` CHANGE `prefisso_clienti` `prefisso_clienti` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3034:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `email` `email` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3035:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `email2` `email2` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3036:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `email3` `email3` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3037:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `commento` `commento` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3038:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `idclienti_compagni` `idclienti_compagni` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3039:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` CHANGE `doc_inviati` `doc_inviati` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3040:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."cache` CHANGE `testo` `testo` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3041:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."appartamenti` CHANGE `numpiano` `numpiano` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3042:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."appartamenti` CHANGE `numcasa` `numcasa` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3043:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."appartamenti` CHANGE `app_vicini` `app_vicini` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3044:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."appartamenti` CHANGE `commento` `commento` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3045:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."anni` CHANGE `tipo_periodi` `tipo_periodi` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3046:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."interconnessioni` CHANGE `idremoto1` `idremoto1` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3047:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."interconnessioni` CHANGE `idremoto2` `idremoto2` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3048:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."anni` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3049:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."appartamenti` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3050:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."beniinventario` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3051:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."cache` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3052:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."casse` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3053:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."citta` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3054:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."clienti` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3055:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."contratti` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3056:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."descrizioni` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3057:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."documentiid` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3058:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."gruppi` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3059:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."interconnessioni` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3060:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."magazzini` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3061:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."messaggi` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3062:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."nazioni` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3063:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."parentele` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3064:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."personalizza` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3065:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."privilegi` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3066:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."regioni` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3067:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."relclienti` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3068:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."relgruppi` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3069:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."relinventario` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3070:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."relutenti` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3071:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."sessioni` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3072:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioni` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3073:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."transazioniweb` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3074:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."utenti` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3075:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."versioni` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-3076-for ($num1 = 0 ; $num1 < $num_anni ; $num1++) {
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-3077-$anno_mostra = risul_query($anni,$num1,'idanni');
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3078:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costi$anno_mostra` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3079:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costiprenota$anno_mostra` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3080:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."ntariffe$anno_mostra` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3081:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."periodi$anno_mostra` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3082:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenota$anno_mostra` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3083:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenotacanc$anno_mostra` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3084:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."rclientiprenota$anno_mostra` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3085:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."regole$anno_mostra` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3086:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."soldi$anno_mostra` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3087:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenotacanc$anno_mostra` CHANGE `idappartamenti` `idappartamenti` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3088:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenotacanc$anno_mostra` CHANGE `assegnazioneapp` `assegnazioneapp` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3089:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenotacanc$anno_mostra` CHANGE `codice` `codice` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3090:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenotacanc$anno_mostra` CHANGE `origine` `origine` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3091:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenotacanc$anno_mostra` CHANGE `conferma` `conferma` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3092:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenotacanc$anno_mostra` CHANGE `hostinserimento` `hostinserimento` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3093:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenota$anno_mostra` CHANGE `idappartamenti` `idappartamenti` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3094:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenota$anno_mostra` CHANGE `assegnazioneapp` `assegnazioneapp` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3095:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenota$anno_mostra` CHANGE `codice` `codice` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3096:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenota$anno_mostra` CHANGE `origine` `origine` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3097:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenota$anno_mostra` CHANGE `conferma` `conferma` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3098:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenota$anno_mostra` CHANGE `hostinserimento` `hostinserimento` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3099:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."regole$anno_mostra` CHANGE `app_agenzia` `app_agenzia` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3100:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."rclientiprenota$anno_mostra` CHANGE `parentela` `parentela` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3101:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."rclientiprenota$anno_mostra` CHANGE `hostinserimento` `hostinserimento` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3102:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."ntariffe$anno_mostra` CHANGE `nomecostoagg` `nomecostoagg` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3103:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."ntariffe$anno_mostra` CHANGE `tipo_ca` `tipo_ca` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3104:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."ntariffe$anno_mostra` CHANGE `associasett_ca` `associasett_ca` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3105:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."ntariffe$anno_mostra` CHANGE `numsett_ca` `numsett_ca` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3106:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."ntariffe$anno_mostra` CHANGE `variazione_ca` `variazione_ca` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3107:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."ntariffe$anno_mostra` CHANGE `mostra_ca` `mostra_ca` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3108:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."ntariffe$anno_mostra` CHANGE `letto_ca` `letto_ca` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3109:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."ntariffe$anno_mostra` CHANGE `regoleassegna_ca` `regoleassegna_ca` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3110:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costi$anno_mostra` CHANGE `nome_cassa` `nome_cassa` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3111:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costi$anno_mostra` CHANGE `hostinserimento` `hostinserimento` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3112:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costiprenota$anno_mostra` CHANGE `tipo` `tipo` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3113:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costiprenota$anno_mostra` CHANGE `nome` `nome` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3114:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costiprenota$anno_mostra` CHANGE `associasett` `associasett` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3115:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costiprenota$anno_mostra` CHANGE `letto` `letto` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3116:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costiprenota$anno_mostra` CHANGE `variazione` `variazione` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3117:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costiprenota$anno_mostra` CHANGE `varnumsett` `varnumsett` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3118:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costiprenota$anno_mostra` CHANGE `vartariffeassociate` `vartariffeassociate` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3119:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costiprenota$anno_mostra` CHANGE `hostinserimento` `hostinserimento` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3120:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenotacanc$anno_mostra` CHANGE `app_assegnabili` `app_assegnabili` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3121:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenotacanc$anno_mostra` CHANGE `cat_persone` `cat_persone` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3122:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenotacanc$anno_mostra` CHANGE `idprenota_compagna` `idprenota_compagna` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3123:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenotacanc$anno_mostra` CHANGE `tariffa` `tariffa` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3124:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenotacanc$anno_mostra` CHANGE `tariffesettimanali` `tariffesettimanali` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3125:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenotacanc$anno_mostra` CHANGE `incompatibilita` `incompatibilita` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3126:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenotacanc$anno_mostra` CHANGE `valuta` `valuta` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3127:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenotacanc$anno_mostra` CHANGE `metodo_pagamento` `metodo_pagamento` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3128:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenotacanc$anno_mostra` CHANGE `commento` `commento` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3129:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenotacanc$anno_mostra` CHANGE `id_anni_prec` `id_anni_prec` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3130:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."soldi$anno_mostra` CHANGE `motivazione` `motivazione` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3131:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."soldi$anno_mostra` CHANGE `id_pagamento` `id_pagamento` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3132:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."soldi$anno_mostra` CHANGE `metodo_pagamento` `metodo_pagamento` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3133:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."soldi$anno_mostra` CHANGE `valuta` `valuta` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3134:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenota$anno_mostra` CHANGE `app_assegnabili` `app_assegnabili` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3135:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenota$anno_mostra` CHANGE `cat_persone` `cat_persone` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3136:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenota$anno_mostra` CHANGE `idprenota_compagna` `idprenota_compagna` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3137:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenota$anno_mostra` CHANGE `tariffa` `tariffa` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3138:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenota$anno_mostra` CHANGE `tariffesettimanali` `tariffesettimanali` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3139:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenota$anno_mostra` CHANGE `incompatibilita` `incompatibilita` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3140:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenota$anno_mostra` CHANGE `valuta` `valuta` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3141:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenota$anno_mostra` CHANGE `metodo_pagamento` `metodo_pagamento` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3142:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenota$anno_mostra` CHANGE `commento` `commento` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3143:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenota$anno_mostra` CHANGE `id_anni_prec` `id_anni_prec` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3144:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."regole$anno_mostra` CHANGE `tariffa_chiusa` `tariffa_chiusa` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3145:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."regole$anno_mostra` CHANGE `tariffa_per_app` `tariffa_per_app` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3146:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."regole$anno_mostra` CHANGE `tariffa_per_utente` `tariffa_per_utente` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3147:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."regole$anno_mostra` CHANGE `tariffa_per_persone` `tariffa_per_persone` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3148:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."regole$anno_mostra` CHANGE `motivazione` `motivazione` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3149:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."regole$anno_mostra` CHANGE `motivazione2` `motivazione2` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3150:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."regole$anno_mostra` CHANGE `motivazione3` `motivazione3` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3151:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."ntariffe$anno_mostra` CHANGE `moltiplica_ca` `moltiplica_ca` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3152:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."ntariffe$anno_mostra` CHANGE `periodipermessi_ca` `periodipermessi_ca` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3153:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."ntariffe$anno_mostra` CHANGE `beniinv_ca` `beniinv_ca` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3154:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."ntariffe$anno_mostra` CHANGE `appincompatibili_ca` `appincompatibili_ca` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3155:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."ntariffe$anno_mostra` CHANGE `categoria_ca` `categoria_ca` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-3156-$num_tariffe_tab = esegui_query("select nomecostoagg from $PHPR_TAB_PRE"."ntariffe$anno_mostra where idntariffe = 1");
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-3158-for ($num2 = 1 ; $num2 <= $num_tariffe_tab ; $num2++) {
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3159:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."ntariffe$anno_mostra` CHANGE `tariffa$num2` `tariffa$num2` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-3160-} # fine for $num2
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3161:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costi$anno_mostra` CHANGE `nome_costo` `nome_costo` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3162:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costi$anno_mostra` CHANGE `tipo_costo` `tipo_costo` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3163:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costi$anno_mostra` CHANGE `valuta` `valuta` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3164:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costi$anno_mostra` CHANGE `persona_costo` `persona_costo` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3165:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costi$anno_mostra` CHANGE `provenienza_costo` `provenienza_costo` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3166:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costi$anno_mostra` CHANGE `metodo_pagamento` `metodo_pagamento` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3167:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costiprenota$anno_mostra` CHANGE `settimane` `settimane` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3168:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costiprenota$anno_mostra` CHANGE `moltiplica` `moltiplica` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3169:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costiprenota$anno_mostra` CHANGE `categoria` `categoria` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3170:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costiprenota$anno_mostra` CHANGE `cat_persone` `cat_persone` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3171:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costiprenota$anno_mostra` CHANGE `varmoltiplica` `varmoltiplica` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3172:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costiprenota$anno_mostra` CHANGE `varperiodipermessi` `varperiodipermessi` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3173:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costiprenota$anno_mostra` CHANGE `varbeniinv` `varbeniinv` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3174:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costiprenota$anno_mostra` CHANGE `varappincompatibili` `varappincompatibili` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3175:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costiprenota$anno_mostra` CHANGE `vartariffeincomp` `vartariffeincomp` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NULL");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3176:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costi$anno_mostra` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3177:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."costiprenota$anno_mostra` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3178:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."ntariffe$anno_mostra` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3179:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."periodi$anno_mostra` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3180:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenota$anno_mostra` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3181:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."prenotacanc$anno_mostra` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3182:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."rclientiprenota$anno_mostra` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3183:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."regole$anno_mostra` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3184:esegui_query("ALTER TABLE `$PHPR_DB_NAME`.`$PHPR_TAB_PRE"."soldi$anno_mostra` ENGINE = MyISAM");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-3185-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-3286-if ($modello_ext != "." and $modello_ext != ".." and @is_dir("./includes/templates/$modello_ext")) {
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3287:include("./includes/templates/$modello_ext/name.php");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3288:include("./includes/templates/$modello_ext/phrases.php");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php:3289:include("./includes/templates/$modello_ext/functions.php");
hoteldruid-3.0.1/includes/funzioni_aggiorna.php-3290-$funz_recupera_var_modello = "recupera_var_modello_".$modello_ext;
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-26-$fineperiodo_succ = "";
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:27:$d_data_fine = esegui_query("select datafine from ".$PHPR_TAB_PRE."periodi".$anno." where idperiodi = '$d_id_data_fine'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-28-$d_data_fine = risul_query($d_data_fine,0,'datafine');
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-29-if (substr($d_data_fine,0,4) != $anno) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:30:$anno_succ_esistente = esegui_query("select idanni from ".$PHPR_TAB_PRE."anni where idanni = '".($anno + 1)."'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-31-if (numlin_query($anno_succ_esistente) == 1) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-32-$id_prenota_succ = "soloanno";
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:33:$data_succ_esistente = esegui_query("select idperiodi from $PHPR_TAB_PRE"."periodi".($anno + 1)." where datafine <= '$d_data_fine'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-34-if (numlin_query($data_succ_esistente) >= 1) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:35:$prenota_succ = esegui_query("select idprenota,iddatafine from $PHPR_TAB_PRE"."prenota".$pcanc.($anno + 1)." where iddatainizio = '0' and commento = '$id_prenota'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-36-if (numlin_query($prenota_succ) == 1) {
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-54-if ($id_prenota_prec_esist) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:55:$anno_prec_esistente = esegui_query("select idanni from ".$PHPR_TAB_PRE."anni where idanni = '".($anno - 1)."'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-56-if (numlin_query($anno_prec_esistente) == 1) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:57:$n_dati_prenota_modifica = esegui_query("select * from $PHPR_TAB_PRE"."prenota".$pcanc.($anno - 1)." where idprenota = '$id_prenota_prec_esist'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-58-if (numlin_query($n_dati_prenota_modifica) == 1) $id_prenota_prec = $id_prenota_prec_esist;
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-85-else $altre_tab_lock = array($tableanni,$tableperiodi,$tablepersonalizza);
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:86:if ($modo['gia_canc']) $dati_prenota = esegui_query("select * from $tableprenotacanc where idprenota = '$id_prenota' and idclienti != '0' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:87:else $dati_prenota = esegui_query("select * from $tableprenota where idprenota = '$id_prenota' and idclienti != '0' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-88-$num_dati_prenota = numlin_query($dati_prenota);
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-134-else $tabelle_lock = "";
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:135:if ($modo['gia_canc']) $dati_prenota = esegui_query("select * from $tableprenotacanc where idprenota = '$id_prenota' and idclienti != '0'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:136:else $dati_prenota = esegui_query("select * from $tableprenota where idprenota = '$id_prenota' and idclienti != '0'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-137-$num_dati_prenota = numlin_query($dati_prenota);
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-151-if ($metodo_pagamento != "") {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:152:$metodi_pagamento = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'metodi_pagamento' and idutente = '$id_utente'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-153-$metodi_pagamento = risul_query($metodi_pagamento,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-169-esegui_query("insert into $tablesoldi (idsoldi,motivazione,saldo_prenota,soldi_prima,data_inserimento,metodo_pagamento,utente_inserimento) values ('$idsoldi','$motivazione_saldo','$saldo','$d_pagato','$datainserimento_saldo','$metodo_pagamento','$id_utente')");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:170:if (!$modo['permanente']) esegui_query("update $tableprenota set pagato = '0' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-171-} # fine if ($cancella_pagato and $priv_mod_pagato == "s")
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-184-$idprenota_compagna = substr(str_replace(",".$d_prenota_comp_vett[$num1].",",",",",$d_prenota_comp,"),1,-1);
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:185:esegui_query("update $tableprenota set idprenota_compagna = '$idprenota_compagna' where idprenota = '".$d_prenota_comp_vett[$num1]."' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-186-} # fine for $num1
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:187:if (!$modo['permanente']) esegui_query("update $tableprenota set idprenota_compagna = '' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-188-} # fine if ($d_prenota_comp)
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-191-if ($modo['permanente']) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:192:esegui_query("delete from $tablecostiprenota where idprenota = '$id_prenota'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:193:esegui_query("delete from $tablerclientiprenota where idprenota = '$id_prenota'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-194-} # fine if ($modo['permanente'])
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:195:else esegui_query("insert into $tableprenotacanc select * from $tableprenota where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:196:if ($modo['gia_canc']) esegui_query("delete from $tableprenotacanc where idprenota = '$id_prenota'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:197:else esegui_query("delete from $tableprenota where idprenota = '$id_prenota'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-198-
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-200-if ($modo['permanente']) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:201:esegui_query("delete from $tablecostiprenota_succ where idprenota = '$id_prenota_succ'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:202:esegui_query("delete from $tablerclientiprenota_succ where idprenota = '$id_prenota_succ'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-203-} # fine if ($modo['permanente'])
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:204:else esegui_query("insert into $tableprenotacanc_succ select * from $tableprenota_succ where idprenota = '$id_prenota_succ' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:205:if ($modo['gia_canc']) esegui_query("delete from $tableprenotacanc_succ where idprenota = '$id_prenota'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:206:else esegui_query("delete from $tableprenota_succ where idprenota = '$id_prenota_succ'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-207-if (!$modo['gia_canc']) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-208-if ($d_id_data_inizio == 0 and $id_prenota_prec) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:209:esegui_query("delete from $tableinterconnessioni where idlocale = '$id_prenota' and tipoid = 'prenota' and anno = '".($anno - 1)."' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:210:esegui_query("delete from $tableinterconnessioni where idlocale = '$id_prenota_succ' and tipoid = 'prenota' and anno = '$anno' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-211-$id_prenota = $id_prenota_succ;
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-213-else {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:214:esegui_query("delete from $tableinterconnessioni where idlocale = '$id_prenota' and (tipoid = 'prenota' or tipoid = 'conferma') and anno = '$anno' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:215:esegui_query("delete from $tableinterconnessioni where idlocale = '$id_prenota_succ' and tipoid = 'prenota' and anno = '".($anno + 1)."' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-216-} # fine else if ($d_id_data_inizio == 0 and $id_prenota_prec)
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-218-} # fine if ($id_prenota_succ)
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:219:elseif (!$modo['gia_canc']) esegui_query("delete from $tableinterconnessioni where idlocale = '$id_prenota' and tipoid = 'prenota' and anno = '$anno' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-220-
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-222-$cognome_cliente = risul_query($dati_prenota,0,'idclienti');
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:223:$cognome_cliente = esegui_query("select cognome from $tableclienti where idclienti = '$cognome_cliente' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-224-$cognome_cliente = risul_query($cognome_cliente,0,'cognome');
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-226-$data_fine = risul_query($dati_prenota,0,'iddatafine');
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:227:$data_inizio = esegui_query("select datainizio from $tableperiodi where idperiodi = '$data_inizio' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:228:$data_fine = esegui_query("select datafine from $tableperiodi where idperiodi = '$data_fine' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-229-if (numlin_query($data_inizio)) $data_inizio = risul_query($data_inizio,0,'datainizio');
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-275-if ($priv_mod_prenotazioni == "p" or $priv_mod_prenotazioni == "g") {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:276:$utente_inserimento = esegui_query("select utente_inserimento from $tableprenota where idprenota = '$id_prenota'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-277-if (numlin_query($utente_inserimento) == 1) $utente_inserimento = risul_query($utente_inserimento,0,'utente_inserimento');
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-281-} # fine if ($priv_mod_prenotazioni == "p" or $priv_mod_prenotazioni == "g")
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:282:$d_prenota = esegui_query("select iddatainizio,datainserimento from $tableprenota where idprenota = '$id_prenota'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-283-if (!numlin_query($d_prenota) or controlla_num($id_prenota) != "SI") $priv_mod_prenotazioni = "n";
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-363-
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:364:$dati_prenota_modifica = esegui_query("select * from $tableprenota where idprenota = '".$id_prenota_idpr[0]."' and idclienti != '0'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-365-$d_id_data_inizio0 = risul_query($dati_prenota_modifica,0,'iddatainizio');
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-373-} # fine if ($d_id_data_inizio0 == 0)
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:374:$d_data_inizio = esegui_query("select datainizio from $tableperiodi where idperiodi = '$d_id_data_inizio' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-375-$d_data_inizio = risul_query($d_data_inizio,0,'datainizio');
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-377-$d_id_data_fine0 = risul_query($dati_prenota_modifica,0,'iddatafine');
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:378:$d_data_fine = esegui_query("select datafine from $tableperiodi where idperiodi = '$d_id_data_fine0' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-379-$d_data_fine = risul_query($d_data_fine,0,'datafine');
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-385-
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:386:if ($num_idpr > 0) $dati_prenota_modifica = esegui_query("select * from $tableprenota where idprenota = '$id_prenota' and idclienti != '0'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-387-$d_id_utente_inserimento_idpr[$id_prenota] = risul_query($dati_prenota_modifica,0,'utente_inserimento');
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-586-if (@is_file($file_interconnessioni)) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:587:include($file_interconnessioni);
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-588-if (@is_array($ic_present)) {
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-594-if ($mod_ext != "." and $mod_ext != ".." and @is_dir("./includes/interconnect/$mod_ext")) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:595:include("./includes/interconnect/$mod_ext/name.php");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-596-if ($ic_present[$interconnection_name] == "SI") {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:597:include("./includes/interconnect/$mod_ext/functions_import.php");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-598-$funz_import_reservations = "import_reservations_".$interconnection_func_name;
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-677-
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:678:esegui_query("delete from $tabletransazioni where  idtransazioni = '$id_transazione' and idsessione = '$id_sessione'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-679-
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-731-
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:732:$dati_prenota_idpr[$id_prenota] = esegui_query("select * from $tableprenota where idprenota = '$id_prenota' and idclienti != '0'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-733-$num_dati_prenota = numlin_query($dati_prenota_idpr[$id_prenota]);
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-777-else {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:778:$id_stima_checkin = esegui_query("select idperiodi from $tableperiodi where datainizio <= '".substr($n_stima_checkin,0,10)."' and datafine > '".substr($n_stima_checkin,0,10)."' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-779-if (numlin_query($id_stima_checkin) == 1) {
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-788-
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:789:$appartamento_esistente = esegui_query("select idappartamenti,maxoccupanti from $tableappartamenti where idappartamenti = '$appartamento'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-790-if (numlin_query($appartamento_esistente) != 1 and $n_appartamento) $inserire = "NO";
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-796-if (strcmp($n_appartamento,"")) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:797:$appartamento_chiuso = esegui_query("select idregole from $tableregole where iddatainizio <= '$fineperiodo' and iddatafine >= '$inizioperiodo' and app_agenzia = '$appartamento' and motivazione2 = 'x' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-798-if (numlin_query($appartamento_chiuso)) $inserire = "NO";
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-809-$appartamento_lista = $appartameti_in_lista[$n_lista];
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:810:$motivazioni_regola1 = esegui_query("select motivazione,iddatainizio,iddatafine from $tableregole where iddatainizio <= '$fineperiodo' and iddatafine >= '$inizioperiodo' and app_agenzia = '$appartamento_lista' and (motivazione2 != 'x' or motivazione2 is NULL) order by iddatainizio");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-811-if (numlin_query($motivazioni_regola1) == 0) $inserire = "NO";
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-847-for ($num2 = $inizioperiodo; $num2 <= $fineperiodo; $num2++) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:848:$rigasettimana = esegui_query("select * from $tableperiodi where idperiodi = '$num2' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-849-$esistetariffa = risul_query($rigasettimana,0,$n_tipotariffa);
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1007-#${"metodo_pagamento".$id_prenota} = htmlspecialchars(${"metodo_pagamento".$id_prenota});
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1008:$metodi_pagamento = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'metodi_pagamento' and idutente = '$id_utente'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1009-$metodi_pagamento = risul_query($metodi_pagamento,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1036-$n_origine_prenota = htmlspecialchars($n_origine_prenota);
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1037:$origini_prenota = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'origini_prenota' and idutente = '$id_utente'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1038-$origini_prenota = risul_query($origini_prenota,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1046-$id_nuovo_utente_inserimento = aggslashdb($id_nuovo_utente_inserimento);
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1047:$verifica_utente = esegui_query("select * from $tableutenti where idutenti = '$id_nuovo_utente_inserimento'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1048-if (numlin_query($verifica_utente) != 1) $inserire = "NO";
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1104-$limiti_var['lim_prenota_temp'] = aggslashdb(date("Y-m-d H:i:s",(time() + (C_DIFF_ORE * 3600) - ($minuti_durata_insprenota * 60))));
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1105:esegui_query("delete from $tableprenota where idclienti = '0' and datainserimento < '".$limiti_var['lim_prenota_temp']."'","",1);
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1106-$profondita['iniziale'] = "";
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1212-if ($d_checkin and !$d_checkout and $app_prenota_id[$id_prenota] != $d_appartamento) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1213:$checkin_presente = esegui_query("select idprenota from $tableprenota where idappartamenti = '".aggslashdb($app_prenota_id[$id_prenota])."' and checkin is not NULL and checkout is NULL");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1214-if (numlin_query($checkin_presente) >= 1) {
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1270-if ($id_nuovo_utente_inserimento != "" and ($priv_mod_utente_ins == "s" or ($priv_mod_utente_ins == "g" and $utenti_gruppi[$id_nuovo_utente_inserimento]))) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1271:esegui_query("update $tableprenota set utente_inserimento = '$id_nuovo_utente_inserimento' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1272:esegui_query("update $tablecostiprenota set utente_inserimento = '$id_nuovo_utente_inserimento' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1273-$id_utente_inserimento = $id_nuovo_utente_inserimento;
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1274-if ($prenota_in_anno_succ) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1275:esegui_query("update $tableprenota_orig set utente_inserimento = '$id_nuovo_utente_inserimento' where idprenota = '$id_prenota_orig' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1276:esegui_query("update $tablecostiprenota_orig set utente_inserimento = '$id_nuovo_utente_inserimento' where idprenota = '$id_prenota_orig' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1277-} # fine if ($prenota_in_anno_succ)
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1280-if ($n_inizioperiodo != "") {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1281:esegui_query("update $tableprenota set iddatainizio = '$n_inizioperiodo' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1282-} # fine if ($n_inizioperiodo != "")
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1284-if ($n_fineperiodo != "") {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1285:esegui_query("update $tableprenota set iddatafine = '$n_fineperiodo' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1286-if ($dati_da_anno_prec == "SI") {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1287-passa_var_a_anno_prec($id_prenota,$tableperiodi,$tableprenota,$tablecostiprenota,$d_id_data_inizio,$d_id_data_fine,$n_fineperiodo,$inizioperiodo,$fineperiodo,$lunghezza_periodo,$dati_prenota_modifica);
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1288:esegui_query("update $tableprenota set iddatafine = '$n_fineperiodo' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1289-passa_var_a_anno_corr($id_prenota,$tableperiodi,$tableprenota,$tablecostiprenota,$d_id_data_inizio,$d_id_data_fine,$n_fineperiodo,$inizioperiodo,$fineperiodo,$lunghezza_periodo);
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1291-if ($prenota_in_anno_succ) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1292:$n_data_fine = esegui_query("select datafine from $tableperiodi where idperiodi = '$n_fineperiodo'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1293-$n_data_fine = risul_query($n_data_fine,0,'datafine');
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1294:$data_succ_esistente = esegui_query("select idperiodi from $tableperiodi_orig where datafine <= '$n_data_fine'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1295-if (numlin_query($data_succ_esistente) < 1) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1296:esegui_query("delete from $tableprenota_orig where idprenota = '$id_prenota_orig'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1297:esegui_query("delete from $tablecostiprenota_orig where idprenota = '$id_prenota_orig'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1298-} # fine if (numlin_query($data_succ_esistente) < 1)
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1302-if ($n_stima_checkin) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1303:esegui_query("update $tableprenota set checkout = '$n_stima_checkin' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1304-} # fine if ($n_stima_checkin)
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1306-#if ($n_appartamento != "") {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1307:#esegui_query("update $tableprenota set idappartamenti = '$n_appartamento' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1308-#} # fine if ($n_appartamento != "")
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1310-if ($n_assegnazioneapp != "") {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1311:esegui_query("update $tableprenota set assegnazioneapp = '$n_assegnazioneapp' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1312-if ($n_assegnazioneapp == "v" or $n_assegnazioneapp == "k") {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1313:esegui_query("update $tableprenota set app_assegnabili = '' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1314-} # fine if ($n_assegnazioneapp == "v" ...)
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1317-if ($n_lista_app != "") {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1318:esegui_query("update $tableprenota set app_assegnabili = '$n_lista_app' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1319-} # fine if ($n_lista_app != "")
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1321-if ($d_prenota_comp != $prenota_comp) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1322:esegui_query("update $tableprenota set idprenota_compagna = '$prenota_comp' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1323-if ($d_prenota_comp) {
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1327-$d_pren_comp = aggslashdb($d_prenota_comp_vett[$num1]);
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1328:if (str_replace(",$d_pren_comp,","",",$prenota_comp,") == ",$prenota_comp,") esegui_query("update $tableprenota set idprenota_compagna = '' where idprenota = '$d_pren_comp' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1329-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1336-$prenota_comp2 = substr(str_replace(",$pren_comp,",",",",$prenota_comp,"),1).$id_prenota;
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1337:esegui_query("update $tableprenota set idprenota_compagna = '$prenota_comp2' where idprenota = '$pren_comp' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1338-} # fine for $num1
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1344-if ($n_numpersone != "") {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1345:if (!$dati_cat_pers['num']) esegui_query("update $tableprenota set num_persone = '$n_numpersone', cat_persone = NULL where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1346:else esegui_query("update $tableprenota set num_persone = '$n_numpersone' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1347-} # fine if ($n_numpersone != "")
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1349-if ($dati_cat_pers['num'] and $cat_persone['int'] != $d_cat_persone['int']) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1350:esegui_query("update $tableprenota set cat_persone = '".aggslashdb($cat_persone['int'])."' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1351-} # fine if ($dati_cat_pers['num'] and $cat_persone['int'] != $d_cat_persone['int'])
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1355-$n_tariffa = aggslashdb($n_nometipotariffa)."#@&".$n_costo_tariffa;
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1356:esegui_query("update $tableprenota set tariffa = '$n_tariffa' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1357:if (!strcmp($dati_tariffe[$n_tipotariffa_idpr[$id_prenota]]['tasse_percent'],"")) esegui_query("update $tableprenota set tasseperc = NULL where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1358:else esegui_query("update $tableprenota set tasseperc = '".$dati_tariffe[$n_tipotariffa_idpr[$id_prenota]]['tasse_percent']."' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1359-} # fine if ($n_nometipotariffa != "")
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1362-$n_tariffesettimanali = aggslashdb($n_tariffesettimanali);
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1363:esegui_query("update $tableprenota set tariffesettimanali = '$n_tariffesettimanali' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1364-} # fine if ($n_tariffesettimanali != "")
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1369-$costo_agg_modificato = explode("#?&",$costi_aggiuntivi_modificati[$num2]);
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1370:if ($costo_agg_modificato[1] == "cancella") esegui_query("delete from $tablecostiprenota where idcostiprenota = '".$costo_agg_modificato[0]."' and idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1371-else {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1372:esegui_query("update $tablecostiprenota set settimane = '".$costo_agg_modificato[1]."', moltiplica = '".$costo_agg_modificato[2]."' where idcostiprenota = '".$costo_agg_modificato[0]."' and idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1373:if ($num_ripetizioni_costo_mod_idpr[$id_prenota][$num2]) esegui_query("update $tablecostiprenota set varbeniinv = '".$num_ripetizioni_costo_mod_idpr[$id_prenota][$num2]."' where idcostiprenota = '".$costo_agg_modificato[0]."' and idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1374:if ($cambia_cat_pers_ca_mod_idpr[$id_prenota][$num2]) esegui_query("update $tablecostiprenota set cat_persone = '".aggslashdb($cambia_cat_pers_ca_mod_idpr[$id_prenota][$num2])."' where idcostiprenota = '".$costo_agg_modificato[0]."' and idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1375-} # fine else if ($costo_agg_modificato[1] == "cancella")
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1388-esegui_query("insert into $tablecostiprenota (idcostiprenota,idprenota,tipo,nome,valore,associasett,settimane,moltiplica,letto,idntariffe,varmoltiplica,varnumsett,varperiodipermessi,vartariffeassociate,vartariffeincomp,varbeniinv,varappincompatibili,variazione,categoria,datainserimento,hostinserimento,utente_inserimento) values ('$idcostiprenota','$id_prenota','".$costo_agg_da_inserire[0]."','".aggslashdb($costo_agg_da_inserire[1])."','".$costo_agg_da_inserire[2]."','".$costo_agg_da_inserire[5]."','".$costo_agg_da_inserire[6]."','".$costo_agg_da_inserire[7]."','".$costo_agg_da_inserire[8]."','".$costo_agg_da_inserire[9]."','".$costo_agg_da_inserire[10]."','".$costo_agg_da_inserire[11]."','".$costo_agg_da_inserire[12]."','".$costo_agg_da_inserire[13]."','".$costo_agg_da_inserire[14]."','".$costo_agg_da_inserire[15]."','".$costo_agg_da_inserire[16]."','".$costo_agg_da_inserire[17]."','".$costo_agg_da_inserire[18]."','$datainserimento','$HOSTNAME','$id_utente')");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1389:if (substr($costo_agg_da_inserire[0],1,1) != "f") esegui_query("update $tablecostiprenota set valore_perc = '".$costo_agg_da_inserire[3]."', arrotonda = '".$costo_agg_da_inserire[4]."' where idcostiprenota = '$idcostiprenota'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1390:if ($dati_ca[$num_costo]['tasseperc']) esegui_query("update $tablecostiprenota set tasseperc = '".$dati_ca[$num_costo]['tasseperc']."' where idcostiprenota = '$idcostiprenota'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1391:if ($cambia_cat_pers_ca_ins_idpr[$id_prenota][$num2]) esegui_query("update $tablecostiprenota set cat_persone = '".aggslashdb($cambia_cat_pers_ca_ins_idpr[$id_prenota][$num2])."' where idcostiprenota = '$idcostiprenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1392-} # fine for $num2
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1403-else $max_idcostiprenota = $idcostiprenota_prec;
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1404:esegui_query("delete from $tablecostiprenota_orig where idprenota = '$id_prenota_orig'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1405:$costiprenota_prec = esegui_query("select * from $tablecostiprenota_prec where idprenota = '$id_prenota_prec'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1406-$num_costiprenota_prec = numlin_query($costiprenota_prec);
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1410-$idcostiprenota = risul_query($costiprenota_prec,$num1,'idcostiprenota');
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1411:esegui_query("update $tablecostiprenota_prec set idcostiprenota = '$max_idcostiprenota' where idcostiprenota = '$idcostiprenota'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1412:esegui_query("insert into $tablecostiprenota_orig select * from $tablecostiprenota_prec where idcostiprenota = '$max_idcostiprenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1413:esegui_query("update $tablecostiprenota_prec set idcostiprenota = '$idcostiprenota' where idcostiprenota = '$max_idcostiprenota'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1414:esegui_query("update $tablecostiprenota_orig set idcostiprenota = '$idcostiprenota_orig' where idcostiprenota = '$max_idcostiprenota'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1415-$settimane = risul_query($costiprenota_prec,$num1,'settimane');
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1419-for ($num2 = 1 ; $num2 < (count($settimane) - 1) ; $num2++) $settimane_nuove .= ($settimane[$num2] - $diff_settimane).",";
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1420:esegui_query("update $tablecostiprenota_orig set settimane = '$settimane_nuove' where idcostiprenota = '$idcostiprenota_orig'");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1421-} # fine if (str_replace(",","",$settimane) != $settimane)
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1426-if ((string) $n_app_eliminati_costi != (string) $d_app_eliminati_costi) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1427:esegui_query("update $tableprenota set incompatibilita = '".aggslashdb($n_app_eliminati_costi)."' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1428-} # fine if ((string) $n_app_eliminati_costi != (string) $d_app_eliminati_costi)
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1430-if (strcmp($n_sconto,"")) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1431:esegui_query("update $tableprenota set sconto = '$n_sconto' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1432-} # fine if (strcmp($n_sconto,""))
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1434-if (strcmp($n_caparra,"")) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1435:esegui_query("update $tableprenota set caparra = '$n_caparra' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1436-} # fine if (strcmp($n_caparra,""))
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1460-if ($aggiorna_valuta) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1461:if ($valuta_prenota == ">") esegui_query("update $tableprenota set valuta = NULL where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1462:else esegui_query("update $tableprenota set valuta = '".aggslashdb($valuta_prenota)."' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1463-} # fine if ($aggiorna_valuta)
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1465-if (strcmp($n_met_paga_caparra,"")) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1466:esegui_query("update $tableprenota set metodo_pagamento = '".aggslashdb($n_met_paga_caparra)."' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1467-} # fine if (strcmp($n_met_paga_caparra,""))
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1469-if (strcmp($n_commissioni,"")) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1470:esegui_query("update $tableprenota set commissioni = '$n_commissioni' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1471-} # fine if (strcmp($n_commissioni,""))
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1473-if ($n_origine_prenota != "") {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1474:esegui_query("update $tableprenota set origine = '".aggslashdb($n_origine_prenota)."' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1475-} # fine if ($n_origine_prenota != "")
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1477-if (strcmp($n_pagato,"")) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1478:esegui_query("update $tableprenota set pagato = '$n_pagato' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1479:if ($prenota_in_anno_succ) esegui_query("update $tableprenota_orig set pagato = '$n_pagato' where idprenota = '$id_prenota_orig' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1480-} # fine if (strcmp($n_pagato,""))
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1482-if ($n_confermato != "") {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1483:esegui_query("update $tableprenota set conferma = '$n_confermato' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1484-} # fine if ($n_confermato != "")
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1510-if ($altri_comm) $n_comm .= $altri_comm;
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1511:esegui_query("update $tableprenota set commento = '".aggslashdb($n_comm)."' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1512-} # fine if (strcmp($n_commento,"") and ($tipo_commento == "checkin" or...
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1517-if (strstr($d_commento,">")) $n_comm = $n_comm.strstr($d_commento,">");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1518:esegui_query("update $tableprenota set commento = '".aggslashdb($n_comm)."' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1519-} # fine if ((strcmp($n_commento,"") and !strcmp($tipo_commento,"")) or $n_cancella_commento == "SI")
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1543-elseif (strcmp($n_commento,"")) $n_comm .= ">>>".$tipo_commento."<".$n_commento;
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1544:if ($n_comm != $d_commento) esegui_query("update $tableprenota set commento = '".aggslashdb($n_comm)."' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1545-} # fine if (strcmp($tipo_commento,"") and $comm_pers_presenti[$tipo_commento])
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1548-if (strcmp($n_costo_tot,"")) {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1549:esegui_query("update $tableprenota set tariffa_tot = '$n_costo_tot', data_modifica = '$adesso' where idprenota = '$id_prenota' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1550:if ($prenota_in_anno_succ) esegui_query("update $tableprenota_orig set tariffa_tot = '$n_costo_tot', data_modifica = '$adesso' where idprenota = '$id_prenota_orig' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1551-} # fine if (strcmp($n_costo_tot,""))
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1603-esegui_query("insert into $tablesoldi (idsoldi,motivazione,metodo_pagamento,saldo_prenota,soldi_prima,data_inserimento,utente_inserimento) values ('$idsoldi','$motivazione_saldo','$metodo_pagamento','$saldo','$pagato_attuale','$datainserimento_saldo','$id_utente')");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1604:if ($valuta) esegui_query("update $tablesoldi set valuta = '".aggslashdb($valuta)."', saldo_valuta = '".aggslashdb($saldo_valuta)."' where idsoldi = '$idsoldi' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1605-unlock_tabelle($tabelle_lock);
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1618-else {
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1619:$data_inizio_costo = esegui_query("select datainizio from $tableperiodi where idperiodi = '$idinizioperiodo_saldo' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1620-$data_inizio_costo = formatta_data(risul_query($data_inizio_costo,0,'datainizio'),$stile_data);
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1621-} # fine else if (!$idinizioperiodo_saldo)
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1622:$data_fine_costo = esegui_query("select datafine from $tableperiodi where idperiodi = '$idfineperiodo_saldo' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1623-$data_fine_costo = formatta_data(risul_query($data_fine_costo,0,'datafine'),$stile_data);
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1624:$cognome_saldo = esegui_query("select cognome from $tableclienti where idclienti = '$idcliente_saldo' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1625-$cognome_saldo = risul_query($cognome_saldo,0,'cognome');
##############################################
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1631-esegui_query("insert into $tablecosti (idcosti,nome_costo,val_costo,tipo_costo,nome_cassa,persona_costo,provenienza_costo,metodo_pagamento,datainserimento,hostinserimento,utente_inserimento) values ('$idcosti','".aggslashdb($nome_costo)."','$saldo','e','".aggslashdb($nome_cassa)."','".aggslashdb($nome_utente)."','p','$metodo_pagamento','$datainserimento_saldo','$HOSTNAME','$id_utente') ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php:1632:if ($valuta) esegui_query("update $tablecosti set valuta = '".aggslashdb($valuta)."', costo_valuta = '".aggslashdb($saldo_valuta)."' where idcosti = '$idcosti' ");
hoteldruid-3.0.1/includes/funzioni_mod_prenota.php-1633-unlock_tabelle($tabelle_lock);
##############################################
hoteldruid-3.0.1/modifica_ospiti.php-27-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/modifica_ospiti.php:28:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/modifica_ospiti.php-29-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/modifica_ospiti.php-59-$tablerelgruppi = $PHPR_TAB_PRE."relgruppi";
hoteldruid-3.0.1/modifica_ospiti.php:60:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/modifica_ospiti.php-61-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/modifica_ospiti.php-63-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/modifica_ospiti.php:64:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/modifica_ospiti.php-65-$priv_ins_clienti = risul_query($privilegi_globali_utente,0,'priv_ins_clienti');
##############################################
hoteldruid-3.0.1/modifica_ospiti.php-99-if ($prendi_gruppi == "SI") {
hoteldruid-3.0.1/modifica_ospiti.php:100:$gruppi_utente = esegui_query("select idgruppo from $tablerelgruppi where idutente = '$id_utente' and idgruppo is not NULL ");
hoteldruid-3.0.1/modifica_ospiti.php-101-$num_gruppi_utente = numlin_query($gruppi_utente);
##############################################
hoteldruid-3.0.1/modifica_ospiti.php-103-$idgruppo = risul_query($gruppi_utente,$num1,'idgruppo');
hoteldruid-3.0.1/modifica_ospiti.php:104:$utenti_gruppo = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$idgruppo' ");
hoteldruid-3.0.1/modifica_ospiti.php-105-$num_utenti_gruppo = numlin_query($utenti_gruppo);
##############################################
hoteldruid-3.0.1/modifica_ospiti.php-143-if ($priv_mod_prenotazioni == "p" or $priv_mod_prenotazioni == "g") {
hoteldruid-3.0.1/modifica_ospiti.php:144:$utente_inserimento = esegui_query("select utente_inserimento from $tableprenota where idprenota = '$id_prenota'");
hoteldruid-3.0.1/modifica_ospiti.php-145-if (numlin_query($utente_inserimento) == 1) $utente_inserimento = risul_query($utente_inserimento,0,'utente_inserimento');
##############################################
hoteldruid-3.0.1/modifica_ospiti.php-150-if ($priv_mod_prenota_iniziate != "s") {
hoteldruid-3.0.1/modifica_ospiti.php:151:$id_inizio_prenota = esegui_query("select iddatainizio from $tableprenota where idprenota = '$id_prenota'");
hoteldruid-3.0.1/modifica_ospiti.php-152-if (numlin_query($id_inizio_prenota) == 1) $id_inizio_prenota = risul_query($id_inizio_prenota,0,'iddatainizio');
##############################################
hoteldruid-3.0.1/modifica_ospiti.php-157-$adesso = date("YmdHis",(time() + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/modifica_ospiti.php:158:$data_ins = esegui_query("select datainserimento from $tableprenota where idprenota = '$id_prenota'");
hoteldruid-3.0.1/modifica_ospiti.php-159-if (numlin_query($data_ins) == 1) $data_ins = risul_query($data_ins,0,'datainserimento');
##############################################
hoteldruid-3.0.1/modifica_ospiti.php-170-$idclienti = "";
hoteldruid-3.0.1/modifica_ospiti.php:171:$dati_prenota[$id_prenota] = esegui_query("select * from $tableprenota where  idprenota = '$id_prenota' ");
hoteldruid-3.0.1/modifica_ospiti.php-172-if (numlin_query($dati_prenota[$id_prenota]) == 1) $idclienti = risul_query($dati_prenota[$id_prenota],0,'idclienti');
hoteldruid-3.0.1/modifica_ospiti.php-173-if (($modifica_clienti == "PROPRI" or $vedi_clienti == "PROPRI") and $idclienti) {
hoteldruid-3.0.1/modifica_ospiti.php:174:$cliente_proprio = esegui_query("select idclienti from $tableclienti where idclienti = '$idclienti' and utente_inserimento = '$id_utente'");
hoteldruid-3.0.1/modifica_ospiti.php-175-if (numlin_query($cliente_proprio) == 0) $modifica_clienti = "NO";
##############################################
hoteldruid-3.0.1/modifica_ospiti.php-177-elseif (($modifica_clienti == "GRUPPI" or $vedi_clienti == "GRUPPI") and $idclienti) {
hoteldruid-3.0.1/modifica_ospiti.php:178:$cliente_proprio = esegui_query("select utente_inserimento from $tableclienti where idclienti = '$idclienti'");
hoteldruid-3.0.1/modifica_ospiti.php-179-if (numlin_query($cliente_proprio) == 0) $utente_inserimento = "0";
##############################################
hoteldruid-3.0.1/modifica_ospiti.php-189-$titolo = "HotelDruid: ".mex("Modifica Ospiti",$pag);
hoteldruid-3.0.1/modifica_ospiti.php:190:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/modifica_ospiti.php-191-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/modifica_ospiti.php-211-$d_idapp = risul_query($dati_prenota[$id_prenota],0,'idappartamenti');
hoteldruid-3.0.1/modifica_ospiti.php:212:$d_idapp = esegui_query("select idappartamenti from $tableappartamenti where idappartamenti = '".aggslashdb($d_idapp)."' and letto = '1' ");
hoteldruid-3.0.1/modifica_ospiti.php-213-if (numlin_query($d_idapp)) $app_letto_idpr[$num_idpr] = 1;
##############################################
hoteldruid-3.0.1/modifica_ospiti.php-244-
hoteldruid-3.0.1/modifica_ospiti.php:245:$utente_cliente = esegui_query("select utente_inserimento,idclienti_compagni from $tableclienti where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_ospiti.php-246-$compagni_cliente = risul_query($utente_cliente,0,'idclienti_compagni');
##############################################
hoteldruid-3.0.1/modifica_ospiti.php-263-} # fine if (${"cliente_ospite".$id_prenota."_".$idclienti} == "SI")
hoteldruid-3.0.1/modifica_ospiti.php:264:else if (${"id_osp_num".$id_prenota."_1"} == $idclienti) esegui_query("delete from $tablerclientiprenota where idprenota = '$id_prenota' and idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_ospiti.php-265-
hoteldruid-3.0.1/modifica_ospiti.php:266:$ospiti = esegui_query("select idclienti,num_ordine,parentela from $tablerclientiprenota where idprenota = '$id_prenota' order by num_ordine ");
hoteldruid-3.0.1/modifica_ospiti.php-267-$d_num_ospiti = numlin_query($ospiti);
##############################################
hoteldruid-3.0.1/modifica_ospiti.php-288-if ($osp_presente[$id_clienti_osp]) {
hoteldruid-3.0.1/modifica_ospiti.php:289:$dati_ospite = esegui_query("select idclienti_compagni from $tableclienti where idclienti = '$id_clienti_osp' ");
hoteldruid-3.0.1/modifica_ospiti.php-290-$idclienti_compagni .= substr(risul_query($dati_ospite,0,'idclienti_compagni'),1);
##############################################
hoteldruid-3.0.1/modifica_ospiti.php-306-if ($parentela != $d_parentela) {
hoteldruid-3.0.1/modifica_ospiti.php:307:esegui_query("update $tablerclientiprenota set parentela = '".aggslashdb($parentela)."' where idprenota = '$id_prenota' and idclienti = '$id_clienti_osp' ");
hoteldruid-3.0.1/modifica_ospiti.php-308-$lista_parentela_cambiata .= " and idclienti != '$id_clienti_osp'";
##############################################
hoteldruid-3.0.1/modifica_ospiti.php-312-else $canc_ospite = 1;
hoteldruid-3.0.1/modifica_ospiti.php:313:if ($canc_ospite) esegui_query("delete from $tablerclientiprenota where idprenota = '$id_prenota' and idclienti = '$id_clienti_osp' ");
hoteldruid-3.0.1/modifica_ospiti.php-314-} # fine if ($osp_presente[$id_clienti_osp])
##############################################
hoteldruid-3.0.1/modifica_ospiti.php-392-if ($num_ordine != $n_num_ordine) {
hoteldruid-3.0.1/modifica_ospiti.php:393:esegui_query("update $tablerclientiprenota set num_ordine = '$n_num_ordine' where idprenota = '$id_prenota' and idclienti = '$id_clienti_osp' ");
hoteldruid-3.0.1/modifica_ospiti.php:394:esegui_query("update $tablerclientiprenota set parentela = '' where (idprenota = '$id_prenota'$lista_parentela_cambiata) or (idprenota = '$id_prenota' and num_ordine < 3) ");
hoteldruid-3.0.1/modifica_ospiti.php-395-} # fine if ($num_ordine != $n_num_ordine)
hoteldruid-3.0.1/modifica_ospiti.php-396-} # fine else if (numlin_query($osp_presente) == 0)
hoteldruid-3.0.1/modifica_ospiti.php:397:$d_max_num_ordine = esegui_query("select idclienti_compagni,max_num_ordine from $tableclienti where idclienti = '$id_clienti_osp' ");
hoteldruid-3.0.1/modifica_ospiti.php-398-$d_idclienti_compagni = risul_query($d_max_num_ordine,0,'idclienti_compagni');
hoteldruid-3.0.1/modifica_ospiti.php-399-$d_max_num_ordine = risul_query($d_max_num_ordine,0,'max_num_ordine');
hoteldruid-3.0.1/modifica_ospiti.php:400:if ($d_max_num_ordine < $n_num_ordine) esegui_query("update $tableclienti set max_num_ordine = '$n_num_ordine' where idclienti = '$id_clienti_osp'");
hoteldruid-3.0.1/modifica_ospiti.php-401-$n_idclienti_compagni = $d_idclienti_compagni;
##############################################
hoteldruid-3.0.1/modifica_ospiti.php-404-} # fine for $num2
hoteldruid-3.0.1/modifica_ospiti.php:405:if ($n_idclienti_compagni != $d_idclienti_compagni) esegui_query("update $tableclienti set idclienti_compagni = '$n_idclienti_compagni' where idclienti = '$id_clienti_osp'");
hoteldruid-3.0.1/modifica_ospiti.php-406-} # fine for $num1
##############################################
hoteldruid-3.0.1/modifica_ospiti.php-456-if ($num_idpr > 0) echo "<br><br>";
hoteldruid-3.0.1/modifica_ospiti.php:457:$dati_cliente = esegui_query("select * from $tableclienti where idclienti = '$idclienti' ");
hoteldruid-3.0.1/modifica_ospiti.php-458-echo "".mex("Cliente titolare",$pag);
##############################################
hoteldruid-3.0.1/modifica_ospiti.php-478-
hoteldruid-3.0.1/modifica_ospiti.php:479:$ospiti = esegui_query("select * from $tablerclientiprenota where idprenota = '$id_prenota' order by num_ordine ");
hoteldruid-3.0.1/modifica_ospiti.php-480-$num_ospiti = numlin_query($ospiti);
##############################################
hoteldruid-3.0.1/modifica_ospiti.php-502-if ($mostra_osp == "SI") {
hoteldruid-3.0.1/modifica_ospiti.php:503:$dati_ospite = esegui_query("select * from $tableclienti where idclienti = '$id_clienti_osp' ");
hoteldruid-3.0.1/modifica_ospiti.php-504-$utente_ospite = risul_query($dati_ospite,0,'utente_inserimento');
##############################################
hoteldruid-3.0.1/modifica_ospiti.php-634-$presente_id[$id_clienti_osp] = "SI";
hoteldruid-3.0.1/modifica_ospiti.php:635:$dati_ospite = esegui_query("select cognome,nome,sesso,datanascita,utente_inserimento from $tableclienti where idclienti = '$id_clienti_osp' ");
hoteldruid-3.0.1/modifica_ospiti.php-636-$dati_osp .= "<input name=\"altro_ospite$id_prenota"."_$id_clienti_osp\" value=\"SI\" type=\"checkbox\">\
##############################################
hoteldruid-3.0.1/modifica_ospiti.php-696-
hoteldruid-3.0.1/modifica_ospiti.php:697:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/modifica_ospiti.php-698-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/tab_tariffe.php-27-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/tab_tariffe.php:28:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/tab_tariffe.php-29-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/tab_tariffe.php-49-$tableprivilegi = $PHPR_TAB_PRE."privilegi";
hoteldruid-3.0.1/tab_tariffe.php:50:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/tab_tariffe.php-51-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/tab_tariffe.php-119-$costi_agg_consentiti_vett_gr = $costi_agg_consentiti_vett;
hoteldruid-3.0.1/tab_tariffe.php:120:$gruppi_utente = esegui_query("select idgruppo from $tablerelgruppi where idutente = '$id_utente' and idgruppo is not NULL ");
hoteldruid-3.0.1/tab_tariffe.php-121-$num_gruppi_utente = numlin_query($gruppi_utente);
##############################################
hoteldruid-3.0.1/tab_tariffe.php-123-$idgruppo = risul_query($gruppi_utente,$num1,'idgruppo');
hoteldruid-3.0.1/tab_tariffe.php:124:$utenti_gruppo = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$idgruppo' ");
hoteldruid-3.0.1/tab_tariffe.php-125-$num_utenti_gruppo = numlin_query($utenti_gruppo);
##############################################
hoteldruid-3.0.1/tab_tariffe.php-132-if ($priv_app_gruppi == "SI") {
hoteldruid-3.0.1/tab_tariffe.php:133:$priv_anno_ut_gr = esegui_query("select * from $tableprivilegi where idutente = '$idutente_gruppo' and anno = '$anno'");
hoteldruid-3.0.1/tab_tariffe.php-134-if (numlin_query($priv_anno_ut_gr) == 1) {
##############################################
hoteldruid-3.0.1/tab_tariffe.php-158-if ($priv_vedi_tab_periodi == "g") {
hoteldruid-3.0.1/tab_tariffe.php:159:if (!$priv_anno_ut_gr) $priv_anno_ut_gr = esegui_query("select * from $tableprivilegi where idutente = '$idutente_gruppo' and anno = '$anno'");
hoteldruid-3.0.1/tab_tariffe.php-160-if (numlin_query($priv_anno_ut_gr) == 1) {
##############################################
hoteldruid-3.0.1/tab_tariffe.php-211-$titolo = "HotelDruid: ".mex("Tariffe",$pag);
hoteldruid-3.0.1/tab_tariffe.php:212:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/tab_tariffe.php-213-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/tab_tariffe.php-273-$n_descrizione_ita = aggslashdb(htmlspecialchars($n_descrizione_ita));
hoteldruid-3.0.1/tab_tariffe.php:274:$descr_esistente = esegui_query("select testo from $tabledescrizioni where nome = 'tariffa".$numtariffa1."' and tipo = 'tardescr' and lingua = 'ita' and numero = '1' ");
hoteldruid-3.0.1/tab_tariffe.php:275:if (numlin_query($descr_esistente)) esegui_query("update $tabledescrizioni set testo = '$n_descrizione_ita' where nome = 'tariffa".$numtariffa1."' and tipo = 'tardescr' and lingua = 'ita' and numero = '1' ");
hoteldruid-3.0.1/tab_tariffe.php-276-else esegui_query("insert into $tabledescrizioni (nome,tipo,lingua,numero,testo) values ('tariffa".$numtariffa1."','tardescr','ita','1','$n_descrizione_ita') ");
hoteldruid-3.0.1/tab_tariffe.php-277-} # fine if (strcmp($n_descrizione_ita,""))
hoteldruid-3.0.1/tab_tariffe.php:278:else esegui_query("delete from $tabledescrizioni where nome = 'tariffa".$numtariffa1."' and tipo = 'tardescr' and lingua = 'ita' and numero = '1' ");
hoteldruid-3.0.1/tab_tariffe.php-279-$lang_dir = opendir("./includes/lang/");
##############################################
hoteldruid-3.0.1/tab_tariffe.php-286-$n_descrizione = aggslashdb(htmlspecialchars($n_descrizione));
hoteldruid-3.0.1/tab_tariffe.php:287:$descr_esistente = esegui_query("select testo from $tabledescrizioni where nome = 'tariffa".$numtariffa1."' and tipo = 'tardescr' and lingua = '$ini_lingua' and numero = '1' ");
hoteldruid-3.0.1/tab_tariffe.php:288:if (numlin_query($descr_esistente)) esegui_query("update $tabledescrizioni set testo = '$n_descrizione' where nome = 'tariffa".$numtariffa1."' and tipo = 'tardescr' and lingua = '$ini_lingua' and numero = '1' ");
hoteldruid-3.0.1/tab_tariffe.php-289-else esegui_query("insert into $tabledescrizioni (nome,tipo,lingua,numero,testo) values ('tariffa".$numtariffa1."','tardescr','$ini_lingua','1','$n_descrizione') ");
hoteldruid-3.0.1/tab_tariffe.php-290-} # fine if (strcmp($n_descrizione,""))
hoteldruid-3.0.1/tab_tariffe.php:291:else esegui_query("delete from $tabledescrizioni where nome = 'tariffa".$numtariffa1."' and tipo = 'tardescr' and lingua = '$ini_lingua' and numero = '1' ");
hoteldruid-3.0.1/tab_tariffe.php-292-} # fine if ($file != "." && $file != ".." and...
##############################################
hoteldruid-3.0.1/tab_tariffe.php-309-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/tab_tariffe.php:310:$foto_esistenti = esegui_query("select * from $tabledescrizioni where nome = 'tariffa".$numtariffa1."' and tipo = 'tarfoto' order by numero desc ");
hoteldruid-3.0.1/tab_tariffe.php-311-if (numlin_query($foto_esistenti)) $numfoto = (risul_query($foto_esistenti,0,'numero') + 1);
##############################################
hoteldruid-3.0.1/tab_tariffe.php-327-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/tab_tariffe.php:328:$foto_esistente = esegui_query("select testo from $tabledescrizioni where nome = 'tariffa".$numtariffa1."' and tipo = 'tarfoto' and numero = '$numfoto' ");
hoteldruid-3.0.1/tab_tariffe.php-329-if (numlin_query($foto_esistente)) {
##############################################
hoteldruid-3.0.1/tab_tariffe.php-332-$n_commento_ita = aggslashdb(htmlspecialchars($n_commento_ita));
hoteldruid-3.0.1/tab_tariffe.php:333:$comm_esistente = esegui_query("select testo from $tabledescrizioni where nome = 'tariffa".$numtariffa1."' and tipo = 'tarcommfoto' and lingua = 'ita' and numero = '$numfoto' ");
hoteldruid-3.0.1/tab_tariffe.php:334:if (numlin_query($comm_esistente)) esegui_query("update $tabledescrizioni set testo = '$n_commento_ita' where nome = 'tariffa".$numtariffa1."' and tipo = 'tarcommfoto' and lingua = 'ita' and numero = '$numfoto' ");
hoteldruid-3.0.1/tab_tariffe.php-335-else esegui_query("insert into $tabledescrizioni (nome,tipo,lingua,numero,testo) values ('tariffa".$numtariffa1."','tarcommfoto','ita','$numfoto','$n_commento_ita') ");
hoteldruid-3.0.1/tab_tariffe.php-336-} # fine if (strcmp($n_commento_ita,""))
hoteldruid-3.0.1/tab_tariffe.php:337:else esegui_query("delete from $tabledescrizioni where nome = 'tariffa".$numtariffa1."' and tipo = 'tarcommfoto' and lingua = 'ita' and numero = '$numfoto' ");
hoteldruid-3.0.1/tab_tariffe.php-338-$lang_dir = opendir("./includes/lang/");
##############################################
hoteldruid-3.0.1/tab_tariffe.php-345-$n_commento = aggslashdb(htmlspecialchars($n_commento));
hoteldruid-3.0.1/tab_tariffe.php:346:$comm_esistente = esegui_query("select testo from $tabledescrizioni where nome = 'tariffa".$numtariffa1."' and tipo = 'tarcommfoto' and lingua = '$ini_lingua' and numero = '$numfoto' ");
hoteldruid-3.0.1/tab_tariffe.php:347:if (numlin_query($comm_esistente)) esegui_query("update $tabledescrizioni set testo = '$n_commento' where nome = 'tariffa".$numtariffa1."' and tipo = 'tarcommfoto' and lingua = '$ini_lingua' and numero = '$numfoto' ");
hoteldruid-3.0.1/tab_tariffe.php-348-else esegui_query("insert into $tabledescrizioni (nome,tipo,lingua,numero,testo) values ('tariffa".$numtariffa1."','tarcommfoto','$ini_lingua','$numfoto','$n_commento') ");
hoteldruid-3.0.1/tab_tariffe.php-349-} # fine if (strcmp($n_commento,""))
hoteldruid-3.0.1/tab_tariffe.php:350:else esegui_query("delete from $tabledescrizioni where nome = 'tariffa".$numtariffa1."' and tipo = 'tarcommfoto' and lingua = '$ini_lingua' and numero = '$numfoto' ");
hoteldruid-3.0.1/tab_tariffe.php-351-} # fine if ($file != "." && $file != ".." and...
##############################################
hoteldruid-3.0.1/tab_tariffe.php-363-if ($numfoto and controlla_num_pos($numfoto) == "SI") {
hoteldruid-3.0.1/tab_tariffe.php:364:esegui_query("delete from $tabledescrizioni where nome = 'tariffa".$numtariffa1."' and (tipo = 'tarfoto' or tipo = 'tarcommfoto') and numero = '$numfoto' ");
hoteldruid-3.0.1/tab_tariffe.php-365-echo "".ucfirst(mex("foto eliminata",$pag)).".<br>";
##############################################
hoteldruid-3.0.1/tab_tariffe.php-394-
hoteldruid-3.0.1/tab_tariffe.php:395:include(C_DATI_PATH."/selperiodimenu$anno.$id_utente.php");
hoteldruid-3.0.1/tab_tariffe.php-396-$raggr_per = 0;
##############################################
hoteldruid-3.0.1/tab_tariffe.php-999-
hoteldruid-3.0.1/tab_tariffe.php:1000:$regola4 = esegui_query("select * from $tableregole where tariffa_per_persone = '".$tariffa[1]."' ");
hoteldruid-3.0.1/tab_tariffe.php-1001-if (numlin_query($regola4)) $num_pers_reg4 = risul_query($regola4,0,'iddatainizio');
##############################################
hoteldruid-3.0.1/tab_tariffe.php-1007-if ($attiva_tariffe_consentite == "n" or $tariffe_consentite_vett[$numtariffa1] == "SI") {
hoteldruid-3.0.1/tab_tariffe.php:1008:$d_descrizione = esegui_query("select testo from $tabledescrizioni where nome = 'tariffa".$numtariffa1."' and tipo = 'tardescr' and lingua = 'ita' and numero = '1' ");
hoteldruid-3.0.1/tab_tariffe.php-1009-if (numlin_query($d_descrizione)) $d_descrizione = risul_query($d_descrizione,0,'testo');
##############################################
hoteldruid-3.0.1/tab_tariffe.php-1035-$lingue_vett[$ini_lingua] = $nome_lingua;
hoteldruid-3.0.1/tab_tariffe.php:1036:$d_descrizione = esegui_query("select testo from $tabledescrizioni where nome = 'tariffa".$numtariffa1."' and tipo = 'tardescr' and lingua = '$ini_lingua' and numero = '1' ");
hoteldruid-3.0.1/tab_tariffe.php-1037-if (numlin_query($d_descrizione)) $d_descrizione = risul_query($d_descrizione,0,'testo');
##############################################
hoteldruid-3.0.1/tab_tariffe.php-1053-
hoteldruid-3.0.1/tab_tariffe.php:1054:$foto = esegui_query("select * from $tabledescrizioni where nome = 'tariffa".$numtariffa1."' and tipo = 'tarfoto' order by numero ");
hoteldruid-3.0.1/tab_tariffe.php-1055-$num_foto = numlin_query($foto);
##############################################
hoteldruid-3.0.1/tab_tariffe.php-1073-".ucfirst(mex("commento",$pag)).":<br>";
hoteldruid-3.0.1/tab_tariffe.php:1074:$d_commento = esegui_query("select testo from $tabledescrizioni where nome = 'tariffa".$numtariffa1."' and tipo = 'tarcommfoto' and lingua = 'ita' and numero = '$numfoto' ");
hoteldruid-3.0.1/tab_tariffe.php-1075-if (numlin_query($d_commento)) $d_commento = risul_query($d_commento,0,'testo');
##############################################
hoteldruid-3.0.1/tab_tariffe.php-1080-foreach ($lingue_vett as $ini_lingua => $nome_lingua) {
hoteldruid-3.0.1/tab_tariffe.php:1081:$d_commento = esegui_query("select testo from $tabledescrizioni where nome = 'tariffa".$numtariffa1."' and tipo = 'tarcommfoto' and lingua = '$ini_lingua' and numero = '$numfoto' ");
hoteldruid-3.0.1/tab_tariffe.php-1082-if (numlin_query($d_commento)) $d_commento = risul_query($d_commento,0,'testo');
##############################################
hoteldruid-3.0.1/tab_tariffe.php-1134-
hoteldruid-3.0.1/tab_tariffe.php:1135:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/tab_tariffe.php-1136-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-27-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/visualizza_tabelle.php:28:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/visualizza_tabelle.php-29-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-66-if ($id_utente != 1) {
hoteldruid-3.0.1/visualizza_tabelle.php:67:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/visualizza_tabelle.php-68-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-70-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/visualizza_tabelle.php:71:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/visualizza_tabelle.php-72-$priv_mod_pers = risul_query($privilegi_globali_utente,0,'priv_mod_pers');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-190-$costi_agg_consentiti_vett_gr = $costi_agg_consentiti_vett;
hoteldruid-3.0.1/visualizza_tabelle.php:191:$gruppi_utente = esegui_query("select idgruppo from $tablerelgruppi where idutente = '$id_utente' and idgruppo is not NULL ");
hoteldruid-3.0.1/visualizza_tabelle.php-192-$num_gruppi_utente = numlin_query($gruppi_utente);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-194-$idgruppo = risul_query($gruppi_utente,$num1,'idgruppo');
hoteldruid-3.0.1/visualizza_tabelle.php:195:$utenti_gruppo = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$idgruppo' ");
hoteldruid-3.0.1/visualizza_tabelle.php-196-$num_utenti_gruppo = numlin_query($utenti_gruppo);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-203-if ($priv_app_gruppi == "SI") {
hoteldruid-3.0.1/visualizza_tabelle.php:204:$priv_anno_ut_gr = esegui_query("select * from $tableprivilegi where idutente = '$idutente_gruppo' and anno = '$anno'");
hoteldruid-3.0.1/visualizza_tabelle.php-205-if (numlin_query($priv_anno_ut_gr) == 1) {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-229-if ($priv_vedi_tab_periodi == "g") {
hoteldruid-3.0.1/visualizza_tabelle.php:230:if (!$priv_anno_ut_gr) $priv_anno_ut_gr = esegui_query("select * from $tableprivilegi where idutente = '$idutente_gruppo' and anno = '$anno'");
hoteldruid-3.0.1/visualizza_tabelle.php-231-if (numlin_query($priv_anno_ut_gr) == 1) {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-318-$titolo = "HotelDruid: ".mex("Visualizza Tabelle",$pag);
hoteldruid-3.0.1/visualizza_tabelle.php:319:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/visualizza_tabelle.php-320-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-355-$mostra_tab_principale = "NO";
hoteldruid-3.0.1/visualizza_tabelle.php:356:$metodi_pagamento_int = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'metodi_pagamento' and idutente = '$id_utente'");
hoteldruid-3.0.1/visualizza_tabelle.php-357-$metodi_pagamento_int = risul_query($metodi_pagamento_int,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-366-if ($numero and controlla_num_pos($numero) != "NO") {
hoteldruid-3.0.1/visualizza_tabelle.php:367:$prenotazione = esegui_query("select idprenota,idclienti,iddatainizio,caparra,pagato,tariffa_tot,conferma,metodo_pagamento,valuta,utente_inserimento,datainserimento from $tableprenota where idprenota = '$numero' ");
hoteldruid-3.0.1/visualizza_tabelle.php-368-if (numlin_query($prenotazione) == 1) {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-386-$id_clienti = risul_query($prenotazione,0,'idclienti');
hoteldruid-3.0.1/visualizza_tabelle.php:387:$cognome = esegui_query("select cognome,utente_inserimento from $tableclienti where idclienti = '$id_clienti' ");
hoteldruid-3.0.1/visualizza_tabelle.php-388-$mostra_cliente = "SI";
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-516-$tabelle_lock = lock_tabelle($tabelle_lock,$altre_tab_lock);
hoteldruid-3.0.1/visualizza_tabelle.php:517:$metodi_pagamento = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'metodi_pagamento' and idutente = '$id_utente'");
hoteldruid-3.0.1/visualizza_tabelle.php-518-$metodi_pagamento = risul_query($metodi_pagamento,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-528-$numero = aggslashdb($numero);
hoteldruid-3.0.1/visualizza_tabelle.php:529:$prenotazione = esegui_query("select idprenota,idclienti,iddatainizio,caparra,pagato,tariffa_tot,conferma,valuta,utente_inserimento,datainserimento from $tableprenota where idprenota = '$numero'");
hoteldruid-3.0.1/visualizza_tabelle.php-530-if (numlin_query($prenotazione) == 1) {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-596-$numero = $numeri_cambia[$num1];
hoteldruid-3.0.1/visualizza_tabelle.php:597:$prenotazione = esegui_query("select idprenota,idclienti,caparra,pagato,tariffa_tot,conferma,iddatainizio,iddatafine from $tableprenota where idprenota = '$numero'");
hoteldruid-3.0.1/visualizza_tabelle.php-598-if ($somma_pagata != "conferma") {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-602-if ($$d_pagato_dopo != $pagato) {
hoteldruid-3.0.1/visualizza_tabelle.php:603:esegui_query("update $tableprenota set pagato = '".$$d_pagato_dopo."' where idprenota = '$numero' ");
hoteldruid-3.0.1/visualizza_tabelle.php-604-$confermato = risul_query($prenotazione,0,'conferma');
hoteldruid-3.0.1/visualizza_tabelle.php-605-$confermato = substr($confermato[$num1],0,1);
hoteldruid-3.0.1/visualizza_tabelle.php:606:if ($$d_pagato_dopo > 0 and $confermato != "S") esegui_query("update $tableprenota set conferma = 'S' where idprenota = '$numero' ");
hoteldruid-3.0.1/visualizza_tabelle.php-607-$datainserimento_saldo = date("Y-m-d H:i:s",(time() + (C_DIFF_ORE * 3600)));
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-632-esegui_query("insert into $tablesoldi (idsoldi,motivazione,saldo_prenota,soldi_prima,metodo_pagamento,data_inserimento,utente_inserimento) values ('$idsoldi','$motivazione_saldo','$saldo','$pagato','$metodo_pagamento','$datainserimento_saldo','$id_utente')");
hoteldruid-3.0.1/visualizza_tabelle.php:633:if ($valuta) esegui_query("update $tablesoldi set valuta = '".aggslashdb($valuta)."', saldo_valuta = '".aggslashdb($saldo_valuta)."' where idsoldi = '$idsoldi' ");
hoteldruid-3.0.1/visualizza_tabelle.php-634-
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-643-else {
hoteldruid-3.0.1/visualizza_tabelle.php:644:$data_inizio_costo = esegui_query("select datainizio from $tableperiodi where idperiodi = '$d_idinizioprenota' ");
hoteldruid-3.0.1/visualizza_tabelle.php-645-$data_inizio_costo = formatta_data(risul_query($data_inizio_costo,0,'datainizio'),$stile_data);
hoteldruid-3.0.1/visualizza_tabelle.php-646-} # fine else if (!$d_idinizioprenota)
hoteldruid-3.0.1/visualizza_tabelle.php:647:$data_fine_costo = esegui_query("select datafine from $tableperiodi where idperiodi = '$d_idfineprenota' ");
hoteldruid-3.0.1/visualizza_tabelle.php-648-$data_fine_costo = formatta_data(risul_query($data_fine_costo,0,'datafine'),$stile_data);
hoteldruid-3.0.1/visualizza_tabelle.php:649:$cognome_saldo = esegui_query("select cognome from $tableclienti where idclienti = '$idcliente_saldo' ");
hoteldruid-3.0.1/visualizza_tabelle.php-650-$cognome_saldo = risul_query($cognome_saldo,0,'cognome');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-655-else $nome_cassa = $cassa_pagamenti;
hoteldruid-3.0.1/visualizza_tabelle.php:656:$nome_utente = esegui_query("select nome_utente from $tableutenti where idutenti = '$id_utente' ");
hoteldruid-3.0.1/visualizza_tabelle.php-657-$nome_utente = risul_query($nome_utente,0,'nome_utente');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-662-} # fine if ($somma_pagata != "conferma")
hoteldruid-3.0.1/visualizza_tabelle.php:663:else esegui_query("update $tableprenota set conferma = 'S' where idprenota = '$numero' ");
hoteldruid-3.0.1/visualizza_tabelle.php-664-} # fine for $num1
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-698-if ($torna_indietro) {
hoteldruid-3.0.1/visualizza_tabelle.php:699:$transaz_esistente = esegui_query("select * from $tabletransazioni where idsessione = '$id_sessione' and tipo_transazione = 'tab_p' ");
hoteldruid-3.0.1/visualizza_tabelle.php-700-if (numlin_query($transaz_esistente)) {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-735-if ($id_utente != $id_utente_vedi) {
hoteldruid-3.0.1/visualizza_tabelle.php:736:$privilegi_annuali_utente_vedi = esegui_query("select * from $tableprivilegi where idutente = '$id_utente_vedi' and anno = '$anno'");
hoteldruid-3.0.1/visualizza_tabelle.php-737-if (numlin_query($privilegi_annuali_utente_vedi) != 0) {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-742-$utenti_gruppi[$id_utente_vedi] = 1;
hoteldruid-3.0.1/visualizza_tabelle.php:743:$gruppi_utente = esegui_query("select idgruppo from $tablerelgruppi where idutente = '$id_utente_vedi' and idgruppo is not NULL ");
hoteldruid-3.0.1/visualizza_tabelle.php-744-$num_gruppi_utente = numlin_query($gruppi_utente);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-746-$idgruppo = risul_query($gruppi_utente,$num1,'idgruppo');
hoteldruid-3.0.1/visualizza_tabelle.php:747:$utenti_gruppo = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$idgruppo' ");
hoteldruid-3.0.1/visualizza_tabelle.php-748-$num_utenti_gruppo = numlin_query($utenti_gruppo);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-756-if (!$sel_tab_prenota) {
hoteldruid-3.0.1/visualizza_tabelle.php:757:$sel_tab_prenota = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'selezione_tab_tutte_prenota' and idutente = '$id_utente'");
hoteldruid-3.0.1/visualizza_tabelle.php-758-$sel_tab_prenota = risul_query($sel_tab_prenota,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-761-$oggi = date("Y-m-d",(time() + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/visualizza_tabelle.php:762:$oggi = esegui_query("select idperiodi,datainizio,datafine from $tableperiodi where datainizio <= '$oggi' and datafine > '$oggi' ");
hoteldruid-3.0.1/visualizza_tabelle.php-763-if (numlin_query($oggi) != 0) {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-765-$oggi_fine = risul_query($oggi,0,'datafine');
hoteldruid-3.0.1/visualizza_tabelle.php:766:include(C_DATI_PATH."/selperiodimenu$anno.$id_utente.php");
hoteldruid-3.0.1/visualizza_tabelle.php-767-$num_periodi_date = count($d_increment);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-791-else {
hoteldruid-3.0.1/visualizza_tabelle.php:792:$ini_id = esegui_query("select idperiodi from $tableperiodi where datainizio = '".aggslashdb($cerca_ini)."' ");
hoteldruid-3.0.1/visualizza_tabelle.php-793-$ini_id = risul_query($ini_id,0,'idperiodi');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-795-if ($ini_id > 1) {
hoteldruid-3.0.1/visualizza_tabelle.php:796:$cerca_ini = esegui_query("select datainizio from $tableperiodi where idperiodi = '".($ini_id - 1)."' ");
hoteldruid-3.0.1/visualizza_tabelle.php-797-$cerca_ini = risul_query($cerca_ini,0,'datainizio');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-824-$oggi = date("Y-m-d",(time() + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/visualizza_tabelle.php:825:$date_select = esegui_query("select datainizio,datafine from $tableperiodi where datainizio <= '$oggi' and datafine > '$oggi' ");
hoteldruid-3.0.1/visualizza_tabelle.php-826-if (numlin_query($date_select) != 0) {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-927-$ultimo_accesso = date("Y-m-d H:i:s",(time() + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/visualizza_tabelle.php:928:$transaz_esistente = esegui_query("select idtransazioni from $tabletransazioni where idsessione = '$id_sessione' and tipo_transazione = 'tab_p' ");
hoteldruid-3.0.1/visualizza_tabelle.php-929-if (numlin_query($transaz_esistente)) {
hoteldruid-3.0.1/visualizza_tabelle.php-930-$transaz_esistente = risul_query($transaz_esistente,0,'idtransazioni');
hoteldruid-3.0.1/visualizza_tabelle.php:931:esegui_query("update $tabletransazioni set dati_transazione1 = '".aggslashdb($pag_pren_corr)."', dati_transazione2 = '".aggslashdb($pag_pren_succ)."', dati_transazione3 = '".aggslashdb($pag_pren_prec)."', dati_transazione4 = '".aggslashdb($ordine_prenota)."', dati_transazione5 = '".aggslashdb($mos_tut_dat)."', dati_transazione6 = '".aggslashdb($cerca_prenota)."', dati_transazione7 = '".aggslashdb($opz_cerc_pren)."', dati_transazione8 = '".aggslashdb($cerca_ini)."', dati_transazione9 = '".aggslashdb($cerca_fine)."', dati_transazione10 = '".aggslashdb($id_utente_vedi)."', dati_transazione11 = '".aggslashdb($senza_colori)."', dati_transazione12 = '".aggslashdb($lista_prenota)."', dati_transazione13 = '".aggslashdb($sel_tab_prenota)."', dati_transazione14 = '".aggslashdb($pcanc)."', ultimo_accesso = '$ultimo_accesso' where idtransazioni = '$transaz_esistente' ");
hoteldruid-3.0.1/visualizza_tabelle.php-932-} # fine if (numlin_query($transaz_esistente))
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-952-$prendi_cpe = 0;
hoteldruid-3.0.1/visualizza_tabelle.php:953:$attiva_checkin = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'attiva_checkin' and idutente = '$id_utente_vedi'");
hoteldruid-3.0.1/visualizza_tabelle.php-954-$attiva_checkin = risul_query($attiva_checkin,0,'valpersonalizza');
hoteldruid-3.0.1/visualizza_tabelle.php:955:$col_tab_tutte_prenota = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'col_tab_tutte_prenota' and idutente = '$id_utente_vedi'");
hoteldruid-3.0.1/visualizza_tabelle.php-956-$col_tab_tutte_prenota = risul_query($col_tab_tutte_prenota,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-1061-
hoteldruid-3.0.1/visualizza_tabelle.php:1062:$rig_tab_tutte_prenota = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'rig_tab_tutte_prenota' and idutente = '$id_utente_vedi'");
hoteldruid-3.0.1/visualizza_tabelle.php-1063-$rig_tab_tutte_prenota = risul_query($rig_tab_tutte_prenota,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-1115-$ultimo_periodo = risul_query($periodi_anno,$num_periodi_anno,'idperiodi');
hoteldruid-3.0.1/visualizza_tabelle.php:1116:$prenotazioni = esegui_query("select * from $tableprenota where iddatainizio <= $ultimo_periodo and iddatainizio >= 1 and idclienti != '0' $condizione_prenota_proprie order by $ordine_prenota");
hoteldruid-3.0.1/visualizza_tabelle.php-1117-$num_prenotazioni = numlin_query($prenotazioni);
hoteldruid-3.0.1/visualizza_tabelle.php:1118:$prenotazioni_successive =  esegui_query("select * from $tableprenota where iddatainizio > $ultimo_periodo and idclienti != '0' $condizione_prenota_proprie order by $ordine_prenota");
hoteldruid-3.0.1/visualizza_tabelle.php-1119-$num_prenotazioni_successive = numlin_query($prenotazioni_successive);
hoteldruid-3.0.1/visualizza_tabelle.php:1120:$prenotazioni_precedenti =  esegui_query("select * from $tableprenota where iddatainizio < '1' and idclienti != '0' $condizione_prenota_proprie order by $ordine_prenota");
hoteldruid-3.0.1/visualizza_tabelle.php-1121-$num_prenotazioni_precedenti = numlin_query($prenotazioni_precedenti);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-1151-$cerca_ini_f = formatta_data($cerca_ini,$stile_data);
hoteldruid-3.0.1/visualizza_tabelle.php:1152:$c_idinizioperiodo = esegui_query("select idperiodi from $tableperiodi where datainizio = '$cerca_ini' ");
hoteldruid-3.0.1/visualizza_tabelle.php-1153-$num_c_idinizioperiodo = numlin_query($c_idinizioperiodo);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-1157-$cerca_fine_f = formatta_data($cerca_fine,$stile_data);
hoteldruid-3.0.1/visualizza_tabelle.php:1158:$c_idfineperiodo = esegui_query("select idperiodi from $tableperiodi where datainizio = '$cerca_fine' ");
hoteldruid-3.0.1/visualizza_tabelle.php-1159-$num_c_idfineperiodo = numlin_query($c_idfineperiodo);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-1175-} # fine if ($opz_cerc_pren == "part")
hoteldruid-3.0.1/visualizza_tabelle.php:1176:$prenotazioni = esegui_query("select * from $tableprenota where $iddatainizio < $c_idfineperiodo_q and $iddatafine >= $c_idinizioperiodo_q and idclienti != '0' $condizione_prenota_proprie order by $ordine_prenota");
hoteldruid-3.0.1/visualizza_tabelle.php-1177-$num_prenotazioni = numlin_query($prenotazioni);
hoteldruid-3.0.1/visualizza_tabelle.php:1178:if ($mos_tut_dat == "SI") include(C_DATI_PATH."/selectperiodi$anno.$id_utente.php");
hoteldruid-3.0.1/visualizza_tabelle.php:1179:else include(C_DATI_PATH."/selperiodimenu$anno.$id_utente.php");
hoteldruid-3.0.1/visualizza_tabelle.php-1180-$lista_date0 = explode("<option value=\"$cerca_ini\">",$dates_options_list);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-1217-if ($numeri_prenota_sel_query) $numeri_prenota_sel_query .= " ) ";
hoteldruid-3.0.1/visualizza_tabelle.php:1218:$prenotazioni = esegui_query("select * from $tableprenota where idclienti != '0' $numeri_prenota_sel_query $condizione_prenota_proprie order by $ordine_prenota");
hoteldruid-3.0.1/visualizza_tabelle.php-1219-$num_prenotazioni = numlin_query($prenotazioni);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-1226-$frase_cerca = mex("del",$pag)." ".$anno;
hoteldruid-3.0.1/visualizza_tabelle.php:1227:$num_vedi_in_tab = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'num_righe_tab_tutte_prenota' and idutente = '$id_utente_vedi'");
hoteldruid-3.0.1/visualizza_tabelle.php-1228-$num_vedi_in_tab = risul_query($num_vedi_in_tab,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-1239-
hoteldruid-3.0.1/visualizza_tabelle.php:1240:$colori_tab_mesi = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'colori_tab_mesi' and idutente = '$id_utente_vedi'");
hoteldruid-3.0.1/visualizza_tabelle.php-1241-$colori_tab_mesi = explode(",",risul_query($colori_tab_mesi,0,'valpersonalizza'));
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-1248-$campi_pers_comm_presenti = array();
hoteldruid-3.0.1/visualizza_tabelle.php:1249:$campi_pers_comm = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'campi_pers_comm' and idutente = '$id_utente_vedi'");
hoteldruid-3.0.1/visualizza_tabelle.php-1250-if (numlin_query($campi_pers_comm) == 1) $campi_pers_comm = risul_query($campi_pers_comm,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-1261-if ($tab_precedenti == "SI" or ($cerca_prenota and $cerca_prenota != "tutte") or $subtotale_selezionate) {
hoteldruid-3.0.1/visualizza_tabelle.php:1262:$anno_prec_esistente = esegui_query("select idanni from $tableanni where idanni = '".($anno - 1)."'");
hoteldruid-3.0.1/visualizza_tabelle.php-1263-if (numlin_query($anno_prec_esistente) == 1) $anno_prec_esistente = "SI";
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-1478-$id_data_fine = risul_query($prenotazioni,$num1,'iddatafine');
hoteldruid-3.0.1/visualizza_tabelle.php:1479:$data_fine = esegui_query("select * from $tableperiodi where idperiodi = $id_data_fine");
hoteldruid-3.0.1/visualizza_tabelle.php-1480-$data_fine = risul_query($data_fine,0,'datafine');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-1486-if ($id_prenota_prec and $anno_prec_esistente == "SI") {
hoteldruid-3.0.1/visualizza_tabelle.php:1487:$dati_prenota_prec = esegui_query("select * from $PHPR_TAB_PRE"."prenota".($anno - 1)." where idprenota = '$id_prenota_prec'");
hoteldruid-3.0.1/visualizza_tabelle.php-1488-if (numlin_query($dati_prenota_prec) == 1) {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-1490-$id_data_fine_prec = risul_query($dati_prenota_prec,0,'iddatafine');
hoteldruid-3.0.1/visualizza_tabelle.php:1491:$data_inizio = esegui_query("select * from $PHPR_TAB_PRE"."periodi".($anno - 1)." where idperiodi = $id_data_inizio_prec");
hoteldruid-3.0.1/visualizza_tabelle.php-1492-$data_inizio = risul_query($data_inizio,0,'datainizio');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-1502-else {
hoteldruid-3.0.1/visualizza_tabelle.php:1503:$data_inizio = esegui_query("select * from $tableperiodi where idperiodi = $id_data_inizio");
hoteldruid-3.0.1/visualizza_tabelle.php-1504-$data_inizio = risul_query($data_inizio,0,'datainizio');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-1718-
hoteldruid-3.0.1/visualizza_tabelle.php:1719:$cognome = esegui_query("select cognome,utente_inserimento from $tableclienti where idclienti = '$id_clienti'");
hoteldruid-3.0.1/visualizza_tabelle.php-1720-$mostra_cliente = "SI";
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-1731-if ($colonna_cognome and $colonna_ospite) {
hoteldruid-3.0.1/visualizza_tabelle.php:1732:$ospiti = esegui_query("select idclienti from $tablerclientiprenota where idprenota = '$numero' order by num_ordine ");
hoteldruid-3.0.1/visualizza_tabelle.php-1733-if (numlin_query($ospiti)) {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-1735-if ($id_ospite != $id_clienti) {
hoteldruid-3.0.1/visualizza_tabelle.php:1736:$cognome_ospite = esegui_query("select cognome,utente_inserimento from $tableclienti where idclienti = '$id_ospite' ");
hoteldruid-3.0.1/visualizza_tabelle.php-1737-$mostra_ospite = "SI";
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-2097-$data_lim = ($anno + 1)."-01-01 00:00:00";
hoteldruid-3.0.1/visualizza_tabelle.php:2098:$costi_cassa = esegui_query("select * from $tablecosti where tipo_costo = 'e' and provenienza_costo = 'p' and datainserimento < '$data_lim'$condizione_costi_propri ");
hoteldruid-3.0.1/visualizza_tabelle.php-2099-$num_costi_cassa = numlin_query($costi_cassa);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-2104-$data_lim = ($anno + 1)."-01-01 00:00:00";
hoteldruid-3.0.1/visualizza_tabelle.php:2105:$costi_cassa = esegui_query("select * from $tablecosti where tipo_costo = 'e' and provenienza_costo = 'p' and datainserimento > '$data_lim'$condizione_costi_propri ");
hoteldruid-3.0.1/visualizza_tabelle.php-2106-$num_costi_cassa = numlin_query($costi_cassa);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-2206-
hoteldruid-3.0.1/visualizza_tabelle.php:2207:$nomi_contratti = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'nomi_contratti' and idutente = '$id_utente'");
hoteldruid-3.0.1/visualizza_tabelle.php-2208-$nomi_contratti = risul_query($nomi_contratti,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-2267-$n_nome_cassa = htmlspecialchars($n_nome_cassa);
hoteldruid-3.0.1/visualizza_tabelle.php:2268:$cassa_esistente = esegui_query("select * from $tablecasse where nome_cassa = '".aggslashdb($n_nome_cassa)."' ");
hoteldruid-3.0.1/visualizza_tabelle.php-2269-if (!numlin_query($cassa_esistente)) {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-2290-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/visualizza_tabelle.php:2291:$cassa_esistente = esegui_query("select * from $tablecasse where idcasse = '".aggslashdb($c_id_cassa)."' ");
hoteldruid-3.0.1/visualizza_tabelle.php-2292-if (numlin_query($cassa_esistente)) {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-2294-$mostra_tab_costi = "NO";
hoteldruid-3.0.1/visualizza_tabelle.php:2295:esegui_query("delete from $tablecasse where idcasse = '$c_id_cassa' ");
hoteldruid-3.0.1/visualizza_tabelle.php-2296-$privilegi_casse = esegui_query("select * from $tableprivilegi where anno = '1' ");
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-2301-$idutente_priv_casse = risul_query($privilegi_casse,$num1,'idutente');
hoteldruid-3.0.1/visualizza_tabelle.php:2302:esegui_query("update $tableprivilegi set casse_consentite = '$n_casse_consentite' where idutente = '$idutente_priv_casse' and anno = '1' ");
hoteldruid-3.0.1/visualizza_tabelle.php-2303-} # fine ($casse_consentite != $n_casse_consentite)
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-2322-$idcosti = aggslashdb($idcosti);
hoteldruid-3.0.1/visualizza_tabelle.php:2323:$costo = esegui_query("select * from $tablecosti where idcosti = '$idcosti' ");
hoteldruid-3.0.1/visualizza_tabelle.php-2324-if (numlin_query($costo) == 0) $continua = "NO";
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-2362-} # fine if ($provenienza_costo == "p" and $anno >= substr($datains_costo,0,4))
hoteldruid-3.0.1/visualizza_tabelle.php:2363:esegui_query("delete from $tablecosti where idcosti = '$idcosti' ");
hoteldruid-3.0.1/visualizza_tabelle.php-2364-echo mex("Entrata o spesa",$pag)." $idcosti ".mex("cacellata",$pag).".<br>
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-2404-$tabelle_lock = lock_tabelle($tabelle_lock,$altre_tab_lock);
hoteldruid-3.0.1/visualizza_tabelle.php:2405:$cassa_esistente = esegui_query("select * from $tablecasse where idcasse = '".aggslashdb($conv_id_cassa)."' ");
hoteldruid-3.0.1/visualizza_tabelle.php-2406-if (numlin_query($cassa_esistente)) {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-2409-$altre_valute = altre_valute();
hoteldruid-3.0.1/visualizza_tabelle.php:2410:$arrotond_predef = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'arrotond_predef' and idutente = '$id_utente'");
hoteldruid-3.0.1/visualizza_tabelle.php-2411-$arrotond_predef = (double) risul_query($arrotond_predef,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-2436-$n_val_costo = $n_val_costo * $arrotond_predef;
hoteldruid-3.0.1/visualizza_tabelle.php:2437:if ($n_val_costo != $val_costo) esegui_query("update $tablecosti set val_costo = '".aggslashdb($n_val_costo)."' where idcosti = '$idcosti' ");
hoteldruid-3.0.1/visualizza_tabelle.php-2438-} # fine if ($valuta[1] != $cambio_corr)
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-2447-} # fine else if  ($tipo_costo == "e")
hoteldruid-3.0.1/visualizza_tabelle.php:2448:esegui_query("update $tablecosti set valuta = '".aggslashdb($valuta_int.">c")."' where idcosti = '$idcosti' ");
hoteldruid-3.0.1/visualizza_tabelle.php-2449-} # fine if (($priv_ins_entrate == "s" and $tipo_costo == "e") or...
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-2466-$diff = round(($costi_euro_cambio - $costi_euro),2);
hoteldruid-3.0.1/visualizza_tabelle.php:2467:$costo = esegui_query("select * from $tablecosti where idcosti = '$idcosti' ");
hoteldruid-3.0.1/visualizza_tabelle.php-2468-$tipo_costo = (double) risul_query($costo,0,'tipo_costo');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-2471-else $n_val_costo = $val_costo - $diff;
hoteldruid-3.0.1/visualizza_tabelle.php:2472:esegui_query("update $tablecosti set val_costo = '".aggslashdb($n_val_costo)."' where idcosti = '$idcosti' ");
hoteldruid-3.0.1/visualizza_tabelle.php-2473-} # fine if (round($costi_euro_cambio,2) != round($costi_euro,2))
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-2536-
hoteldruid-3.0.1/visualizza_tabelle.php:2537:$num_vedi_in_tab = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'num_righe_tab_casse' and idutente = '$id_utente'");
hoteldruid-3.0.1/visualizza_tabelle.php-2538-$num_vedi_in_tab = risul_query($num_vedi_in_tab,0,'valpersonalizza_num');
hoteldruid-3.0.1/visualizza_tabelle.php:2539:$mostra_tot_giorn = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'tot_giornalero_tab_casse' and idutente = '$id_utente'");
hoteldruid-3.0.1/visualizza_tabelle.php-2540-$mostra_tot_giorn = risul_query($mostra_tot_giorn,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-2547-
hoteldruid-3.0.1/visualizza_tabelle.php:2548:$nomi_contratti = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'nomi_contratti' and idutente = '$id_utente'");
hoteldruid-3.0.1/visualizza_tabelle.php-2549-$nomi_contratti = risul_query($nomi_contratti,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-2582-
hoteldruid-3.0.1/visualizza_tabelle.php:2583:$costi = esegui_query("select * from $tablecosti where tipo_costo = 'e' $cond_cassa$condizione_costi_propri order by idcosti");
hoteldruid-3.0.1/visualizza_tabelle.php-2584-$num_costi = numlin_query($costi);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-2786-
hoteldruid-3.0.1/visualizza_tabelle.php:2787:$costi = esegui_query("select * from $tablecosti where tipo_costo = 's' $cond_cassa$condizione_costi_propri order by idcosti");
hoteldruid-3.0.1/visualizza_tabelle.php-2788-$num_costi = numlin_query($costi);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-3162-if ($importa_prezzi) {
hoteldruid-3.0.1/visualizza_tabelle.php:3163:$anno_prec_esist = esegui_query("select * from $tableanni where idanni = '".($anno - 1)."' ");
hoteldruid-3.0.1/visualizza_tabelle.php-3164-if (numlin_query($anno_prec_esist) == 1) {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-3180-$idperiodi = $data_fine_periodi + 1;
hoteldruid-3.0.1/visualizza_tabelle.php:3181:$data_fine_periodi = esegui_query("select * from $tableperiodi where idperiodi = '$data_fine_periodi' ");
hoteldruid-3.0.1/visualizza_tabelle.php-3182-$data_fine_periodi = risul_query($data_fine_periodi,0,'datafine');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-3223-if ($tableperiodi_corr and $datainizio_prec) {
hoteldruid-3.0.1/visualizza_tabelle.php:3224:$prezzi_prec = esegui_query("select * from $tableperiodi_corr where datainizio = '$datainizio_prec' ");
hoteldruid-3.0.1/visualizza_tabelle.php-3225-if (numlin_query($prezzi_prec) == 1) {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-3227-$prezzo_prec = @risul_query($prezzi_prec,0,"tariffa$num1");
hoteldruid-3.0.1/visualizza_tabelle.php:3228:if ((string) $prezzo_prec != "") esegui_query("update $tableperiodi set tariffa$num1 = '$prezzo_prec' where idperiodi = '$idperiodi' ");
hoteldruid-3.0.1/visualizza_tabelle.php-3229-$prezzo_prec_p = @risul_query($prezzi_prec,0,"tariffa".$num1."p");
hoteldruid-3.0.1/visualizza_tabelle.php:3230:if ((string) $prezzo_prec_p != "") esegui_query("update $tableperiodi set tariffa$num1"."p = '$prezzo_prec_p' where idperiodi = '$idperiodi' ");
hoteldruid-3.0.1/visualizza_tabelle.php-3231-} # fine for $num1
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-3270-$periodipermessi = risul_query($costi_agg_importa,$num1,'periodipermessi_ca');
hoteldruid-3.0.1/visualizza_tabelle.php:3271:$costo_esistente = esegui_query("select idntariffe,periodipermessi_ca from $tablenometariffe where idntariffe = '$idntariffe' and nomecostoagg = '".aggslashdb($nomecostoagg)."' and periodipermessi_ca $LIKE '".substr($periodipermessi,0,1)."%' ");
hoteldruid-3.0.1/visualizza_tabelle.php-3272-if (numlin_query($costo_esistente)) {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-3286-} # fine for $num2
hoteldruid-3.0.1/visualizza_tabelle.php:3287:esegui_query("update $tablenometariffe set periodipermessi_ca = '$n_periodipermessi' where idntariffe = '$idntariffe' ");
hoteldruid-3.0.1/visualizza_tabelle.php-3288-} # fine if (numlin_query($costo_esistente))
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-3315-} # fine for $num2
hoteldruid-3.0.1/visualizza_tabelle.php:3316:esegui_query("update $tablenometariffe set periodipermessi_ca = '$n_periodipermessi' where idntariffe = '$idntariffe' ");
hoteldruid-3.0.1/visualizza_tabelle.php-3317-} # fine for $num1
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-3330-if ($id_utente_cambia != 1) {
hoteldruid-3.0.1/visualizza_tabelle.php:3331:$anno_attivato = esegui_query("select anno from $tableprivilegi where idutente = '$id_utente_cambia' and anno = '$anno' ");
hoteldruid-3.0.1/visualizza_tabelle.php-3332-$anno_attivato = numlin_query($anno_attivato);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-3468-unset($d_increment);
hoteldruid-3.0.1/visualizza_tabelle.php:3469:include(C_DATI_PATH."/selperiodimenu$anno.$id_utente_cambia.php");
hoteldruid-3.0.1/visualizza_tabelle.php-3470-$num_periodi_vecchi = count($y_ini_menu);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-3543-if (defined('C_CANCELLA_ANNO_ATTUALE') and C_CANCELLA_ANNO_ATTUALE == "NO" and $anno != $anno_attuale) {
hoteldruid-3.0.1/visualizza_tabelle.php:3544:$anno_attuale_esistente = esegui_query("select * from $tableanni where idanni = $anno_attuale");
hoteldruid-3.0.1/visualizza_tabelle.php-3545-if (numlin_query($anno_attuale_esistente) == 0) $anno_attuale = $anno;
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-3573-$tabelle_lock = lock_tabelle($tabelle_lock);
hoteldruid-3.0.1/visualizza_tabelle.php:3574:$anno_esiste = esegui_query("select * from $tableanni where idanni = $anno");
hoteldruid-3.0.1/visualizza_tabelle.php-3575-if (numlin_query($anno_esiste) > 0) {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-3586-esegui_query("drop table $tablesoldi");
hoteldruid-3.0.1/visualizza_tabelle.php:3587:esegui_query("delete from $tablepersonalizza where idpersonalizza = 'giorno_vedi_ini_sett$anno'");
hoteldruid-3.0.1/visualizza_tabelle.php:3588:esegui_query("delete from $tableanni where idanni = '$anno'");
hoteldruid-3.0.1/visualizza_tabelle.php:3589:esegui_query("delete from $tableinterconnessioni where anno = '$anno'");
hoteldruid-3.0.1/visualizza_tabelle.php:3590:$utenti_privilegi = esegui_query("select idutente from $tableprivilegi where anno = '$anno' ");
hoteldruid-3.0.1/visualizza_tabelle.php-3591-for ($num1 = 0 ; $num1 < numlin_query($utenti_privilegi) ; $num1++) {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-3595-} # fine for $num1
hoteldruid-3.0.1/visualizza_tabelle.php:3596:esegui_query("delete from $tableprivilegi where anno = '$anno'");
hoteldruid-3.0.1/visualizza_tabelle.php-3597-echo mex("L'anno",$pag)." $anno ".mex("è stato cancellato dal batabase",$pag).".<br>";
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-3624-$idntariffe = aggslashdb($idntariffe);
hoteldruid-3.0.1/visualizza_tabelle.php:3625:$costo_agg = esegui_query("select * from $tablenometariffe where idntariffe = '$idntariffe' ");
hoteldruid-3.0.1/visualizza_tabelle.php-3626-if (numlin_query($costo_agg) == 1) $nome_costo_agg = risul_query($costo_agg,0,"nomecostoagg");
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-3654-else {
hoteldruid-3.0.1/visualizza_tabelle.php:3655:esegui_query("delete from $tablenometariffe where idntariffe = '$idntariffe'");
hoteldruid-3.0.1/visualizza_tabelle.php-3656-$mostra_pag_principale = "";
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-3681-if (!$fine_comm or controlla_num_pos($fine_comm) != "SI") $fine_comm = "-1";
hoteldruid-3.0.1/visualizza_tabelle.php:3682:$comm = esegui_query("select * from $tableregole where tariffa_commissioni = '$numtariffa' and iddatainizio = '$ini_comm' and iddatafine = '$fine_comm' ");
hoteldruid-3.0.1/visualizza_tabelle.php-3683-if (numlin_query($comm) != 1) $errore = 1;
hoteldruid-3.0.1/visualizza_tabelle.php-3684-if (!$cancella and !$errore) {
hoteldruid-3.0.1/visualizza_tabelle.php:3685:$ini_comm = esegui_query("select * from $tableperiodi where idperiodi = '$ini_comm' ");
hoteldruid-3.0.1/visualizza_tabelle.php-3686-$ini_comm = formatta_data(risul_query($ini_comm,0,'datainizio'),$stile_data);
hoteldruid-3.0.1/visualizza_tabelle.php:3687:$fine_comm = esegui_query("select * from $tableperiodi where idperiodi = '$fine_comm' ");
hoteldruid-3.0.1/visualizza_tabelle.php-3688-$fine_comm = formatta_data(risul_query($fine_comm,0,'datafine'),$stile_data);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-3705-$idreg = risul_query($comm,0,'idregole');
hoteldruid-3.0.1/visualizza_tabelle.php:3706:esegui_query("delete from $tableregole where idregole = '$idreg'");
hoteldruid-3.0.1/visualizza_tabelle.php-3707-echo mex("Le commissioni sono state cancellate",$pag).".<br>";
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-3863-if ($tablenometariffe) {
hoteldruid-3.0.1/visualizza_tabelle.php:3864:esegui_query("update $tablenometariffe set periodipermessi_ca = '".$dati_ca[$numca]['periodipermessi']."".aggslashdb($n_periodiperm)."' where idntariffe = '".$dati_ca[$numca]['id']."'");
hoteldruid-3.0.1/visualizza_tabelle.php-3865-$dati_ca[$numca]['periodipermessi_orig'] = $dati_ca[$numca]['periodipermessi'].$n_periodiperm;
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-3961-if ($priv_mod_tariffe != "n") {
hoteldruid-3.0.1/visualizza_tabelle.php:3962:$prezzo_esist = esegui_query("select * from $tableperiodi where idperiodi = '$iniperiodo' ");
hoteldruid-3.0.1/visualizza_tabelle.php-3963-$agg_vett_tar_esp = array();
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-3982-if ($lista_sett_in_per[$num1] == 1) {
hoteldruid-3.0.1/visualizza_tabelle.php:3983:esegui_query("update $tableperiodi set tariffa$num2 = '$prezzo' where idperiodi >= '$iniperiodo' and idperiodi <= '$fineperiodo' ");
hoteldruid-3.0.1/visualizza_tabelle.php:3984:if ($dati_tariffe['tariffa'.$num2]['moltiplica'] != "p") esegui_query("update $tableperiodi set tariffa$num2"."p = NULL where idperiodi >= '$iniperiodo' and idperiodi <= '$fineperiodo' ");
hoteldruid-3.0.1/visualizza_tabelle.php-3985-aggiorna_tariffe_esporta($dati_tariffe,"tariffa$num2","$iniperiodo-$fineperiodo",$prezzo,"NO",$tableperiodi,$agg_vett_tar_esp,$num_agg_tar_esp);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-4004-if ($num3 <= $fineperiodo) {
hoteldruid-3.0.1/visualizza_tabelle.php:4005:esegui_query("update $tableperiodi set tariffa$num2 = '".$prezzo_vett[$num4]."' where idperiodi = '$num3' ");
hoteldruid-3.0.1/visualizza_tabelle.php:4006:if ($dati_tariffe['tariffa'.$num2]['moltiplica'] != "p") esegui_query("update $tableperiodi set tariffa$num2"."p = NULL where idperiodi = '$num3' ");
hoteldruid-3.0.1/visualizza_tabelle.php-4007-aggiorna_tariffe_esporta($dati_tariffe,"tariffa$num2",$num3,$prezzo_vett[$num4],"NO",$tableperiodi,$agg_vett_tar_esp,$num_agg_tar_esp);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-4013-else {
hoteldruid-3.0.1/visualizza_tabelle.php:4014:esegui_query("update $tableperiodi set tariffa$num2 = NULL where idperiodi >= '$iniperiodo' and idperiodi <= '$fineperiodo' ");
hoteldruid-3.0.1/visualizza_tabelle.php:4015:if ($dati_tariffe['tariffa'.$num2]['moltiplica'] != "p") esegui_query("update $tableperiodi set tariffa$num2"."p = NULL where idperiodi >= '$iniperiodo' and idperiodi <= '$fineperiodo' ");
hoteldruid-3.0.1/visualizza_tabelle.php-4016-aggiorna_tariffe_esporta($dati_tariffe,"tariffa$num2","$iniperiodo-$fineperiodo","0","NO",$tableperiodi,$agg_vett_tar_esp,$num_agg_tar_esp);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-4023-if ($lista_sett_in_per[$num1] == 1) {
hoteldruid-3.0.1/visualizza_tabelle.php:4024:esegui_query("update $tableperiodi set tariffa$num2"."p = '$prezzop' where idperiodi >= '$iniperiodo' and idperiodi <= '$fineperiodo' ");
hoteldruid-3.0.1/visualizza_tabelle.php-4025-aggiorna_tariffe_esporta($dati_tariffe,"tariffa$num2","$iniperiodo-$fineperiodo","NO",$prezzop,$tableperiodi,$agg_vett_tar_esp,$num_agg_tar_esp);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-4044-if ($num3 <= $fineperiodo) {
hoteldruid-3.0.1/visualizza_tabelle.php:4045:esegui_query("update $tableperiodi set tariffa$num2"."p = '".$prezzo_vett[$num4]."' where idperiodi = '$num3' ");
hoteldruid-3.0.1/visualizza_tabelle.php-4046-aggiorna_tariffe_esporta($dati_tariffe,"tariffa$num2",$num3,"NO",$prezzo_vett[$num4],$tableperiodi,$agg_vett_tar_esp,$num_agg_tar_esp);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-4052-else {
hoteldruid-3.0.1/visualizza_tabelle.php:4053:esegui_query("update $tableperiodi set tariffa$num2"."p = NULL where idperiodi >= '$iniperiodo' and idperiodi <= '$fineperiodo' ");
hoteldruid-3.0.1/visualizza_tabelle.php-4054-aggiorna_tariffe_esporta($dati_tariffe,"tariffa$num2","$iniperiodo-$fineperiodo","NO","0",$tableperiodi,$agg_vett_tar_esp,$num_agg_tar_esp);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-4093-else {
hoteldruid-3.0.1/visualizza_tabelle.php:4094:esegui_query("update $tablenometariffe set tariffa$num2 = 'p".$dati_ca[$numca]["tariffa$num2"]."' where idntariffe = '".$dati_ca[$numca]['id']."'");
hoteldruid-3.0.1/visualizza_tabelle.php-4095-$dati_ca[$numca]["tipo_associa_tariffa$num2"] = "p";
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-4199-if ($id_utente == 1 and $mostra_pag_principale != "NO") {
hoteldruid-3.0.1/visualizza_tabelle.php:4200:$data_fine_periodi = esegui_query("select * from $tableperiodi where idperiodi = '$max_periodo' ");
hoteldruid-3.0.1/visualizza_tabelle.php-4201-$data_fine_periodi = risul_query($data_fine_periodi,0,'datainizio');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-4341-$oggi = date("Y-m-d",(time() + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/visualizza_tabelle.php:4342:$periodi = esegui_query("select * from $tableperiodi where datafine >= '$oggi' order by idperiodi");
hoteldruid-3.0.1/visualizza_tabelle.php-4343-if (!numlin_query($periodi) or $oggi > ($anno + 1)."-01-10") $periodi = esegui_query("select * from $tableperiodi order by idperiodi");
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-4346-
hoteldruid-3.0.1/visualizza_tabelle.php:4347:include(C_DATI_PATH."/selperiodimenu$anno.$id_utente.php");
hoteldruid-3.0.1/visualizza_tabelle.php-4348-$raggr_per = 0;
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-4551-if (defined('C_CANCELLA_ANNO_ATTUALE') and C_CANCELLA_ANNO_ATTUALE == "NO" and $anno != $anno_attuale) {
hoteldruid-3.0.1/visualizza_tabelle.php:4552:$anno_attuale_esistente = esegui_query("select * from $tableanni where idanni = $anno_attuale");
hoteldruid-3.0.1/visualizza_tabelle.php-4553-if (numlin_query($anno_attuale_esistente) == 0) $anno_attuale = $anno;
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-4727-for ($num2 = 0 ; $num2 < $dati_ca[$num1]['num_beniinv'] ; $num2++) {
hoteldruid-3.0.1/visualizza_tabelle.php:4728:$nome_bene = esegui_query("select * from $tablebeniinventario where idbeniinventario = '".$dati_ca[$num1]['id_beneinv'][$num2]."' ");
hoteldruid-3.0.1/visualizza_tabelle.php-4729-if (numlin_query($nome_bene)) $nome_bene = risul_query($nome_bene,0,'nome_bene');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-4734-if ($dati_ca[$num1]['tipo_beniinv'] == "mag") {
hoteldruid-3.0.1/visualizza_tabelle.php:4735:$nome_mag = esegui_query("select * from $tablemagazzini where idmagazzini = '".$dati_ca[$num1]['mag_beniinv']."' ");
hoteldruid-3.0.1/visualizza_tabelle.php-4736-if (numlin_query($nome_mag)) $nome_mag = risul_query($nome_mag,0,'nome_magazzino');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-4868-$ini_comm = $ini_comm[0];
hoteldruid-3.0.1/visualizza_tabelle.php:4869:$ini_comm = esegui_query("select * from $tableperiodi where idperiodi = '$ini_comm' ");
hoteldruid-3.0.1/visualizza_tabelle.php-4870-$ini_comm = formatta_data(risul_query($ini_comm,0,'datainizio'),$stile_data);
hoteldruid-3.0.1/visualizza_tabelle.php:4871:$fine_comm = esegui_query("select * from $tableperiodi where idperiodi = '$fine_comm' ");
hoteldruid-3.0.1/visualizza_tabelle.php-4872-$fine_comm = formatta_data(risul_query($fine_comm,0,'datafine'),$stile_data);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-4940-if ($modifica_clienti == "PROPRI" or $modifica_clienti == "GRUPPI") {
hoteldruid-3.0.1/visualizza_tabelle.php:4941:$condizione_utente_canc = "where ( utente_inserimento = '$id_utente'";
hoteldruid-3.0.1/visualizza_tabelle.php-4942-if ($modifica_clienti == "GRUPPI") {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-4958-$limite_transazioni_vecchie = date("Y-m-d H:i:s",(time() - (15 * 60) + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/visualizza_tabelle.php:4959:esegui_query("delete from $tabletransazioni where ultimo_accesso <= '$limite_transazioni_vecchie' and tipo_transazione = 'cn_cc' ");
hoteldruid-3.0.1/visualizza_tabelle.php-4960-} # fine if (defined('C_URL_MOD_EXT_CARTE_CREDITO') and C_URL_MOD_EXT_CARTE_CREDITO != "")
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-5040-if ($clienti_compagni) {
hoteldruid-3.0.1/visualizza_tabelle.php:5041:$clienti_compagni = esegui_query("select idclienti_compagni from $tableclienti where idclienti = '$idclienti' ");
hoteldruid-3.0.1/visualizza_tabelle.php-5042-$clienti_compagni = substr(risul_query($clienti_compagni,0,"idclienti_compagni"),1,-1);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-5045-for ($num2 = 0 ; $num2 < count($clienti_compagni) ; $num2++) {
hoteldruid-3.0.1/visualizza_tabelle.php:5046:$idclienti_compagni = esegui_query("select idclienti_compagni from $tableclienti where idclienti = '".$clienti_compagni[$num2]."' ");
hoteldruid-3.0.1/visualizza_tabelle.php-5047-$idclienti_compagni = str_replace(",".$idclienti.",",",",risul_query($idclienti_compagni,0,'idclienti_compagni'));
hoteldruid-3.0.1/visualizza_tabelle.php:5048:esegui_query("update $tableclienti set idclienti_compagni = '$idclienti_compagni' where idclienti = '".$clienti_compagni[$num2]."' ");
hoteldruid-3.0.1/visualizza_tabelle.php-5049-} # fine for $num2
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-5051-} # fine if ($clienti_compagni)
hoteldruid-3.0.1/visualizza_tabelle.php:5052:esegui_query("delete from $tableclienti where idclienti = '$idclienti'");
hoteldruid-3.0.1/visualizza_tabelle.php:5053:esegui_query("delete from $tablerelclienti where idclienti = '$idclienti'");
hoteldruid-3.0.1/visualizza_tabelle.php-5054-} # fine if ($cancella_cliente_id[$idclienti])
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-5086-$limite_transazioni_vecchie = date("Y-m-d H:i:s",(time() - ($minuti_durata_blocco * 60) + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/visualizza_tabelle.php:5087:esegui_query("delete from $tabletransazioni where ultimo_accesso <= '$limite_transazioni_vecchie' and tipo_transazione = 'er_cc' ");
hoteldruid-3.0.1/visualizza_tabelle.php:5088:$err_transazioni = esegui_query("select * from $tabletransazioni where tipo_transazione = 'er_cc' and dati_transazione2 = '$id_utente' ");
hoteldruid-3.0.1/visualizza_tabelle.php-5089-$err_transazioni2 = esegui_query("select * from $tabletransazioni where tipo_transazione = 'er_cc' ");
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-5138-$idprenota = risul_query($prenota,$num2,'idprenota');
hoteldruid-3.0.1/visualizza_tabelle.php:5139:$ospiti = esegui_query("select idclienti from $tablerclientiprenota_mostra where idprenota = '$idprenota' ");
hoteldruid-3.0.1/visualizza_tabelle.php-5140-for ($num3 = 0 ; $num3 < numlin_query($ospiti) ; $num3++) $cliente_attivo[risul_query($ospiti,$num3,'idclienti')] = 1;
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-5148-$idprenota = risul_query($prenotacanc,$num2,'idprenota');
hoteldruid-3.0.1/visualizza_tabelle.php:5149:$ospiti = esegui_query("select idclienti from $tablerclientiprenota_mostra where idprenota = '$idprenota' ");
hoteldruid-3.0.1/visualizza_tabelle.php-5150-for ($num3 = 0 ; $num3 < numlin_query($ospiti) ; $num3++) $cliente_attivo[risul_query($ospiti,$num3,'idclienti')] = 1;
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-5206-if ($cancella_cliente_id[$idclienti]) {
hoteldruid-3.0.1/visualizza_tabelle.php:5207:esegui_query("delete from $tablerelclienti where idclienti = '$idclienti' and tipo = 'cc' ");
hoteldruid-3.0.1/visualizza_tabelle.php-5208-$num_cc_canc++;
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-5305-$cognome_cerca = aggslashdb(trim($cognome_cerca));
hoteldruid-3.0.1/visualizza_tabelle.php:5306:$campi_cerca_clienti = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'campi_cerca_clienti' and idutente = '$id_utente'");
hoteldruid-3.0.1/visualizza_tabelle.php-5307-if (!numlin_query($campi_cerca_clienti)) {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-5327-} # fine if ($cognome_cerca)
hoteldruid-3.0.1/visualizza_tabelle.php:5328:else $clienti = esegui_query("select * from $tableclienti where max_num_ordine = 1 $condizione_utente order by cognome");
hoteldruid-3.0.1/visualizza_tabelle.php-5329-$num_clienti = numlin_query($clienti);
hoteldruid-3.0.1/visualizza_tabelle.php-5330-
hoteldruid-3.0.1/visualizza_tabelle.php:5331:$num_clienti_mostra = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'num_righe_tab_tutti_clienti' and idutente = '$id_utente'");
hoteldruid-3.0.1/visualizza_tabelle.php-5332-$num_clienti_mostra = risul_query($num_clienti_mostra,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-5423-$tutte_prenota_mod = "";
hoteldruid-3.0.1/visualizza_tabelle.php:5424:$prenotazioni = esegui_query("select distinct $tableprenota.idprenota,$tableprenota.idclienti,$tableprenota.utente_inserimento,$tableprenota.idappartamenti,$tableprenota.commento,$tableprenota.iddatainizio,$tableprenota.iddatafine,$tableprenota.num_persone,$tableprenota.caparra,$tableprenota.pagato,$tableprenota.tariffa_tot,$tableprenota.datainserimento from $tableprenota left outer join $tablerclientiprenota on $tableprenota.idprenota = $tablerclientiprenota.idprenota where $tableprenota.idclienti = '$idclienti' or $tablerclientiprenota.idclienti = '$idclienti' order by $tableprenota.idprenota ");
hoteldruid-3.0.1/visualizza_tabelle.php-5425-$num_prenotazioni = numlin_query($prenotazioni);
hoteldruid-3.0.1/visualizza_tabelle.php:5426:$prenotazioni_canc = esegui_query("select distinct $tableprenotacanc.idprenota,$tableprenotacanc.idclienti,$tableprenotacanc.utente_inserimento,$tableprenotacanc.idappartamenti,$tableprenotacanc.commento,$tableprenotacanc.iddatainizio,$tableprenotacanc.iddatafine,$tableprenotacanc.num_persone,$tableprenotacanc.caparra,$tableprenotacanc.pagato,$tableprenotacanc.tariffa_tot,$tableprenotacanc.datainserimento from $tableprenotacanc left outer join $tablerclientiprenota on $tableprenotacanc.idprenota = $tablerclientiprenota.idprenota where $tableprenotacanc.idclienti = '$idclienti' or $tablerclientiprenota.idclienti = '$idclienti' order by $tableprenotacanc.idprenota ");
hoteldruid-3.0.1/visualizza_tabelle.php-5427-$num_prenotazioni_canc = numlin_query($prenotazioni_canc);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-5520-$lista_clienti_contr .= ",";
hoteldruid-3.0.1/visualizza_tabelle.php:5521:$nomi_contratti = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'nomi_contratti' and idutente = '$id_utente'");
hoteldruid-3.0.1/visualizza_tabelle.php-5522-$nomi_contratti = risul_query($nomi_contratti,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-5586-$continua = 1;
hoteldruid-3.0.1/visualizza_tabelle.php:5587:$regola = esegui_query("select * from $tableregole where idregole = '$idregole'");
hoteldruid-3.0.1/visualizza_tabelle.php-5588-if (!numlin_query($regola)) $continua = 0;
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-5638-if ($tariffa_per_app) $aggiorna_ic_disp = 1;
hoteldruid-3.0.1/visualizza_tabelle.php:5639:esegui_query("delete from $tableregole where idregole = '$idregole'");
hoteldruid-3.0.1/visualizza_tabelle.php-5640-echo mex("La regola di assegnazione è stata cancellata",$pag).".<br>
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-5722-$id_data_inizio = risul_query($regole,$num1,'iddatainizio');
hoteldruid-3.0.1/visualizza_tabelle.php:5723:$data_inizio = esegui_query("select * from $tableperiodi where idperiodi = $id_data_inizio");
hoteldruid-3.0.1/visualizza_tabelle.php-5724-$data_inizio = risul_query($data_inizio,0,'datainizio');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-5726-$id_data_fine = risul_query($regole,$num1,'iddatafine');
hoteldruid-3.0.1/visualizza_tabelle.php:5727:$data_fine = esegui_query("select * from $tableperiodi where idperiodi = $id_data_fine");
hoteldruid-3.0.1/visualizza_tabelle.php-5728-$data_fine = risul_query($data_fine,0,'datafine');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-5923-$id_utente_regola4 = risul_query($regole,$num1,'iddatainizio');
hoteldruid-3.0.1/visualizza_tabelle.php:5924:$nome_utente_regola4 = esegui_query("select nome_utente from $tableutenti where idutenti = '$id_utente_regola4'");
hoteldruid-3.0.1/visualizza_tabelle.php-5925-$nome_utente_regola4 = risul_query($nome_utente_regola4,0,'nome_utente');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-5992-} # fine if (!$n_app)
hoteldruid-3.0.1/visualizza_tabelle.php:5993:$app_esistente = esegui_query("select * from $tableappartamenti where idappartamenti = '".aggslashdb($n_app)."' ");
hoteldruid-3.0.1/visualizza_tabelle.php-5994-$app_esistente = numlin_query($app_esistente);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-6021-$mess_letti .= mex("[1]L'appartamento",'unit.php')." <b>$n_letto</b> ".mex("[1]verrà aggiunto",'unit.php').".<br>";
hoteldruid-3.0.1/visualizza_tabelle.php:6022:$app_esistente = esegui_query("select * from $tableappartamenti where idappartamenti = '".aggslashdb($n_letto)."' ");
hoteldruid-3.0.1/visualizza_tabelle.php-6023-$app_esistente = numlin_query($app_esistente);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-6065-$app_vicini = substr($app_vicini,1);
hoteldruid-3.0.1/visualizza_tabelle.php:6066:if ($app_vicini) esegui_query("update $tableappartamenti set app_vicini = '".aggslashdb($app_vicini)."' where idappartamenti = '".aggslashdb($n_letto)."' ");
hoteldruid-3.0.1/visualizza_tabelle.php-6067-echo mex("[1]L'appartamento",'unit.php')." <b>$n_letto</b> ".mex("[1]è stato aggiunto",'unit.php').".<br>";
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-6133-
hoteldruid-3.0.1/visualizza_tabelle.php:6134:$attiva_checkin = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'attiva_checkin' and idutente = '$id_utente'");
hoteldruid-3.0.1/visualizza_tabelle.php-6135-$attiva_checkin = risul_query($attiva_checkin,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-6217-if ($attiva_checkin == "SI") {
hoteldruid-3.0.1/visualizza_tabelle.php:6218:$checkin_presente = esegui_query("select idprenota from $tableprenota where idappartamenti = '".aggslashdb($idappartamenti)."' and checkin is not NULL and checkout is NULL");
hoteldruid-3.0.1/visualizza_tabelle.php-6219-if (numlin_query($checkin_presente) == 1) $stile_checkin = " style=\"background-image:url(img/fr_sx_checkin.gif); background-repeat:no-repeat; background-position: left center;\"";
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-6223-if ($priv_vedi_inv_app == "s" or $app_consentiti_inv[$idappartamenti] != "NO") {
hoteldruid-3.0.1/visualizza_tabelle.php:6224:$inv_mancante = esegui_query("select distinct $tablerelinventario.quantita from $tablerelinventario inner join $tablebeniinventario on $tablerelinventario.idbeneinventario = $tablebeniinventario.idbeniinventario where $tablerelinventario.idappartamento = '".aggslashdb($idappartamenti)."' and $tablerelinventario.quantita < $tablerelinventario.quantita_min_predef $condizione_beni_propri ");
hoteldruid-3.0.1/visualizza_tabelle.php-6225-if (numlin_query($inv_mancante)) $stile_inv = " style=\"background-image:url(img/fr_sx_rossa.gif); background-repeat:no-repeat; background-position: left center;\"";
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-6357-} # fine if ((string) $app_vicini[$num1] != "")
hoteldruid-3.0.1/visualizza_tabelle.php:6358:if ($n_app_vicini != $d_app_vicini) esegui_query("update $tableappartamenti set app_vicini = '".aggslashdb($n_app_vicini)."' where idappartamenti = '".aggslashdb($idappartamenti)."' ");
hoteldruid-3.0.1/visualizza_tabelle.php-6359-} # fine for $num1
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-6487-if ($id_utente != 1 or !$n_utente_ins_bene or controlla_num_pos($n_utente_ins_bene) != "SI") $n_utente_ins_bene = $id_utente;
hoteldruid-3.0.1/visualizza_tabelle.php:6488:$utente_esist = esegui_query("select idutenti from $tableutenti where idutenti = '".aggslashdb($n_utente_ins_bene)."' ");
hoteldruid-3.0.1/visualizza_tabelle.php-6489-if (numlin_query($utente_esist) != 1) $continua = "NO";
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-6504-$tabelle_lock = lock_tabelle($tabelle_lock,$altre_tab_lock);
hoteldruid-3.0.1/visualizza_tabelle.php:6505:$bene_in_mag = esegui_query("select idbeneinventario from $tablerelinventario where idbeneinventario = '$idinv' limit 1");
hoteldruid-3.0.1/visualizza_tabelle.php-6506-if (numlin_query($bene_in_mag)) $continua = "NO";
hoteldruid-3.0.1/visualizza_tabelle.php:6507:$bene_esist = esegui_query("select utente_inserimento from $tablebeniinventario where idbeniinventario = '$idinv'");
hoteldruid-3.0.1/visualizza_tabelle.php-6508-if (numlin_query($bene_esist)) if ($id_utente != 1 and $id_utente != risul_query($bene_esist,0,'utente_inserimento')) $continua = "NO";
hoteldruid-3.0.1/visualizza_tabelle.php-6509-if ($continua != "NO") {
hoteldruid-3.0.1/visualizza_tabelle.php:6510:esegui_query("delete from $tablebeniinventario where idbeniinventario = '$idinv' ");
hoteldruid-3.0.1/visualizza_tabelle.php-6511-$frase_tab_beni_inv = "<b>".mex("bene eliminato",$pag)."</b>.<br>";
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-6533-else {
hoteldruid-3.0.1/visualizza_tabelle.php:6534:$utente_esist = esegui_query("select idutenti from $tableutenti where idutenti = '".aggslashdb($n_utente_ins_mag)."' ");
hoteldruid-3.0.1/visualizza_tabelle.php-6535-if (numlin_query($utente_esist) != 1) $continua = "NO";
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-6552-$tabelle_lock = lock_tabelle($tabelle_lock,$altre_tab_lock);
hoteldruid-3.0.1/visualizza_tabelle.php:6553:$bene_in_mag = esegui_query("select idmagazzino from $tablerelinventario where idmagazzino = '$idmag' limit 1");
hoteldruid-3.0.1/visualizza_tabelle.php-6554-if (numlin_query($bene_in_mag)) $continua = "NO";
hoteldruid-3.0.1/visualizza_tabelle.php:6555:$mag_esist = esegui_query("select utente_inserimento from $tablemagazzini where idmagazzini = '$idmag'");
hoteldruid-3.0.1/visualizza_tabelle.php-6556-if (numlin_query($mag_esist)) if ($id_utente != 1 and $id_utente != risul_query($mag_esist,0,'utente_inserimento')) $continua = "NO";
hoteldruid-3.0.1/visualizza_tabelle.php-6557-if ($continua != "NO") {
hoteldruid-3.0.1/visualizza_tabelle.php:6558:esegui_query("delete from $tablemagazzini where idmagazzini = '$idmag' ");
hoteldruid-3.0.1/visualizza_tabelle.php-6559-echo "<b>".mex("magazzino eliminato",$pag)."</b>.<br>";
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-6590-if (substr($app_a,0,1) != "a" and substr($app_a,0,7) != "tariffa") $continua = "NO";
hoteldruid-3.0.1/visualizza_tabelle.php:6591:$app_da_esist = esegui_query("select idappartamenti from $tableappartamenti where idappartamenti = '".aggslashdb($app_da)."' ");
hoteldruid-3.0.1/visualizza_tabelle.php-6592-if (numlin_query($app_da_esist) != 1) $continua = "NO";
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-6597-if (substr($app_a,0,1) == "a") {
hoteldruid-3.0.1/visualizza_tabelle.php:6598:$app_a_esist = esegui_query("select idappartamenti from $tableappartamenti where idappartamenti = '".aggslashdb(substr($app_a,1))."' ");
hoteldruid-3.0.1/visualizza_tabelle.php-6599-if (numlin_query($app_a_esist) == 1) $app_a_vett[substr($app_a,1)] = 1;
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-6601-else {
hoteldruid-3.0.1/visualizza_tabelle.php:6602:$regola2 = esegui_query("select * from $tableregole where tariffa_per_app = '".aggslashdb($app_a)."' ");
hoteldruid-3.0.1/visualizza_tabelle.php-6603-if (numlin_query($regola2) == 1) {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-6609-if ($priv_vedi_beni_inv == "p" or $priv_vedi_beni_inv == "g") {
hoteldruid-3.0.1/visualizza_tabelle.php:6610:$condizione_beni_propri = "where ( utente_inserimento = '$id_utente'";
hoteldruid-3.0.1/visualizza_tabelle.php-6611-if ($priv_vedi_beni_inv == "g") {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-6621-unset($beni_importa_vett);
hoteldruid-3.0.1/visualizza_tabelle.php:6622:$beni_importa = esegui_query("select * from $tablerelinventario where idappartamento = '".aggslashdb($app_da)."' ");
hoteldruid-3.0.1/visualizza_tabelle.php-6623-$num_beni_importa = numlin_query($beni_importa);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-6633-$idinv = risul_query($beni_inv,$num2,'idbeniinventario');
hoteldruid-3.0.1/visualizza_tabelle.php:6634:esegui_query("delete from $tablerelinventario where idappartamento = '".aggslashdb($idapp)."' and idbeneinventario = '$idinv' ");
hoteldruid-3.0.1/visualizza_tabelle.php-6635-if ($beni_importa_vett[$idinv]) {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-6663-if ($priv_vedi_beni_inv == "p" or $priv_vedi_beni_inv == "g") {
hoteldruid-3.0.1/visualizza_tabelle.php:6664:$condizione_beni_propri = "where ( utente_inserimento = '$id_utente'";
hoteldruid-3.0.1/visualizza_tabelle.php-6665-if ($priv_vedi_beni_inv == "g") {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-6692-$modificati = 1;
hoteldruid-3.0.1/visualizza_tabelle.php:6693:esegui_query("update $tablebeniinventario set nome_bene = '".aggslashdb(${"nome_bene".$idinv})."' where idbeniinventario = '$idinv' ");
hoteldruid-3.0.1/visualizza_tabelle.php-6694-} # fine if (${"nome_bene".$idinv} != $nome_bene)
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-6696-$modificati = 1;
hoteldruid-3.0.1/visualizza_tabelle.php:6697:esegui_query("update $tablebeniinventario set codice_bene = '".aggslashdb(${"codice_bene".$idinv})."' where idbeniinventario = '$idinv' ");
hoteldruid-3.0.1/visualizza_tabelle.php-6698-} # fine if (${"codice_bene".$idinv} != $codice_bene)
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-6700-$modificati = 1;
hoteldruid-3.0.1/visualizza_tabelle.php:6701:esegui_query("update $tablebeniinventario set descrizione_bene = '".aggslashdb(${"descrizione_bene".$idinv})."' where idbeniinventario = '$idinv' ");
hoteldruid-3.0.1/visualizza_tabelle.php-6702-} # fine if (${"descrizione_bene".$idinv} != $descrizione_bene)
hoteldruid-3.0.1/visualizza_tabelle.php-6703-if ($id_utente == 1 and ${"utente_bene".$idinv} != $utente_ins_bene and controlla_num_pos(${"utente_bene".$idinv}) == "SI") {
hoteldruid-3.0.1/visualizza_tabelle.php:6704:$utente_esist = esegui_query("select idutenti from $tableutenti where idutenti = '".${"utente_bene".$idinv}."' ");
hoteldruid-3.0.1/visualizza_tabelle.php-6705-if (numlin_query($utente_esist)) {
hoteldruid-3.0.1/visualizza_tabelle.php-6706-$modificati = 1;
hoteldruid-3.0.1/visualizza_tabelle.php:6707:esegui_query("update $tablebeniinventario set utente_inserimento = '".${"utente_bene".$idinv}."' where idbeniinventario = '$idinv' ");
hoteldruid-3.0.1/visualizza_tabelle.php-6708-} # fine if (numlin_query($utente_esist))
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-6733-if ($priv_vedi_beni_inv == "p" or $priv_vedi_beni_inv == "g") {
hoteldruid-3.0.1/visualizza_tabelle.php:6734:$condizione_beni_propri = "where ( utente_inserimento = '$id_utente'";
hoteldruid-3.0.1/visualizza_tabelle.php-6735-if ($priv_vedi_beni_inv == "g") {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-6769-if ($priv_vedi_inv_mag == "p" or $priv_vedi_inv_mag == "g") {
hoteldruid-3.0.1/visualizza_tabelle.php:6770:$condizione_mag_propri = "where ( utente_inserimento = '$id_utente'";
hoteldruid-3.0.1/visualizza_tabelle.php-6771-if ($priv_vedi_inv_mag == "g") {
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-6789-$freccia_rossa = "";
hoteldruid-3.0.1/visualizza_tabelle.php:6790:$beni_in_mag = esegui_query("select distinct $tablerelinventario.quantita,$tablerelinventario.quantita_min_predef from $tablerelinventario inner join $tablebeniinventario on $tablerelinventario.idbeneinventario = $tablebeniinventario.idbeniinventario where $tablerelinventario.idmagazzino = '$idmag' $condizione_beni_propri_rel");
hoteldruid-3.0.1/visualizza_tabelle.php-6791-$num_beni_in_mag = numlin_query($beni_in_mag);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-6826-$freccia_rossa = "";
hoteldruid-3.0.1/visualizza_tabelle.php:6827:$beni_in_mag = esegui_query("select distinct $tablerelinventario.quantita,$tablerelinventario.quantita_min_predef from $tablerelinventario inner join $tablebeniinventario on $tablerelinventario.idbeneinventario = $tablebeniinventario.idbeniinventario where $tablerelinventario.idappartamento = '$idapp' $condizione_beni_propri_rel");
hoteldruid-3.0.1/visualizza_tabelle.php-6828-$num_beni_in_mag = numlin_query($beni_in_mag);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-6883-
hoteldruid-3.0.1/visualizza_tabelle.php:6884:$ordine_inventario = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'ordine_inventario' and idutente = '$id_utente'");
hoteldruid-3.0.1/visualizza_tabelle.php-6885-$ordine_inventario = risul_query($ordine_inventario,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-6901-$mancanti = 0;
hoteldruid-3.0.1/visualizza_tabelle.php:6902:$beni_in_mag = esegui_query("select quantita,quantita_min_predef from $tablerelinventario where idbeneinventario = '$idinv' ");
hoteldruid-3.0.1/visualizza_tabelle.php-6903-$num_beni_in_mag = numlin_query($beni_in_mag);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-7047-if (!$dir_salva) {
hoteldruid-3.0.1/visualizza_tabelle.php:7048:$contr_salva = esegui_query("select * from $tablecontratti where tipo = 'dir' and numero = '$num_contr' ");
hoteldruid-3.0.1/visualizza_tabelle.php-7049-if (numlin_query($contr_salva)) $dir_salva = formatta_dir_salva_doc(risul_query($contr_salva,0,'testo'));
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-7052-$nome_contr = $nomi_contratti['salv'][$num_contr];
hoteldruid-3.0.1/visualizza_tabelle.php:7053:$dati_contr = esegui_query("select * from $tablecontratti where numero = '$num_contr' and tipo $LIKE 'contr%' ");
hoteldruid-3.0.1/visualizza_tabelle.php-7054-$tipo_contratto = risul_query($dati_contr,0,'tipo');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-7219-
hoteldruid-3.0.1/visualizza_tabelle.php:7220:$num_vedi_in_tab = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'num_righe_tab_doc_salvati' and idutente = '$id_utente'");
hoteldruid-3.0.1/visualizza_tabelle.php-7221-$num_vedi_in_tab = risul_query($num_vedi_in_tab,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-7236-$contratti_visti[$dir_salva."/".$nome_contr] = 1;
hoteldruid-3.0.1/visualizza_tabelle.php:7237:$dati_contr = esegui_query("select * from $tablecontratti where numero = '$num_contr' and tipo $LIKE 'contr%' ");
hoteldruid-3.0.1/visualizza_tabelle.php-7238-$tipo_contratto = risul_query($dati_contr,0,'tipo');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-7349-$link_modifica = "SI";
hoteldruid-3.0.1/visualizza_tabelle.php:7350:$prenotazione = esegui_query("select * from $tableprenota where idprenota = '".aggslashdb($num2)."' ");
hoteldruid-3.0.1/visualizza_tabelle.php-7351-if (!numlin_query($prenotazione)) $link_modifica = "NO";
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-7927-if ($id_utente != 1) {
hoteldruid-3.0.1/visualizza_tabelle.php:7928:$privilegi_annuali_ut = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno != '1' ");
hoteldruid-3.0.1/visualizza_tabelle.php-7929-$num_priv_annuali_ut = numlin_query($privilegi_annuali_ut);
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-8012-if (!$prezzi['tasse']) {
hoteldruid-3.0.1/visualizza_tabelle.php:8013:$arrotond_tasse = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'arrotond_tasse' and idutente = '$id_utente'");
hoteldruid-3.0.1/visualizza_tabelle.php-8014-$prezzi['tasse_arrotond'] = (double) risul_query($arrotond_tasse,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/visualizza_tabelle.php-8590-
hoteldruid-3.0.1/visualizza_tabelle.php:8591:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/visualizza_tabelle.php-8592-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/messaggi.php-27-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/messaggi.php:28:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/messaggi.php-29-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/messaggi.php-50-$tablerelgruppi = $PHPR_TAB_PRE."relgruppi";
hoteldruid-3.0.1/messaggi.php:51:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/messaggi.php-52-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/messaggi.php-54-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/messaggi.php:55:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/messaggi.php-56-$priv_mod_pers = risul_query($privilegi_globali_utente,0,'priv_mod_pers');
##############################################
hoteldruid-3.0.1/messaggi.php-86-if ($prendi_gruppi == "SI") {
hoteldruid-3.0.1/messaggi.php:87:$gruppi_utente = esegui_query("select idgruppo from $tablerelgruppi where idutente = '$id_utente' and idgruppo is not NULL ");
hoteldruid-3.0.1/messaggi.php-88-$num_gruppi_utente = numlin_query($gruppi_utente);
##############################################
hoteldruid-3.0.1/messaggi.php-90-$idgruppo = risul_query($gruppi_utente,$num1,'idgruppo');
hoteldruid-3.0.1/messaggi.php:91:$utenti_gruppo = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$idgruppo' ");
hoteldruid-3.0.1/messaggi.php-92-$num_utenti_gruppo = numlin_query($utenti_gruppo);
##############################################
hoteldruid-3.0.1/messaggi.php-127-$titolo = "HotelDruid: ".mex("Messaggi",$pag);
hoteldruid-3.0.1/messaggi.php:128:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/messaggi.php-129-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/messaggi.php-205-$idmessaggi = risul_query($messaggi,$num1,'idmessaggi');
hoteldruid-3.0.1/messaggi.php:206:esegui_query("delete from $tablemessaggi where idmessaggi = '$idmessaggi'");
hoteldruid-3.0.1/messaggi.php-207-} # fine if ($utente_attivo_trovato == "NO")
##############################################
hoteldruid-3.0.1/messaggi.php-214-$tabelle_lock = lock_tabelle($tabelle_lock,$altre_tab_lock);
hoteldruid-3.0.1/messaggi.php:215:$messaggio = esegui_query("select idutenti,tipo_messaggio,dati_messaggio1,mittente from $tablemessaggi where idmessaggi = '".aggslashdb($idmessaggi)."'");
hoteldruid-3.0.1/messaggi.php-216-if (numlin_query($messaggio) == 1) {
##############################################
hoteldruid-3.0.1/messaggi.php-235-$idutenti = risul_query($messaggio,0,'idutenti');
hoteldruid-3.0.1/messaggi.php:236:esegui_query("update $tablemessaggi set idutenti = '".str_replace(",$id_utente,",",",$idutenti)."' where idmessaggi = '$idmessaggi'");
hoteldruid-3.0.1/messaggi.php-237-cancella_messaggi_vecchi($tableprivilegi,$tablemessaggi);
##############################################
hoteldruid-3.0.1/messaggi.php-291-$idutenti_visto = risul_query($messaggi,$num1,'idutenti_visto');
hoteldruid-3.0.1/messaggi.php:292:esegui_query("update $tablemessaggi set idutenti = '".str_replace(",$id_utente,",",",$idutenti)."', idutenti_visto = '".str_replace(",$id_utente,",",",$idutenti_visto)."' where idmessaggi = '$idmessaggi'");
hoteldruid-3.0.1/messaggi.php-293-} # fine for $num1
##############################################
hoteldruid-3.0.1/messaggi.php-305-$tabelle_lock = lock_tabelle($tabelle_lock,$altre_tab_lock);
hoteldruid-3.0.1/messaggi.php:306:$server_email_tab_messaggi = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'server_email_tab_messaggi' and idutente = '$id_utente' ");
hoteldruid-3.0.1/messaggi.php-307-if (numlin_query($server_email_tab_messaggi)) {
##############################################
hoteldruid-3.0.1/messaggi.php-322-if ($email_conn) {
hoteldruid-3.0.1/messaggi.php:323:$messaggi_visti = esegui_query("select * from $tablecache where numero = '$id_utente' and tipo = 'messv_em' ");
hoteldruid-3.0.1/messaggi.php-324-if (numlin_query($messaggi_visti)) {
##############################################
hoteldruid-3.0.1/messaggi.php-554-
hoteldruid-3.0.1/messaggi.php:555:if ($arrivo_trovato) esegui_query("update $tablemessaggi set dati_messaggio4 = '$arrivo' where idmessaggi = '$max_mess' ");
hoteldruid-3.0.1/messaggi.php:556:if ($partenza_trovata) esegui_query("update $tablemessaggi set dati_messaggio5 = '$partenza' where idmessaggi = '$max_mess' ");
hoteldruid-3.0.1/messaggi.php:557:if ($num_persone) esegui_query("update $tablemessaggi set dati_messaggio7 = '$num_persone' where idmessaggi = '$max_mess' ");
hoteldruid-3.0.1/messaggi.php-558-
##############################################
hoteldruid-3.0.1/messaggi.php-565-$data_modifica = date("Y-m-d H:i:s",(time() + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/messaggi.php:566:if (numlin_query($messaggi_visti)) esegui_query("update $tablecache set testo = '$max_inbox_id', data_modifica = '$data_modifica' where numero = '$id_utente' and tipo = 'messv_em' ");
hoteldruid-3.0.1/messaggi.php-567-else esegui_query("insert into $tablecache (numero,tipo,testo,data_modifica,datainserimento) values ('$id_utente','messv_em','$max_inbox_id','$data_modifica','$data_modifica') ");
##############################################
hoteldruid-3.0.1/messaggi.php-590-$tabelle_lock = lock_tabelle($tabelle_lock,$altre_tab_lock);
hoteldruid-3.0.1/messaggi.php:591:$mess_esist = esegui_query("select * from $tablemessaggi where idmessaggi = '$cambia_dati_ricavati' ");
hoteldruid-3.0.1/messaggi.php-592-if (numlin_query($mess_esist)) {
##############################################
hoteldruid-3.0.1/messaggi.php-610-$dati_richiedente = implode("<d>",$dati_richiedente);
hoteldruid-3.0.1/messaggi.php:611:esegui_query("update $tablemessaggi set dati_messaggio15 = '".aggslashdb($dati_richiedente)."' where idmessaggi = '$cambia_dati_ricavati' ");
hoteldruid-3.0.1/messaggi.php-612-} # fine if ($n_cognome_richiedente or $n_email_richiedente)
hoteldruid-3.0.1/messaggi.php-613-if ($n_data_arrivo) {
hoteldruid-3.0.1/messaggi.php:614:$idperiodo = esegui_query("select idperiodi from $tableperiodi where datainizio = '".aggslashdb($n_data_arrivo)."' ");
hoteldruid-3.0.1/messaggi.php-615-if (numlin_query($idperiodo)) {
hoteldruid-3.0.1/messaggi.php:616:esegui_query("update $tablemessaggi set dati_messaggio4 = '".aggslashdb($n_data_arrivo)."' where idmessaggi = '$cambia_dati_ricavati' ");
hoteldruid-3.0.1/messaggi.php-617-} # fine if (numlin_query($idperiodo))
##############################################
hoteldruid-3.0.1/messaggi.php-619-if ($n_data_partenza) {
hoteldruid-3.0.1/messaggi.php:620:$idperiodo = esegui_query("select idperiodi from $tableperiodi where datainizio = '".aggslashdb($n_data_partenza)."' ");
hoteldruid-3.0.1/messaggi.php-621-if (numlin_query($idperiodo)) {
hoteldruid-3.0.1/messaggi.php:622:esegui_query("update $tablemessaggi set dati_messaggio5 = '".aggslashdb($n_data_partenza)."' where idmessaggi = '$cambia_dati_ricavati' ");
hoteldruid-3.0.1/messaggi.php-623-} # fine if (numlin_query($idperiodo))
##############################################
hoteldruid-3.0.1/messaggi.php-625-if ($n_num_persone and controlla_num_pos($n_num_persone) == "SI") {
hoteldruid-3.0.1/messaggi.php:626:esegui_query("update $tablemessaggi set dati_messaggio7 = '$n_num_persone' where idmessaggi = '$cambia_dati_ricavati' ");
hoteldruid-3.0.1/messaggi.php-627-} # fine if ($n_num_persone and controlla_num_pos($n_num_persone) == "SI")
##############################################
hoteldruid-3.0.1/messaggi.php-652-if (function_exists('imap_open')) {
hoteldruid-3.0.1/messaggi.php:653:$server_email_tab_messaggi = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'server_email_tab_messaggi' and idutente = '$id_utente' ");
hoteldruid-3.0.1/messaggi.php-654-if (numlin_query($server_email_tab_messaggi)) {
##############################################
hoteldruid-3.0.1/messaggi.php-679-
hoteldruid-3.0.1/messaggi.php:680:$nomi_contratti = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'nomi_contratti' and idutente = '$id_utente'");
hoteldruid-3.0.1/messaggi.php-681-$nomi_contratti = risul_query($nomi_contratti,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/messaggi.php-724-$stringa_puntini_tab = "";
hoteldruid-3.0.1/messaggi.php:725:$num_vedi_in_tab = esegui_query("select valpersonalizza_num from $tablepersonalizza where idpersonalizza = 'num_righe_tab_messaggi' and idutente = '$id_utente'");
hoteldruid-3.0.1/messaggi.php-726-$num_vedi_in_tab = risul_query($num_vedi_in_tab,0,'valpersonalizza_num');
##############################################
hoteldruid-3.0.1/messaggi.php-755-$pcanc = "";
hoteldruid-3.0.1/messaggi.php:756:$dati_prenota = esegui_query("select utente_inserimento,iddatainizio,datainserimento from $tableprenota where idprenota = '".aggslashdb($prenota_inserite[$num2])."'");
hoteldruid-3.0.1/messaggi.php-757-if (!numlin_query($dati_prenota)) {
hoteldruid-3.0.1/messaggi.php:758:$dati_prenota = esegui_query("select utente_inserimento,iddatainizio,datainserimento from $PHPR_TAB_PRE"."prenotacanc$anno where idprenota = '".aggslashdb($prenota_inserite[$num2])."'");
hoteldruid-3.0.1/messaggi.php-759-if (numlin_query($dati_prenota)) {
##############################################
hoteldruid-3.0.1/messaggi.php-816-$tabelle_lock = lock_tabelle($tabelle_lock,"");
hoteldruid-3.0.1/messaggi.php:817:$idutenti_visto = esegui_query("select idutenti_visto from $tablemessaggi where idmessaggi = '$idmessaggi'");
hoteldruid-3.0.1/messaggi.php-818-if (numlin_query($idutenti_visto) == 1) {
hoteldruid-3.0.1/messaggi.php-819-$idutenti_visto = risul_query($idutenti_visto,0,'idutenti_visto');
hoteldruid-3.0.1/messaggi.php:820:esegui_query("update $tablemessaggi set idutenti_visto = '".str_replace(",$id_utente,",",",$idutenti_visto)."' where idmessaggi = '$idmessaggi'");
hoteldruid-3.0.1/messaggi.php-821-} # fine if (numlin_query($idutenti_visto) == 1) 
##############################################
hoteldruid-3.0.1/messaggi.php-869-$inizioperiodo[$n_t] = aggslashdb($inizioperiodo_dt[($n_t - 1)]);
hoteldruid-3.0.1/messaggi.php:870:$idinizioperiodo[$n_t] = esegui_query("select idperiodi from $tableperiodi where datainizio = '".$inizioperiodo[$n_t]."'");
hoteldruid-3.0.1/messaggi.php-871-if (numlin_query($idinizioperiodo[$n_t]) == 1) $idinizioperiodo[$n_t] = risul_query($idinizioperiodo[$n_t],0,'idperiodi');
##############################################
hoteldruid-3.0.1/messaggi.php-873-$fineperiodo[$n_t] = aggslashdb($fineperiodo_dt[($n_t - 1)]);
hoteldruid-3.0.1/messaggi.php:874:$idfineperiodo[$n_t] = esegui_query("select idperiodi from $tableperiodi where datafine = '".$fineperiodo[$n_t]."'");
hoteldruid-3.0.1/messaggi.php-875-if (numlin_query($idfineperiodo[$n_t]) == 1) $idfineperiodo[$n_t] = risul_query($idfineperiodo[$n_t],0,'idperiodi');
##############################################
hoteldruid-3.0.1/messaggi.php-1243-
hoteldruid-3.0.1/messaggi.php:1244:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/messaggi.php-1245-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/disponibilita.php-27-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/disponibilita.php:28:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/disponibilita.php-29-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/disponibilita.php-51-$tableprivilegi = $PHPR_TAB_PRE."privilegi";
hoteldruid-3.0.1/disponibilita.php:52:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/disponibilita.php-53-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/disponibilita.php-55-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/disponibilita.php:56:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/disponibilita.php-57-$priv_mod_pers = risul_query($privilegi_globali_utente,0,'priv_mod_pers');
##############################################
hoteldruid-3.0.1/disponibilita.php-96-$tableutenti = $PHPR_TAB_PRE."utenti";
hoteldruid-3.0.1/disponibilita.php:97:$nome_utente = esegui_query("select * from $tableutenti where idutenti = '$id_utente'");
hoteldruid-3.0.1/disponibilita.php-98-$nome_utente = risul_query($nome_utente,0,'nome_utente');
##############################################
hoteldruid-3.0.1/disponibilita.php-132-$titolo = "HotelDruid: ".mex("Disponibilità",$pag);
hoteldruid-3.0.1/disponibilita.php:133:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/disponibilita.php-134-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/disponibilita.php-142-if (@is_file($file_interconnessioni)) {
hoteldruid-3.0.1/disponibilita.php:143:include($file_interconnessioni);
hoteldruid-3.0.1/disponibilita.php-144-if (@is_array($ic_present)) {
##############################################
hoteldruid-3.0.1/disponibilita.php-148-if ($mod_ext != "." and $mod_ext != ".." and @is_dir("./includes/interconnect/$mod_ext")) {
hoteldruid-3.0.1/disponibilita.php:149:include("./includes/interconnect/$mod_ext/name.php");
hoteldruid-3.0.1/disponibilita.php-150-if ($ic_present[$interconnection_name] == "SI") {
hoteldruid-3.0.1/disponibilita.php:151:include("./includes/interconnect/$mod_ext/functions_import.php");
hoteldruid-3.0.1/disponibilita.php-152-$funz_import_reservations = "import_reservations_".$interconnection_func_name;
##############################################
hoteldruid-3.0.1/disponibilita.php-181-$data_fineperiodo_f = formatta_data($data_fineperiodo,$stile_data);
hoteldruid-3.0.1/disponibilita.php:182:$idinizioperiodo = esegui_query("select idperiodi from $tableperiodi where datainizio = '".aggslashdb($inizioperiodo)."' ");
hoteldruid-3.0.1/disponibilita.php-183-$num_idinizioperiodo = numlin_query($idinizioperiodo);
##############################################
hoteldruid-3.0.1/disponibilita.php-185-else { $idinizioperiodo = risul_query($idinizioperiodo,0,'idperiodi'); }
hoteldruid-3.0.1/disponibilita.php:186:$idfineperiodo = esegui_query("select idperiodi from $tableperiodi where datafine = '".aggslashdb($fineperiodo)."' ");
hoteldruid-3.0.1/disponibilita.php-187-$num_idfineperiodo = numlin_query($idfineperiodo);
##############################################
hoteldruid-3.0.1/disponibilita.php-190-if ($modifica_pers == "NO") {
hoteldruid-3.0.1/disponibilita.php:191:@include(C_DATI_PATH."/selperiodimenu$anno.$id_utente.php");
hoteldruid-3.0.1/disponibilita.php-192-if (!strpos($dates_options_list,$inizioperiodo)) $idinizioperiodo = 10000;
##############################################
hoteldruid-3.0.1/disponibilita.php-577-if (!$numpersone_corr) {
hoteldruid-3.0.1/disponibilita.php:578:$regola3 = esegui_query("select * from $tableregole where tariffa_per_persone = '$tariffa'");
hoteldruid-3.0.1/disponibilita.php-579-if (numlin_query($regola3) == 1) {
##############################################
hoteldruid-3.0.1/disponibilita.php-840-if ($lista_app_richiesti == ",,tutti,," or str_replace(",$idapp,","",$lista_app_richiesti) != $lista_app_richiesti) {
hoteldruid-3.0.1/disponibilita.php:841:$appartamento_consentito = esegui_query("select idregole,iddatainizio,iddatafine from $tableregole where app_agenzia = '$idapp' and (motivazione2 != 'x' or motivazione2 is NULL) and iddatainizio <= '$idfineperiodo' and iddatafine >= '$idinizioperiodo' and $condizioni_regole1_consentite order by iddatainizio");
hoteldruid-3.0.1/disponibilita.php-842-unset($iddatainizio_regole_tot);
##############################################
hoteldruid-3.0.1/disponibilita.php-924-for ($num1 = $idinizioperiodo; $num1 <= $idfineperiodo; $num1 = $num1 + 1) {
hoteldruid-3.0.1/disponibilita.php:925:$prenotazioni = esegui_query("select * from $tableprenota where iddatainizio <= $num1 and iddatafine >= $num1");
hoteldruid-3.0.1/disponibilita.php-926-$numprenotazioni = numlin_query($prenotazioni);
hoteldruid-3.0.1/disponibilita.php:927:$rigasettimana = esegui_query("select * from $tableperiodi where idperiodi = '$num1' ");
hoteldruid-3.0.1/disponibilita.php-928-if ($numprenotazioni >= $numappartamenti) {
##############################################
hoteldruid-3.0.1/disponibilita.php-970-if ($priv_vedi_tab_mesi != "n") {
hoteldruid-3.0.1/disponibilita.php:971:$mostra_quadro_disp = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'mostra_quadro_disp' and idutente = '$id_utente'");
hoteldruid-3.0.1/disponibilita.php-972-$mostra_quadro_disp = risul_query($mostra_quadro_disp,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/disponibilita.php-1000-if (!$condizioni_regole1_non_sel and ($applica_regole1 == "m" or $applica_regole1 == "f")) $condizioni_regole1_non_sel = " and motivazione2 = 'x'";
hoteldruid-3.0.1/disponibilita.php:1001:$app_agenzia = esegui_query("select * from $tableregole where app_agenzia != ''$condizioni_regole1_non_sel");
hoteldruid-3.0.1/disponibilita.php-1002-$num_app_agenzia = numlin_query($app_agenzia);
##############################################
hoteldruid-3.0.1/disponibilita.php-1374-if (!$numpersone) {
hoteldruid-3.0.1/disponibilita.php:1375:$regola3 = esegui_query("select * from $tableregole where tariffa_per_persone = '$tariffa'");
hoteldruid-3.0.1/disponibilita.php-1376-if (numlin_query($regola3) == 1) {
##############################################
hoteldruid-3.0.1/disponibilita.php-1509-for ($num1 = $idinizioperiodo ; $num1 <= $idfineperiodo ; $num1++) {
hoteldruid-3.0.1/disponibilita.php:1510:if (!$rigasettimana[$num1]) $rigasettimana[$num1] = esegui_query("select * from $tableperiodi where idperiodi = '$num1' ");
hoteldruid-3.0.1/disponibilita.php-1511-$esistetariffa = risul_query($rigasettimana[$num1],0,$tariffa);
##############################################
hoteldruid-3.0.1/disponibilita.php-1899-if ($periodo_costo_trovato == "SI") {
hoteldruid-3.0.1/disponibilita.php:1900:$date_sett_costo = esegui_query("select datainizio,datafine from $tableperiodi where idperiodi = '$num1'");
hoteldruid-3.0.1/disponibilita.php-1901-echo "<label><input type=\"checkbox\" name=\"sett$num1"."costo$numcostoagg\" value=\"SI\">".mex("dal",$pag)."
##############################################
hoteldruid-3.0.1/disponibilita.php-2801-
hoteldruid-3.0.1/disponibilita.php:2802:$data_inizio = esegui_query("select * from $tableperiodi where idperiodi = $idinizioperiodo");
hoteldruid-3.0.1/disponibilita.php-2803-$data_inizio = risul_query($data_inizio,0,'datainizio');
hoteldruid-3.0.1/disponibilita.php:2804:$data_fine = esegui_query("select * from $tableperiodi where idperiodi = $idfineperiodo");
hoteldruid-3.0.1/disponibilita.php-2805-$data_fine = risul_query($data_fine,0,'datafine');
##############################################
hoteldruid-3.0.1/disponibilita.php-2827- <select name=\"numero_contratto\">";
hoteldruid-3.0.1/disponibilita.php:2828:$nomi_contratti = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'nomi_contratti' and idutente = '$id_utente'");
hoteldruid-3.0.1/disponibilita.php-2829-$nomi_contratti = risul_query($nomi_contratti,0,'valpersonalizza');
##############################################
hoteldruid-3.0.1/disponibilita.php-2853-else {
hoteldruid-3.0.1/disponibilita.php:2854:$default_mln = esegui_query("select testo from $tablecontratti where tipo $LIKE 'contr%' and numero = '$num_contratto' ");
hoteldruid-3.0.1/disponibilita.php-2855-$default_mln = str_replace("#!mln!#","",risul_query($default_mln,0,'testo'));
##############################################
hoteldruid-3.0.1/disponibilita.php-2973-
hoteldruid-3.0.1/disponibilita.php:2974:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/disponibilita.php-2975-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/api.php-27-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/api.php:28:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/api.php-29-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/api.php-61-$numero_contratto = aggslashdb((int) $doc);
hoteldruid-3.0.1/api.php:62:$api_esistente = esegui_query("select * from $tablecontratti where numero = '$numero_contratto' and tipo = 'api'");
hoteldruid-3.0.1/api.php-63-if (numlin_query($api_esistente)) {
##############################################
hoteldruid-3.0.1/api.php-68-$limite_transazioni_vecchie = date("Y-m-d H:i:s",(time() - ($minuti_durata_sessione * 60) + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/api.php:69:esegui_query("delete from $tabletransazioniweb where tipo_transazione = 'api_l' and ultimo_accesso <= '$limite_transazioni_vecchie'");
hoteldruid-3.0.1/api.php:70:$login_sbagliati = esegui_query("select tipo_transazione from $tabletransazioniweb where tipo_transazione = 'api_l' and dati_transazione1 = 'doc$numero_contratto' and dati_transazione2 = '$REMOTE_ADDR' ");
hoteldruid-3.0.1/api.php-71-$login_sbagliati = numlin_query($login_sbagliati);
##############################################
hoteldruid-3.0.1/api.php-87-$minuto = substr($adesso,0,16);
hoteldruid-3.0.1/api.php:88:esegui_query("delete from $tablecache where tipo = 'lim_api' and datainserimento < '$minuto:00' ");
hoteldruid-3.0.1/api.php:89:$lim_api = esegui_query("select * from $tablecache where tipo = 'lim_api' and datainserimento >= '$minuto:00' ");
hoteldruid-3.0.1/api.php-90-if (!numlin_query($lim_api)) esegui_query("insert into $tablecache (numero,tipo,data_modifica,datainserimento) values ('1','lim_api','$adesso','$adesso') ");
##############################################
hoteldruid-3.0.1/api.php-93-if ($num_lim_api >= C_LIMITE_CHIAMATE_API_AL_MINUTO) $raggiunto_limite = 1;
hoteldruid-3.0.1/api.php:94:else esegui_query("update $tablecache set numero = '".($num_lim_api + 1)."', data_modifica = '$adesso' where tipo = 'lim_api' and datainserimento >= '$minuto:00' ");
hoteldruid-3.0.1/api.php-95-} # fine else if (!numlin_query($lim_api))
##############################################
hoteldruid-3.0.1/api.php-125-$tablerelgruppi = $PHPR_TAB_PRE."relgruppi";
hoteldruid-3.0.1/api.php:126:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/api.php-127-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/api.php-129-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/api.php:130:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/api.php-131-$priv_mod_pers = risul_query($privilegi_globali_utente,0,'priv_mod_pers');
##############################################
hoteldruid-3.0.1/api.php-177-if ($prendi_gruppi == "SI") {
hoteldruid-3.0.1/api.php:178:$gruppi_utente = esegui_query("select idgruppo from $tablerelgruppi where idutente = '$id_utente' and idgruppo is not NULL ");
hoteldruid-3.0.1/api.php-179-$num_gruppi_utente = numlin_query($gruppi_utente);
##############################################
hoteldruid-3.0.1/api.php-181-$idgruppo = risul_query($gruppi_utente,$num1,'idgruppo');
hoteldruid-3.0.1/api.php:182:$utenti_gruppo = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$idgruppo' ");
hoteldruid-3.0.1/api.php-183-$num_utenti_gruppo = numlin_query($utenti_gruppo);
##############################################
hoteldruid-3.0.1/api.php-223-define('C_ID_UTENTE_CONTR',$id_utente);
hoteldruid-3.0.1/api.php:224:$campi_pers_comm = esegui_query("select valpersonalizza from $tablepersonalizza where idpersonalizza = 'campi_pers_comm' and idutente = '$id_utente'");
hoteldruid-3.0.1/api.php-225-if (numlin_query($campi_pers_comm) == 1) {
##############################################
hoteldruid-3.0.1/api.php-229-else $num_commenti_pers = 0;
hoteldruid-3.0.1/api.php:230:$campi_pers_cliente = esegui_query("select * from $tablepersonalizza where idpersonalizza = 'campi_pers_cliente' and idutente = '$id_utente' ");
hoteldruid-3.0.1/api.php-231-if (numlin_query($campi_pers_cliente)) {
##############################################
hoteldruid-3.0.1/api.php-267-$data_inizio_selezione = $res_from;
hoteldruid-3.0.1/api.php:268:$primo_periodo = esegui_query("select idperiodi from $tableperiodi where datainizio >= '$res_from' order by idperiodi ");
hoteldruid-3.0.1/api.php-269-if (numlin_query($primo_periodo)) $primo_periodo = risul_query($primo_periodo,0,'idperiodi');
##############################################
hoteldruid-3.0.1/api.php-280-if (!$ultimo_periodo or $ultimo_periodo >= $primo_periodo) {
hoteldruid-3.0.1/api.php:281:$query_prenota = "select idprenota from $tableprenota where iddatafine >= '$primo_periodo'";
hoteldruid-3.0.1/api.php-282-if ($ultimo_periodo) $query_prenota .= " and iddatainizio <= '$ultimo_periodo'";
##############################################
hoteldruid-3.0.1/api.php-342-if ($res_ins_from <= $res_ins_to) {
hoteldruid-3.0.1/api.php:343:$query_prenota = "select idprenota from $tableprenota where datainserimento >= '$res_ins_from 00:00:00' and datainserimento <= '$res_ins_to 23:59:59' order by iddatainizio";
hoteldruid-3.0.1/api.php-344-} # fine if ($res_ins_from <= $res_ins_to)
##############################################
hoteldruid-3.0.1/api.php-353-if (preg_match("/[0-9]{4,4}-[0-9]{2,2}-[0-9]{2,2}/",$res_arr)) {
hoteldruid-3.0.1/api.php:354:$arrivo = esegui_query("select idperiodi from $tableperiodi where datainizio = '$res_arr' ");
hoteldruid-3.0.1/api.php-355-if (numlin_query($arrivo)) {
##############################################
hoteldruid-3.0.1/api.php-358-$arrivo = risul_query($arrivo,0,'idperiodi');
hoteldruid-3.0.1/api.php:359:$query_prenota = "select idprenota from $tableprenota where iddatainizio = '$arrivo' ";
hoteldruid-3.0.1/api.php-360-} # fine if (numlin_query($arrivo))
##############################################
hoteldruid-3.0.1/api.php-369-if (preg_match("/[0-9]{4,4}-[0-9]{2,2}-[0-9]{2,2}/",$res_dep)) {
hoteldruid-3.0.1/api.php:370:$partenza = esegui_query("select idperiodi from $tableperiodi where datafine = '$res_dep' ");
hoteldruid-3.0.1/api.php-371-if (numlin_query($partenza)) {
##############################################
hoteldruid-3.0.1/api.php-374-$partenza = risul_query($partenza,0,'idperiodi');
hoteldruid-3.0.1/api.php:375:$query_prenota = "select idprenota from $tableprenota where iddatafine = '$partenza' ";
hoteldruid-3.0.1/api.php-376-} # fine if (numlin_query())
##############################################
hoteldruid-3.0.1/api.php-387-if (strcmp($cashbox,"") and !$query_prenota and !$query_clienti) {
hoteldruid-3.0.1/api.php:388:$query_cassa = "select idcasse from $tablecasse where nome_cassa = '".aggslashdb($cashbox)."' ";
hoteldruid-3.0.1/api.php-389-} # fine if (strcmp($cashbox,"") and !$query_prenota and !$query_clienti)
##############################################
hoteldruid-3.0.1/api.php-392-if (!$res_year) $res_year = $anno;
hoteldruid-3.0.1/api.php:393:$primo_periodo = esegui_query("select idperiodi from $tableperiodi where datainizio = '$res_year-01-01' ");
hoteldruid-3.0.1/api.php-394-if (numlin_query($primo_periodo)) {
hoteldruid-3.0.1/api.php-395-$primo_periodo = risul_query($primo_periodo,0,'idperiodi');
hoteldruid-3.0.1/api.php:396:$ultimo_periodo = esegui_query("select max(idperiodi) from $tableperiodi where datainizio <= '$res_year-12-31' ");
hoteldruid-3.0.1/api.php-397-$ultimo_periodo = risul_query($ultimo_periodo,0,0);
hoteldruid-3.0.1/api.php:398:$query_prenota = "select idprenota from $tableprenota where iddatafine >= '$primo_periodo' and iddatainizio <= '$ultimo_periodo' order by iddatainizio";
hoteldruid-3.0.1/api.php-399-} # fine if (numlin_query($primo_periodo))
##############################################
hoteldruid-3.0.1/api.php-461-$show_bar = "NO";
hoteldruid-3.0.1/api.php:462:$headhtm = esegui_query("select testo from $tablecontratti where numero = '$numero_contratto' and tipo = 'headhtm'");
hoteldruid-3.0.1/api.php-463-if (numlin_query($headhtm) == 1) {
##############################################
hoteldruid-3.0.1/api.php-465-echo risul_query($headhtm,0,'testo');
hoteldruid-3.0.1/api.php:466:$foothtm = esegui_query("select testo from $tablecontratti where numero = '$numero_contratto' and tipo = 'foothtm'");
hoteldruid-3.0.1/api.php-467-if (numlin_query($foothtm)) $foothtm = risul_query($foothtm,0,'testo');
##############################################
hoteldruid-3.0.1/api.php-492-else $nome_file = str_replace("\\","_",str_replace("/","_",str_replace(" ","_",$nome_contratto))).".txt";
hoteldruid-3.0.1/api.php:493:$est_txt = esegui_query("select * from $tablecontratti where numero = '$numero_contratto' and tipo = 'est_txt'");
hoteldruid-3.0.1/api.php-494-if (numlin_query($est_txt)) {
##############################################
hoteldruid-3.0.1/api.php-510-if ($mostra_headers == "SI") {
hoteldruid-3.0.1/api.php:511:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/api.php-512-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/api.php-517-if ($mostra_headers == "SI") {
hoteldruid-3.0.1/api.php:518:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/api.php-519-else include("./includes/foot.php");
##############################################
hoteldruid-3.0.1/api.php-616-if ($tweb) {
hoteldruid-3.0.1/api.php:617:esegui_query("delete from $tabletransazioniweb where tipo_transazione = 'pay_c' and ultimo_accesso <= '$limite_sessioni_vecchie'");
hoteldruid-3.0.1/api.php:618:$sessione = esegui_query("select * from $tabletransazioniweb where tipo_transazione = 'pay_c' and idtransazioni = '".aggslashdb($id_sessione)."' ");
hoteldruid-3.0.1/api.php-619-$sessione_trovata = numlin_query($sessione);
##############################################
hoteldruid-3.0.1/api.php-621-else {
hoteldruid-3.0.1/api.php:622:esegui_query("delete from $tablesessioni where ultimo_accesso <= '$limite_sessioni_vecchie'");
hoteldruid-3.0.1/api.php:623:$sessione = esegui_query("select * from $tablesessioni where idsessioni = '$id_sessione'");
hoteldruid-3.0.1/api.php-624-$sessione_trovata = numlin_query($sessione);
##############################################
hoteldruid-3.0.1/api.php-647-if ($priv_r or ($cli_id and $id_utente != 1 and !$tweb)) {
hoteldruid-3.0.1/api.php:648:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/api.php-649-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/api.php-651-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/api.php:652:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/api.php-653-$priv_mod_pers = risul_query($privilegi_globali_utente,0,'priv_mod_pers');
##############################################
hoteldruid-3.0.1/api.php-667-if ($prendi_gruppi == "SI") {
hoteldruid-3.0.1/api.php:668:$gruppi_utente = esegui_query("select idgruppo from $tablerelgruppi where idutente = '$id_utente' and idgruppo is not NULL ");
hoteldruid-3.0.1/api.php-669-$num_gruppi_utente = numlin_query($gruppi_utente);
##############################################
hoteldruid-3.0.1/api.php-671-$idgruppo = risul_query($gruppi_utente,$num1,'idgruppo');
hoteldruid-3.0.1/api.php:672:$utenti_gruppo = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$idgruppo' ");
hoteldruid-3.0.1/api.php-673-$num_utenti_gruppo = numlin_query($utenti_gruppo);
##############################################
hoteldruid-3.0.1/api.php-683-if ($id_utente != 1 and ($modifica_clienti == "PROPRI" or $modifica_clienti == "GRUPPI")) {
hoteldruid-3.0.1/api.php:684:$condizione_utente_canc = "where ( utente_inserimento = '$id_utente'";
hoteldruid-3.0.1/api.php-685-if ($modifica_clienti == "GRUPPI") {
##############################################
hoteldruid-3.0.1/api.php-701-$limite_transazioni_vecchie = date("Y-m-d H:i:s",(time() - (15 * 60) + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/api.php:702:esegui_query("delete from $tabletransazioni where ultimo_accesso <= '$limite_transazioni_vecchie' and tipo_transazione = 'cn_cc' ");
hoteldruid-3.0.1/api.php:703:$transaz_esist = esegui_query("select * from $tabletransazioni where idsessione = '$id_sessione' and tipo_transazione = 'cn_cc' and dati_transazione1 = '$idclienti' ");
hoteldruid-3.0.1/api.php-704-if (numlin_query($transaz_esist)) {
hoteldruid-3.0.1/api.php-705-$cli_priv = 1;
hoteldruid-3.0.1/api.php:706:esegui_query("delete from $tabletransazioni where idsessione = '$id_sessione' and tipo_transazione = 'cn_cc' and dati_transazione1 = '$idclienti' ");
hoteldruid-3.0.1/api.php-707-} # fine if (numlin_query($transaz_esist))
##############################################
hoteldruid-3.0.1/api.php-710-if ($modifica_clienti == "PROPRI" or $vedi_clienti == "PROPRI") {
hoteldruid-3.0.1/api.php:711:$cliente_proprio = esegui_query("select idclienti from $tableclienti where idclienti = '$idclienti' and utente_inserimento = '$id_utente'");
hoteldruid-3.0.1/api.php-712-if (numlin_query($cliente_proprio) == 0) $modifica_clienti = "NO";
##############################################
hoteldruid-3.0.1/api.php-714-elseif ($modifica_clienti == "GRUPPI" or $vedi_clienti == "GRUPPI") {
hoteldruid-3.0.1/api.php:715:$cliente_proprio = esegui_query("select utente_inserimento from $tableclienti where idclienti = '$idclienti'");
hoteldruid-3.0.1/api.php-716-if (numlin_query($cliente_proprio) == 0) $utente_inserimento = "0";
##############################################
hoteldruid-3.0.1/api.php-739-$idprenota = risul_query($prenota,$num2,'idprenota');
hoteldruid-3.0.1/api.php:740:$ospiti = esegui_query("select idclienti from $tablerclientiprenota_mostra where idprenota = '$idprenota' ");
hoteldruid-3.0.1/api.php-741-for ($num3 = 0 ; $num3 < numlin_query($ospiti) ; $num3++) $cliente_attivo[risul_query($ospiti,$num3,'idclienti')] = 1;
##############################################
hoteldruid-3.0.1/api.php-750-$idprenota = risul_query($prenotacanc,$num2,'idprenota');
hoteldruid-3.0.1/api.php:751:$ospiti = esegui_query("select idclienti from $tablerclientiprenota_mostra where idprenota = '$idprenota' ");
hoteldruid-3.0.1/api.php-752-for ($num3 = 0 ; $num3 < numlin_query($ospiti) ; $num3++) $cliente_attivo[risul_query($ospiti,$num3,'idclienti')] = 1;
##############################################
hoteldruid-3.0.1/api.php-799-if (@is_file($file_interconnessioni)) {
hoteldruid-3.0.1/api.php:800:include($file_interconnessioni);
hoteldruid-3.0.1/api.php-801-if (@is_array($ic_present)) {
##############################################
hoteldruid-3.0.1/api.php-807-if ($mod_ext != "." and $mod_ext != ".." and $mod_ext == $tipo_ic.$ord_ic and @is_dir("./includes/interconnect/$mod_ext")) {
hoteldruid-3.0.1/api.php:808:include("./includes/interconnect/$mod_ext/name.php");
hoteldruid-3.0.1/api.php-809-if ($ic_present[$interconnection_name] == "SI") {
hoteldruid-3.0.1/api.php:810:include("./includes/interconnect/$mod_ext/functions_import.php");
hoteldruid-3.0.1/api.php-811-$funz_import_reservations = "import_reservations_".$interconnection_func_name;
##############################################
hoteldruid-3.0.1/crearegole.php-27-include(C_DATI_PATH."/dati_connessione.php");
hoteldruid-3.0.1/crearegole.php:28:include("./includes/funzioni_$PHPR_DB_TYPE.php");
hoteldruid-3.0.1/crearegole.php-29-$numconnessione = connetti_db($PHPR_DB_NAME,$PHPR_DB_HOST,$PHPR_DB_PORT,$PHPR_DB_USER,$PHPR_DB_PASS,$PHPR_LOAD_EXT);
##############################################
hoteldruid-3.0.1/crearegole.php-46-$tablerelgruppi = $PHPR_TAB_PRE."relgruppi";
hoteldruid-3.0.1/crearegole.php:47:$privilegi_annuali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '$anno'");
hoteldruid-3.0.1/crearegole.php-48-if (numlin_query($privilegi_annuali_utente) == 0) $anno_utente_attivato = "NO";
##############################################
hoteldruid-3.0.1/crearegole.php-50-$anno_utente_attivato = "SI";
hoteldruid-3.0.1/crearegole.php:51:$privilegi_globali_utente = esegui_query("select * from $tableprivilegi where idutente = '$id_utente' and anno = '1'");
hoteldruid-3.0.1/crearegole.php-52-$priv_ins_clienti = risul_query($privilegi_globali_utente,0,'priv_ins_clienti');
##############################################
hoteldruid-3.0.1/crearegole.php-109-if ($prendi_gruppi == "SI") {
hoteldruid-3.0.1/crearegole.php:110:$gruppi_utente = esegui_query("select idgruppo from $tablerelgruppi where idutente = '$id_utente' and idgruppo is not NULL ");
hoteldruid-3.0.1/crearegole.php-111-$num_gruppi_utente = numlin_query($gruppi_utente);
##############################################
hoteldruid-3.0.1/crearegole.php-113-$idgruppo = risul_query($gruppi_utente,$num1,'idgruppo');
hoteldruid-3.0.1/crearegole.php:114:$utenti_gruppo = esegui_query("select idutente from $tablerelgruppi where idgruppo = '$idgruppo' ");
hoteldruid-3.0.1/crearegole.php-115-$num_utenti_gruppo = numlin_query($utenti_gruppo);
##############################################
hoteldruid-3.0.1/crearegole.php-121-if ($priv_app_gruppi == "SI") {
hoteldruid-3.0.1/crearegole.php:122:$priv_anno_ut_gr = esegui_query("select * from $tableprivilegi where idutente = '$idutente_gruppo' and anno = '$anno'");
hoteldruid-3.0.1/crearegole.php-123-if (numlin_query($priv_anno_ut_gr) == 1) {
##############################################
hoteldruid-3.0.1/crearegole.php-213-$titolo = "HotelDruid: ".mex("Crea Regole",$pag);
hoteldruid-3.0.1/crearegole.php:214:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/head.php");
hoteldruid-3.0.1/crearegole.php-215-else include("./includes/head.php");
##############################################
hoteldruid-3.0.1/crearegole.php-251-else {
hoteldruid-3.0.1/crearegole.php:252:$idinizioperiodo = esegui_query("select idperiodi from $tableperiodi where datainizio = '".aggslashdb($inizioperiodo)."' ");
hoteldruid-3.0.1/crearegole.php-253-if (numlin_query($idinizioperiodo) == 0) $idinizioperiodo = 9999999;
hoteldruid-3.0.1/crearegole.php-254-else $idinizioperiodo = risul_query($idinizioperiodo,0,'idperiodi');
hoteldruid-3.0.1/crearegole.php:255:$idfineperiodo = esegui_query("select idperiodi from $tableperiodi where datafine = '".aggslashdb($fineperiodo)."' ");
hoteldruid-3.0.1/crearegole.php-256-if (numlin_query($idfineperiodo) == 0) $idfineperiodo = -1;
##############################################
hoteldruid-3.0.1/crearegole.php-264-$appartamento = htmlspecialchars($appartamento);
hoteldruid-3.0.1/crearegole.php:265:$app_esistente = esegui_query("select idappartamenti from $tableappartamenti where idappartamenti = '".aggslashdb($appartamento)."' ");
hoteldruid-3.0.1/crearegole.php-266-if (!numlin_query($app_esistente) or $appartamenti_consentiti[$appartamento] != "SI") echo mex("Non sono stati inseriti tutti i dati necessari",$pag).".<br>";
##############################################
hoteldruid-3.0.1/crearegole.php-268-if ($mod_idregola1 and controlla_num_pos($mod_idregola1) == "SI") {
hoteldruid-3.0.1/crearegole.php:269:$reg_esist = esegui_query("select * from $tableregole where idregole = '$mod_idregola1' ");
hoteldruid-3.0.1/crearegole.php-270-if (numlin_query($reg_esist)) {
##############################################
hoteldruid-3.0.1/crearegole.php-278-else $cond_reg_mod = "";
hoteldruid-3.0.1/crearegole.php:279:$vecchia_regola = esegui_query("select * from $tableregole where app_agenzia = '".aggslashdb($appartamento)."' and iddatainizio <= '$idfineperiodo' and iddatafine >= '$idinizioperiodo'$cond_reg_mod order by iddatainizio");
hoteldruid-3.0.1/crearegole.php-280-$num_vecchia_regola = numlin_query($vecchia_regola);
##############################################
hoteldruid-3.0.1/crearegole.php-303-$motivazione2_v = risul_query($vecchia_regola,$num1,'motivazione2');
hoteldruid-3.0.1/crearegole.php:304:$datainizio_v = esegui_query("select datainizio from $tableperiodi where idperiodi = '$iddatainizio_v' ");
hoteldruid-3.0.1/crearegole.php-305-$datainizio_v = formatta_data(risul_query($datainizio_v,0,'datainizio'),$stile_data);
hoteldruid-3.0.1/crearegole.php:306:$datafine_v = esegui_query("select datafine from $tableperiodi where idperiodi = '$iddatafine_v' ");
hoteldruid-3.0.1/crearegole.php-307-$datafine_v = formatta_data(risul_query($datafine_v,0,'datafine'),$stile_data);
##############################################
hoteldruid-3.0.1/crearegole.php-330-$iddatafine_v = risul_query($vecchia_regola,$num1,'iddatafine');
hoteldruid-3.0.1/crearegole.php:331:if (($iddatainizio_v >= $idinizioperiodo and $iddatafine_v <= $idfineperiodo) or ${"creg$idregola_v"}) esegui_query("delete from $tableregole where idregole = '$idregola_v' ");
hoteldruid-3.0.1/crearegole.php-332-else {
hoteldruid-3.0.1/crearegole.php:333:if ($iddatainizio_v >= $idinizioperiodo) esegui_query("update $tableregole set iddatainizio = '".($idfineperiodo + 1)."' where idregole = '$idregola_v' ");
hoteldruid-3.0.1/crearegole.php-334-else {
hoteldruid-3.0.1/crearegole.php:335:esegui_query("update $tableregole set iddatafine = '".($idinizioperiodo - 1)."' where idregole = '$idregola_v' ");
hoteldruid-3.0.1/crearegole.php-336-if ($iddatafine_v > $idfineperiodo) {
##############################################
hoteldruid-3.0.1/crearegole.php-339-esegui_query("insert into $tableregole (idregole,app_agenzia,iddatainizio,iddatafine) values ($idregole,'".aggslashdb($appartamento)."','".($idfineperiodo + 1)."','$iddatafine_v')");
hoteldruid-3.0.1/crearegole.php:340:if ($motivazione2_v == "x") esegui_query("update $tableregole set motivazione2 = 'x' where idregole = '$idregole' ");
hoteldruid-3.0.1/crearegole.php:341:if ($motivazione_v) esegui_query("update $tableregole set motivazione = '".aggslashdb($motivazione_v)."' where idregole = '$idregole' ");
hoteldruid-3.0.1/crearegole.php-342-$idregole++;
##############################################
hoteldruid-3.0.1/crearegole.php-347-if ($mod_idregola1) {
hoteldruid-3.0.1/crearegole.php:348:esegui_query("delete from $tableregole where idregole = '$mod_idregola1' ");
hoteldruid-3.0.1/crearegole.php-349-$idregole = $mod_idregola1;
##############################################
hoteldruid-3.0.1/crearegole.php-353-$motivazione = htmlspecialchars($motivazione);
hoteldruid-3.0.1/crearegole.php:354:if ($motivazione) esegui_query("update $tableregole set motivazione = '".aggslashdb($motivazione)."' where idregole = '$idregole' ");
hoteldruid-3.0.1/crearegole.php-355-if ($attiva_regole1_consentite != "n") $chiudi_app = 1;
hoteldruid-3.0.1/crearegole.php-356-if ($chiudi_app) {
hoteldruid-3.0.1/crearegole.php:357:esegui_query("update $tableregole set motivazione2 = 'x' where idregole = '$idregole' ");
hoteldruid-3.0.1/crearegole.php-358-unlock_tabelle($tabelle_lock);
##############################################
hoteldruid-3.0.1/crearegole.php-382-$fatto_libera = "";
hoteldruid-3.0.1/crearegole.php:383:$app_agenzia = esegui_query("select * from $tableregole where app_agenzia != '' and idregole != '$idregole' ");
hoteldruid-3.0.1/crearegole.php-384-$num_app_agenzia = numlin_query($app_agenzia);
##############################################
hoteldruid-3.0.1/crearegole.php-413-$ultimo_accesso = date("Y-m-d H:i:s",(time() + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/crearegole.php:414:$transaz_esistente = esegui_query("select idtransazioni from $tabletransazioni where idsessione = '$id_sessione' and tipo_transazione = 'cr_1a' ");
hoteldruid-3.0.1/crearegole.php-415-if (numlin_query($transaz_esistente)) {
hoteldruid-3.0.1/crearegole.php-416-$transaz_esistente = risul_query($transaz_esistente,0,'idtransazioni');
hoteldruid-3.0.1/crearegole.php:417:esegui_query("update $tabletransazioni set dati_transazione1 = '".aggslashdb($inizioperiodo)."', dati_transazione2 = '".aggslashdb($fineperiodo)."', dati_transazione3 = '".aggslashdb($motivazione)."', dati_transazione4 = '".aggslashdb($chiudi_app)."', ultimo_accesso = '$ultimo_accesso' where idtransazioni = '$transaz_esistente' ");
hoteldruid-3.0.1/crearegole.php-418-} # fine if (numlin_query($transaz_esistente))
##############################################
hoteldruid-3.0.1/crearegole.php-442-else {
hoteldruid-3.0.1/crearegole.php:443:$idinizioperiodo = esegui_query("select idperiodi from $tableperiodi where datainizio = '".aggslashdb($inizioperiodo)."' ");
hoteldruid-3.0.1/crearegole.php-444-if (numlin_query($idinizioperiodo) == 0) $idinizioperiodo = 9999999;
hoteldruid-3.0.1/crearegole.php-445-else $idinizioperiodo = risul_query($idinizioperiodo,0,'idperiodi');
hoteldruid-3.0.1/crearegole.php:446:$idfineperiodo = esegui_query("select idperiodi from $tableperiodi where datafine = '".aggslashdb($fineperiodo)."' ");
hoteldruid-3.0.1/crearegole.php-447-if (numlin_query($idfineperiodo) == 0) $idfineperiodo = -1;
##############################################
hoteldruid-3.0.1/crearegole.php-455-if ($mod_idregola1 and controlla_num_pos($mod_idregola1) == "SI") {
hoteldruid-3.0.1/crearegole.php:456:$reg_esist = esegui_query("select * from $tableregole where idregole = '$mod_idregola1' ");
hoteldruid-3.0.1/crearegole.php-457-if (numlin_query($reg_esist)) {
##############################################
hoteldruid-3.0.1/crearegole.php-465-else $cond_reg_mod = "";
hoteldruid-3.0.1/crearegole.php:466:$vecchia_regola = esegui_query("select * from $tableregole where tariffa_chiusa = '$tipotariffa' and iddatainizio <= '$idfineperiodo' and iddatafine >= '$idinizioperiodo'$cond_reg_mod order by iddatainizio ");
hoteldruid-3.0.1/crearegole.php-467-$num_vecchia_regola = numlin_query($vecchia_regola);
##############################################
hoteldruid-3.0.1/crearegole.php-488-$motivazione_v = risul_query($vecchia_regola,$num1,'motivazione');
hoteldruid-3.0.1/crearegole.php:489:$datainizio_v = esegui_query("select datainizio from $tableperiodi where idperiodi = '$iddatainizio_v' ");
hoteldruid-3.0.1/crearegole.php-490-$datainizio_v = formatta_data(risul_query($datainizio_v,0,'datainizio'),$stile_data);
hoteldruid-3.0.1/crearegole.php:491:$datafine_v = esegui_query("select datafine from $tableperiodi where idperiodi = '$iddatafine_v' ");
hoteldruid-3.0.1/crearegole.php-492-$datafine_v = formatta_data(risul_query($datafine_v,0,'datafine'),$stile_data);
##############################################
hoteldruid-3.0.1/crearegole.php-510-$iddatafine_v = risul_query($vecchia_regola,$num1,'iddatafine');
hoteldruid-3.0.1/crearegole.php:511:if (($iddatainizio_v >= $idinizioperiodo and $iddatafine_v <= $idfineperiodo) or ${"creg$idregola_v"}) esegui_query("delete from $tableregole where idregole = '$idregola_v' ");
hoteldruid-3.0.1/crearegole.php-512-else {
hoteldruid-3.0.1/crearegole.php:513:if ($iddatainizio_v >= $idinizioperiodo) esegui_query("update $tableregole set iddatainizio = '".($idfineperiodo + 1)."' where idregole = '$idregola_v' ");
hoteldruid-3.0.1/crearegole.php-514-else {
hoteldruid-3.0.1/crearegole.php:515:esegui_query("update $tableregole set iddatafine = '".($idinizioperiodo - 1)."' where idregole = '$idregola_v' ");
hoteldruid-3.0.1/crearegole.php-516-if ($iddatafine_v > $idfineperiodo) {
##############################################
hoteldruid-3.0.1/crearegole.php-518-esegui_query("insert into $tableregole (idregole,tariffa_chiusa,iddatainizio,iddatafine) values ($idregole,'$tipotariffa','".($idfineperiodo + 1)."','$iddatafine_v')");
hoteldruid-3.0.1/crearegole.php:519:if ($motivazione_v) esegui_query("update $tableregole set motivazione = '".aggslashdb($motivazione_v)."' where idregole = '$idregole' ");
hoteldruid-3.0.1/crearegole.php-520-$idregole++;
##############################################
hoteldruid-3.0.1/crearegole.php-525-if ($mod_idregola1) {
hoteldruid-3.0.1/crearegole.php:526:esegui_query("delete from $tableregole where idregole = '$mod_idregola1' ");
hoteldruid-3.0.1/crearegole.php-527-$idregole = $mod_idregola1;
##############################################
hoteldruid-3.0.1/crearegole.php-531-$motivazione = htmlspecialchars($motivazione);
hoteldruid-3.0.1/crearegole.php:532:if ($motivazione) esegui_query("update $tableregole set motivazione = '".aggslashdb($motivazione)."' where idregole = '$idregole' ");
hoteldruid-3.0.1/crearegole.php-533-echo mex("La regola è stata inserita",$pag).".";
##############################################
hoteldruid-3.0.1/crearegole.php-537-$ultimo_accesso = date("Y-m-d H:i:s",(time() + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/crearegole.php:538:$transaz_esistente = esegui_query("select idtransazioni from $tabletransazioni where idsessione = '$id_sessione' and tipo_transazione = 'cr_1t' ");
hoteldruid-3.0.1/crearegole.php-539-if (numlin_query($transaz_esistente)) {
hoteldruid-3.0.1/crearegole.php-540-$transaz_esistente = risul_query($transaz_esistente,0,'idtransazioni');
hoteldruid-3.0.1/crearegole.php:541:esegui_query("update $tabletransazioni set dati_transazione1 = '".aggslashdb($inizioperiodo)."', dati_transazione2 = '".aggslashdb($fineperiodo)."', dati_transazione3 = '".aggslashdb($motivazione)."', ultimo_accesso = '$ultimo_accesso' where idtransazioni = '$transaz_esistente' ");
hoteldruid-3.0.1/crearegole.php-542-} # fine if (numlin_query($transaz_esistente))
##############################################
hoteldruid-3.0.1/crearegole.php-598-else {
hoteldruid-3.0.1/crearegole.php:599:$regola_esistente = esegui_query("select * from $tableregole where tariffa_per_app = '".aggslashdb($tipotariffa)."'");
hoteldruid-3.0.1/crearegole.php-600-$num_regole_esistente = numlin_query($regola_esistente);
##############################################
hoteldruid-3.0.1/crearegole.php-681-if ($regola_2b) {
hoteldruid-3.0.1/crearegole.php:682:esegui_query("update $tableregole set motivazione2 = '$lista_app', iddatainizio = $num_giorni_ini, iddatafine = $num_giorni_fine where tariffa_per_app = '".aggslashdb($tipotariffa)."'");
hoteldruid-3.0.1/crearegole.php-683-$lista_app_norm = risul_query($regola_esistente,0,'motivazione');
##############################################
hoteldruid-3.0.1/crearegole.php-686-else {
hoteldruid-3.0.1/crearegole.php:687:esegui_query("update $tableregole set motivazione = '$lista_app' where tariffa_per_app = '".aggslashdb($tipotariffa)."'");
hoteldruid-3.0.1/crearegole.php:688:if ($num_apti > 1) esegui_query("update $tableregole set motivazione3 = '$v_apti$num_apti' where tariffa_per_app = '".aggslashdb($tipotariffa)."'");
hoteldruid-3.0.1/crearegole.php:689:else esegui_query("update $tableregole set motivazione3 = NULL where tariffa_per_app = '".aggslashdb($tipotariffa)."'");
hoteldruid-3.0.1/crearegole.php-690-$lista_app_norm = $lista_app;
##############################################
hoteldruid-3.0.1/crearegole.php-710-esegui_query("insert into $tableregole (idregole,tariffa_per_app,motivazione) values ('$idregole','".aggslashdb($tipotariffa)."','$lista_app')");
hoteldruid-3.0.1/crearegole.php:711:if ($num_apti > 1) esegui_query("update $tableregole set motivazione3 = '$v_apti$num_apti' where tariffa_per_app = '".aggslashdb($tipotariffa)."'");
hoteldruid-3.0.1/crearegole.php-712-} # fine else if ($regola_2b)
##############################################
hoteldruid-3.0.1/crearegole.php-725-else {
hoteldruid-3.0.1/crearegole.php:726:$regola_esistente = esegui_query("select * from $tableregole where tariffa_per_persone = '".aggslashdb($tipotariffa)."'");
hoteldruid-3.0.1/crearegole.php-727-$num_regole_esistente = numlin_query($regola_esistente);
##############################################
hoteldruid-3.0.1/crearegole.php-739-if ($inserire != "NO") {
hoteldruid-3.0.1/crearegole.php:740:$regola2_esistente = esegui_query("select * from $tableregole where tariffa_per_app = '".aggslashdb($tipotariffa)."'");
hoteldruid-3.0.1/crearegole.php-741-if (numlin_query($regola2_esistente)) {
##############################################
hoteldruid-3.0.1/crearegole.php-755-$app_trovato[$vett_app2[$num1]] = 1;
hoteldruid-3.0.1/crearegole.php:756:$app = esegui_query("select * from $tableappartamenti where idappartamenti = '".aggslashdb($vett_app2[$num1])."' ");
hoteldruid-3.0.1/crearegole.php-757-if (numlin_query($app)) {
##############################################
hoteldruid-3.0.1/crearegole.php-767-if ($num_regole_esistente != 0) {
hoteldruid-3.0.1/crearegole.php:768:esegui_query("update $tableregole set iddatainizio = '".aggslashdb($num_persone)."' where tariffa_per_persone = '".aggslashdb($tipotariffa)."'");
hoteldruid-3.0.1/crearegole.php-769-echo "<br>".mex("La regola di assegnazione",$pag)." 3 ".mex("è stata modificata",$pag).".<br><br>";
##############################################
hoteldruid-3.0.1/crearegole.php-788-else {
hoteldruid-3.0.1/crearegole.php:789:$regola_esistente = esegui_query("select * from $tableregole where tariffa_per_utente = '".aggslashdb($tipotariffa)."'");
hoteldruid-3.0.1/crearegole.php-790-$num_regole_esistente = numlin_query($regola_esistente);
##############################################
hoteldruid-3.0.1/crearegole.php-803-$id_utente_inserimento = aggslashdb($id_utente_inserimento);
hoteldruid-3.0.1/crearegole.php:804:$utente_tariffa = esegui_query("select nome_utente from $tableutenti where idutenti = '$id_utente_inserimento'");
hoteldruid-3.0.1/crearegole.php-805-if (numlin_query($utente_tariffa) != 1) {
##############################################
hoteldruid-3.0.1/crearegole.php-811-if ($num_regole_esistente != 0) {
hoteldruid-3.0.1/crearegole.php:812:esegui_query("update $tableregole set iddatainizio = '$id_utente_inserimento' where tariffa_per_utente = '".aggslashdb($tipotariffa)."'");
hoteldruid-3.0.1/crearegole.php-813-echo mex("La regola di assegnazione",$pag)." 4 ".mex("è stata modificata",$pag).".<br>";
##############################################
hoteldruid-3.0.1/crearegole.php-884-if ($mod_idregola1 and controlla_num_pos($mod_idregola1) == "SI") {
hoteldruid-3.0.1/crearegole.php:885:$reg_esist = esegui_query("select * from $tableregole where idregole = '$mod_idregola1' ");
hoteldruid-3.0.1/crearegole.php-886-if (numlin_query($reg_esist)) {
##############################################
hoteldruid-3.0.1/crearegole.php-895-$motivazione2 = risul_query($reg_esist,0,'motivazione2');
hoteldruid-3.0.1/crearegole.php:896:$inizio_select = esegui_query("select datainizio from $PHPR_TAB_PRE"."periodi$anno where idperiodi = '$iddatainizio' ");
hoteldruid-3.0.1/crearegole.php-897-$inizio_select = risul_query($inizio_select,0,'datainizio');
hoteldruid-3.0.1/crearegole.php:898:$fine_select = esegui_query("select datafine from $PHPR_TAB_PRE"."periodi$anno where idperiodi = '$iddatafine' ");
hoteldruid-3.0.1/crearegole.php-899-$fine_select = risul_query($fine_select,0,'datafine');
##############################################
hoteldruid-3.0.1/crearegole.php-903-if (!$tipo_mod_reg1) {
hoteldruid-3.0.1/crearegole.php:904:$transaz_esist_1a = esegui_query("select * from $tabletransazioni where idsessione = '$id_sessione' and tipo_transazione = 'cr_1a' ");
hoteldruid-3.0.1/crearegole.php:905:$transaz_esist_1t = esegui_query("select * from $tabletransazioni where idsessione = '$id_sessione' and tipo_transazione = 'cr_1t' ");
hoteldruid-3.0.1/crearegole.php-906-if (!numlin_query($transaz_esist_1a) or !numlin_query($transaz_esist_1t)) {
##############################################
hoteldruid-3.0.1/crearegole.php-910-$oggi = date("Y-m-d",(time() + (C_DIFF_ORE * 3600)));
hoteldruid-3.0.1/crearegole.php:911:$date_select = esegui_query("select datainizio,datafine from $PHPR_TAB_PRE"."periodi$anno where datainizio <= '$oggi' and datafine > '$oggi' ");
hoteldruid-3.0.1/crearegole.php-912-if (numlin_query($date_select) != 0) {
##############################################
hoteldruid-3.0.1/crearegole.php-1574-
hoteldruid-3.0.1/crearegole.php:1575:if ($tema[$id_utente] and $tema[$id_utente] != "base" and @is_dir("./themes/".$tema[$id_utente]."/php")) include("./themes/".$tema[$id_utente]."/php/foot.php");
hoteldruid-3.0.1/crearegole.php-1576-else include("./includes/foot.php");