Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $this->categories = Doctrine::getTable('Boutique')->getShops();
- <?php
- foreach($categories as $category):
- ?>
- <div id="pcatj">
- <h2><?php echo $category->getNom();?></h2>
- <?php foreach ($category->getActiveArticles() as $i => $article): ?>
- <div id="catj">
- <div id="vignette_jeu">
- <a href="<?php echo url_for('/boutique/'.$category->getNomSlug().'/'.$article->getStyleVenteSlug().'/'.$article->getNomSlug());?>"><img width=151px" height="111px" src="<?php echo $article->getVisuel();?>" /></a>
- </div>
- <h3><?php echo $article->getNom();?></h3>
- <span class="h4"><?php echo $article->getStyleVente();?></span><br/>
- <span class="jdotation"><?php echo substr($article->getDescriptif(),0,50);?></span><br/><br/>
- <a href="<?php echo $article->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