</div> </div> <?php if (!empty($this->crosswords)) { ?> <div class="page-title" style="margin-top: 10px;"><?php echo JText::_("LBL_CROSSWORD_LIST"); ?> </div> <ul class="crosswords"> <?php $i = 0; foreach ($this->crosswords as $crossword) { $href = JRoute::_("index.php?option=" . $option . "&view=crosswords&task=view&id=" . $crossword->id . ":" . $crossword->alias . $citemid . $itemid); $chref = JRoute::_('index.php?option=' . $option . '&view=crosswords&task=list&catid=' . $crossword->catid . (!empty($crossword->calias) ? ':' . $crossword->calias : '') . $itemid); $crossword_date = CrosswordsHelper::getFormattedDate($crossword->created); $user_avatar = CrosswordsHelper::getUserAvatar($crossword->created_by, 36); $styleClass = $i ? "alt" : "noalt"; ?> <li class="<?php echo $styleClass; ?> "> <div class="crossword-avatar"><?php echo $user_avatar; ?> </div> <div class="crossword-title"> <a href="<?php echo $href; ?>
?> <?php foreach ($this->crossword->users_solved as $user_solved) { ?> <tr> <td nowrap="nowrap"> <div style="float: left; margin-right: 5px;"><?php echo CrosswordsHelper::getUserAvatar($user_solved->created_by, 32); ?> </div> <div><?php echo CrosswordsHelper::getUserProfileUrl($user_solved->created_by, $this->escape($user_solved->username)); ?> </div> <div><?php echo CrosswordsHelper::getFormattedDate($user_solved->created); ?> </div> <div class="clear"></div> </td> </tr> <?php } ?> <?php if ($this->crossword->user_count > 0) { ?> <tr><td><?php echo $this->crossword->user_count . " " . JText::_("TXT_MORE_USERS_SOLVED"); ?> </td></tr>