feature_v2.php 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?php
  2. /**
  3. * Top Features virsion 2
  4. * Saurce: https://github.com/gudh/ihover
  5. */
  6. $exhibition = iro_opt('exhibition');
  7. ?>
  8. <div class="top-feature-row">
  9. <h1 class="fes-title"><i class="fa fa-paper-plane-o" aria-hidden="true"></i> <?php echo iro_opt('exhibition_area_title', '展示'); ?></h1>
  10. <div class="top-feature-v2">
  11. <div class="the-feature square from_left_and_right">
  12. <a href="<?php echo $exhibition['link1']; ?>" target="_blank">
  13. <div class="img"><img src="<?php echo $exhibition['img1']; ?>"></div>
  14. <div class="info">
  15. <h3><?php echo $exhibition['title1']; ?></h3>
  16. <p><?php echo $exhibition['description1']; ?></p>
  17. </div>
  18. </a>
  19. </div>
  20. </div>
  21. <div class="top-feature-v2">
  22. <div class="the-feature square from_left_and_right">
  23. <a href="<?php echo $exhibition['link2']; ?>" target="_blank">
  24. <div class="img"><img src="<?php echo $exhibition['img2']; ?>"></div>
  25. <div class="info">
  26. <h3><?php echo $exhibition['title2']; ?></h3>
  27. <p><?php echo $exhibition['description2']; ?></p>
  28. </div>
  29. </a>
  30. </div>
  31. </div>
  32. <div class="top-feature-v2">
  33. <div class="the-feature square from_left_and_right">
  34. <a href="<?php echo $exhibition['link3']; ?>" target="_blank">
  35. <div class="img"><img src="<?php echo $exhibition['img3']; ?>"></div>
  36. <div class="info">
  37. <h3><?php echo $exhibition['title3']; ?></h3>
  38. <p><?php echo $exhibition['description3']; ?></p>
  39. </div>
  40. </a>
  41. </div>
  42. </div>
  43. </div>