1
0

item.php 355 B

123456789101112131415161718
  1. <?php
  2. function echo_item ($link, $image, $text, $description) {
  3. echo "<a href=\"" . $link . "\">";
  4. echo "<img src=\"" . $image . "\">";
  5. echo "<span>";
  6. echo $text;
  7. if (isset($description)) {
  8. echo "<br>";
  9. echo "<small>";
  10. echo $description;
  11. echo "</small>";
  12. };
  13. echo "</span>";
  14. echo "</a>";
  15. };
  16. ?>