<?php
$w = "62"; //first column width
$w2 = "12"; //second column width
$footer = '
<hr>
<table style="width: 100%; font-size: 7pt;">
	<tr>
		<td style="width: '.$w.'%">
			e5 Polska Sp. z o.o
		</td>
		<td style="width: '.$w2.'%">
			<b>'.$labels['LBL_PDF_FOOTER_KRS'].'</b>
		</td>	
		<td style="text-align: right">
			28207
		</td>
	</tr>
	<tr>
		<td style="width: '.$w.'%">
			ul. Wąwozowa 11
		</td>
		<td style="width: '.$w2.'%">
			<b>'.$labels['LBL_PDF_FOOTER_NIP'].'</b>
		</td>	
		<td style="text-align: right">
			PL 525-21-73-990
		</td>
	</tr>
	<tr>
		<td style="width: '.$w.'%">
			02-796 Warszawa
		</td>
		<td style="width: '.$w2.'%">
			<b>'.$labels['LBL_PDF_FOOTER_REGON'].'</b>
		</td>	
		<td style="text-align: right">
			016280234
		</td>
	</tr>
	<tr>
		<td style="width: '.$w.'%">
			Tel: +48 (22) 228 20 90 
		</td>
		<td style="width: '.$w2.'%">
			<b>'.$labels['LBL_PDF_FOOTER_BANK'].'</b>
		</td>	
		<td style="text-align: right">
			';
	if ($bank=='milenium')
		$footer.='BANK MILLENIUM';
	if ($bank=='mbank')
		$footer.='MBANK';
$footer.='
		</td>
	</tr>
	<tr>
		<td style="width: '.$w.'%">
			Fax: +48 (56) 674 60 47
		</td>
		<td style="width: '.$w2.'%">
			<b>'.$labels['LBL_PDF_FOOTER_BANK_ACCOUNT'].'</b>
		</td>	
		<td style="text-align: right">
			';
	if ($bank=='milenium')
		$footer.='PL36116022020000000064080587';
	if ($bank=='mbank')
		$footer.='PL96114010100000548212001002';
$footer.='
		</td>
	</tr>
	<tr>
		<td style="width: '.$w.'%">
			'.$user->email1.'
		</td>
		<td style="width: '.$w2.'%">
			<b>'.$labels['LBL_PDF_FOOTER_SWIFT'].'</b>
		</td>	
		<td style="text-align: right">
			';
	if ($bank=='milenium')
		$footer.='BIGBPLPW';
	if ($bank=='mbank')
		$footer.='BREXPLPW';
$footer.='
		</td>
	</tr>
</table>
<br>
<table style="width: 100%; font-size: 7pt;">				
	<tr>
				<td style="width: 50%;">
					{PAGENO}/{nb}
				</td>
				<td style="width: 50%; text-align: right">
				<b>'.$focus->document_no.'</b>
				</td>
	</tr>			
</table>		
';