if ($item->duration > 0) { ?> <div class="media-duration"> <?php echo hwdMediaShareMedia::secondsToTime($item->duration); ?> </div> <?php } ?> <a href="<?php echo JRoute::_(hwdMediaShareHelperRoute::getMediaItemRoute($item->slug)); ?> "> <img src="<?php echo JRoute::_(hwdMediaShareDownloads::thumbnail($item)); ?> " border="0" alt="<?php echo $this->escape($item->title); ?> " style="max-width:100%;" /> </a> <?php } ?> </div> <!-- Clears Item and Information --> <div class="clear"></div> <!-- Item Meta --> <ul class="unstyled"> <li class="article-info-term"><?php
<dd class="result-category"> <span class="small<?php echo $this->pageclass_sfx; ?> "> (<?php echo $this->escape($result->section); ?> ) </span> </dd> <?php } ?> <dd class="result-text"> <div class="image-left" style="max-width:100px;"> <a href="<?php echo JRoute::_(hwdMediaShareHelperRoute::getMediaItemRoute($result->id)); ?> "> <img src="<?php echo JRoute::_(hwdMediaShareDownloads::thumbnail($result)); ?> " border="0" alt="<?php echo $this->escape($result->title); ?> " style="max-width:100%;" /> </a> </div> <?php echo $result->text; ?> <div class="clear"></div> </dd> <?php if ($this->params->get('show_date')) { ?> <dd class="result-created<?php echo $this->pageclass_sfx;
<?php } ?> </ul> </li> </ul> <?php } ?> <!-- Media Type --> <div class="media-item-format-2"> <img src="<?php echo JHtml::_('hwdicon.overlay', 2); ?> " alt="Album" /> </div> <div class="thumbnail"> <img src="<?php echo JRoute::_(hwdMediaShareDownloads::thumbnail($this->album, 2)); ?> " border="0" alt="<?php echo $this->escape($this->album->title); ?> " style="width:120px;" /> </div> </div> <div class="span3"> <ul class="unstyled"> <li class="article-info-term"><?php echo JText::_('COM_HWDMS_DETAILS'); ?> </li> <li class="media-info-count"> <?php echo JText::_('COM_HWDMS_MEDIA'); ?>
?> "> <img src="<?php echo JHtml::_('hwdicon.overlay', $this->elementType, $item); ?> " alt="<?php echo $this->elementName; ?> " /> </div> <a href="<?php echo JRoute::_(hwdMediaShareHelperRoute::getUserRoute($item->slug)); ?> "> <img src="<?php echo JRoute::_(hwdMediaShareDownloads::thumbnail($item, $this->elementType)); ?> " border="0" alt="<?php echo $this->escape($item->title); ?> " style="max-width:100%;" /> </a> <?php } ?> </div> <!-- Clears Item and Information --> <div class="clear"></div> <!-- Item Meta --> <ul class="unstyled"> <dt class="article-info-term"><?php
</ul> </li> </ul> <?php } ?> <!-- Media Type --> <div class="media-item-format-6"> <img src="<?php echo JHtml::_('hwdicon.overlay', 6); ?> " alt="<?php echo JText::_('COM_HWDMS_CATEGORY'); ?> " /> </div> <div class="thumbnail"> <img src="<?php echo JRoute::_(hwdMediaShareDownloads::thumbnail($this->category, 6)); ?> " border="0" alt="<?php echo $this->escape($this->category->title); ?> " style="width:120px;" /> </div> </div> <div class="span3"> <ul class="unstyled"> <li class="article-info-term"><?php echo JText::_('COM_HWDMS_DETAILS'); ?> </li> <li class="media-info-count"><?php echo JText::_('COM_HWDMS_MEDIA'); ?>
<?php } ?> </ul> </li> </ul> <?php } ?> <!-- Media Type --> <div class="media-item-format-2"> <img src="<?php echo JHtml::_('hwdicon.overlay', 5); ?> " alt="User" /> </div> <img src="<?php echo JRoute::_(hwdMediaShareDownloads::thumbnail($this->item, 5)); ?> " border="0" alt="<?php echo $this->escape($this->item->title); ?> " style="width:120px;" /> </div> <div class="span3"> <ul class="unstyled"> <li class="article-info-term"><?php echo JText::_('COM_HWDMS_DETAILS'); ?> </li> <li class="media-info-profile"><a href="<?php echo JRoute::_('index.php?option=com_hwdmediashare&task=userform.edit&id=' . $user->id . '&return=' . base64_encode($uri)); ?> "><?php
<h3><?php echo JText::_('COM_HWDMS_ACTIVITY'); ?> </h3> <?php if ($this->params->get('commenting') == 1) { ?> <div id="member-profile"> <fieldset> <legend><strong><?php echo JText::_('COM_HWDMS_WRITE_A_COMMENT'); ?> </strong></legend> <div class="control-group"> <label> <a class="image-left" href="#"><img width="50" height="50" border="0" src="<?php echo JRoute::_(hwdMediaShareDownloads::thumbnail($user, 5)); ?> " /></a> </label> <div class="controls"> <textarea class="required" rows="10" cols="50" id="jform_comment" name="jform[comment]" required="required" style="width:200px; margin-bottom:10px; height: 50px;"></textarea> </div> </div> <div class="control-group"> <div class="controls"> <?php echo $this->getRecaptcha(); ?> </div> </div> <div class="form-actions"> <input class="btn" type="submit" value="<?php echo JText::_('COM_HWDMS_COMMENT');
echo JText::_('JPREV'); ?> </span> </a> <?php } ?> <a href="<?php echo JRoute::_('index.php?option=com_hwdmediashare&view=slideshow&id=' . $this->item->id . '&tmpl=component&return=' . $this->return); ?> " class="btn"> <i class="icon-search"></i> <?php echo JText::_('COM_HWDMS_ZOOM'); ?> </a> <?php if (isset($this->item->navigation->next->id)) { $tip = '<img src="' . JRoute::_(hwdMediaShareDownloads::thumbnail($this->item->navigation->next)) . '" border="0" alt="' . $this->escape($this->item->navigation->next->title) . '" style="max-width:100%;" />'; ?> <a href="<?php echo JRoute::_(hwdMediaShareHelperRoute::getMediaItemRoute($this->item->navigation->next->id)); ?> " class="btn"> <span class="editlinktip hasTip" title="<?php echo $this->escape($this->item->navigation->next->title); ?> ::<?php echo $this->escape(strip_tags($tip, '<img>,<br>')); ?> " > <i class="icon-arrow-right"></i> <?php echo JText::_('JNEXT'); ?> </span> </a> <?php
<?php } ?> </ul> </li> </ul> <?php } ?> <!-- Media Type --> <div class="media-item-format-4"> <img src="<?php echo JHtml::_('hwdicon.overlay', 5); ?> " alt="Playlist" /> </div> <img src="<?php echo JRoute::_(hwdMediaShareDownloads::thumbnail($this->channel, 5)); ?> " border="0" alt="<?php echo $this->escape($this->channel->title); ?> " style="width:120px;" /> </div> <div class="span3"> <ul class="unstyled"> <li class="article-info-term"><?php echo JText::_('COM_HWDMS_DETAILS'); ?> </li> <li class="media-info-count"><?php echo JText::_('COM_HWDMS_MEDIA'); ?> (<?php
<th> <?php echo JHtml::_('grid.sort', JText::_('COM_HWDMS_SIZE'), 'a.size', $listDirn, $listOrder); ?> </th> </tr> </thead> <tbody> <?php foreach ($this->items as $id => &$item) { ?> <tr class="cat-list-row<?php echo $counter % 2; ?> "> <td><a href="<?php echo hwdMediaShareDownloads::protectedUrl($this->item->id, $item->file_type); ?> "><?php echo $this->getFileType($item); ?> </a></td> <td><?php echo $this->escape($item->ext); ?> </td> <td><?php echo JHtml::_('number.bytes', $item->size); ?> </td> </tr> <?php
} ?> </ul> </li> </ul> <?php } ?> <!-- Media Type --> <div class="media-item-format-4"> <img src="<?php echo JHtml::_('hwdicon.overlay', 4); ?> " alt="Playlist" /> </div> <div class="thumbnail"> <img src="<?php echo JRoute::_(hwdMediaShareDownloads::thumbnail($this->playlist, 4)); ?> " border="0" alt="<?php echo $this->escape($this->playlist->title); ?> " style="width:120px;" /> </div> </div> <div class="span3"> <!--<input name="" type="button" value="Play Now" class="button modal" /><br />--> <ul class="unstyled"> <li class="article-info-term"><?php echo JText::_('COM_HWDMS_DETAILS'); ?> </li> <li class="media-info-createdby"> <?php echo JText::sprintf('COM_HWDMS_CREATED_BY', '<a href="' . JRoute::_(hwdMediaShareHelperRoute::getUserRoute($this->playlist->created_user_id)) . '">' . htmlspecialchars($this->playlist->author, ENT_COMPAT, 'UTF-8') . '</a>');