daily pastebin goal
39%
SHARE
TWEET

Untitled

a guest Jan 22nd, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $this->categories = Doctrine::getTable('Boutique')->getShops();
  2.  
  3. <?php
  4. foreach($categories as $category):
  5. ?>
  6.  <div id="pcatj">
  7.         <h2><?php echo $category->getNom();?></h2>
  8.         <?php foreach ($category->getActiveArticles() as $i => $article): ?>
  9.        <div id="catj">
  10.                 <div id="vignette_jeu">
  11.                         <a href="<?php echo url_for('/boutique/'.$category->getNomSlug().'/'.$article->getStyleVenteSlug().'/'.$article->getNomSlug());?>"><img width=151px" height="111px" src="<?php echo $article->getVisuel();?>" /></a>
  12.                 </div> 
  13.                 <h3><?php echo $article->getNom();?></h3>
  14.                 <span class="h4"><?php echo $article->getStyleVente();?></span><br/>
  15.                 <span class="jdotation"><?php echo substr($article->getDescriptif(),0,50);?></span><br/><br/>
  16.                 <a href="<?php echo $article->getUrl();?>"><img class="jouer" src="/images/jeux/bt-jouer-jeux.gif"></a>
  17.         </div>
  18.         <?php endforeach; ?>
  19. </div>          
  20. <?php
  21. endforeach;
  22. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top