<?php
$tOuiNon = v('tOuiNon');
?>
<h1><?php echo __('ac.part.titre'); ?></h1>
<?php if ( sizeof(v('tTabPartenaires'))>0 ) {
	foreach (v('tTabPartenaires') as $element ) { ?>

	<div class="un_partenaire">
		<h2>
		<?php echo $element->get_PAR_NOM(); ?>
		<?php echo $element->get_PAR_URL()!=''?href($element->get_PAR_URL(),array('url'=>$element->get_PAR_URL(),'class'=>'muted'),true):''; ?>
		</h2>

        <div>
        <?php
        if ( $element->get_PAR_IMG() != '' ){
			?><div class="image"><img src="<?php echo WWW_UPLOAD.'logos/partenaires/'.$element->get_PAR_IMG(); ?>" alt="<?php echo $element->get_PAR_NOM(); ?>" /></div><?php
		}
        ?>

		<?php echo utf8_encode(html_entity_decode($element->get_PAR_DESC())); ?>
		</div>
	</div>
	<?php } ?>
<?php } else { ?>
<p><?php echo __('ac.part.vide'); ?></p>
<?php } ?>