topical media & game development

talk show tell print

mashup-flickr-07-Complete-gallery-smartsets.php / php



  <?php include (dirname(__FILE__) . '/../lib/gallery.php') ?>
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Flickr Gallery</title>
    <link href="../css/main.css" rel="stylesheet" type="text/css" />
    <link href="../css/gallery.css" rel="stylesheet" type="text/css" />
  </head>
  <body>
  <?php 
    gallery = new FlickrGallery();
  ?>
  <?php include ('header.php') ?>
  <?php include ('navigation.php') ?>
  <div class="smart-sets">
    <h1>Smart Sets</h1>
    <ul class="smart-sets-list">
     <li class="smart-set"><?php echo gallery->showSmartSetThumbnail(<smartset.php>, 
  "Most Interesting", 20, "", "", "interestingness-desc") ?></li>
     <li class="smart-set"><?php echo gallery->showSmartSetThumbnail(<smartset.php>, 
  "Cats", 20, "cat", "all", "interestingness-desc") ?></li>
     <li class="smart-set"><?php echo gallery->showSmartSetThumbnail(<smartset.php>, 
  "Colorful", 20, "red,blue,green,orange,yellow", "any", "interestingness-desc") 
  ?></li>
     <li class="smart-set"><?php echo gallery->showSmartSetThumbnail(<smartset.php>, 
  "Red", 20, "red", "all", "date-taken-desc") ?></li>
     <li class="smart-set"><?php echo gallery->showSmartSetThumbnail(<smartset.php>, 
  "Blue", 20, "blue", "all", "date-taken-desc") ?></li>
     <li class="smart-set"><?php echo gallery->showSmartSetThumbnail(<smartset.php>, 
  "Green", 20, "green", "all", "date-taken-desc") ?></li>
     <li class="smart-set"><?php echo gallery->showSmartSetThumbnail(<smartset.php>, 
  "Yellow", 20, "yellow", "all", "date-taken-desc") ?></li>
     <li class="smart-set"><?php echo gallery->showSmartSetThumbnail(<smartset.php>, 
  "Orange", 20, "orange", "all", "date-taken-desc") ?></li>
     <li class="smart-set"><?php echo gallery->showSmartSetThumbnail(<smartset.php>, 
  "Oldest", 20, "", "", "date-taken-asc") ?></li>
    </ul>
  </div>
  </body>
  </html>
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.