<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_POST["charset"]?>">
   <title><?php echo $_POST["tpl_betreiber_firma"]?> - <?php echo $_POST["headline"]?></title>
   <link rel="stylesheet" type="text/css" href="<?php echo $_POST["csspfad"]?>mailtemplates.css">
   <style type="text/css">
@import url("<?php echo $_POST["csspfad"]?>mailtemplates.css");

    
    </style>
</head>
<body>

<table width="650" border="0" cellspacing="0" cellpadding="0" align="center">
	<tr>
		<td><?php echo stripslashes($_POST["logo_image"]) ?></td>
	</tr>
</table>

<br />

<table width="650" border="0" cellspacing="0" cellpadding="0" align="center">
	<tr>
		<td><?php include_once($_POST["content_file"])?><br></td>
		<td></td>
	</tr>
</table>

<table width="650" cellspacing="0" cellpadding="0" border="0" align="center">
    <tr>
		<td>
			
			<table cellspacing="2" cellpadding="2" border="0" width="640" align="center" class="footer">
			<tr>
				<td width="200" valign="top">
					<strong><?php echo $_POST["tpl_betreiber_firma"]?></strong><br />
					<?php if($_POST["tpl_betreiber_geschaeftsfuehrer"] != "") { ?>
						<?php echo $_POST["lang_geschaeftsfuehrer"]?> <?php echo $_POST["tpl_betreiber_geschaeftsfuehrer"]?><br />
					<?php } else { ?>
						<?php echo $_POST["tpl_betreiber_name"]?><br />
					<?php } ?>
					<?php echo $_POST["tpl_betreiber_strasse"]?><br />
					<?php echo $_POST["tpl_betreiber_plz"]?> <?php echo $_POST["tpl_betreiber_ort"]?><br />
				</td>
				<td width="250" valign="top">
					<?php if($_POST["tpl_betreiber_sitz_gesellschaft"]) { ?><?php echo $_POST["lang_sitz_gesellschaft"]?>: <?php echo $_POST["tpl_betreiber_sitz_gesellschaft"]?><br /><?php } ?>
					<?php if($_POST["tpl_betreiber_amtsgericht"]) { ?><?php echo $_POST["lang_handelsregister"]?>: <?php echo $_POST["lang_amtsgericht"]?> <?php echo $_POST["tpl_betreiber_amtsgericht"]?><br /><?php } ?>
					<?php if($_POST["tpl_betreiber_ustid"]) { ?><?php echo $_POST["tpl_betreiber_handelsregister"]?> | <?php echo $_POST["a_ust"]?>: <?php echo $_POST["tpl_betreiber_ustid"]?><br /><?php } ?>
					<?php if($_POST["tpl_betreiber_gerichtsstand"]) { ?><?php echo $_POST["lang_gerichtsstand"]?>: <?php echo $_POST["tpl_betreiber_gerichtsstand"]?><br /><?php } ?>
					<?php if ($_POST["tpl_betreiber_steuernummer"]) { ?>
						<?php echo $_POST["a_steuernr"]?>: <?php echo $_POST["tpl_betreiber_steuernummer"]?>
					<?php } ?>
				</td>
				<td width="190" valign="top">
					<?php if($_POST["tpl_betreiber_bank"]) { ?><?php echo $_POST["tpl_betreiber_bank"]?><br /><?php } ?>
					<?php if($_POST["tpl_betreiber_blz"]) { ?><?php echo $_POST["l_blz"]?>: <?php echo $_POST["tpl_betreiber_blz"]?><br /><?php } ?>
					<?php if($_POST["tpl_betreiber_konto"]) { ?><?php echo $_POST["l_kto"]?>: <?php echo $_POST["tpl_betreiber_konto"]?><br /><?php } ?>
					<?php if($_POST["tpl_betreiber_iban"]) { ?><?php echo $_POST["lang_iban"]?>: <?php echo $_POST["tpl_betreiber_iban"]?><br /><?php } ?>
					<?php if($_POST["tpl_betreiber_bic"]) { ?><?php echo $_POST["lang_bic"]?>: <?php echo $_POST["tpl_betreiber_bic"]?><?php } ?>
				</td>
				
			</tr>
			</table>
		
		</td>
	</tr>
    <tr>
		<td class="footerEnde"><?php echo htmlentities($_POST["lang_telefon"])?>: <?php echo htmlentities($_POST["tpl_betreiber_telefon"])?> &#183; <?php echo htmlentities($_POST["lang_fax"])?>: <?php echo htmlentities($_POST["tpl_betreiber_telefax"])?> &#183; <?php echo htmlentities($_POST["tpl_betreiber_email"])?> &#183; <?php echo htmlentities($_POST["tpl_betreiber_url"])?></td>
	</tr>
</table>

<br />

<table cellspacing="0" cellpadding="0" border="0" width="645" align="center">
	<tr>
		<td><?php if(isset($_POST["agb"])) { echo $_POST["agb"]; } ?></td>
	</tr>
</table>

</body>
</html>