<div class="meta unit">
      <div class="inner">
      <h3 class="title">
        <?php 
        print l($lydbogObj->title, $lydbogObj->url, array('attributes' => array('class' => 'title')));
        ?>
 
      </h3>
      <div class="author">
        <?php 
        echo t('By !creator_name', array('!creator_name' => l($lydbogObj->creators_string, 'ting/search/' . $lydbogObj->creators_string, array('html' => true))));
        ?>
      </div>
      
      <?php 
        print elib_get_rating($lydbogObj->id);
        ?>
      
        
        <?php 
        if (!empty($lydbogObj->record['dc:contributor']['oss:dkind'])) {
             ;
            ?>
      <?php 
            foreach ($lydbogObj->record['dc:contributor']['oss:dkind'] as $reader) {
                $readers[] = l($reader, 'ting/search/' . $reader);
            }
            ?>
      
        <div class="reader">
        <?php 
    print l('se bogen', $collection->url, array());
    ?>
    </div>
    <?php 
}
?>


    <h3 class="title">
      <?php 
print l($collection->title, $collection->url, array('attributes' => array('class' => 'title')));
?>
    </h3>
    <div class="author">
      <?php 
echo t('By !creator_name', array('!creator_name' => l($collection->creators_string, 'ting/search/' . $collection->creators_string)));
?>
    </div>
    <?php 
print elib_get_rating($collection->id);
?>
     <div class="icons">
     <?php 
print l(theme('image', 'sites/all/themes/netsound/img/stream.png', 'Lyt', 'Lyt', null, false), $collection->url . '/stream', array('html' => true, 'attributes' => array('rel' => 'lightframe')));
?>
     <?php 
print l(theme('image', 'sites/all/themes/netsound/img/fetch.png', 'Hent', 'Hent', null, false), $collection->url . '/download', array('html' => true, 'attributes' => array('rel' => 'lightframe')));
?>
    </div>
  </div>
</li>