Guest User

Untitled

a guest
Oct 17th, 2017
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.90 KB | None | 0 0
  1. <div class="artlist artlist-grid artlist-6-cols artlist-boxed artlist-homepage-categories">
  2. <div class="heading heading-center">
  3. <h3 class="heading-title fs-h1">Promotions</h3>
  4. </div>
  5. @foreach (var item_cat in Item_Categories)
  6. {
  7. var image_url = "/images/";
  8. var img = image_url + item_cat.item_group_id + ".png";
  9. <article class="art" data-id="183">
  10. <div class="art-picture-block">
  11. <a class="art-picture img-center-container animated zoomIn" href="@Url.Action("Brands", "Product", new {@id = item_cat.item_group_id})" title="Show products category @item_cat.item_group">
  12. <img src="@img" alt="Picture for category @item_cat.item_group" onerror="this.src = '../../images/logo.png';">
  13. </a>
  14. </div>
  15. <div class="art-genericname">
  16. <a href="@Url.Action("Brands", "Product", new {@id = item_cat.item_group_id})" title="@item_cat.item_group">
  17. <span>@item_cat.item_group</span>
  18. </a>
  19. </div>
  20. </article>
  21. }
  22. @foreach (var promo in promotions)
  23. {
  24. var image_url = "/images/pwani pics/";
  25. var img = image_url + promo.ItemsEntity.product_no + ".png";
  26. <article class="art" data-id="183">
  27. <div class="art-picture-block">
  28. <a class="art-picture img-center-container animated zoomIn" href="@Url.Action("Brands", "Product", new {@id = promo.ItemsEntity.item_id})" title="Show products category @promo.ItemsEntity.item_name">
  29. <img src="@img" alt="Picture for category @promo.ItemsEntity.item_name" onerror="this.src = '../../images/logo.png';">
  30. </a>
  31. </div>
  32. <div class="art-genericname">
  33. <a href="@Url.Action("Brands", "Product", new {@id =promo.ItemsEntity.item_id})" title="@promo.ItemsEntity.item_name">
  34. <span>@promo.ItemsEntity.item_name</span>
  35. </a>
  36. </div>
  37. </article>
  38. }
  39.  
  40.  
  41. </div>
Add Comment
Please, Sign In to add comment