| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Summary view] [Print] [Text view]
1 <?php // @version $Id: default_items.php 11917 2009-05-29 19:37:05Z ian $ 2 defined('_JEXEC') or die('Restricted access'); 3 ?> 4 5 <script type="text/javascript"> 6 function tableOrdering(order, dir, task) { 7 var form = document.adminForm; 8 9 form.filter_order.value = order; 10 form.filter_order_Dir.value = dir; 11 document.adminForm.submit(task); 12 } 13 </script> 14 15 <div class="display"> 16 <form action="<?php echo $this->escape($this->action); ?>" method="post" name="adminForm"> 17 <?php echo JText :: _('Display Num'); ?> 18 <?php echo $this->pagination->getLimitBox(); ?> 19 <input type="hidden" name="filter_order" value="<?php echo $this->lists['order'] ?>" /> 20 <input type="hidden" name="filter_order_Dir" value="" /> 21 </form> 22 </div> 23 24 25 <table class="weblinks"> 26 27 <?php if ($this->params->def('show_headings', 1)) : ?> 28 <tr> 29 30 <th class="sectiontableheader<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>" width="5" id="num"> 31 <?php echo JText::_('Num'); ?> 32 </th> 33 34 <th width="90%" class="sectiontableheader<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>" id="title"> 35 <?php echo JHTML::_('grid.sort', 'Web Link', 'title', $this->lists['order_Dir'], $this->lists['order']); ?> 36 </th> 37 38 <?php if ($this->params->get('show_link_hits')) : ?> 39 <th width="10%" class="sectiontableheader<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>" nowrap="nowrap" id="hits"> 40 <?php echo JHTML::_('grid.sort', 'Hits', 'hits', $this->lists['order_Dir'], $this->lists['order']); ?> 41 </th> 42 <?php endif; ?> 43 44 </tr> 45 <?php endif; ?> 46 47 <?php foreach ($this->items as $item) : ?> 48 <tr class="sectiontableentry<?php echo $item->odd + 1; ?>"> 49 50 <td align="center" headers="num"> 51 <?php echo $this->pagination->getRowOffset($item->count); ?> 52 </td> 53 54 <td headers="title"> 55 <?php if ($item->image) : 56 echo $item->image; 57 endif; 58 echo $item->link; 59 if ($this->params->get('show_link_description')) : ?> 60 <br /> 61 <?php echo nl2br($item->description); 62 endif; ?> 63 </td> 64 65 <?php if ($this->params->get('show_link_hits')) : ?> 66 <td headers="hits"> 67 <?php echo (int)$item->hits; ?> 68 </td> 69 <?php endif; ?> 70 71 </tr> 72 <?php endforeach; ?> 73 74 </table> 75 76 77 <p class="counter"> 78 <?php echo $this->pagination->getPagesCounter(); ?> 79 </p> 80 <?php echo $this->pagination->getPagesLinks();
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |