Developers Jos Posted August 16, 2016 Developers Share Posted August 16, 2016 2 minutes ago, faustf said: i find a solution is latency of browser introduce some pause That is not the solution for the error but merely a workaround! SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
faustf Posted August 16, 2016 Author Share Posted August 16, 2016 yes is right Jos Link to comment Share on other sites More sharing options...
Developers Jos Posted August 16, 2016 Developers Share Posted August 16, 2016 Guess you don't really understand that you haven't solved anything and this error will happen again! SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
faustf Posted August 16, 2016 Author Share Posted August 16, 2016 #include <ie.au3> and go away Link to comment Share on other sites More sharing options...
faustf Posted August 17, 2016 Author Share Posted August 17, 2016 sorry @Danyfirex i try to continue the script but when i try to click over image spedisci with this code Local $teste1 = _IEFormImageClick($oIE, "img/spedisci.png", "src") MsgBox(0, 'src', $teste1 & ' ' & @error & ' ' & @extended) Local $teste = _IEFormImageClick($oIE, "Spedisci", "alt") MsgBox(0, 'alt', $teste & ' ' & @error & ' ' & @extended) Local $teste2 = _IEFormImageClick($oIE, "http://www.spediamo.it/img/spedisci.png") MsgBox(0, 'link png', $teste2 & ' ' & @error & ' ' & @extended) Local $teste3 = _IEFormImageClick($oIE, "checkout", "id") MsgBox(0, 'id', $teste3 & ' ' & @error & ' ' & @extended) return me always error = 7 extended 2 ($_IEStatus_NoMatch) - No Match how is possible no match? expandcollapse popup<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="it-IT"> <head> <meta http-equiv="X-UA-Compatible" content="IE=8" /> <title>Spediamo.it - spedisci pacchi online dal pannello di controllo</title> <meta name="description" content="Puoi spedire con ritiro a domicilio direttamente dal pannello di controllo." /> <meta name="keywords" content="spedire,spedizioni,spedizioni multiple,spedizione,spedire pacco,spedire pallet,spedire valigia,spedire online,corriere espresso,ritiro a domicilio" /> <!-- CSS --> <!-- about JQuery UI from CDN <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery.ui.all.css" media="screen" rel="stylesheet" type="text/css" /> --> <link href="js/jquery-ui.custom/css/ui-lightness/jquery-ui.custom.css" media="screen" rel="stylesheet" type="text/css" /> <!-- about Datatables --> <link href="DataTables/media/css/datatables.css" media="screen" rel="stylesheet" type="text/css" /> <link href="DataTables/examples/examples_support/jquery.tooltip.css" media="screen" rel="stylesheet" type="text/css" /> <!-- about its Colvis --> <link href="DataTables/ColVis/media/css/ColVis.css" media="screen" rel="stylesheet" type="text/css" /> <!-- my css --> <link href="css/style-slideshow.css" media="screen" rel="stylesheet" type="text/css" /> <link href="css/main.css?version=0001" media="screen" rel="stylesheet" type="text/css" /> <!-- rewrite thirds when needed --> <style type="text/css"> #core table.display td.right { text-align:right } /* fix datatables bug */ .ui-widget-content { background:white } /* dialog in white */ .ui-widget-header { color:black } .ui-widget-overlay { position:fixed } </style> <!-- JAVASCRIPT --> <!-- jquery and its user interface from CDN <script src="https://www.google.com/jsapi?key=ABQIAAAAPIrXYxw05uifWL-w3aFWGhTOXCdlMvd2nVjxcNd9gZ3yPjkxXhSNB9BAVriX_aSK_GeaxJEhsGS6tw" type="text/javascript"></script> <script type="text/javascript"> google.load("jquery", "1.5.1"); google.load("jqueryui", "1.8.11"); </script> --> <!-- jquery and its user interface from local --> <script type="text/javascript" src="js/jquery.min.js"></script> <script type="text/javascript" src="js/jquery-ui.custom/js/jquery-ui.custom.min.js"></script> <!-- a lot more than needed: TODO custom! --> <!-- jquery's table plugin "DataTables" --> <script type="text/javascript" src="DataTables/examples/examples_support/jquery.tooltip.js"></script> <script type="text/javascript" src="DataTables/media/js/jquery.dataTables.js"></script> <!-- DataTables' plugin "ColVis" --> <script type="text/javascript" src="DataTables/ColVis/media/js/ColVis.js"></script> <!-- jquery's plugins for slideshow effect --> <script type="text/javascript" src="js/effects/shadedborder.js"></script> <script type="text/javascript" src="js/effects/jquery.3scroll.js"></script> <script type="text/javascript" src="js/effects/jquery.tabslider.js"></script> <!-- jquery's plugin for forms errors checks --> <script type="text/javascript" src="js/jquery-validate/jquery.validate.js"></script> <script type="text/javascript" src="js/jquery.maskedinput.js"></script> <!-- jquery's plugin for the address book page --> <script type="text/javascript" src="js/jquery.tools.min.js"></script> <!-- jquery's plugin for quick contact chance --> <script type="text/javascript" src="js/InFieldLabels/src/jquery.infieldlabel.min.js"></script> <!-- my js --> <script type="text/javascript"> var waiting_div = '<div id="waiting_div">' + '<img src="/img/loading.gif" style="vertical-align:middle;">' + 'Verifica richiesta' + '</div>'; function cleanBtnDialog() { $('.ui-dialog-buttonpane button').hide(); } function showBtnDialog() { $('.ui-dialog-buttonpane button').show(); } function cleanBtnCloseDialog() { $('.ui-dialog-buttonpane #btn-close-main-form').hide(); } function initBtnPaneShipDialog(firstTime) { if (firstTime) { $('.ui-dialog-buttonpane').prepend(tmp_order_tot); if ($('#waiting_div').length == 0) { $('.ui-dialog-buttonpane').append(waiting_div); } $('.ui-dialog-buttonpane #waiting_div').hide(); } else $('.ui-dialog-buttonpane .divTot').show(); } function allocateDialog() { cleanBtnDialog(); if ($('#waiting_div').length == 0) $('.ui-dialog-buttonpane').append(waiting_div); $('.ui-dialog-buttonpane #waiting_div').show(); } function deallocateDialog() { $('.ui-dialog-buttonpane #waiting_div').hide(); $('.ui-dialog-buttonpane button').show(); cleanBtnCloseDialog(); } function cleanBtnPanePendingShipDialog() { $('.ui-dialog-buttonpane .divTot').hide(); $('.ui-dialog-buttonpane #waiting_div').hide(); } function filterBtnShipDialog(action) { if ($('#waiting_div').length != 0) $('.ui-dialog-buttonpane #waiting_div').hide(); if (action) { $('.ui-dialog-buttonpane #btn-close-main-form').hide(); $('.ui-dialog-buttonpane #btn-annull-main-form').show(); $('.ui-dialog-buttonpane :button:contains("Conferma")').show(); }else{ $('.ui-dialog-buttonpane #btn-close-main-form').show(); $('.ui-dialog-buttonpane #btn-annull-main-form').hide(); $('.ui-dialog-buttonpane :button:contains("Conferma")').hide(); } } var warnTitle = []; function openWarn(html, title) { cleanBtnPanePendingShipDialog(); $('#warn_dialog').html(html); switch (title) { case 'error': title = 'Errore'; break; case 'warning': title = 'Attenzione'; break; case 'info': title = 'Informazione'; break; case 'WAIT': title = 'Attendi'; break; default: // debug } $('#warn_dialog').dialog('option', 'title', title); $('#warn_dialog').dialog('open'); } function closeWarn() { $('#warn_dialog').dialog('close'); } $(document).ready(function() { $('#warn_dialog').dialog({ autoOpen: false, modal: true, resizable: false, draggable: false, buttons: { 'Chiudi': function() { $('#warn_dialog').dialog('close'); } } }); $('#just_paid_ship_dialog').dialog({ autoOpen: false, modal: true, width: 900, draggable: false, resizable: false, buttons: { 'Chiudi': function() { $('#just_paid_ship_dialog').dialog('close'); } } }); }); function isErrInAjax(o) { // used everywhere except cases $('#recharge_dialog').dialog({... and $('#checkout_dialog').dialog({... if (o.message) openWarn(o.message, o.level); if (o.level && o.level == 'ERROR') return true; else return false; } </script> <script type="text/javascript" src="js/main.js?version=0003"></script> <script type="text/javascript" src="js/datatables.js?version=0002"></script> <!-- force refresh; p.s. chrome double click instead of ctrl-f5 --> <script type="text/javascript" src="js/addressbook.js"></script> <script type="text/javascript" src="js/ship.js?version=0011"></script> <script type="text/javascript" src="js/accessories.js?version=0006"></script> <!-- work in progress started from js/A-da-sito/5-script.js --> <script type="text/javascript" src="js/iban.js"></script> <!-- website integration of livechat - tracking code --> <script type="text/javascript"> var chatEnabled = ""; if (chatEnabled) { (function() { var lc_params = ''; var lc_lang = 'it'; var lc_skill = '0'; var lc = document.createElement('script'); lc.type = 'text/javascript'; lc.async = true; var lc_src = ('https:' == document.location.protocol ? 'https://' : 'http://'); lc_src += 'chat.livechatinc.net/licence/1051820/script.cgi?lang='+lc_lang+unescape('%26')+'groups='+lc_skill; lc_src += ((lc_params == '') ? '' : unescape('%26')+'params='+encodeURIComponent(encodeURIComponent(lc_params))); lc.src = lc_src; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(lc, s); })(); } var googleAnalyticsEnabled = "1"; var googleAnalyticsAccount = "UA-23714586-1"; if (googleAnalyticsEnabled) { var _gaq = _gaq || []; _gaq.push(['_setAccount', googleAnalyticsAccount]); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); } </script> </head> <body id="dt_spediamo"> <!-- ####################################################################################### --> <!-- #################### E X T E R N A L T E M P L A T E #################### --> <!-- ####################################################################################### --> <div id="content" > <!-- external template --> <div id="pageheader"> <!-- external template --> <a href="/" title="Home" ><img src="img/logo-piccolo.png" alt="logo" id="smalllogo" title="logo" /></a> <div id="tabwrapper"> <div class="tab1"> <h3 class="titleIcon"><br/>PROFILO</h3> <input type="radio" name="preference_id" value="0" style="display:none" /> </div> <div class="tab2 tabactive"> <h3><br/>SPEDIZIONI</h3> <input type="radio" name="preference_id" value="1" checked style="display:none" /> </div> <div class="tab3"> <h3 class="titleIcon">ARCHIVIO<br/>SPEDIZIONI</h3> <input type="radio" name="preference_id" value="2" style="display:none" /> </div> <div class="tab4"> <h3 class="titleIcon"><br/>RUBRICA</h3> <input type="radio" name="preference_id" value="3" style="display:none" /> </div> </div> </div> <div id="body"> <!-- external template --> <div id="pagetop"></div> <!-- external template --> <div id="pagebody"> <!-- external template --> <div id="page-wrapper"> <!-- external template --> <!-- ############################################################################### --> <!-- #################### C O R E S P E D I A M O #################### --> <!-- ############################################################################### --> <!-- ################################################################################################################################################### --> <!-- pass php variables to js --> <script language="javascript" type="text/javascript"> var logged = "true"; var abroad = ""; /* needed only if logged */ var welcomeMsg = ""; var flagJustPaidShip = ""; var urlGetTable = "http://www.spediamo.it/ajax/get-datatable"; var urlGetFilledForm = "http://www.spediamo.it/ajax/get-data-to-fill-form"; var urlGetMassiveValidation = "http://www.spediamo.it/ajax/get-massive-validation"; var urlInvalidateOrders = "http://www.spediamo.it/ajax/invalidate-shipments"; var urlGetEstimates = "http://www.spediamo.it/ajax/get-estimates"; var urlBuyPrepaid = "http://www.spediamo.it/ajax/buy-prepaid"; var urlDeleteShipments = "http://www.spediamo.it/ajax/delete-shipments"; var urlArchiveShipments = "http://www.spediamo.it/ajax/archive-shipments"; var urlGetInvoiceRow = "http://www.spediamo.it/ajax/easyfatt/get-invoice-row"; var urlGetAccountCredit = "http://www.spediamo.it/ajax/credit/get-account-credit"; var urlSetAccountCreditArea = "http://www.spediamo.it/ajax/credit/set-account-credit-area"; var urlLoadProfile = "http://www.spediamo.it/ajax/profile/load-profile"; var urlLoadContact = "http://www.spediamo.it/ajax/address-book/load-contact"; var urlSaveProfile = "http://www.spediamo.it/ajax/profile/save-profile"; var urlCheckProfilePassword = "http://www.spediamo.it/ajax/profile/check-profile-password"; var urlSaveProfilePassword = "http://www.spediamo.it/ajax/profile/save-profile-password"; var urlDeleteContact = "http://www.spediamo.it/ajax/address-book/delete-contact"; var urlSaveContact = "http://www.spediamo.it/ajax/address-book/save-contact"; var urlSetDefaultContact = "http://www.spediamo.it/ajax/address-book/set-default-contact"; var urlLoadHtmlAddressBook = "http://www.spediamo.it/ajax/address-book/load-html-address-book"; /* needed if not logged too */ var urlGetSettings = "http://www.spediamo.it/ajax/get-settings"; var urlGetEstimate = "http://www.spediamo.it/ajax/get-estimate"; var urlBuyShipments = "http://www.spediamo.it/ajax/buy-shipments"; var urlGetTown = "http://www.spediamo.it/ajax/geo/get-town"; var urlGetPostalCode = "http://www.spediamo.it/ajax/geo/get-postal-code"; var urlQuickContact = "http://www.spediamo.it/ajax/social/quick-contact"; /**/ var urlCallTrackShipmentHistoryRequest = "http://www.spediamo.it/ajax/call-track-shipment-history-request"; var urlSyncShipmentsStatusAndDoStats = "http://www.spediamo.it/ajax/sync-shipments-status-and-do-stats"; var urlCsvXmlImportDoc = "http://www.spediamo.it/importazione-csv"; /**/ var inFacebook = "false"; if (inFacebook) $('body').css('background', 'none'); /**/ var urlGetCountriesForImport = "http://www.spediamo.it/ajax/geo/get-countries-for-import"; var urlGetCountriesForExport = "http://www.spediamo.it/ajax/geo/get-countries-for-export"; /**/ var urlRetrieveIban = "http://www.spediamo.it/ajax/session/retrieve-iban"; /**/ var flagLetDownloadLDV = "1"; var urlGetWaybill = "http://www.spediamo.it/ajax/accounting/get-waybill"; var urlGetInvoice = "http://www.spediamo.it/ajax/accounting/get-invoice"; var urlGetDatatableInvoices = "http://www.spediamo.it/ajax/accounting/get-datatable-invoices"; </script> <!-- ####################################################################### --> <!-- #################### C O N T A I N E R #################### --> <!-- ####################################################################### --> <div id="container" style="margin-top:20px;"> <!-- HTML HIDDEN DIALOGUES --> <div id="warn_dialog" title="Info"></div> <div id="load_dialog" title="Caricamento Dati" style="text-align:center;visibility:hidden"> <div style="margin-top:20px;"> <img src="/img/loading-long.gif"/> </div> </div> <div id="just_paid_ship_dialog" title="Ordine completato" style="display:none"> <div style="clear:both;width:100%"><!-- filled by ajax --></div> <div style="float:left;width:70%"> <b style="color:red">IMPORTANTE!</b><br/><br/> Ricordati che è obbligatorio <span style="color:red">stampare la lettera di vettura</span><br/> che stai per ricevere via email e attaccarla su un lato libero del pacco.<br/><br/> Controlla anche come eseguire l'imballo alla pagina <a href="javascript:void(0);" onclick="window.open('http://www.spediamo.it/scopri-il-servizio','Scopri_il_servizio','height=600,width=1000,scrollbars');" title="clicca qui per l'imballo" style="text-decoration:underline">scopri il servizio</a>. <br/><br/> Spediamo.it ti consiglia di <span style="color:red">fare firmare</span> con riserva alla ricezione della merce, per riservarti la possibilità di controllarne l'integrità! </div> <div style="float:left;width:30%"> <img src="http://www.spediamo.it/img/box.jpg" style="width:60%;margin:30px 0 0 30px" /> </div> </div> <!-- MAIN FORM --> <!-- DATA --> <div id="data" class="pageContainer" style="visibility:hidden;"> <div id="pageContent"> <!-- class="container clearfix" --> <div id="content_slider"> <!-- class="grid_content" --> <div id="slider"> <!-- class="clearfix" --> <div class="tabnavContainer"> <ul class="navigation"> <li class="n0"><a href="#m0">Spedizione</a></li> <li class="n1"><a href="#m1">Servizi e costi</a></li> <li class="n2"><a href="#m2">Ritira presso</a></li> <li class="n3"><a href="#m3">Consegna a</a></li> <li class="n4" style="margin-top:45px"><a href="#m4">Servizi extra</a></li> </ul> </div> <!-- element with overflow applied --> <div class="scroll"> <!-- the element that will be scrolled during the effect --> <!-- --> <form id="form_order" name="form_order" method="POST"> <input type="hidden" id="SHIPMENT::id" name="SHIPMENT::id" value=""/> <input type="hidden" id="main_paypal_email" name="paypalEmail" value="" /> <div class="scrollContainer"> <!-- panel: 0, 1, 2, 3 --> <div class="panel" id="m0"> <!-- --> <h3 class="order_slides_title">SPEDIZIONE: <span style="float:right;margin-top:10px;font-size:70%;color:gray">* Orari di ritiro/consegna: h. 8:30-13:30 e 14:30-18:40</span></h3> <table class="tab_sheet" width="100%" cellpadding="0" cellspacing="5" border="0"> <tr> <td width="150px" class="date_in"> <span class="orange">*</span>Data Ritiro<br> <!--FIX IE datepicker bug dis/enable--><input type="text" name="fixIE" style="width:0;height:0;top:-100px;position:absolute" /> <input class="input_default input90 date_picker" type="text" id="SHIPMENT::collection_date" name="SHIPMENT::collection_date" value="" size="7" readonly onchange="$('#fix_clean_err_date').empty();" /> <!-- hidden redundant but 'PAST_OR_PRESENT_DAY_COLLECTION_DATE' got problem with $(id) --> <!-- usual $(this).next('.err_validator').empty(); does not work --> <input type="hidden" name="valid_date" class="valid_date"> <div id="fix_clean_err_date" class="err_validator"></div> </td> <td style='padding-top:20px'> <div id="sender_time"> <input type="radio" name="SENDER::collection_time" value="mattina" checked>Mattina<br/> <input type="radio" name="SENDER::collection_time" value="pomeriggio">Pomeriggio <br/>*<span style="font-size:90%">solo indicativo</span> </div> </td> <td>Note per la consegna (stampate sull'etichetta)<br/> <textarea class="input_txtarea" id="RECIPIENT::notes" name="RECIPIENT::notes" style="width:100%;height:20px;"></textarea> <div class="err_validator"></div> </td> </tr> </table> <div class="box_tab"> <!--primo box--> <div class="ui-corner-top unselected"> <div class="boxOrdertype"> <div class="ordertypeImage"><center><img src="img/busta.png" /></center></div> <div class="ordertypeText"> <p> <a> <input type="radio" name="parcel_type" value="0" style="display:none" /> <h3 class="ordertypeTitle">BUSTE</h3> </a> </p> </div> </div> </div> <!--secondo box--> <div class="ui-corner-top selected"> <div class="boxOrdertype"> <div class="ordertypeImage"><center><img src="img/pacco.png" /></center></div> <div class="ordertypeText"> <p> <a> <input type="radio" name="parcel_type" value="1" checked style="display:none" /> <h3 class="ordertypeTitle">PACCHI</h3> </a> </p> </div> </div> </div> <!--terzo box--> <div class="ui-corner-top unselected"> <div class="boxOrdertype"> <div class="ordertypeImage"><center><img src="img/valigia.png" /></center></div> <div class="ordertypeText"> <p> <a> <input type="radio" name="parcel_type" value="2" style="display:none" /> <h3 class="ordertypeTitle">VALIGIE</h3> </a> </p> </div> </div> </div> <!--quarto box--> <div class="ui-corner-top unselected"> <div class="boxOrdertype"> <div class="ordertypeImage"><center><img src="img/pallet.png" /></center></div> <div class="ordertypeText"> <p> <a> <input type="radio" name="parcel_type" value="3" style="display:none" /> <h3 class="ordertypeTitle">PALLET</h3> </a> </p> </div> </div> </div> </div> <!-- end of box_tab --> <div id="product_box"></div> <!-- loaded when you choose tab --> <div id="err_msg" class="err_validator"></div> <!-- error line --> <!--<br/>--> <span id="warn_max_weight" style="float:left;margin-top:10px;font-size:90%;color:gray">Oltre i 30kg il vettore deve essere aiutato a caricare!</span> <div class="borderTop"> </div> <div id="data_sums"> <table id="tb_data_sums" width="100%"> <tr> <td> <input type="text" id="SHIPMENT::parcelsCount" name="SHIPMENT::parcelsCount" class="input_default input60" readonly /> </td> <td> <input type="text" id="SHIPMENT::weight" name="SHIPMENT::weight" class="input_default input60 " readonly /> </td> <td width="62%"></td> </tr> </table> </div> <div id="warn_dim_weight"></div> <!-- line for dimensionalWeight warning --> <div class="divSubtot"> <a id="reload_base" class="view_based_on_states"><img src="img/freccia_grigia_redo.gif" alt="clicca qui per rielaborare il prezzo" title="clicca qui per rielaborare il prezzo" /></a> <div class="textDiv">PARZIALE:</div> <div class="priceDiv"> <div id="ajax_sub_0" name="ajax_sub_0" >0</div> </div> <div class="euroDiv">€</div> </div> <!-- --> </div> <div class="panel" id="m1"> <!-- --> <h3 class="order_slides_title">ASSICURAZIONE <span style="margin-top:10px;font-weight:normal;font-size:80%;color:#8b8b8b">— <a href="javascript:void(0);" onclick="window.open('http://www.spediamo.it/assicurata','leggi_pagina_assicurata','height=600,width=1000,scrollbars');">leggi pagina assicurata</a></span> </h3> <input type="checkbox" id="insured" name="insured" value=""> <div id="sectionInsurance" style="display:none"> <div class="addServicesEuro">€</div> <div class="addServicesInput"> <input type="text" id="insurance" name="SHIPMENT::insurance_value" value="0" class="blue input_default input90 number valid_insurance_value" style="font-weight:bold; text-align:right; margin-top:2px;" onFocus="this.select()" /> </div> <div class="addServicesTxt" >Il valore massimo <br/> è di € <span class="blue"></span></div> <!-- ajax --> <div id="insurance_err_msg" class="err_validator" style="width:100%; float:left;"></div><br/> <div class="borderTop"> </div> <div class="divSubtot"> <a id="reload_insurance" class="view_based_on_states"><img src="img/freccia_grigia_redo.gif" alt="clicca qui per rielaborare il prezzo" title="clicca qui per rielaborare il prezzo" /></a> <div class="textDiv">PARZIALE:</div> <div class="priceDiv"> <div id="ajax_sub_2" name="ajax_sub_2" class="input_dim_val" >0,00</div> </div> <div class="euroDiv">€</div> </div> </div> <div class="clear"></div><br/> <h3 class="order_slides_title" style="margin-top:30px">CONTRASSEGNO <span style="margin-top:10px;font-weight:normal;font-size:80%;color:#8b8b8b">— <a href="javascript:void(0);" onclick="window.open('http://www.spediamo.it/contrassegno','leggi_pagina_contrassegno','height=600,width=1000,scrollbars');">leggi pagina contrassegno</a></span> </h3> <input type="checkbox" id="cash_on_delivery" name="cash_on_delivery" value=""> <div id="sectionCashOnDelivery" style="display:none"> <!-- --> <table class="tab_sheet" width="100%" cellpadding="0" cellspacing="5" border="0" style="margin-bottom:0px;"> <td width="40%"> <div class="addServicesEuro">€</div> <div class="addServicesInput"> <input type="text" id="cash_on_delivery" name="SHIPMENT::cash_on_delivery_value" value="0" class="blue input_default input90 number valid_cash_on_delivery_value" style="font-weight:bold; text-align:right; margin-top:2px;" onFocus="this.select()" /> </div> <div class="addServicesTxt">Il valore massimo <br/> è di € <span class="blue"></span></div> <!-- ajax --> <div id="cash_on_delivery_err_msg" class="err_validator" style="width:100%; float:left;"></div><br/> </td> <td> <div style="margin-top:-15px">L'IBAN è necessario per girarti l'importo dovuto:</div> <input class="input_default input250 valid_iban" type="text" id="BILL::cash_on_delivery_iban" name="BILL::cash_on_delivery_iban" value=""> <!-- FIX insert maxlength because after disabling $.validator backend breaks, now no maxlength x new ctrl --> <div class="err_validator"></div> <!-- --> <div style="margin-top:-5px">Intestatario del conto (verificalo):</div> <input class="input_default input250 valid_bank_account_name" type="text" id="BILL::cash_on_delivery_bank_account_name" name="BILL::cash_on_delivery_bank_account_name" value="" maxlength="50"> <div class="err_validator"></div> <!-- --> </td> </tr> </table> <!-- --> <div class="borderTop"> </div> <div class="divSubtot"> <a id="reload_cash_on_delivery" class="view_based_on_states"><img src="img/freccia_grigia_redo.gif" alt="clicca qui per rielaborare il prezzo" title="clicca qui per rielaborare il prezzo" /></a> <div class="textDiv">PARZIALE:</div> <div class="priceDiv"> <div id="ajax_sub_3" name="ajax_sub_3" class="input_dim_val" >0,00</div> </div> <div class="euroDiv">€</div> </div> </div> <!-- ............................................................................................... --> <h3 class="order_slides_title" style="margin-top:30px">SUPPLEMENTI</h3> <div class="overprice"> <div style="float: left;"> <span>DESTINAZIONE</span> — <a href="javascript:void(0);" onclick="window.open('http://www.spediamo.it/sicilia-calabria-sardegna','Sicilia_Calabria_Sardegna','height=600,width=1000,scrollbars');">Sicilia Calabria Sardegna</a><br/> <span>PARTENZA O DESTINAZIONE</span> — <a href="javascript:void(0);" onclick="window.open('http://www.spediamo.it/localita-disagiate','Località_disagiate','height=600,width=1000,scrollbars');">Località disagiate/periferiche</a> </div> <div class="divSubtot"> <!--Ritiro o consegna in località svantaggiata.--> <a id="reload_town_surcharge" class="view_based_on_states"><img src="/img/freccia_grigia_redo.gif" alt="clicca qui per rielaborare il prezzo" title="clicca qui per rielaborare il prezzo" /></a> <div class="textDiv">PARZIALE:</div> <div class="priceDiv"> <div id="ajax_sub_4" name="ajax_sub_4" class="input_dim_val" >0,00</div> </div> <div class="euroDiv">€</div> </div> </div> <br/> <br/> <br/> <div class="overprice"> <div style="float: left; clear:left;"> <span>CARBURANTE</span> — per <a href="javascript:void(0);" onclick="window.open('http://www.spediamo.it/supplemento-carburante','Supplemento_carburante','height=600,width=1000,scrollbars');">ulteriori informazioni</a> </div> <div class="divSubtot"> <a id="reload_fuel_surcharge" class="view_based_on_states"><img src="/img/freccia_grigia_redo.gif" alt="clicca qui per rielaborare il prezzo" title="clicca qui per rielaborare il prezzo" /></a> <div class="textDiv">PARZIALE:</div> <div class="priceDiv"> <div id="ajax_sub_1" name="ajax_sub_1" class="input_dim_val" >0,00</div> </div> <div class="euroDiv">€</div> </div> </div> <!-- ............................................................................................... --> <!--<h3 class="order_slides_title" style="margin-top:30px">SUPPLEMENTO DESTINAZIONE</h3> <div class="overprice"> per <a href="javascript:void(0);" onclick="window.open('http://www.spediamo.it/sicilia-calabria-sardegna','Sicilia_Calabria_Sardegna','height=600,width=1000,scrollbars');">Sicilia Calabria Sardegna</a> o <a href="javascript:void(0);" onclick="window.open('http://www.spediamo.it/localita-disagiate','Località_disagiate','height=600,width=1000,scrollbars');">Località disagiate</a> <div class="divSubtot"> <!--Ritiro o consegna in località svantaggiata.--> <!--<a id="reload_town_surcharge" class="view_based_on_states"><img src="/img/freccia_grigia_redo.gif" alt="clicca qui per rielaborare il prezzo" title="clicca qui per rielaborare il prezzo" /></a> <div class="textDiv">PARZIALE:</div> <div class="priceDiv"> <div id="ajax_sub_4" name="ajax_sub_4" class="input_dim_val" >0,00</div> </div> <div class="euroDiv">€</div> </div> </div> <h3 class="order_slides_title" style="margin-top:20px">SUPPLEMENTO CARBURANTE</h3> <div class="overprice"> per <a href="javascript:void(0);" onclick="window.open('http://www.spediamo.it/supplemento-carburante','Supplemento_carburante','height=600,width=1000,scrollbars');">ulteriori informazioni</a> <div class="divSubtot"> <a id="reload_fuel_surcharge" class="view_based_on_states"><img src="/img/freccia_grigia_redo.gif" alt="clicca qui per rielaborare il prezzo" title="clicca qui per rielaborare il prezzo" /></a> <div class="textDiv">PARZIALE:</div> <div class="priceDiv"> <div id="ajax_sub_1" name="ajax_sub_1" class="input_dim_val" >0,00</div> </div> <div class="euroDiv">€</div> </div> </div>--> <!-- --> </div> <div class="panel" id="m2"> <!-- --> <h3 class="order_slides_title" style="margin-bottom:16px;margin-bottom:8px\9">RITIRA PRESSO: <span style="float:right;margin-top:10px;font-size:70%;color:gray">Orari di ritiro: h. 8:30-13:30 e 14:30-18:40</span> </h3> <table id="SENDER::header" class="tab_sheet" width="100%" cellpadding="0" cellspacing="5" border="0" style="margin-bottom:10px"> <tr class="bg_grey addon_top_address_book"> <td style="width:200px">Seleziona una voce in rubrica</td> <td style="width:260px"> <select class="input_default input260" id="SENDER::sender_id" name="SENDER::sender_id" onchange="getContactData($(this), 'SENDER');"></select> <!-- to be filled asap by ajax (urlLoadHtmlAddressBook) --> </td> <td> <a href="javascript:void(0);" id="SENDER::change_address_book">Crea nuova</a> </td> </tr> </table> <div style="float:right"><span class="orange">*</span>Campi obbligatori</div><br/> <div id="SENDER::area" style="position:relative; width:100%; height:100%; margin-top:-10px"> <table class="tab_sheet" width="100%" cellpadding="0" cellspacing="3" border="0"> <tr> <td> <span class="orange">*</span>Cognome Nome / Ragione Sociale<br> <input class="input_default input200" type="text" id="SENDER::name" name="SENDER::name" value="" onkeyup="$(this).next('.err_validator').empty();" > <!-- valid name --> <div id="fix_sender_name" class="err_validator"></div> </td> <td> E-mail<br><input class="input_default input170 email" type="text" id="SENDER::email" name="SENDER::email" value="" onkeyup="$(this).next('.err_validator').empty();" > <div class="err_validator"></div> </td> </tr> <tr> <td> <span class="orange">*</span>Provincia<br> <select class="input_default input200 required" id="SENDER::province" name="SENDER::province" onchange="getTownByProvince($(this), $('[id^=SENDER][id$=town]'), $('[id^=SENDER][id$=postalCode]')); $(this).next('.err_validator').empty();" > </select> <div class="err_validator"></div> </td> <td colspan="2"> <div style="float:left"> <span class="orange">*</span>Località<br> <select class="input_default input240 required" id="SENDER::town" name="SENDER::town" onchange="flagIsShowedLaterAwsMsg=false;getPostalCodeByTown($('[id^=SENDER][id$=province]'), $(this), $('[id^=SENDER][id$=postalCode]')); $(this).next('.err_validator').empty(); $('[id^=SENDER][id$=postalCode]').next('.err_validator').empty();" > </select> <div class="err_validator"></div> </div> <div style="float:right"> <span class="orange">*</span>C.A.P.<br> <select class="input_default input90 required" type="text" id="SENDER::postalCode" name="SENDER::postalCode" onchange="$('[id^=SENDER][id$=postalCode]').next('.err_validator').empty();" > </select> <div class="err_validator"></div> </div> </td> </tr> <tr> <td colspan="2"> <span class="orange">*</span>Indirizzo e numero civico<br> <input class="input_default input_full_address" type="text" id="SENDER::address" name="SENDER::address" value="" onkeyup="$(this).next('.err_validator').empty();" > <div class="err_validator"></div> </td> <td> <span class="orange">*</span>Nominativo di contatto<br> <input class="input_default input_full" type="text" id="SENDER::contactName" name="SENDER::contactName" value="" onkeyup="$(this).next('.err_validator').empty();" > <div class="err_validator"></div> </td> </tr> <tr> <td>Telefono Fisso<br><input class="input_default input200" type="text" id="SENDER::phone" name="SENDER::phone" value=" " onkeyup="$(this).next('.err_validator').empty();" > <div class="err_validator"></div> </td> <td><span class="orange">*</span>Cellulare<br><input class="input_default input170" type="text" id="SENDER::mobile" name="SENDER::mobile" value=" " onkeyup="$(this).next('.err_validator').empty();" > <div class="err_validator"></div> </td> <td>Fax<br><input class="input_default input_full" type="text" id="SENDER::fax" name="SENDER::fax" value=" " onkeyup="$(this).next('.err_validator').empty();"> <div class="err_validator"></div> </td> </tr> <tr> <td style="font-size:90%"> <div id="mask_sender" style="margin-top:-20px"> <input class="input_default" type="checkbox" id="billing_address_in_waybill" name="billing_address_in_waybill" style="vertical-align:middle"> <a href="javascript:void(0);" onclick="window.open('http://www.spediamo.it/triangolazioni','Spiegazione_Nascondi_Triangolazione','height=600,width=1000,scrollbars');" title="Clicca qui per capire questo servizio">Nascondi la triangolazione</a><br/> <div style="font-size:90%;width:200px"> per stampare la tua ragione sociale come mittente nella lettera di vettura </div> </div> </td> <td class="addon_bottom_address_book" align="center"><input class="input_default" type="checkbox" id="SENDER::flag_save_on_address_book" name="SENDER::flag_save_on_address_book" style="vertical-align:top"> Salva in rubrica</td> <td class="addon_bottom_address_book" > Nome voce in rubrica <input class="input_default input170 first_upper" type="text" id="SENDER::alias" name="SENDER::alias" value="" minlength="2" maxlength="40" onkeyup="$(this).next('.err_validator').empty();"> <div class="err_validator"></div> </td> </tr> </table> </div> <!-- --> </div> <div class="panel" id="m3"> <!-- --> <h3 class="order_slides_title" style="margin-bottom:16px;margin-bottom:8px\9">CONSEGNA A: <span style="float:right;margin-top:10px;font-size:70%;color:gray">Orari di consegna: h. 8:30-13:30 e 14:30-18:40</span> </h3> <table id="RECIPIENT::header" class="tab_sheet" width="100%" cellpadding="0" cellspacing="5" border="0" style="margin-bottom:10px"> <tr class="bg_grey addon_top_address_book"> <td style="width:200px">Seleziona una voce in rubrica</td> <td style="width:260px"> <select class="input_default input260" id="RECIPIENT::recipient_id" name="RECIPIENT::recipient_id" onchange="getContactData($(this), 'RECIPIENT');"></select> <!-- to be filled asap by ajax (urlLoadHtmlAddressBook) --> </td> <td> <a href="javascript:void(0);" id="RECIPIENT::change_address_book">Crea nuova</a> </td> </tr> </table> <div style="float:right"><span class="orange">*</span>Campi obbligatori</div><br/> <div id="RECIPIENT::area" style="position:relative; width:100%; height:100%;margin-top:-10px"> <table class="tab_sheet" width="100%" cellpadding="0" cellspacing="3" border="0"> <tr> <td> <span class="orange">*</span>Cognome Nome / Ragione Sociale<br> <input class="input_default input200" type="text" id="RECIPIENT::name" name="RECIPIENT::name" value="" onkeyup="$(this).next('.err_validator').empty();" > <div class="err_validator"></div> </td> <td> E-mail<br><input class="input_default input170 email" type="text" id="RECIPIENT::email" name="RECIPIENT::email" value="" onkeyup="$(this).next('.err_validator').empty();" > <div class="err_validator"></div> </td> </tr> <tr> <td> <span class="orange">*</span>Provincia<br> <select class="input_default input200 required" id="RECIPIENT::province" name="RECIPIENT::province" onchange="getTownByProvince($(this), $('[id^=RECIPIENT][id$=town]'), $('[id^=RECIPIENT][id$=postalCode]')); $(this).next('.err_validator').empty();" > </select> <div class="err_validator"></div> </td> <td colspan="2"> <div style="float:left"> <span class="orange">*</span>Località<br> <select class="input_default input240 required" id="RECIPIENT::town" name="RECIPIENT::town" onchange="getPostalCodeByTown($('[id^=RECIPIENT][id$=province]'), $(this), $('[id^=RECIPIENT][id$=postalCode]')); $(this).next('.err_validator').empty(); $('[id^=RECIPIENT][id$=postalCode]').next('.err_validator').empty();" > </select> <div class="err_validator"></div> </div> <div style="float:right"> <span class="orange">*</span>C.A.P.<br> <select class="input_default input90 required" type="text" id="RECIPIENT::postalCode" name="RECIPIENT::postalCode" value="" onchange="$('[id^=RECIPIENT][id$=postalCode]').next('.err_validator').empty();" > </select> <div class="err_validator"></div> </div> </td> </tr> <tr> <td colspan="2"> <span class="orange">*</span>Indirizzo e numero civico<br> <input class="input_default input_full_address" type="text" id="RECIPIENT::address" name="RECIPIENT::address" value="" onkeyup="$(this).next('.err_validator').empty();" > <div class="err_validator"></div> </td> <td> Nominativo di contatto<br> <input class="input_default input_full" type="text" id="RECIPIENT::contactName" name="RECIPIENT::contactName" value="" onkeyup="$(this).next('.err_validator').empty();" > <div class="err_validator"></div> </td> </tr> <tr> <td>Telefono Fisso<br><input class="input_default input200" type="text" id="RECIPIENT::phone" name="RECIPIENT::phone" value=" " onkeyup="$(this).next('.err_validator').empty();" > <div class="err_validator"></div> </td> <td>Cellulare<br><input class="input_default input170" type="text" id="RECIPIENT::mobile" name="RECIPIENT::mobile" value=" " onkeyup="$(this).next('.err_validator').empty();" > <div class="err_validator"></div> </td> <td>Fax<br><input class="input_default input_full" type="text" id="RECIPIENT::fax" name="RECIPIENT::fax" value=" " onkeyup="$(this).next('.err_validator').empty();" > <div class="err_validator"></div> </td> </tr> <tr class="addon_bottom_address_book"> <td> </td> <td align="center"><input class="input_default" type="checkbox" id="RECIPIENT::flag_save_on_address_book" name="RECIPIENT::flag_save_on_address_book" style="vertical-align:top"> Salva in rubrica</td> <td> Nome voce in rubrica <input class="input_default input170 first_upper" type="text" id="RECIPIENT::alias" name="RECIPIENT::alias" value="" minlength="2" maxlength="40" onkeyup="$(this).next('.err_validator').empty();"> <div class="err_validator"></div> </td> </tr> </table> </div> <!-- --> </div> <div class="panel" id="m4"> <!-- --> <h3 class="order_slides_title">CONSEGNA AL PIANO <span style="margin-top:10px;font-weight:normal;font-size:80%;color:#8b8b8b">— <a href="javascript:void(0);" onclick="window.open('http://www.spediamo.it/servizi-extra','leggi_pagina_servizi_extra','height=600,width=1000,scrollbars');">leggi pagina servizi extra</a></span> </h3> <input type="checkbox" id="checkbox_floor_delivery" name="checkbox_floor_delivery" value=""> <div id="section_floor_delivery" style="display:none;;margin-top:-20px"> <div style="float:left;width:50%;margin-left:30px;color:grey"> <div> Piano <input type="text" id="floor_number" name="floor_number" value="" maxlength="2" class="blue input_default input40 number" style="margin-top:2px;color:grey" onFocus="this.select()" /> <!--C'è l'ascensore? <input type="radio" name="lift_available" value="si" id="lift_available_si">Sì <input type="radio" name="lift_available" value="no" id="lift_available_no">No--> </div> </div> <div class="divSubtot"> <a id="reload_floor_delivery" class="view_based_on_states"><img src="img/freccia_grigia_redo.gif" alt="clicca qui per rielaborare il prezzo" title="clicca qui per rielaborare il prezzo" /></a> <div class="textDiv">PARZIALE:</div> <div class="priceDiv"> <div id="ajax_sub_floor_delivery" name="ajax_sub_floor_delivery" class="input_dim_val" >0,00</div> </div> <div class="euroDiv">€</div> </div> <div id="floor_delivery_err_msg" class="err_validator" style="width:100%;clear:both"></div><br/> </div> <div style="font-size:10px;color:gray;margin-top:20px;clear:both"> Il corriere consegnerà la spedizione direttamente alla porta del domicilio del destinatario.<br/><b>Il servizio non è disponibile per spedizioni che superano <a href="javascript:void(0);" onclick="window.open('http://www.spediamo.it/servizi-extra','leggi_pagina_servizi_extra','height=600,width=1000,scrollbars');">vincoli</a> di numero, peso o dimensioni.</b> </div> <div class="clear"></div><br/> <h3 class="order_slides_title">CONSEGNA SU APPUNTAMENTO <span style="margin-top:10px;font-weight:normal;font-size:80%;color:#8b8b8b">— <a href="javascript:void(0);" onclick="window.open('http://www.spediamo.it/servizi-extra','leggi_pagina_servizi_extra','height=600,width=1000,scrollbars');">leggi pagina servizi extra</a></span> </h3> <input type="checkbox" id="checkbox_agreed_delivery" name="checkbox_agreed_delivery" value=""> <div id="section_agreed_delivery" style="display:none;margin-top:-20px;height:20px"> <div style="float:left;width:50%;margin-left:30px;color:grey"> <div> Telefono <input type="text" id="agreed_delivery_phone" name="agreed_delivery_phone" value="" class="blue input_default input90 number" style="margin-top:2px;color:grey" onFocus="this.select()" /> </div> </div> <div class="divSubtot"> <a id="reload_agreed_delivery" class="view_based_on_states"><img src="img/freccia_grigia_redo.gif" alt="clicca qui per rielaborare il prezzo" title="clicca qui per rielaborare il prezzo" /></a> <div class="textDiv">PARZIALE:</div> <div class="priceDiv"> <div id="ajax_sub_agreed_delivery" name="ajax_sub_agreed_delivery" class="input_dim_val" >0,00</div> </div> <div class="euroDiv">€</div> </div> <div id="agreed_delivery_err_msg" class="err_validator" style="width:100%;clear:both"></div><br/> </div> <div style="font-size:10px;color:gray;margin-top:20px;clear:both"> Il corriere provvederà a contattare il destinatario al numero di telefono indicato, concordando con lui il momento migliore per consegnare. </div> <div class="clear"></div><br/> <h3 class="order_slides_title">CONSEGNA DI SERA / SABATO <span style="margin-top:10px;font-weight:normal;font-size:80%;color:#8b8b8b">— <a href="javascript:void(0);" onclick="window.open('http://www.spediamo.it/servizi-extra','leggi_pagina_servizi_extra','height=600,width=1000,scrollbars');">leggi pagina servizi extra</a></span> </h3> <div style="float:left"> <input type="checkbox" id="checkbox_evening_delivery" name="checkbox_evening_delivery" value=""> <span style="color:#8b8b8b">di sera</span> <input type="checkbox" id="checkbox_saturday_delivery" name="checkbox_saturday_delivery" value=""> <span style="color:#8b8b8b">di sabato</span> </div> <div id="section_evening_or_saturday_delivery" style="float:right;display:none;margin-top:-5px"> <div class="divSubtot" style="display:inline-block"> <a id="reload_evening_delivery" class="view_based_on_states"><img src="img/freccia_grigia_redo.gif" alt="clicca qui per rielaborare il prezzo" title="clicca qui per rielaborare il prezzo" /></a> <div class="textDiv">PARZIALE:</div> <div class="priceDiv"> <div id="ajax_sub_evening_or_saturday_delivery" name="ajax_sub_evening_or_saturday_delivery" class="input_dim_val" >0,00</div> </div> <div class="euroDiv">€</div> </div> </div> <div id="evening_or_saturday_err_msg" class="err_validator" style="width:360px;clear:both"></div> <div style="font-size:10px;color:gray;margin-top:0px;clear:both"> DI SERA: la consegna sarà effettuata in orario serale, dal lunerdì al venerdì (festivi esclusi) dalle 18:30 alle 21:00<br/> DI SABATO: la consegna sarà effettuata nell'arco della giornata del sabato successivo al giorno del ritiro della spedizione </div> <div class="clear"></div> <!-- --> </div> </div> <!-- end .scrollContainer --> <div id="box_hidden" style="display:none"></div> <!-- loaded in product_box when you choose tab --> </form> </div> <!-- end .scroll --> <!-- element with overflow applied --> <!-- <img src="images/nuovo.png" width="36px" style="position:absolute;top:204px;left:40px" /> --> <p style="position:absolute;top:215px;left:0px;color:red;font-weight:bold;font-size:11px">NUOVO!!!</p> </div> <!-- end #slider --> </div> <!-- end #content --> </div> <!-- end #pageContent --> </div> <!-- end .pageContainer --> <!-- HTML HIDDEN DIALOGUE --> <div id="checkout_dialog" title="Spedisci" style="text-align:left;visibility:hidden"> <form> <div id="checkout_summary">Totale acquisto: <span></span></div> <div id="box_checkout_methods_view"> <table id="table_checkout_core" class="table_checkout" cellpadding="0" cellspacing="5" border="0"> <tr> <td class="td_left"> <input type="radio" name="pay_met" value="CREDIT" checked style="vertical-align:10px" /> <a id="method_CREDIT" href="javascript:void(0);" style="cursor:text"><img src="/img/credit.png" title="Utilizza il tuo credito residuo" /></a> </td> </tr> <tr> <td class="td_others"> <input type="radio" name="pay_met" value="GESTPAY" style="vertical-align:10px" /> <a id="method_CC" href="javascript:void(0);" style="cursor:text"><img src="/img/icon-pay-1-gestpay.png?version=0001" title="Paghi sicuro e veloce con carta di credito" /></a> </td> </tr> <tr> <td class="td_others"> <input type="radio" name="pay_met" value="PAYPAL" style="vertical-align:5px" /> <a id="method_PAYPAL" href="javascript:void(0);" style="cursor:text"><img src="/img/icon-pay-2-paypal.png" title="Paghi sicuro e veloce con PayPal" /></a> <span style="vertical-align: top; float: right"> <table> <tr><td class="dialog_paypal_email_1" style="font-size: smaller;"></td></tr> <tr><td class="dialog_paypal_email_2" style="font-size: smaller; font-weight: bold;"></td></tr> </table> </span> </td> </tr> </table> </div> <div style="margin:20px 0px 0px 0px;font-size:11px"> <input style="margin:2px;" class="required" type="checkbox" name="legal" value="1" /> Ho letto e accettato le <a onclick="window.open('http://www.spediamo.it/note-legali','Note_legali','height=700,width=900,scrollbars');" style="text-decoration:underline">condizioni di utilizzo</a> <div class="err_validator"></div> </div> <div id="checkout_courier">Affideremo la spedizione a:<img src="img/transparent.gif" style="margin-top: 5px;"></div> <br/> <!-- FIX scrollbar by err_validator appearance --> </form> </div> <!-- PROGRAM MENU --> <div id="profile" style="display:none" style="border:1px solid gray"> <!-- --> <div id="profile_menu"> <div class="tabs"> <div class="tab ui-corner-top selected"> <div class="preference"> <div class="txtIcon"> <p><a> <input type="radio" name="preference_id" value="0" style="display:none" /> <h3 class="titleIcon">Dati personali</h3> </a></p> </div> </div> </div> <div class="tab ui-corner-top unselected"> <div class="preference"> <div class="txtIcon"> <p><a> <input type="radio" name="preference_id" value="1" checked style="display:none" /> <h3 class="titleIcon">Password</h3> </a></p> </div> </div> </div> <div class="tab ui-corner-top unselected"> <div class="preference"> <div class="txtIcon"> <p><a> <input type="radio" name="preference_id" value="2" checked style="display:none" /> <h3 class="titleIcon">Fatture</h3> </a></p> </div> </div> </div> </div> </div> <!-- --> <div id="box_personal_data"> <div id="personal_data"> <table class="tab_sheet" width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td class="large" width="33%"><b>Tipo Cliente</b></td> <td class="large" width="33%"><b>Cognome Nome</b></td> <td class="large" width="33%"><b>Email</b></td> </tr> <tr class="sharpened"> <td>privato</td> <td>armando</td> <!-- iconv("UTF-8", "ISO-8859-1", ) --> <td>faust@yopmail.com</td> </tr> <tr> <td class="large" width="33%"><b>Codice Fiscale</b></td> <td class="large" width="33%"><b>Partita Iva</b></td> </tr> <tr class="sharpened"><td></td><td></td><td></td></tr> <tr> <td class="large"><b>Provincia</b></td> <td class="large"><b>Località</b></td> <td class="large"><b>C.A.P.</b></td> </tr> <tr class="sharpened"> <td>FI</td> <td>FUCECCHIO</td> <td>50054</td> </tr> <tr> <td colspan="2" class="large"><b>Indirizzo</b></td> <td class="large"><b>Nominativo di Contatto</b></td> </tr> <tr class="sharpened"> <td colspan="2">via dell olmo</td> <!-- iconv("UTF-8", "ISO-8859-1", ) --> <td></td> <!-- iconv("UTF-8", "ISO-8859-1", ) --> </tr> <tr> <td class="large" width="33%"><b>Telefono Fisso</b></td> <td class="large"><b>Cellulare</b></td> <td class="large"><b>Fax</b></td> </tr> <tr class="sharpened"> <td></td> <td></td> <td></td> </tr> <tr> <td colspan="2" class="large"><b>IBAN</b></td> <td class="large"><b>Intestatario del conto</b></td> </tr> <tr class="sharpened"> <td colspan="2"></td> <td></td> </tr> <tr> <td colspan="3" class="large" height="40" align="right"> <a id="mod_profile"><img src="img/modifica.png" border="0" alt="modifica" title="modifica" /></a> </td> </tr> </table> </div> </div> <!-- --> <div id="box_change_password"> <div id="change_password"> <form id="form_password"> <div style="float:right;margin-bottom:20px"><span class="orange">*</span>Campi obbligatori</div> <div style="clear:both;"></div> <table class="tab_sheet" width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td width="33%"> <span class="orange">*</span>Attuale Password<br> <input class="input_default required" type="password" id="current_password" name="current_password"> <div class="err_validator"></div> </td> <td width="33%"> <span class="orange">*</span>Nuova Password<br> <input class="input_default required" type="password" id="passwd1" name="passwd1"> <div class="err_validator"></div> </td> </tr> <tr> <td></td> <td width="33%"> <span class="orange">*</span>Conferma Nuova Password<br> <input class="input_default required" type="password" id="passwd2" name="passwd2"> <!--equalTo="passwd1"--> <div class="err_validator"></div> </td> </tr> <tr> <td></td> <td width="33%"> <div id="passwd-strength-result">Indicatore di forza</div><p class="description">Sceglila di almeno sette caratteri (usa lettere maiuscole e minuscole, numeri e simboli tipo ! " ? $ % ^ &.</p> </td> </tr> <tr> <td id="button_password" colspan="2" class="large" height="20" align="right"> <a id="save_password" href="javascript:void(0);"><img src="img/salva.png" border="0" alt="SALVA" /></a> <div style="display:none"><img src="img/loading.gif" style="vertical-align:middle"/>Salvataggio dati</div> </td> </tr> </table> </form> </div> </div> <!-- --> <div id="box_invoices" style="display:none"> <!-- DATATABLE n. 3 --> <table cellpadding="0" cellspacing="0" border="0" class="display" id="dt_invoices"> <thead> <tr></tr> </thead> <tbody></tbody> <tfoot> <tr></tr> </tfoot> </table> </div> </div> <!-- --> <div id="hidden_form_for_profile" style="display:none"> <form name="form_profile" id="form_profile"> <input type="hidden" name="PROFILE::id" value=""> <div style="float:right;margin-bottom:20px"><span class="orange">*</span>Campi obbligatori</div> <div style="clear:both;"></div> <table class="tab_sheet" width="100%" cellpadding="0" cellspacing="1" border="0"> <tr> <td valign="top"> <span class="orange">*</span>Tipo Cliente<br> <select class="input_default input150" id="PROFILE::type" name="PROFILE::type" onchange="changeProfileFormBasedOnClientType($(this))" value=""> <option value="private" selected>privato</option> <option value="business" >azienda</option> <option value="small" >ditta individuale / libero professionista</option> </select> </td> <td> <span class="orange">*</span> <span>Cognome Nome</span><br> <input class="input_default input150 required" type="text" id="PROFILE::name" name="PROFILE::name" value=""> <div class="err_validator"></div> </td> <td> Email<br> <input class="input_default input_full email required" type="text" name="PROFILE::email" value=""> <div class="err_validator"></div> </td> </tr> <tr> <td> <span class="orange">*</span>Codice Fiscale<br> <input class="input_default input150 valid_tax_payer_code" type="text" id="PROFILE::taxPayerCode" name="PROFILE::taxPayerCode" value="" > <div class="err_validator"></div> </td> <td> <span class="orange">*</span>Partita Iva<br> <input class="input_default input150 valid_vat_number" type="text" id="PROFILE::vatNumber" name="PROFILE::vatNumber" value=""> <div class="err_validator"></div> </td> </tr> <tr> <td> <span class="orange">*</span>Provincia<br> <select class="input_default input90 required" id="PROFILE::province" name="PROFILE::province" onchange="getTownByProvince($(this), $('[id^=PROFILE][id$=town]'), $('[id^=PROFILE][id$=postalCode]'))"></select> <div class="err_validator"></div> </td> <td colspan="2"> <div style="float:left"> <span class="orange">*</span>Località<br> <select class="input_default input260 required" id="PROFILE::town" name="PROFILE::town" onchange="getPostalCodeByTown($('[id^=PROFILE][id$=province]'), $(this), $('[id^=PROFILE][id$=postalCode]'))"></select> <div class="err_validator"></div> </div> <div style="float:right"> <span class="orange">*</span>C.A.P.<br> <select class="input_default input90 required" type="text" id="PROFILE::postalCode" name="PROFILE::postalCode"></select> <div class="err_validator"></div> </div> </td> </tr> <tr> <td colspan="2"> <span class="orange">*</span>Indirizzo<br> <input class="input_default input300 required" type="text" name="PROFILE::address" value=""> <div class="err_validator"></div> </td> <td> Nominativo di Contatto<br> <input class="input_default input_full" type="text" id="PROFILE::contactName" name="PROFILE::contactName" value=""> <div class="err_validator"></div> </td> </tr> <tr> <td> Telefono fisso<br> <input class="input_default input150" type="text" name="PROFILE::phone" value=""> <div class="err_validator"></div> </td> <td> Cellulare<br> <input class="input_default input150" type="text" name="PROFILE::mobile" value=""> <div class="err_validator"></div> </td> <td> Fax<br> <input class="input_default input_full" type="text" name="PROFILE::fax" value=""> <div class="err_validator"></div> </td> </tr> <tr> <td colspan="2"> IBAN<br> <input class="input_default input300 valid_iban" type="text" name="PROFILE::iban" value=""> <!-- no maxlength --> <!-- FIX insert maxlength because after disabling $.validator backend breaks --> <div class="err_validator"></div> </td> <td> Intestatario del conto<br> <input class="input_default input_full valid_bank_account_name" type="text" name="PROFILE::bankAccountName" value="" maxlength="50"> <div class="err_validator"></div> </td> </tr> <tr> <td class="large"> </td> <td id="buttons_profile" colspan="2" class="large" height="20" align="right"> <a id="abortProfile"><img src="img/annulla.png" border="0" alt="ANNULLA" /></a> <a id="save_profile" href="javascript:void(0);"><img src="img/salva.png" border="0" alt="SALVA" /></a> <div style="display:none"><img src="img/loading.gif" style="vertical-align:middle"/>Salvataggio dati</div> </td> </tr> </table> </form> <div id="error_msg"></div> </div> <script type="text/javascript"> /*************************************************************************************************************************************************/ /* J S */ /*************************************************************************************************************************************************/ /********************************************************************************/ /* A. G L O B A L V A R I A B L E S & F U N C T I O N S */ /********************************************************************************/ /**************************/ /* tab 1 - Dati Personali */ /**************************/ var modifyingProfile = false; var savingProfile = false; var abortingProfile = false; var oldBox = ''; // trick for remembering div #personal_data every time you step back (default view or abort) var explainType = {"PRIVATE":"privato", "BUSINESS":"azienda", "SMALL":"ditta individuale / libero professionista"}; // needed to update html on the fly /* using ajax to reinvent html structures, you loose click bind every time a button makes fadeout and fade in, so we put this function in queue */ function bindProfileClicksIfDomReady() { // modify profile (button "MODIFICA") $('#mod_profile').click(function() { if (modifyingProfile) return true; modifyingProfile = true; oldBox = $('#box_personal_data').html(); $.ajax({ type: 'POST', data: 'sender_id='+$('#address_book_id').val(), url: urlLoadProfile, dataType: 'json', success: function(o) { if (o.message) { openWarn(o.message, o.level); modifyingProfile = false; return; } $('#personal_data').dequeue(); $('#personal_data').fadeOut('fast', function() { $('#personal_data').html($('#hidden_form_for_profile').html()); modifyingProfile = false; }).fadeIn('fast').queue(function() { bindProfileClicksIfDomReady(); /**/ $('#form_profile input').val(''); $('#form_profile input[name="PROFILE::type"]').val(o.type); $('#form_profile input[name="PROFILE::email"]').val(o.email); $('#form_profile input[name="PROFILE::name"]').val(o.name); $('#form_profile input[name="PROFILE::taxPayerCode"]').val(o.taxPayerCode); $('#form_profile input[name="PROFILE::vatNumber"]').val(o.vatNumber); $('#form_profile select[name="PROFILE::province"]').val(o.province); getTownByProvince($('#form_profile select[name="PROFILE::province"]'), $('#form_profile select[name="PROFILE::town"]'), $('#form_profile select[name="PROFILE::postalCode"]'), o.town, o.postalCode); $('#form_profile input[name="PROFILE::address"]').val(o.address); $('#form_profile input[name="PROFILE::contactName"]').val(o.contactName); $('#form_profile input[name="PROFILE::phone"]').val(o.phone); $('#form_profile input[name="PROFILE::mobile"]').val(o.mobile); $('#form_profile input[name="PROFILE::fax"]').val(o.fax); $('#form_profile input[name="PROFILE::iban"]').val(o.iban); $('#form_profile input[name="PROFILE::bankAccountName"]').val(o.bankAccountName); }); }, error: function(err) { openWarn('C\'è un problema nella connessione (modify). Riprova piu tardi.', 'Errore'); } }); }); // stop the pending modification of profile (button "ANNULLA") $('#abortProfile').click(function() { if (savingProfile == true) return false; if (abortingProfile) return true; abortingProfile = true; $('#buttons_profile a').show(); $('#buttons_profile div').hide(); $.ajax({ type: 'POST', url: urlLoadProfile, dataType: 'json', success: function(o) { if (o.message) openWarn(o.message, o.level); $('#box_personal_data').dequeue(); $('#box_personal_data').fadeOut('fast', function() { $('#box_personal_data').html(oldBox); abortingProfile = false; }).fadeIn('fast').queue(function() { bindProfileClicksIfDomReady(); manageViewProfileArea(o); }); }, error: function(err) { openWarn('C\'è un problema nella connessione (abort). Riprova piu tardi.', 'Errore'); } }); }); // save the modified profile (button "SALVA") $('#save_profile').click(function() { if (savingProfile) return true; savingProfile = true; if ($('#form_profile').valid()) { $('#buttons_profile a').hide(); $('#buttons_profile div').show(); $.ajax({ type: "POST", url: urlSaveProfile, data: $('#form_profile').serialize(), success: function(o) { savingProfile = false; if (o.message) { openWarn(o.message, o.level); return; } // release loader $('#buttons_profile div').fadeOut('slow', function() { $('#buttons_profile a').fadeIn('slow'); }); // let view happen $('#abortProfile').click(); }, error: function(err) { openWarn('C\'è un problema nella connessione (save 1). Riprova piu tardi.', 'Errore'); } }); }else{ savingProfile = false; $('#buttons_profile div').fadeOut('slow', function() { $('#buttons_profile a').fadeIn('slow'); }); } }); /* manage form error (jquery validator) */ var validator_form_profile = $('#form_profile').validate({ errorClass: "form_error", errorElement: "div", errorPlacement: function(error, element) { error.appendTo(element.next('.err_validator')); } }); } /* end of function bindProfileClicksIfDomReady */ /* useful to recall (not necessary but address book style) */ function manageViewProfileArea(o) { for (var field in o) { if (o[field] == null) o[field] = ''; } $('#profile table.tab_sheet tr:eq(1) td:eq(0)').text(explainType[o.type]); $('#profile table.tab_sheet tr:eq(1) td:eq(1)').text(o.name); $('#profile table.tab_sheet tr:eq(1) td:eq(2)').text(o.email); $('#profile table.tab_sheet tr:eq(3) td:eq(0)').text(o.taxPayerCode); $('#profile table.tab_sheet tr:eq(3) td:eq(1)').text(o.vatNumber); $('#profile table.tab_sheet tr:eq(5) td:eq(0)').text(o.province); $('#profile table.tab_sheet tr:eq(5) td:eq(1)').text(o.town); $('#profile table.tab_sheet tr:eq(5) td:eq(2)').text(o.postalCode); $('#profile table.tab_sheet tr:eq(7) td:eq(0)').text(o.address); $('#profile table.tab_sheet tr:eq(7) td:eq(1)').text(o.contactName); $('#profile table.tab_sheet tr:eq(9) td:eq(0)').text(o.phone); $('#profile table.tab_sheet tr:eq(9) td:eq(1)').text(o.mobile); $('#profile table.tab_sheet tr:eq(9) td:eq(2)').text(o.fax); $('#profile table.tab_sheet tr:eq(11) td:eq(0)').text(o.iban); $('#profile table.tab_sheet tr:eq(11) td:eq(1)').text(o.bankAccountName); } /**/ function changeProfileFormBasedOnClientType(clientType) { var type = clientType.val(); if ( (type == 'business') || (type == 'small') ) { $('[id^="PROFILE"][id$="name"]').prev().prev().html('Ragione sociale'); $('[id^="PROFILE"][id$="vatNumber"]').addClass('required'); $('[id^="PROFILE"][id$="vatNumber"]').prev().prev().html('*'); if (type == 'business') { $('[id^="PROFILE"][id$="taxPayerCode"]').removeClass('required'); $('[id^="PROFILE"][id$="taxPayerCode"]').prev().prev().html(''); }else{ $('[id^="PROFILE"][id$="taxPayerCode"]').addClass('required'); $('[id^="PROFILE"][id$="taxPayerCode"]').prev().prev().html('*'); } $('[id^="PROFILE"][id$="contactName"]').parent().show(); }else if (type == 'private') { $('[id^="PROFILE"][id$="name"]').prev().prev().html('Cognome Nome'); $('[id^="PROFILE"][id$="vatNumber"]').removeClass('required'); $('[id^="PROFILE"][id$="vatNumber"]').prev().prev().html(''); $('[id^="PROFILE"][id$="taxPayerCode"]').addClass('required'); $('[id^="PROFILE"][id$="taxPayerCode"]').prev().prev().html('*'); $('[id^="PROFILE"][id$="contactName"]').parent().hide(); } } /********************/ /* tab 2 - Password */ /********************/ var focusing_password = false; var saving_password = false; $.validator.addMethod( "valid_password", function(value, element) { if (focusing_password == true) return true; var ok = true; $.ajax({ type: 'POST', url: urlCheckProfilePassword, dataType: 'json', data: 'password='+encodeURIComponent(value), async: false, dataType: 'json', success: function(o) { if (o.ok == 'yes') ok = true; else ok = false; }, error: function(err) { ok = true; } }); return ok; }, "Password non corretta." ); /* following, util regarding check password strength */ var pwsL10n = { empty: "Indicatore di forza", short: "Molto debole", bad: "Debole", good: "Media", strong: "Forte", mismatch: "Non combacia" }; (function(a) { function b() { var email = "faust@yopmail.com"; var e = a("#passwd1").val(), d = email, c = a("#passwd2").val(), f; a("#passwd-strength-result").removeClass("short bad good strong"); if (!e) { a("#passwd-strength-result").html(pwsL10n.empty); return } f = passwordStrength(e, d, c); switch(f) { case 2: a("#passwd-strength-result").addClass("bad").html(pwsL10n.bad); break; case 3: a("#passwd-strength-result").addClass("good").html(pwsL10n.good); break; case 4: a("#passwd-strength-result").addClass("strong").html(pwsL10n.strong); break; case 5: a("#passwd-strength-result").addClass("short").html(pwsL10n.mismatch); break; default: a("#passwd-strength-result").addClass("short").html(pwsL10n["short"]) } } a(document).ready(function() { a("#passwd1").val("").keyup(b); a("#passwd2").val("").keyup(b); }) })(jQuery); function passwordStrength(f, i, d) { var k=1, h=2, b=3, a=4, c=5, g=0, j, e; if ((f!=d) && d.length>0) { return c } if (f.length < 4) { return k } if (f.toLowerCase() == i.toLowerCase()) { return h } if (f.match(/[0-9]/)) { g+=10 } if (f.match(/[a-z]/)) { g+=26 } if (f.match(/[A-Z]/)) { g+=26 } if (f.match(/[^a-zA-Z0-9]/)) { g+=31 } j = Math.log(Math.pow(g,f.length)); e = j/Math.LN2; if (e<40) { return h } if (e<56) {return b } return a }; /*******************/ /* tab 3 - Fatture */ /*******************/ var isVisDtInvoicesFirstTime = false; /**/var oDtInvoices; var dtInvoicesTitles = "<th>Scarica</th>" + "<th>N. fattura / Anno</th>" + "<th>Data</th>" + "<th>Id ordine associato</th>" + "<th>€</th>"; /* build invoices datatable view */ function buildDtInvoices() { if (isVisDtInvoicesFirstTime == false) { /* create instance */ $('#dt_invoices thead tr').html(dtInvoicesTitles); $('#dt_invoices tfoot tr').html(dtInvoicesTitles); oDtInvoices = $('#dt_invoices').dataTable({ "aoColumns": [ {"sClass":"center std", "bSortable":false}, // {"sClass":"center std", "bSortable":false}, // number + year {"sClass":"center std"}, // date {"sClass":"center std", "bSortable":false}, // transactionId {"sClass":"right std"} ], // amount "aaSorting": [[ 2, "desc" ]], "aoSearchCols": [null, null, null, null, null], "iDisplayLength": 10, "asStripClasses": ['no_strip_colours'], "sDom": '<"clear"><"toolbar">rtip<"clear">', "bPaginate": true, "sScrollX": "100%", "bScrollCollapse": true, "bProcessing": true, "bStateSave": false, "bServerSide": true, "sAjaxSource": urlGetDatatableInvoices, "fnServerData": function(sSource, aoData, fnCallback) { $.ajax({ dataType: 'json', type: 'POST', url: sSource, data: aoData, success: function(o) { if (isErrInAjax(o)) return; fnCallback(o); }, error: function(err) { openWarn('C\'è un problema nella connessione. Riprova più tardi.', 'Errore'); } }); }, "oLanguage": tableItalianSet, "fnRowCallback": function(nRow, aData, iDisplayIndex, iDisplayIndexFull) { return nRow; }, "fnInitComplete": function(oSettings, oData) {} }); /* complete draw */ $('.dataTables_scrollBody').css('min-height', '250px'); /**/ isVisDtInvoicesFirstTime = true; } } /********************************************************************************************************/ /* B. A C T I V I T Y W H E N D O M R E A D Y E V E N T I S T R I G G E R E D */ /********************************************************************************************************/ $(document).ready(function() { /**************************/ /* tab 1 - Dati Personali */ /**************************/ /* bind click event to buttons: #mod_profile, #abort_profile and #save_profile. (we chose a trick function to call often for fixing bad stop propagation when the buttons make fadeout from the dom) */ bindProfileClicksIfDomReady(); changeProfileFormBasedOnClientType($('[id^=PROFILE][id$=type]')); /********************/ /* tab 2 - Password */ /********************/ $('#save_password').click(function() { if (saving_password) return true; saving_password = true; isRepeatedPassword = ( $('#passwd-strength-result').html() == pwsL10n.mismatch ); if ( $('#form_password').valid() && (!isRepeatedPassword) ) { $('#button_password a').hide(); $('#button_password div').fadeIn('slow'); $.ajax({ type: 'POST', url: urlSaveProfilePassword, data: $('#form_password').serialize(), dataType: 'json', success: function(o) { if (o.ok == 'true') { openWarn('Nuova password salvata correttamente.', 'Modifica password'); $('#button_password div').fadeOut('slow', function() { $('#button_password a').fadeIn('slow'); $('#form_password input').val(''); $('#profile_menu .tabs div:first').click(); }); }else{ openWarn('C\'è un problema. Riprova piu tardi.', 'Errore'); $('#button_password div').fadeOut('slow', function() { $('#button_password a').fadeIn('slow'); }); } saving_password = false; } }); } }); var validator_form_password = $('#form_password').validate({ rules: { current_password: { valid_password: true } }, //messages: { repeat: { equalTo: 'Non combacia' } }, errorClass: "form_error", errorElement: "div", errorPlacement: function(error, element) { error.appendTo(element.next()); } }); // manage input focus for triggering ajax validation only if it's not in focus $('#current_password').focus(function() { focusing_password = true; }); $('#current_password').blur(function() { focusing_password = false; $('#form_password').validate().element('#current_password'); }); }); </script> <!-- HTML DATATABLE --> <div id="core"> <table cellpadding="0" cellspacing="0" border="0" class="display" id="dt_now"> <!-- example --> <thead> <tr></tr> </thead> <tbody></tbody> <tfoot> <!-- maybe bug but here ColVis need <tr> full! --> <tr></tr> </tfoot> </table> <table cellpadding="0" cellspacing="0" border="0" class="display" id="dt_past"> <thead> <tr></tr> </thead> <tbody></tbody> <tfoot> <!-- maybe bug but here ColVis need <tr> full! --> <tr></tr> </tfoot> </table> </div> <!-- HTML PAYMENT DATATABLE --> <div id="payment" style="visibility:hidden"> <div id="recharge"> <p> Credito*: <span id="plafond">0,00 €</span> <!--<a id="view_credit" href="javascript:void(0);">(estratto conto)</a>--> </p> <a id="recharge_pay"><img src="/img/ricarica.png" alt="Ricarica" title="Ricarica" /></a> <div>* Il credito viene scalato al netto dell'iva.</div> </div> <div id="tot_price"> <div id="tot_price_details"> <table id="tot_price_table" width="100%" cellpadding="5" cellspacing="5"> <tbody> <tr> <td>Prezzo:</td> <td><span class="price_base">0,00</span> €</td> </tr> <tr> <td><a id="a_discount" href="javascript:void(0);" onclick="window.open('http://www.spediamo.it/sconto-spedizioni-multiple','Sconto_spedizione_multiple','height=600,width=1000,scrollbars');" title="clicca qui per saperne di più">Sconto:</a></td> <td><span class="price_discount">0,00</span> €</td> </tr> <tr> <td>Iva:</td> <td><span class="price_vat">0,00</span> €</td> </tr> <tr> <td style="border-top:1px solid gray">Totale:</td> <td style="border-top:1px solid gray"><span class="price_tot">0,00</span> €</td> </tr> </tbody> </table> </div> <a id="checkout"><img src="img/spedisci.png" alt="Spedisci" title="Spedisci" /></a> </div> <!--<div>* Il credito viene scalato al netto dell'iva.</div>--> </div> <!-- HTML HIDDEN DIALOGUES --> <div id="csv_dialog" title="Carica le tue spedizioni da un file esterno" style="visibility:hidden"> <div id="box_upload_file"> <form enctype="multipart/form-data" action="http://www.spediamo.it/importa-csv-xml" method="POST"> <input name="file" type="file"> <a id="send_file"><input name="submit" type="image" src="images/button-invia.png" value="Invia" /></a> </form> </div> <div style="margin-top:20px;">Scarica il template .CSV da compilare <a href="csv/spediamo.csv">qui</a></div> <div>Oppure leggi prima una spiegazione generale <a onclick="window.open('http://www.spediamo.it/importazione-csv','Importazione_csv','height=600,width=1000,scrollbars');">qui</a></div> </div> <div id="easyfatt_dialog"></div> <!-- to be filled by ajax (urlGetInvoiceRow) --> <div id="delete_dialog" title="Attenzione"></div> <div id="archive_dialog" title="Attenzione"></div> <div id="view_credit_dialog"></div> <!-- to be filled by ajax (urlGetAccountCredit) --> <div id="recharge_dialog" title="Ricarica credito"></div> <!-- to be filled by ajax (urlSetAccountCredit) --> <div id="tracking_dialog" title="Mostra tracking"></div> <!-- to be filled by ajax (urlCallTrackShipmentHistoryRequest) --> <div id="address_book" style="display:none;"> <div id="sect_sx"> <!--<div id="title_list_contacts"><div>PUNTI DI RITIRO</div></div>--> <div id="address_book_menu"> <div class="tabs"> <div class="tab ui-corner-top selected"> <div class="preference"> <div class="txtIcon"> <p><a> <input type="radio" name="preference_id" value="0" style="display:none" /> <h3 class="titleIcon">Punti di ritiro</h3> </a></p> </div> </div> </div> <div class="tab ui-corner-top unselected"> <div class="preference"> <div class="txtIcon"> <p><a> <input type="radio" name="preference_id" value="1" checked style="display:none" /> <h3 class="titleIcon">Punti di consegna</h3> </a></p> </div> </div> </div> </div> </div> <!-- --> <div class="clear"></div> <div id="core_sect_sx"> <div id="actions"><div class="arrowUp"><a class="prevPage"></a></div></div> <div class="scrollable vertical"> <div id="list_contacts" class="items"></div> <!-- to be filled asap by ajax (urlLoadHtmlAddressBook) --> </div> <div id="actions"><div class="arrowDwn"><a class="nextPage"></a></div></div> </div> <div id="close_sect_sx"> <div id="box_make_contacts"> <a id="add_contact"><img src="img/aggiungi.png"/></a> </div> </div> </div> <!-- end of sect_sx--> <div id="sect_dx"> <div> <!-- INIZIO PAGE BOX --> <div id="box_dx"> <div id="content_box_dx"> <div id="book"> <fieldset><legend>DETTAGLI</legend></fieldset> <table class="tab_sheet" width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td class="large" width="33%"><b>Nome voce</b></td> <td class="large" width="33%"><b>Email</b></td> <td class="large" width="33%"><b>Nome / Rag Sociale</b></td> </tr> <tr class="sharpened"> <td></td> <td></td> <td></td> </tr> <tr> <td class="large"><b>Provincia</b></td> <td class="large"><b>Località</b></td> <td class="large"><b>C.A.P.</b></td> </tr> <tr class="sharpened"> <td></td> <td></td> <td></td> </tr> <tr> <td colspan="2" class="large"><b>Indirizzo</b></td> <td class="large"><b>Nominativo di Contatto</b></td> </tr> <tr class="sharpened"> <td colspan="2"></td> <td></td> </tr> <tr> <td class="large" width="33%"><b>Telefono Fisso</b></td> <td class="large"><b>Cellulare</b></td> <td class="large"><b>Fax</b></td> </tr> <tr class="sharpened"> <td></td> <td></td> <td></td> </tr> <tr> <td colspan="3" class="large" height="40" align="right"> <a id="del_contact"><img src="img/elimina.png" border="0" alt="cancella" title="cancella" /></a> <a id="mod_contact"><img src="img/modifica.png" border="0" alt="modifica" title="modifica" /></a> <a id="def_contact"><img src="img/doDefault.png" border="0" alt="imposta come predefinito" title="imposta come predefinito" style="vertical-align:-5px" /></a> </td> </tr> </table><br /> <div id="del_contact_dialog" title="Attenzione"></div> </div> <!-- end of book --> </div> <!-- end of content_box_dx --> </div> <!-- end of box_dx --> </div> </div> <!-- end of sect_dx --> </div> <!-- end of address_book --> <form name="view_contact" id="view_contact"> <input id="address_book_id" type="hidden" name="address_book_id" value=""> <!-- !important, you know the voice you're treating --> <input id="address_book_alias" type="hidden" name="address_book_alias" value=""> <!-- needed for checking uniqueness if you modify a voice --> </form> <div id="hidden_form_for_book" style="display:none"> <fieldset><legend></legend></fieldset> <!-- MODIFICA o NUOVO INSERIMENTO --> <form name="form_book" id="form_book"> <input type="hidden" name="CONTACT::id" value=""> <div style="float:right;"><span class="orange">*</span>Campi obbligatori</div> <div style="clear:both;"></div><br/> <table class="tab_sheet" width="100%" cellpadding="0" cellspacing="0"> <tr> <td> <span class="orange">*</span>Nome voce<br> <input class="input_default input150" type="text" name="CONTACT::alias" value="" onkeyup="$(this).next('.err_validator').empty();"> <div class="err_validator"></div> </td> <td> Email<br> <input class="input_default input150 email" type="text" name="CONTACT::email" value=""> <div class="err_validator"></div> </td> <td> <span class="orange">*</span> <span id="lname">Cognome Nome / Rag sociale</span><br> <input class="input_default input_full" type="text" name="CONTACT::name" value=""> <div class="err_validator"></div> </td> </tr> <tr> <td> <span class="orange">*</span>Provincia<br> <select class="input_default input150 required" id="CONTACT::province" name="CONTACT::province" onchange="getTownByProvince($(this), $('[id^=CONTACT][id$=town]'), $('[id^=CONTACT][id$=postalCode]'))"></select> <div class="err_validator"></div> </td> <td colspan="2"> <div style="float:left"> <span class="orange">*</span>Località<br> <select class="input_default input260 required" id="CONTACT::town" name="CONTACT::town" onchange="getPostalCodeByTown($('[id^=CONTACT][id$=province]'), $(this), $('[id^=CONTACT][id$=postalCode]'))"></select> <div class="err_validator"></div> </div> <div style="float:right"> <span class="orange">*</span>C.A.P.<br> <select class="input_default input90 required" type="text" id="CONTACT::postalCode" name="CONTACT::postalCode"></select> <div class="err_validator"></div> </div> </td> </tr> <tr> <td colspan="2"> <span class="orange">*</span>Indirizzo<br> <input class="input_default input300" type="text" name="CONTACT::address" value=""> <div class="err_validator"></div> </td> <td> Nominativo di Contatto<br> <input class="input_default input_full" type="text" name="CONTACT::contactName" value=""> <div class="err_validator"></div> </td> </tr> <tr> <td> Telefono fisso<br> <input class="input_default input150" type="text" name="CONTACT::phone" value=""> <div class="err_validator"></div> </td> <td> Cellulare<br> <input class="input_default input150" type="text" name="CONTACT::mobile" value=""> <div class="err_validator"></div> </td> <td> Fax<br> <input class="input_default input_full" type="text" name="CONTACT::fax" value=""> <div class="err_validator"></div> </td> </tr> <tr> <td> Tipo voce<br> <select class="input_default input150" name="CONTACT::type"> <option value="sender">solo ritiro</option> <option value="recipient">solo consegna</option> <option value="both">ritiro e consegna</option> </select> </td> <td id="buttons_contact" colspan="2" class="large" height="20" align="right"> <a id="abort_book"><img src="img/annulla.png" border="0" alt="ANNULLA" /></a> <a id="save_contact" href="javascript:void(0);"><img src="img/salva.png" border="0" alt="SALVA" /></a> <div style="display:none"><img src="img/loading.gif" style="vertical-align:middle"/>Salvataggio dati</div> </td> </tr> </table> </form> <div id="error_msg"></div> </div> <!-- quick contact form --> <div id="quick_contact"> <span id="quick_contact_bg_ie6"></span> <h2>Quick Contact</h2> <p id="quick_contact_note">Contattaci. <br />La tua opinione è importante.</p> <span id="quick_contact_close"></span> <div id="warning_quick_contact" class="warning"></div> <form id="frm_quick_contact" action="javascript:void();" method="post"> <div class="input"> <label for="input_quick_contact_name">Nome</label> <input type="text" name="quick_contact_name" id="input_quick_contact_name" class="required" /> </div> <div class="input"> <label for="input_quick_contact_email">E-mail</label> <input type="text" name="quick_contact_email" id="input_quick_contact_email" class="required email" /> </div> <div class="input"> <label for="input_quick_contact_message">Messaggio</label> <textarea name="quick_contact_message" id="input_quick_contact_message" rows="10" cols="10" class="required"></textarea> </div> <button type="submit" id="submit">invia</button> </form> </div> </div> <!-- end of container --> <!-- ################################################################################################################################################### --> <!-- ####################################################################################### --> <!-- #################### E N D C O R E S P E D I A M O #################### --> <!-- ####################################################################################### --> </div> <!-- end of page-wrapper --> <!-- external template --> </div> <!-- end of pagebody --> <!-- external template --> <div id="pagefooter"></div> <!-- external template --> </div> <!-- external template --> </div> <!-- external template --> <div id="vacancy" title="Chiuso per ferie" style="display:none"> <br> <p>Per le ferie del dipartimento internazionale, la prenotazione di nuove spedizioni internazionali è momentaneamente sospesa fino al 15 Agosto. Tutte quelle già prenotate ovviamente sono regolarmente in corso.<br><br> Cordialmente, Spediamo.it</p> <br> </div> <div id="download_dialog" style="display: none;" title="Quale Lettera di Vettura?"> <p>Vuoi scaricare la Lettera di Vettura di <strong>questa</strong> spedizione o di <strong>tutte</strong> quelle presenti nello stesso ordine?</p> </div> <iframe id="hiddenFrame" style="display:none"></iframe> </body> </html> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now