<style type="text/css">
h1
{
	font-weight:normal;
	font-size:60px;
	color:white;
	margin:10px;
}
h2
{
	font-size:35px;
	margin:10px;
	color:white;
}
</style>


<?php foreach($customer as $c): ?>
<page  orientation="portrait" format="330x403" backimg="<?php echo URL::base().'/uploads/'.$images[trim($c->type_inscription)][0]; ?>" backimgx="0" backimgy="0" backimgw="1250">
	
	<div style="width:100%;
				text-align:center;
				position:absolute;
				top:1000px">
		<h1><?php echo  $c->first_name; ?></h1>
		<h1><?php echo  strtoupper($c->last_name) ; ?></h1>
		<h2><?php echo  $c->pharma_nom; ?></h2>
		<?php if($c->type=="labo"): ?>
			<h2><?php echo $c->fonction; ?></h2>
		<?php elseif(isset($c->pharma_cp)): ?>
			<h2><?php echo $c->pharma_cp; ?></h2>
		<?php endif; ?>
	</div>
</page>
<page  orientation="portrait" format="330x403" backimg="<?php echo URL::base().'/uploads/'.$images[trim($c->type_inscription)][1]; ?>" backimgx="0" backimgy="0" backimgw="1250">
	<div style="
				width:296px;
				height:295px;
				position:absolute;
				left:774px;
				top:1012px;
				padding:0px;"
	>
	<img src="<?php echo $qr_code[$c->id]; ?>" width="295" >
	</div>
</page>
<?php endforeach; ?>