store-box.phtml 908 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * @version 7.7
  4. */
  5. /** @var \Ppb\Db\Table\Row\User $store */
  6. $link = $this->url($store->storeLink());
  7. $logo = $store->storeLogo();
  8. $class = (!empty($class)) ? $class : 'list';
  9. ?>
  10. <div class="<?php echo $class; ?>">
  11. <div class="image">
  12. <a href="<?php echo $link; ?>">
  13. <?php echo $this->thumbnail($logo, 200, true, array('alt' => $store->storeName())); ?>
  14. </a>
  15. </div>
  16. <div class="description">
  17. <div class="title">
  18. <h3><a href="<?php echo $link; ?>"><?php echo $store->storeName(); ?></a></h3>
  19. <p><?php echo $this->userDetails()->setUser($store)->storeDescription(false); ?></p>
  20. </div>
  21. <div class="owner">
  22. <div><?php echo $this->userDetails()->display(); ?></div>
  23. <div><?php echo $this->userDetails()->location(); ?></div>
  24. </div>
  25. </div>
  26. </div>