Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach($categories as $category):
- ?>
- <div id="pcatj">
- <h2><?php echo $category->getNom();?></h2>
- <?php foreach ($category->getActiveJobs() as $i => $job): ?>
- <div id="catj">
- <div id="vignette_jeu">
- <a href="<?php echo url_for('/boutique/'.$category->getNomSlug().'/'.$job->getStyleVenteSlug().'/'.$job->getNomSlug());?>"><img width=151px" height="111px" src="<?php echo $job->getVisuel();?>" /></a>
- </div>
- <h3><?php echo $job->getNom();?></h3>
- <span class="h4"><?php echo $job->getStyleVente();?></span><br/>
- <span class="jdotation"><?php echo substr($job->getDescriptif(),0,50);?></span><br/><br/>
- <a href="<?php echo $job->getUrl();?>"><img class="jouer" src="/images/jeux/bt-jouer-jeux.gif"></a>
- </div>
- <?php endforeach; ?>
- </div>
- <?php
- endforeach;
Add Comment
Please, Sign In to add comment