⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 default_items.php

📁 Joomla!是一套获得过多个奖项的内容管理系统(Content Management System, CMS)。Joomla!采用PHP+MySQL数据库开发
💻 PHP
字号:
<?php // @version $Id: default_items.php 10381 2008-06-01 03:35:53Z pasamio $defined('_JEXEC') or die('Restricted access');?><script type="text/javascript">	function tableOrdering(order, dir, task) {		var form = document.adminForm;		form.filter_order.value = order;		form.filter_order_Dir.value = dir;		document.adminForm.submit(task);	}</script><div class="display">	<form action="<?php echo htmlspecialchars($this->action); ?>" method="post" name="adminForm">		<?php echo JText :: _('Display Num'); ?>&nbsp;		<?php echo $this->pagination->getLimitBox(); ?>		<input type="hidden" name="filter_order" value="<?php echo $this->lists['order'] ?>" />		<input type="hidden" name="filter_order_Dir" value="" />	</form></div><table class="weblinks">	<?php if ($this->params->def('show_headings', 1)) : ?>	<tr>		<th class="sectiontableheader<?php echo $this->params->get('pageclass_sfx'); ?>" width="5" id="num">			<?php echo JText::_('Num'); ?>		</th>		<th width="90%" class="sectiontableheader<?php echo $this->params->get('pageclass_sfx'); ?>" id="title">			<?php echo JHTML::_('grid.sort', 'Web Link', 'title', $this->lists['order_Dir'], $this->lists['order']); ?>		</th>		<?php if ($this->params->get('show_link_hits')) : ?>		<th width="10%" class="sectiontableheader<?php echo $this->params->get('pageclass_sfx'); ?>" nowrap="nowrap" id="hits">			<?php echo JHTML::_('grid.sort', 'Hits', 'hits', $this->lists['order_Dir'], $this->lists['order']); ?>		</th>		<?php endif; ?>	</tr>	<?php endif; ?>	<?php foreach ($this->items as $item) : ?>	<tr class="sectiontableentry<?php echo $item->odd + 1; ?>">		<td align="center" headers="num">			<?php echo $this->pagination->getRowOffset($item->count); ?>		</td>		<td headers="title">			<?php if ($item->image) :				echo $item->image;			endif;			echo $item->link;			if ($this->params->get('show_link_description')) : ?>			<br />			<?php echo nl2br($item->description);			endif; ?>		</td>		<?php if ($this->params->get('show_link_hits')) : ?>		<td headers="hits">			<?php echo $item->hits; ?>		</td>		<?php endif; ?>	</tr>	<?php endforeach; ?></table><p class="counter">	<?php echo $this->pagination->getPagesCounter(); ?></p><?php echo $this->pagination->getPagesLinks();

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -