dataspin.net Review

TitletagDescriptiontaglanguage
Italian
Alexarank
345733
Ip adress89.46.76.187Nameserverdns3.arubadns.net
dns.technorail.com
dns4.arubadns.cz
dns2.technorail.com
Status code200
robots.txt -http://dataspin.net/robots.txt
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it" lang="it">
<head>
<title></title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta name="viewport" content="width=device-width">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
<script type="text/javascript" src="//code.jquery.com/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="http://dataspin.net/v001/bootstrap/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.17.1/moment-with-locales.min.js"></script>

<script src="//cdn.rawgit.com/Eonasdan/bootstrap-datetimepicker/e8bddc60e73c1ec2475f827be36e1957af72e2ea/src/js/bootstrap-datetimepicker.js"></script>
<script type="text/javascript" src="http://dataspin.net/v001/js/validator.min.js"></script>
<link href="http://dataspin.net/v001/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />	
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,400italic,500,700">
    <link rel="stylesheet" href="https://cdns.2bells.it/themes/elephant/docs/demo/dist/theme-3/css/vendor.min.css">
    <link rel="stylesheet" href="https://cdns.2bells.it/themes/elephant/docs/demo/dist/theme-3/css/elephant.min.css">
    <link rel="stylesheet" href="https://cdns.2bells.it/themes/elephant/docs/demo/dist/theme-3/css/application.min.css">
    <link rel="stylesheet" href="https://cdns.2bells.it/themes/elephant/docs/demo/dist/theme-3/css/demo.min.css">
	<link rel="manifest" href="https://cdns.2bells.it/themes/elephant/docs/demo/dist/theme-3/manifest.json">
    <link rel="mask-icon" href="https://cdns.2bells.it/themes/elephant/docs/demo/dist/theme-3/safari-pinned-tab.svg" color="#27ae60">
    <meta name="theme-color" content="#ffffff">

<link href="//cdn.rawgit.com/Eonasdan/bootstrap-datetimepicker/e8bddc60e73c1ec2475f827be36e1957af72e2ea/build/css/bootstrap-datetimepicker.css" rel="stylesheet">
<link href="http://dataspin.net/v001/bootstrap/css/simple-sidebar.css" rel="stylesheet" type="text/css" />	
<link href="//cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.0/bootstrap3-editable/css/bootstrap-editable.css" rel="stylesheet"/>

<script type="text/javascript" src="http://dataspin.net/v001/bootstrap/js/bootbox.min.js"></script>
<script type="text/javascript" src="http://dataspin.net/v001/bootstrap/js/jquery.qtip.min.js"></script>
<link rel="stylesheet" href="http://dataspin.net/v001/bootstrap/css/jquery.qtip.min.css" />
<script type="text/javascript" src="http://dataspin.net/v001/bootstrap/js/bootstrap-select.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.0/bootstrap3-editable/js/bootstrap-editable.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.6.4/locales/bootstrap-datepicker.it.min.js"></script>
<script src="http://dataspin.net/v001/js/jquery_ui.js"></script>
<link rel="stylesheet" href="http://dataspin.net/v001/css/style.css" />


<link rel="stylesheet" href="http://dataspin.net/v001/upload/css/jquery.fileupload.css">

<script src="http://dataspin.net/v001/upload/js/vendor/jquery.ui.widget.js"></script>
<!-- The Iframe Transport is required for browsers without support for XHR file uploads -->
<script src="http://dataspin.net/v001/upload/js/jquery.iframe-transport.js"></script>
<!-- The basic File Upload plugin -->
<script src="http://dataspin.net/v001/upload/js/jquery.fileupload.js"></script>

<link href="https://gitcdn.github.io/bootstrap-toggle/2.2.2/css/bootstrap-toggle.min.css" rel="stylesheet">
<script src="https://gitcdn.github.io/bootstrap-toggle/2.2.2/js/bootstrap-toggle.min.js"></script>


</head>
<body>
<style>
#div_rest_contenitore_print{display:none;}
.reset-this {
    animation : none;
    animation-delay : 0;
    animation-direction : normal;
    animation-duration : 0;
    animation-fill-mode : none;
    animation-iteration-count : 1;
    animation-name : none;
    animation-play-state : running;
    animation-timing-function : ease;
    backface-visibility : visible;
    background : 0;
    background-attachment : scroll;
    background-clip : border-box;
    background-color : transparent;
    background-image : none;
    background-origin : padding-box;
    background-position : 0 0;
    background-position-x : 0;
    background-position-y : 0;
    background-repeat : repeat;
    background-size : auto auto;
    border : 0;
    border-style : none;
    border-width : medium;
    border-color : inherit;
    border-bottom : 0;
    border-bottom-color : inherit;
    border-bottom-left-radius : 0;
    border-bottom-right-radius : 0;
    border-bottom-style : none;
    border-bottom-width : medium;
    border-collapse : separate;
    border-image : none;
    border-left : 0;
    border-left-color : inherit;
    border-left-style : none;
    border-left-width : medium;
    border-radius : 0;
    border-right : 0;
    border-right-color : inherit;
    border-right-style : none;
    border-right-width : medium;
    border-spacing : 0;
    border-top : 0;
    border-top-color : inherit;
    border-top-left-radius : 0;
    border-top-right-radius : 0;
    border-top-style : none;
    border-top-width : medium;
    bottom : auto;
    box-shadow : none;
    box-sizing : content-box;
    caption-side : top;
    clear : none;
    clip : auto;
    color : inherit;
    columns : auto;
    column-count : auto;
    column-fill : balance;
    column-gap : normal;
    column-rule : medium none currentColor;
    column-rule-color : currentColor;
    column-rule-style : none;
    column-rule-width : none;
    column-span : 1;
    column-width : auto;
    content : normal;
    counter-increment : none;
    counter-reset : none;
    cursor : auto;
    direction : ltr;
    display : inline;
    empty-cells : show;
    float : none;
    font : normal;
    font-family : inherit;
    font-size : medium;
    font-style : normal;
    font-variant : normal;
    font-weight : normal;
    height : auto;
    hyphens : none;
    left : auto;
    letter-spacing : normal;
    line-height : normal;
    list-style : none;
    list-style-image : none;
    list-style-position : outside;
    list-style-type : disc;
    margin : 0;
    margin-bottom : 0;
    margin-left : 0;
    margin-right : 0;
    margin-top : 0;
    max-height : none;
    max-width : none;
    min-height : 0;
    min-width : 0;
    opacity : 1;
    orphans : 0;
    outline : 0;
    outline-color : invert;
    outline-style : none;
    outline-width : medium;
    overflow : visible;
    overflow-x : visible;
    overflow-y : visible;
    padding : 0;
    padding-bottom : 0;
    padding-left : 0;
    padding-right : 0;
    padding-top : 0;
    page-break-after : auto;
    page-break-before : auto;
    page-break-inside : auto;
    perspective : none;
    perspective-origin : 50% 50%;
    position : static;
    /* May need to alter quotes for different locales (e.g fr) */
    quotes : '\201C' '\201D' '\2018' '\2019';
    right : auto;
    tab-size : 8;
    table-layout : auto;
    text-align : inherit;
    text-align-last : auto;
    text-decoration : none;
    text-decoration-color : inherit;
    text-decoration-line : none;
    text-decoration-style : solid;
    text-indent : 0;
    text-shadow : none;
    text-transform : none;
    top : auto;
    transform : none;
    transform-style : flat;
    transition : none;
    transition-delay : 0s;
    transition-duration : 0s;
    transition-property : none;
    transition-timing-function : ease;
    unicode-bidi : normal;
    vertical-align : baseline;
    visibility : visible;
    white-space : normal;
    widows : 0;
    width : auto;
    word-spacing : normal;
    z-index : auto;
    /* basic modern patch */
    all: initial;
    all: unset;
}
/*
#div_rest_contenitore_print *{all:unset;}
#rest_01_print_content_bottom *{all:unset;}
*/
@media print{  /*Regola dedicata alla visualizzazione su carta*/
    #div_rest_contenitore_print{display:block; width:auto;}
	div#div_rest_contenitore_print {width: auto;}
	#div_rest_contenitore{display:none;}
	#div_debugger_main{display:none;}
}
@media print {
body {-webkit-print-color-adjust: exact;}
}
</style>
<div id="div_rest_contenitore">
<div class="container">
<nav>
	<ul id="rest_nav_top" class="nav nav-tabs" role="tablist">
		<li role="presentation">
	<a href="#menu-toggle" class="btn btn-default" id="menu-toggle"><span class="glyphicon glyphicon-cog" aria-hidden="true"></span></a> 
	  </li>
	</ul>
</nav>

<div id="wrapper" class="toggled">

	<div id="sidebar-wrapper">
		<div id="div_sidebar_account">
		<button type="button" class="btn btn-primary btn-block" onclick="javascript: f01_logout();">Logout</button>
		<button type="button" class="btn btn-default btn-block" data-toggle="modal" data-target="#ModalCambioPassword">Cambio Password</button>
		<div id="sidebar_dati_utente_email"></div>
		<div id="sidebar_dati_utente_name"></div>
		<div id="sidebar_dati_utente_group"></div>
		</div>
	</div>

<!-- Modal Cambio password -->
<div class="modal fade" id="ModalCambioPassword" tabindex="-1" role="dialog" aria-labelledby="ModalCambioPasswordLabel">
  <div class="modal-dialog" role="document" style="max-width:360px;">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="ModalCambioPasswordLabel">Cambio Password</h4>
      </div>
      <div class="modal-body">
	<div id="rest_01_gruppi_elenco_form">
	<form  onSubmit="return false;">
		<div class="form-group">
			<label for="m_1021_password_vecchia">Vecchia password</label>
			<input type="password" class="form-control" id="m_1021_password_vecchia" placeholder="Vecchia Password" size="20">
		</div>
		<div class="form-group">
			<label for="m_1021_password_nuova">Nuova password <br>
(&gt;8 caratteri,numeri, una maiuscola, 1 tra (.,;!$#%) )</label>
			<input type="password" class="form-control" id="m_1021_password_nuova" placeholder="Nuova Password" size="20">
		</div><div class="form-group">
			<label for="m_1021_password_nuova_rep">Ripeti password</label>
			<input type="password" class="form-control" id="m_1021_password_nuova_rep" placeholder="Ripeti password" size="20">
		</div>			
	</form>
	</div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Chiudi</button>
        <button type="button" class="btn btn-primary" onclick="f01_cambio_password()">Cambia password</button>
      </div>
    </div>
  </div>
</div>
<!-- Modale1 -->
<div class="modal fade" id="Modale1" tabindex="-1" role="dialog" aria-labelledby="Modale1">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="Modale1_Label">Label1Title</h4>
      </div>
      <div class="modal-body">
	<div id="Modale1_content">
	</div>
      </div>      
    </div>
  </div>
</div>
<!-- Modale2 -->
<div class="modal fade" id="Modale2" tabindex="-1" role="dialog" aria-labelledby="Modale2">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="Modale2_Label">Label2Title</h4>
      </div>
      <div class="modal-body">
	<div id="Modale2_content">
	</div>
      </div>      
    </div>
  </div>
</div>
<!-- Modale3 -->
<div class="modal fade" id="Modale3" tabindex="-1" role="dialog" aria-labelledby="Modale3">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="Modale3_Label">Label2Title</h4>
      </div>
      <div class="modal-body">
	<div id="Modale3_content">
	</div>
      </div>      
    </div>
  </div>
</div>

<!-- Modal Record Generic -->
<div class="modal fade" id="ModalRecord" tabindex="-1" role="dialog" aria-labelledby="ModalRecord">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="ModalRecordLabel">Record</h4>
      </div>
      <div class="modal-body">
	<div id="rest_01_record_generic_form">
	</div>
      </div>      
    </div>
  </div>
</div>
<!-- Modal Print -->
<div class="modal fade" id="ModalPrint" tabindex="-1" role="dialog" aria-labelledby="ModalPrint">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="ModalRecordLabel">Stampa</h4>
      </div>
      <div class="modal-body">
	<div id="rest_01_print_content">
		<div id="rest_01_print_content_url_refresh">xxx</div>
		<div id="rest_01_print_content_top">
			<div id="rest_01_print_content_top_left">
				<button title="Stampa" type="button" class="btn btn-primary glyphicon glyphicon-print disabled" id="rest_01_btn_print1" onclick="rest_print_azione(1);"></button>
				<button title="Download PDF" type="button" class="btn btn-primary glyphicon glyphicon-download disabled" id="rest_01_btn_print2" onclick="rest_print_azione(2);"></button>
				<button title="Salva in archivio" type="button" class="btn btn-primary glyphicon glyphicon-save" id="rest_01_btn_print4" onclick="rest_print_azione(4);"></button>
				<button title="Invia per email" type="button" class="btn btn-primary glyphicon glyphicon-envelope disabled" id="rest_01_btn_print3" onclick="rest_print_azione(3);"></button>
				<button title="Refresh" type="button" class="btn btn-primary glyphicon glyphicon-refresh" id="rest_01_btn_print5" onclick="rest_print_azione(5);"></button>
			</div>
			<div id="rest_01_print_content_top_right">
				<div id="rest_01_print_content_left_orientation" style="display:none"></div>
				<div id="rest_01_print_content_left_titolo"></div>
				<div id="rest_01_print_content_left_descrizione"></div>
				
				<div id="rest_01_print_content_top_right_urlfile"></div>
			</div>
		</div>
		<div id="rest_01_print_content_bottom"></div>
	</div>
      </div>      
    </div>
  </div>
</div>

	<div class="tab-content" id="rest_tab_content">
	
	</div><!--tabcontent -->
    
	</div>
    <!-- /#wrapper -->
</div>
    <script>
     $("#menu-toggle").click(function(e) {
        e.preventDefault();
        $("#wrapper").toggleClass("toggled");
     });
    </script>
<style>
#div_sidebar_account{margin:5px; padding:5px; background-color:#FFFFFF; border: solid 1px #CCCCCC;}	
#rest_01_btn_print1,#rest_01_btn_print2,#rest_01_btn_print3,#rest_01_btn_print4,#rest_01_btn_print5{font-size:50px;}
#rest_01_print_content_url_refresh{display:none;}
#rest_01_print_content_top{height:120px;}
#rest_01_print_content_top_left{width:400px; float:left;}
#rest_01_print_content_top_right{width:400px; float:right; height:120px;}
#rest_01_print_content_top_right_titolo{height:20px; background-color:#CCCCCC}
#rest_01_print_content_top_right_descrizione{height:90px; margin-top:5px; overflow:auto;}
#rest_01_print_content_top_right_urlfile{height:18px; margin-top:5px; overflow:auto; color:#0000FF; text-decoration:underline;}
#rest_01_print_content_bottom{height:70%; width:1200px; overflow:scroll; background-color:#f2f2f2}
.tr-2bells-intestazione{background-color:#f2f2f2; color:#000000; font-weight:bold;}
.tableFixHead          { overflow: auto; height: 100px; background-color:#FFFFFF;}
.tableFixHead thead th { position: sticky; top: 0; z-index: 1; background-color:#f2f2f2; }
.table .table{background-color:#FFFFFF !important;}
.table-font-ridotto *{font-size:11px;}
@media only screen and (max-width: 1000px) {
 .rest_td_hide_mobile{display:none;}
}
</style></div><div id="div_rest_contenitore_print" style="width:auto;"></div><script>
/* V.2024-04 */
var rest_json_array = [];

//url globale app
REST_URL_API = 'http://dataspin.net/';
/////////////////////////esecutore////////////////////////////////
var REST_DEBUG_MODE=0;
var REST_DIV_CONTAINER = 'div_rest_contenitore';
var REST_PAR_D=3; //1=cn
var REST_SCREEN='desktop'; //1=cn
var REST_PASS_TEMP='';
var REST_AUTO_EXEC='';

var rest_arr_risposta_dati = new Array();
var rest_arr_storage = new Array();

var rest_sender_counter = 0;
var rest_sender_counter_par = new Array();

function url_builder_api(d,c,add,others){
	if (d==''){d=REST_PAR_D;}
	url = REST_URL_API+"?d="+d+'&c='+c+add;
	return url
}
function rest_spin_off(chediv,empty,azione,classe_loading,others){
	if (empty != 0){empty = 1; }
	if (azione != 0){azione = 1; }
	if (empty == 1){
		$("#"+chediv).html("");
	}
	if(classe_loading == 'no'){
		classe_loading = '';
	}else if(classe_loading == ''){
		classe_loading = 'ajax-loading';
	}
	if (azione == 1){
		$("#"+chediv).addClass(classe_loading);
	}else{
		$("#"+chediv).removeClass(classe_loading);
	}
}

function rest_CallPagina(url,arr_param_post,chediv, classe_loading,mod_inserimento, append_top){
	$("#"+chediv).html("dddd");
	if(classe_loading != 'no'){
		if(classe_loading == ''){
			classe_loading = 'ajax-loading';
		}
		
	}
	datipost = {};
	for(i=0; i<arr_param_post.length; i++){
		datipost[arr_param_post[i]] = arr_param_post[i++];
	}
						
	$.ajax({
	type:"POST",
	url: url,
	data: datipost,
	cache: false,
	success: function(XMLHttpRequest, textStatus) {
							
			var log = $("#"+chediv).addClass(classe_loading);
								
			if(mod_inserimento=='append'){
				if(append_top==1){
					if(XMLHttpRequest!=''){//se ho qualcosa vale la pena altrimenti no
						$valore_prec = $("#"+chediv).html();
						$("#"+chediv).html(XMLHttpRequest);
						$("#"+chediv).append($valore_prec);
					}
				}else{
					$("#"+chediv).append(XMLHttpRequest);
				}
			}else{
				$("#"+chediv).html(XMLHttpRequest);								
			}
				log.removeClass(classe_loading);
				//alert(XMLHttpRequest);
			 },
	error: function(jqXHR, textStatus) { alert( "Request failed: " + textStatus ); $("#"+chediv).html("errore di richiesta"); }
	});	
}


function rest_debuggaoperazione(cheoperazione){	
	if (REST_DEBUG_MODE == 2){
		data=new Date();
		h=data.getHours();
		m=data.getMinutes();
		s=data.getSeconds();	
		quando = m+"#"+s+" :";
		$('#div_debugger').html(quando+$('#div_debugger').html());
		$('#div_debugger').html(cheoperazione+"<br>"+$('#div_debugger').html());
	}else if(REST_DEBUG_MODE == 1){
		$('#div_debugger').html(cheoperazione+"<br><hr>"+$('#div_debugger').html());
	}else if(REST_DEBUG_MODE == 3){
		rest_log_su_cookie(cheoperazione);
	}
}
function pulisci_debugger(){
	$('#div_debugger').html('');
}
function chiudi_apri_debugger(){
	if ($('#div_debugger_main').height() == '40'){
		$('#div_debugger_main').height('100%');
	}else{
		$('#div_debugger_main').height('40px');
	}
}
function Showelemento(e){document.getElementById(e).style.display=""}
function Hideelemento(e){document.getElementById(e).style.display="none"}
function Mostraelemento(e){document.getElementById(e).style.visibility=""}
function Nascondielemento(e){document.getElementById(e).style.visibility="hidden"}

function rest_richiestaJSON(url_relativo, dati, funz_callback){
	if (dati == ''){ dati={}; }
	$.ajax({
		url: url_relativo,
		dataType: "jsonp",
		data: dati,
		cache: false,
		crossDomain: true,
		jsonp: funz_callback,
		success:function(result){								
			rest_debuggaoperazione('Successo->');				
			}, 
		error: function (error, status){
			dati_error = JSON.stringify(error);	
			rest_debuggaoperazione('ERROR-> : '+status+" >> "+dati_error);
		}
	});
}

/* Aggiornamento 2024-04-19 - inizio - da aggiungere le variabili counter */
function rest_caricaDati(url_relativo,dati,plugin_name){//funzione di caricamento dati JSON	
	if (plugin_name == ''){ plugin_name= 'rest_plugin_dati'; }
	if (plugin_name == undefined){ plugin_name= 'rest_plugin_dati'; }	
	if (typeof(dati) == "undefined"){
		dati={};
	}
	rest_sender_counter++;
	dati['get_sender_counter'] = rest_sender_counter;
	url_completo = url_relativo+"&rest_plugin="+plugin_name;
	rest_debuggaoperazione('Carica Dati (rest_caricaDati) per: '+url_completo);
	rest_richiestaJSON(url_completo, dati, plugin_name);
}



function rest_caricaDatiPost(url_relativo,dati,plugin_name){//funzione di caricamento dati JSON	
	if (plugin_name == ''){ plugin_name= 'rest_plugin_dati'; }
	if (plugin_name == undefined){ plugin_name= 'rest_plugin_dati'; }
	if (typeof(dati) == "undefined"){
		dati={};
	}
	rest_sender_counter++;
	dati['get_sender_counter'] = rest_sender_counter;
	rest_debuggaoperazione('rest_caricaDatiPost + POST: '+url_completo);
	url_completo = url_relativo+"&send_method=POST";
	rest_richiestaJSONPost(url_completo, dati, plugin_name);
}

function rest_short_standard(parametri){
	url_completo = url_builder_api('',parametri['destinazione'],'','');
	dati={};
	if (typeof(parametri['spinner']) == "undefined"){
		parametri['spinner'] = 120;
	}
	rest_spin_off(parametri['div_destinazione'],1,1,'ajax-loading-'+parametri['spinner'],'');
	
	if (typeof(parametri['rec_radice']) == "undefined"){
	
	}else{	
		if (typeof(parametri['rec_classe']) == "undefined"){
			parametri['rec_classe'] = "";
		}	
		dati = rest_caricaDatiRecupera({radice:parametri['rec_radice'],classe:parametri['rec_classe']});
	}		
	rest_caricaDatiPostV2({url_completo:url_completo,dati:dati,div_destinazione:parametri['div_destinazione']});
}

function rest_caricaDatiPostV2(parametri){//funzione di caricamento dati JSON	V2
	url_relativo = parametri['url_completo'];
	dati = parametri['dati'];
	div_destinazione = parametri['div_destinazione'];
	if (typeof(dati) == "undefined"){
		dati={};
	}
	rest_sender_counter++;
	dati['get_sender_counter'] = rest_sender_counter;
	dati['get_div_destinazione'] = div_destinazione;	
	url_completo = url_relativo;
	rest_richiestaJSONPost(url_completo, dati, 'rest_caricaDatiPostV2_result');
}
function rest_caricaDatiPostV2_result(dati_risp){
	rest_plugin_dati(dati_risp);
	$('#'+rest_arr_risposta_dati['rest_div_destinazione']).html(rest_arr_risposta_dati['result']['content']);
	rest_spin_off(rest_arr_risposta_dati['rest_div_destinazione'],0,0,'ajax-loading-120','');
}
function rest_caricaDatiRecupera(parametri){
	radice = parametri['radice'];
	classe = parametri['classe'];	
	if (classe == ''){
		classe = "form-control";
	}
	arr_dati={};
	$( "."+classe ).each(function( i, val ) {
		lunghezza_radice = radice.length;
		id_oggetto = $(val).attr('id');
		confronto = id_oggetto.substring(0,lunghezza_radice);
		if (confronto == radice){
			nome_valore = id_oggetto.substring(lunghezza_radice);
			tipo_oggetto = $(val).prop('type');			
			if (tipo_oggetto == 'checkbox'){ //select-one
				if ($(val).is(':checked')) { valore_scrivo = 1; }else{ valore_scrivo = 0; }
			}else{
				valore_scrivo = $(val).val();
			}
			arr_dati['get_'+nome_valore] = valore_scrivo;
		}		
	});
	return arr_dati;
}
function rest_short_modale(parametri){ //apertura standard di modale con id
	$('#Modale'+parametri['numero']+'_Label').html(parametri['titolo']);
	$('#Modale'+parametri['numero']).modal('show');
	url_completo = url_builder_api('',parametri['destinazione'],'','');
	dati={}
	dati[parametri['id_nome']] = parametri['id_valore'];
	dati['get_modale'] = parametri['numero'];
	rest_spin_off('Modale1_content',1,1,'ajax-loading-120','');
	rest_caricaDatiPost(url_completo,dati,'rest_short_modale_result');
}
function rest_short_modale_result(dati_risp){
	rest_plugin_dati(dati_risp);
	$('#Modale'+rest_arr_risposta_dati['rest_modale']+'_content').html(rest_arr_risposta_dati['result']['content']);
	rest_spin_off('Modale'+rest_arr_risposta_dati['rest_modale']+'_content',0,0,'ajax-loading-120','');
}
/* Aggiornamento 2024-04-19 - fine */
	
function rest_richiestaJSONPost(url_relativo, dati, funz_callback){	
	if (dati == ''){ dati={}; }
	$.ajax({
		url: url_relativo,
		type: "POST",
		dataType: "json",
		data: dati,
		cache: false,
		crossDomain: true,		
		//contentType: "application/x-www-form-urlencoded;charset=windows-1252",	
		success:function(result){								
				dati_risp = jQuery.parseJSON(JSON.stringify(result));				
				eval(funz_callback+'(dati_risp);');
				
			}, 
		error: function (error, status){			
			dati_error = JSON.stringify(error);	
			rest_debuggaoperazione('ERROR-> : '+dati_error);
			//alert(error+" -- "+status);	
		}
	});
}






function rest_plugin_dati(dati_risp){	
	//elaboro dati e li passo all arr_risposta_dati
	rest_arr_risposta_dati = dati_risp;
	if (rest_arr_risposta_dati['status'] == ''){
		rest_alert('Errore Risposta API');
	}else if (rest_arr_risposta_dati['msg'] != ''){
		rest_alert(rest_arr_risposta_dati['msg'])
	}
	if (rest_arr_risposta_dati['eval'] != ''){
		eval(rest_arr_risposta_dati['eval']);
	}
	if (rest_arr_risposta_dati['debug']){
		rest_debuggaoperazione(rest_arr_risposta_dati['debug']);
	}
}




function interfaccia_inializzazione(){
	
	size_height = $( document ).height();
	size_width = $( window ).width();
	if (REST_DEBUG_MODE == 1){
		size_width = size_width-280;
	}	
	url_relativo = url_builder_api(0,'00010','&p_w='+size_width+'&p_h='+size_height,'');
	if (REST_PASS_TEMP){
		url_relativo = url_relativo+REST_PASS_TEMP;
	}
	rest_debuggaoperazione(url_relativo);
	rest_caricaDati(url_relativo);
	
	//Creazione del menu
	//Definizione delle dimensioni blocchi in base alle preferenze
}
function interfaccia_set(){
	rest_arr_storage['interfaccia'] = new Array();
	rest_arr_storage['interfaccia'] = rest_arr_risposta_dati['result']['interfaccia'];
	//$("#"+REST_DIV_CONTAINER).css("width",rest_arr_risposta_dati['result']['interfaccia']['main_w']);
	//$("#"+REST_DIV_CONTAINER).css("min-height",rest_arr_risposta_dati['result']['interfaccia']['main_h']);
	//$("#"+REST_DIV_CONTAINER).css("height",'auto');
	//$(".modal-dialog").css("width",rest_arr_risposta_dati['result']['interfaccia']['main_w']-20);
	
	interfaccia_menu_crea();
	interfaccia_tab_content_crea();
	rest_arr_storage['utente'] = rest_arr_risposta_dati['result']['utente'];
	interfaccia_dati_utente();
	eval(REST_AUTO_EXEC);
}

function interfaccia_login(){
	$("#"+REST_DIV_CONTAINER).css("width",'100%');
	$("#"+REST_DIV_CONTAINER).css("height",'100%');
	$(".container").html(rest_arr_risposta_dati['login_content']);
}
function f01_logout(){
	url_completo = url_builder_api('','01021','','');
	rest_debuggaoperazione('Logout + POST: '+url_completo);
	dati={}
	rest_caricaDati(url_completo,dati,'rest_plugin_dati');
}
function f01_cambio_password(){
	url_completo = url_builder_api('','01101','','');
	rest_debuggaoperazione('Cambio password + POST: '+url_completo);
	dati={get_pwd_vecchia: $('#m_1021_password_vecchia').val(),get_pwd_nuova: $('#m_1021_password_nuova').val(),get_pwd_nuova_rep: $('#m_1021_password_nuova_rep').val()}
	rest_caricaDati(url_completo,dati,'rest_plugin_dati');
}




function f00_reload(){
	if (REST_SCREEN != 'desktop'){
		url_base = REST_URL_API+"?screen="+REST_SCREEN;
	}else{
		url_base = REST_URL_API;
	}
	$(location).attr('href',url_base);
}
function rest_alert(testo_alert){
	//alert(testo_alert);
	bootbox.alert(testo_alert);
}
function interfaccia_menu_crea(){
	//rest_debuggaoperazione('Voci di men�: '+rest_arr_storage['interfaccia']['menu']['elementi_quanti']);
	//menu_contenuto = $("#rest_nav_top").html();
	menu_contenuto = '';
	tab_content = '';	
	
	
	if ((rest_arr_storage['interfaccia']['menu']['ordine']) && rest_arr_storage['interfaccia']['menu']['ordine'] != ''){
		
		arr_ordine =  rest_arr_storage['interfaccia']['menu']['ordine'].split('|');
		
		jQuery.each( arr_ordine, function( ix, val ) {
	
			i = val;
			if (rest_arr_storage['interfaccia']['menu']['elementi'][i]){
	
				menu_contenuto += '<li role="presentation" class=""><a href="#'+rest_arr_storage['interfaccia']['menu']['elementi'][i]['id']+'" aria-controls="'+rest_arr_storage['interfaccia']['menu']['elementi'][i]['id']+'" id="tab_menu_'+rest_arr_storage['interfaccia']['menu']['elementi'][i]['id']+'" role="tab" data-toggle="tab"><span class="glyphicon '+rest_arr_storage['interfaccia']['menu']['elementi'][i]['ico']+'" aria-hidden="true"></span>'+rest_arr_storage['interfaccia']['menu']['elementi'][i]['label']+'</a></li>';
				tab_content += '<div role="tabpanel" class="tab-pane fade in " id="'+rest_arr_storage['interfaccia']['menu']['elementi'][i]['id']+'">'+rest_arr_storage['interfaccia']['menu']['elementi'][i]['id']+'</div>';
			}
	
		});
		
	}else{
		jQuery.each( rest_arr_storage['interfaccia']['menu']['elementi'], function( i, val ) {
menu_contenuto += '<li role="presentation" class=""><a href="#'+rest_arr_storage['interfaccia']['menu']['elementi'][i]['id']+'" aria-controls="'+rest_arr_storage['interfaccia']['menu']['elementi'][i]['id']+'" id="tab_menu_'+rest_arr_storage['interfaccia']['menu']['elementi'][i]['id']+'" role="tab" data-toggle="tab"><span class="glyphicon '+rest_arr_storage['interfaccia']['menu']['elementi'][i]['ico']+'" aria-hidden="true"></span>'+rest_arr_storage['interfaccia']['menu']['elementi'][i]['label']+'</a></li>';
	tab_content += '<div role="tabpanel" class="tab-pane fade in " id="'+rest_arr_storage['interfaccia']['menu']['elementi'][i]['id']+'">'+rest_arr_storage['interfaccia']['menu']['elementi'][i]['id']+'</div>';
	});
	}
	
	
	
	$("#rest_nav_top").append(menu_contenuto);
	$("#rest_tab_content").html(tab_content);
}

function interfaccia_tab_content_crea(){
	tab_content = '';
	default_content = '';
	add_style = '';
	jQuery.each( rest_arr_storage['interfaccia']['menu']['elementi'], function( i, val ) {
		if (rest_arr_storage['interfaccia']['menu']['elementi'][i]['sub']){
			main_content='';
			tab_content = '';
			jQuery.each( rest_arr_storage['interfaccia']['menu']['elementi'][i]['sub'], function( s, vals ) {
				selezionato = 0;
				default_content = '';
				add_style = '';
				if (s == rest_arr_storage['interfaccia']['menu']['elementi'][i]['sub_default']){
					default_content = rest_arr_storage['interfaccia']['menu']['elementi'][i]['sub'][s]['content'];
					selezionato = 1;
					
				}else{
					//Qui creo solo il div
					add_style = ' style:"display=none"';
				}
				main_content += '<div id="rest_content_'+rest_arr_storage['interfaccia']['menu']['elementi'][i]['id']+"_"+s+'"'+add_style+'>'+default_content+'</div>';
				tab_content += interfaccia_tasto_submenu(i,s,selezionato);
			});
			$("#"+rest_arr_storage['interfaccia']['menu']['elementi'][i]['id']).html('<div id="rest_menu_'+rest_arr_storage['interfaccia']['menu']['elementi'][i]['id']+'">'+tab_content+'</div>'+main_content);
		}
	});
}

function interfaccia_dati_utente(){	
	$('#sidebar_dati_utente_email').html(rest_arr_storage['utente']["user_email"]);
	$('#sidebar_dati_utente_name').html(rest_arr_storage['utente']["user_name"]);
	$('#sidebar_dati_utente_group').html(rest_arr_storage['utente']["gr_desc"]);
	if (rest_arr_storage['utente']["user_pass_cambio_obb"] > 0){
		//$("#wrapper").toggleClass("toggled");
		$('#ModalCambioPassword').modal('show');
	}
}

function interfaccia_tasto_submenu(i,s,selezionato){
	if (selezionato == 1){
		//inserire il pezzo del selezionato di default
	}
	add_style = '';
	if (rest_arr_storage['interfaccia']['menu']['elementi'][i]['sub'][s]['default_style']){
		add_style = ' style="'+rest_arr_storage['interfaccia']['menu']['elementi'][i]['sub'][s]['default_style']+'"';
	}
	return '<button id="rest_btn_'+i+'_'+s+'" type="button"'+add_style+' class="btn btn-default navbar-btn" onclick="btn_menu_sub('+"'"+i+"','"+s+"'"+')">'+rest_arr_storage['interfaccia']['menu']['elementi'][i]['sub'][s]['label']+'</button>';
}

function btn_menu_sub(menu_id,sub_id){
	//Nascondo tutti i tab sotto menu
	da_mostrare = '';
	da_eseguire = '';
	jQuery.each(rest_arr_storage['interfaccia']['menu']['elementi'][menu_id]['sub'], function( i, val ) {
		if (i != sub_id){
			Hideelemento('rest_content_'+rest_arr_storage['interfaccia']['menu']['elementi'][menu_id]['id']+'_'+i);
		}else{
			da_mostrare = 'rest_content_'+rest_arr_storage['interfaccia']['menu']['elementi'][menu_id]['id']+'_'+i;	
			da_eseguire = rest_arr_storage['interfaccia']['menu']['elementi'][menu_id]['sub'][sub_id]['btn_action'];
		}
	});
	if (da_eseguire != ''){
		eval(da_eseguire);
	}
	Showelemento(da_mostrare);
}

$(document).ready(function (){				
	if (REST_DEBUG_MODE==1){
		//document.getElementById(REST_DIV_CONTAINER).innerHTML += '<div id="div_debugger_main"><div><a href="javascript: pulisci_debugger();">Pulisci</a></div><div id="div_debugger"></div></div>';
	}
	interfaccia_inializzazione();
});

function f_00_comuni_da_provincia_content(campo_provincia,div_destinazione,id_destinazione,add_tutti){
	val_provincia = $('#'+campo_provincia).val();	
	url_completo = url_builder_api('0','00001','','');	
	rest_debuggaoperazione('f_00_comuni_da_provincia + POST: '+url_completo);	
	dati={get_provincia: val_provincia,get_div_destinazione: div_destinazione,get_id_destinazione: id_destinazione,get_add_tutti: add_tutti}
	rest_spin_off(div_destinazione,'','','','');
	rest_caricaDati(url_completo,dati,'f_00_common_content');
	
}
function f_00_common_content(dati_risp){
	rest_plugin_dati(dati_risp);
	$('#'+rest_arr_risposta_dati['result']['div_destinazione']).html(rest_arr_risposta_dati['result']['content']);
	rest_spin_off(rest_arr_risposta_dati['result']['div_destinazione'],0,0,'','');	
	if (rest_arr_risposta_dati['result']['get_id_focus']){
		$('#'+rest_arr_risposta_dati['result']['get_id_focus']).focus();
	}
}
function blink_field(campo){
	$(campo).fadeIn("slow").addClass('cl_rest_field_alert');
	$(campo).removeClass('cl_rest_field_alert',3000);
}
function ControllaCF(cf) {
	//if (cf.length < 12) {
	//	return ControllaPIVA(cf)    
	//} else {
	var validi, i, s, set1, set2, setpari, setdisp;
	if (cf == '') return '';
	cf = cf.toUpperCase();
	if (cf.length != 16)
		return "Lunghezza non corretta\n"
		+ "il codice fiscale dovrebbe essere lungo\n"
		+ "esattamente 16 caratteri.\n";
	validi = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
	for (i = 0; i < 16; i++) {
		if (validi.indexOf(cf.charAt(i)) == -1)
			return "Il codice fiscale contiene un carattere non valido `" +
				cf.charAt(i) +
				"'.\nI caratteri validi sono le lettere e le cifre.\n";
	}
	set1 = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
	set2 = "ABCDEFGHIJABCDEFGHIJKLMNOPQRSTUVWXYZ";
	setpari = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
	setdisp = "BAKPLCQDREVOSFTGUHMINJWZYX";
	s = 0;
	for (i = 1; i <= 13; i += 2)
		s += setpari.indexOf(set2.charAt(set1.indexOf(cf.charAt(i))));
	for (i = 0; i <= 14; i += 2)
		s += setdisp.indexOf(set2.charAt(set1.indexOf(cf.charAt(i))));
	if (s % 26 != cf.charCodeAt(15) - 'A'.charCodeAt(0))
		return "Codice fiscale non corretto:\n" +
			"il codice di controllo non corrisponde.\n";
	return "";
	//}
}

/*****************************************
	Controllo della Partita I.V.A.
	Linguaggio: JavaScript
******************************************/
function ControllaPIVA(pi) {
	if (pi == '') return '';
	if (pi.length != 11)
		return "Partita iva non corretta\n" +
			"la partita IVA dovrebbe essere lunga\n" +
			"esattamente 11 caratteri.\n";
	validi = "0123456789";
	for (i = 0; i < 11; i++) {
		if (validi.indexOf(pi.charAt(i)) == -1)
			return "La partita IVA contiene un carattere non valido `" +
				pi.charAt(i) + "'.\nI caratteri validi sono le cifre.\n";
	}
	s = 0;
	for (i = 0; i <= 9; i += 2)
		s += pi.charCodeAt(i) - '0'.charCodeAt(0);
	for (i = 1; i <= 9; i += 2) {
		c = 2 * (pi.charCodeAt(i) - '0'.charCodeAt(0));
		if (c > 9) c = c - 9;
		s += c;
	}
	if ((10 - s % 10) % 10 != pi.charCodeAt(10) - '0'.charCodeAt(0))
		return "Partita iva non valida:\n" +
			"il codice di controllo non corrisponde.\n";
			
	return "";
}





jQuery.validator.addMethod("codicefiscale",
	function (value, element, param) {
		//aggiungere validazione client
		var ritorno = "";
		$(element).blur(ritorno = ControllaCF(value));
		if (ritorno == "") {
			return true;
		}
		else {
			return false;
		}
	});
	
	
rest_arr_storage['print'] = new Array();
rest_arr_storage['print']['btn1'] == 0;
rest_arr_storage['print']['btn2'] == 0;
rest_arr_storage['print']['btn3'] == 0;
var print_refresh_attivo = 0;
function rest_print(parametri_stampa){
	//Disattiva tasti dialog
	//+'&print_refresh='+print_refresh_attivo
	url_completo = url_builder_api('',parametri_stampa[0].report_modulo_file,'&r='+parametri_stampa[1].report_codice,'');
	rest_debuggaoperazione('rest_print + POST: '+url_completo);
	//;
	//alert(parametri_stampa[2].get_ida);
	dati=parametri_stampa[2];
	//dati={eval(parametri_stampa['report_parametri'])}
	
	rest_spin_off('rest_01_print_content_right','','','','');
	rest_caricaDati(url_completo,dati,'rest_print_carica');		
}
function rest_print_carica(dati_risp){
	rest_plugin_dati(dati_risp);
	//attiva i tasti necessari e crea l'anteprima
	rest_arr_storage['print']['btn1'] = rest_arr_risposta_dati['result']['stampa'];
	rest_arr_storage['print']['btn2'] = rest_arr_risposta_dati['result']['pdf'];
	rest_arr_storage['print']['btn3'] = rest_arr_risposta_dati['result']['email'];
	rest_arr_storage['print']['content'] = rest_arr_risposta_dati['result']['content'];
	for (i=1;i<=4;i++){
		if (rest_arr_storage['print']['btn'+i] == 0){
			$("#rest_01_btn_print"+i).addClass('disabled');
		}else{
			$("#rest_01_btn_print"+i).removeClass('disabled');
		}
	}
	$('#rest_01_print_content_left_titolo').html(rest_arr_risposta_dati['result']['aggiornato']+" | "+rest_arr_risposta_dati['result']['titolo']);
	$('#rest_01_print_content_left_descrizione').html(rest_arr_risposta_dati['result']['descrizione']);
	$('#rest_01_print_content_left_orientation').html(rest_arr_risposta_dati['result']['orientation']);
	
	$('#rest_01_print_content_top_right_urlfile').html('');
	$('#rest_01_print_content_bottom').html(rest_arr_storage['print']['content']);
	$('#div_rest_contenitore_print').html(rest_arr_storage['print']['content']);
	rest_spin_off('rest_01_print_content_right',0,0,'','');
	if (print_refresh_attivo == 0){
		$('#ModalPrint').modal('show');
		if (rest_arr_risposta_dati['result']['stampa_auto'] == 1){
			rest_print_azione(1);
		}
	}else{
		
		print_refresh_attivo = 0;
	}
}

function rest_print_azione(azione){
	if (azione == 1){
		if (rest_arr_storage['print']['btn1'] == 0){
			rest_alert('Stampa disabilitata');
		}else{
			$('#div_rest_contenitore_print').html(rest_arr_storage['print']['content']);
			window.print();
		}
	}
	if (azione == 2){
		if (rest_arr_storage['print']['btn2'] == 0){
			rest_alert('Download disabilitato');
		}else{
			url_completo = url_builder_api('','00020','','');
			rest_debuggaoperazione('rest_print + POST: '+url_completo);
			dati={content:$('#rest_01_print_content_bottom').html(),orientation:$('#rest_01_print_content_left_orientation').html()}
			rest_caricaDatiPost(url_completo,dati,'rest_print_azione_download');	
		}
	}
	if (azione == 3){
		/*
		if (rest_arr_storage['print']['btn3'] == 0){
			rest_alert('Invio mail disabilitato');
		}else{
			eval(rest_arr_storage['azioni_print'][3]);
		}
		*/
	}
	if (azione == 4){
		//alert('Salvataggio!!!');
	}
	if (azione == 5){
		print_refresh_attivo = 1;
		eval('rest_print('+$('#rest_01_print_content_url_refresh').html()+")");
		print_refresh_attivo = 0;
	}
	//azione == 'pdf'
	//azione == 'email'
}

function rest_print_azione_download(dati_risp){
	rest_plugin_dati(dati_risp);
	path_file = rest_arr_risposta_dati['result']['file_path']+rest_arr_risposta_dati['result']['file_name'];
	$('#rest_01_print_content_top_right_urlfile').html('<a href="'+path_file+'">Scarica PDF</a>');
	//window.location.href = path_file;
	//window.open(path_file,'_blank');
}	
	
	
/*
jQuery.validator.unobtrusive.adapters.add
	("codicefiscale", [], function (options) {
		options.rules["codicefiscale"] = options.params;
		options.messages["codicefiscale"] = options.message;
	});

*/




$('#ModalRecord').on('show.bs.modal', function(e) {
	var $modal = $(this),
	esseyId = e.relatedTarget.id;
	esseyId_api = esseyId.substr(11,5);
	esseyId_id = esseyId.substr(17);	
	url_completo = url_builder_api('',esseyId_api,'','');
	rest_debuggaoperazione('m_01_record_generico + POST: '+url_completo);
	dati={get_id_record: esseyId_id}
	rest_spin_off('rest_01_record_generic_form','','','','');
	rest_caricaDati(url_completo,dati,'m_01_record_generico');	
    });
function m_01_record_generico(dati_risp){
	rest_plugin_dati(dati_risp);
	$('#rest_01_record_generic_form').html(rest_arr_risposta_dati['result']['content']);
	rest_spin_off('rest_01_record_generic_form',0,0,'','');
}
function objToString (obj) {
    var str = '';
    for (var p in obj) {
        if (obj.hasOwnProperty(p)) {
            str += p + '::' + obj[p] + '\n';
        }
    }
    return str;
}
function soloNum(elemento) {
	if (elemento.value.length > 0){
		if(elemento.value.match(/^\+*\d+$/)) {
			return true;
		} else {
			rest_alert("Inserire solo numeri!");
			elemento.value = elemento.value.substr(0,elemento.value.length-1);//rimuovo ultimo carattere
			elemento.focus();
			return false;
		}
	}
}
function rest_field_toUpper(elemento){
	strupp = $('#'+elemento).val().toUpperCase();
	$('#'+elemento).val(strupp);
	
}

function number_format(a, b, c, d) {
			a = Math.round(a * Math.pow(10, b)) / Math.pow(10, b);
			e = a +'';
			f = e.split('.');
			if(!f[0]) f[0] = '0';
			if(!f[1]) f[1] = '';
			if(f[1].length < b){
			g = f[1];
			for(i = f[1].length + 1; i <= b; i++) {
			g += '0';
			}
			f[1] = g;
			}
			if(d != '' && f[0].length > 3) {
			h = f[0];
			f[0] ='';
			for(j = 3; j < h.length; j += 3) {
			i = h.slice(h.length - j, h.length - j + 3);
			f[0] = d + i + f[0] + '';
			}
			j = h.substr(0, (h.length % 3 == 0) ? 3 : (h.length % 3));
			f[0] = j + f[0];
			}
			c = (b <= 0) ? '': c;
			return f[0] + c + f[1];
			}


$(document).ready(function() {
    //toggle `popup` / `inline` mode
    $.fn.editable.defaults.mode = 'popup';
	$.fn.editable.defaults.emptytext = "Vuoto";            
});

//a.fn.editable.defaults={type:"text",disabled:!1,toggle:"click",emptytext:"Empty",autotext:"auto",value:null,display:null,emptyclass:"editable-empty",unsavedclass:"editable-unsaved",selector:null,highlight:"#FFFF80"}



rest_arr_storage['lebels'] = new Array();
/*/*
rest_arr_storage['lebels']['contratto'] = new Array();
rest_arr_storage['lebels']['contratto'][1] = 'Vendita';
rest_arr_storage['lebels']['contratto'][2] = 'Affitto';
*/
rest_arr_storage['lebels']['state'] = new Array();
rest_arr_storage['lebels']['state'][0] = 'Disattivato';
rest_arr_storage['lebels']['state'][5] = 'Sospeso';
rest_arr_storage['lebels']['state'][9] = 'Attivo';

rest_arr_storage['interfaccia'] = new Array();
rest_arr_storage['interfaccia']['templates'] = new Array();


</script>

<style>
body{}
#div_debugger_main{background-color:#3399FF; position:fixed; right:0; top:0; width:280px; height:100%; font-size:12px; z-index:100000000; overflow-y:auto;}
#div_rest_contenitore{background-color:#ffffff; min-height:100px; min-width:100px;}
.container{width:100% !important;}
.rest_menu_sub{padding:10px; float:left; cursor:pointer; border: solid 1px #CCCCCC; margin-right:5px;}

.modal-dialog{width:94%;}
.glyphicon{}
.cl_rest_field_alert{border: solid 1px #FF9900; background-color:#FFFF99;}


body{}
#div_debugger_main{background-color:#3399FF; color:#000000; position:fixed; right:0; top:0; width:280px; height:100%; font-size:12px; z-index:100000000; overflow-y:auto;}
#div_rest_contenitore{background-color:#ffffff; min-height:100px; min-width:100px;}
.container{width:100% !important;}
.rest_menu_sub{padding:10px; float:left; cursor:pointer; border: solid 1px #CCCCCC; margin-right:5px;}
.modal-dialog{width:94%;}
.glyphicon{}
.cl_rest_field_alert{border: solid 1px #FF9900; background-color:#FFFF99;}
.btn-default{color:#666666; background-color:#FFFFFF;}
.tab-content{overflow:auto;}

</style></body></html>
HTTP/1.1 200 OK
Date: Sat, 17 May 2025 21:28:33 GMT
Server: Apache/2.4.18 (Ubuntu)
Vary: Accept-Encoding
Content-Encoding: gzip
Cache-Control: no-store, no-cache, must-revalidate, max-age=0
Expires: Sat, 17 May 2025 21:28:33 GMT
Pragma: no-cache
Content-Length: 10991
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=utf-8

iframe