<?php if(!empty($info))
	//KOMUNIKAT
	echo '<p class="info_box">'.$info.'</p>';
?>
<table>
	<tr>
		<td>Nazwa firmy</td>
		<td><?php echo (isset($user_data['company_name']) ? $user_data['company_name']: '-')?></td>
	</tr>
	<tr>
		<td>Osoba kontaktowa</td>
		<td><?php echo (isset($user_data['contact_name']) ? $user_data['contact_name']: '-')?></td>
	</tr>	
	<tr>
		<td>NIP</td>
		<td><?php echo (isset($user_data['tax_id']) ? $user_data['tax_id']: '-')?></td>		
	</tr>
	<tr>
		<td>WWW</td>
		<td><?php echo (isset($user_data['website']) ? $user_data['website']: '-')?></td>		
	</tr>
	<tr>
		<td>Email</td>
		<td><?php echo (isset($user_data['email']) ? $user_data['email']: '-')?></td>		
	</tr>		
	<tr>
		<td>Dane adresowe:</td>
		<td></td>
	</tr>
	<tr>
		<td>Miasto</td>
		<td><?php echo (isset($user_data['city']) ? $user_data['city']: '-')?></td>		
	</tr>		
	<tr>
		<td>Kod pocztowy</td>
		<td><?php echo (isset($user_data['post_code']) ? $user_data['post_code']: '-')?></td>		
	</tr>
	<tr>
		<td>Ulica</td>
		<td><?php echo (isset($user_data['street']) ? $user_data['street']: '-')?></td>		
	</tr>	
	<tr>
		<td>Nr budynku</td>
		<td><?php echo (isset($user_data['b_no']) ? $user_data['b_no']: '-')?></td>		
	</tr>
	<tr>
		<td>Nr lokalu</td>
		<td><?php echo (isset($user_data['a_no']) ? $user_data['a_no']: '-')?></td>		
	</tr>	
		<?php
			//DANE KORESPONDENCYJNE 
			if(!empty($user_data['dk_miasto']) || !empty($user_data['dk_ulica']) || !empty($user_data['dk_kod-pocztowy']))
			{
		?>
				<tr>
					<td>Dane korespondecyjne</td>
					<td></td>		
				</tr>
				<tr>
					<td>Miasto</td>
					<td><?php echo (isset($user_data['dk_miasto']) ? $user_data['dk_miasto']: '-')?></td>		
				</tr>
				<tr>
					<td>Ulica</td>
					<td><?php echo (isset($user_data['dk_ulica']) ? $user_data['dk_ulica']: '-')?></td>		
				</tr>
				<tr>
					<td>Kod pocztowy</td>
					<td><?php echo (isset($user_data['dk_kod_pocztowy']) ? $user_data['dk_kod_pocztowy']: '-')?></td>		
				</tr>
				<tr>
					<td>Nr budynku</td>
					<td><?php echo (isset($user_data['dk_nr_domu']) ? $user_data['dk_nr_domu']: '-')?></td>		
				</tr>
				<tr>
					<td>Nr mieszkania</td>
					<td><?php echo (isset($user_data['dk_nr_mieszkania']) ? $user_data['dk_nr_mieszkania']: '-')?></td>		
				</tr>
				<tr>
					<td>Telefon</td>
					<td><?php echo (isset($user_data['dk_telefon']) ? $user_data['dk_telefon']: '-')?></td>		
				</tr>																											
		<?php		
			}
			else
			{
				echo '<tr>
						<td colspan="2">Dane korespondecyjne - takie jak dane adresowe</td>							
					 </tr>';			
			}	
		?>		
</table>	