Hanno Böck
Spaces between string concat (.) operator, new PER codingstyle
Hanno Böck commited 354c05a at 2023-10-31 17:49:30
printablehtml.php
<?php
/*
This file belongs to the Webinterface of schokokeks.org Hosting
Written by schokokeks.org Hosting, namely
Bernd Wurst <bernd@schokokeks.org>
Hanno Böck <hanno@schokokeks.org>
This code is published under a 0BSD license.
Nevertheless, in case you use a significant part of this code, we ask (but not require, see the license) that you keep the authors' names in place and return your changes to the public. We would be especially happy if you tell us what you're going to do with this code.
*/
require_once('session/start.php');
require_once('invoice.php');
require_once('inc/security.php');
require_role(ROLE_CUSTOMER);
$invoice_id = (int) $_GET['id'];
$items = invoice_items($invoice_id);
$invoice = invoice_details($invoice_id);
$outformat = 'html';
if (isset($_REQUEST['out']) && $_REQUEST['out'] == 'pdf') {
$outformat = 'pdf';
}
// Footer
$footer = '<footer>
<table width="100%">
<tr><td>schokokeks.org GbR<br>
Bernd Wurst / Johannes Böck<br>
www.schokokeks.org<br>
root@schokokeks.org</td>
<td>Steuernummer 51072/01109<br>
Finanzamt Backnang<br>
USt-ID: DE255720588</td>
<td>Volksbank Backnang<br>
IBAN: DE91 6029 1120 0041 5120 06<br>
BIC: GENODES1VBK<br>
(Kto: 41512 006 / BLZ: 602 911 20)</td>
</tr>
</table></footer>';
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX