Client

<iframe id="invoiceIFrame" width="100%" height="1200" style="max-width:1000px"></iframe> </center> <script language="javascript"> var iframe = document.getElementById('invoiceIFrame'); var search = window.location.search + '//'; var silent = search.indexOf('silent') > 0; var parts = search.replace('?silent=true', '').split('/'); iframe.src = 'https://reservesurleweb.com/comptabilite/public/' + parts[1] + '/' + parts[0].substring(1, 33) + '/' + parts[2] + (silent ? '?silent=true' : ''); </script>