topical media & game development 
  
 
 
 
 
  
    
    
  
 mashup-flickr-08-Complete-gallery-info.php / php
  <?php
  
  include (dirname(__FILE__) . '/../lib/gallery.php');
  
  function decodeHTML(s = str_replace("<", "<", s = str_replace(">", ">", s = str_replace(""", "\"", s = str_replace("&", "&", s;
  }
  
  function formatDateTaken(format = 'j F Y';
    format, strtotime(formattedDate;
  }
  
  function formatDatePosted(format = 'j F Y';
    format, formattedDate;
  }
  
  _SESSION['FlickrAuthenticatedUser'];
  
  id = id))
  {
    gallery->getPhotoInfo(description = nl2br(decodeHTML(tags = id ?>); return false;">Hide info</a></div>
  <div class="photo-info">
    <div class="photo-description"><?php echo tags))
    {
      foreach (tag)
      {
  ?>
      <li><?php echo info['dates']['taken']) ?></div>
    <div class="photo-date-posted">Posted on: <?php echo formatDatePosted(user))
      {
  ?>
    <div class="photo-edit-link"><a href="edit.php?id=<?php echo id ?>">Replace</a></div>
  <?php
      }
  ?>
  </div>
  <?php
  }
  ?>
  
  
  
(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.