<?php /* Smarty version 2.6.31, created on 2024-05-24 17:43:58
         compiled from db:d3downloads_main_filelist.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'db:d3downloads_main_filelist.html', 12, false),array('function', 'cycle', 'db:d3downloads_main_filelist.html', 52, false),array('modifier', 'xoops_substr', 'db:d3downloads_main_filelist.html', 57, false),)), $this); ?>
<?php if ($this->_tpl_vars['mod_config']['show_breadcrumbs']): ?>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "db:".($this->_tpl_vars['mydirname'])."_inc_breadcrumbs.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php endif; ?>
<table width="100%" border="0" cellspacing="5" cellpadding="0" align="center">
	<tr valign="top" align="left">
		<td class="d3downloads_head">
			<form name="cid_select" action="<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php?page=<?php echo $this->_tpl_vars['page']; ?>
&amp;cid=<?php echo $this->_tpl_vars['select_id']; ?>
" method="get" style="margin:0px;text-align:center;">
				<input name="page" value="<?php echo $this->_tpl_vars['page']; ?>
" type="hidden">
				<input name="orderby" value="<?php echo $this->_tpl_vars['orderby']; ?>
" type="hidden">
				<select name="cid" onchange="submit();">
					<option value=""><?php echo $this->_tpl_vars['lang_directcatsel']; ?>
</option>
					<?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['category'],'selected' => $this->_tpl_vars['select_id']), $this);?>
<br />
				</select>
				&nbsp;<?php echo $this->_tpl_vars['download_total_num']; ?>

				<?php if ($this->_tpl_vars['module_admin'] && $this->_tpl_vars['invisible_num']): ?>
					<?php echo $this->_tpl_vars['invisible_link']; ?>

				<?php endif; ?>
				&nbsp;| &nbsp;<?php echo @_MD_D3DOWNLOADS_LABEL_PERPAGE; ?>
&nbsp;
				<select name="perpage" onchange="submit();">
					<?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['perpage'],'selected' => $this->_tpl_vars['select_perpage']), $this);?>

				</select>
				<?php if ($this->_tpl_vars['select_id']): ?>
					&nbsp;| &nbsp;
					<select name="intree" onchange="submit();">
						<?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['select_intree'],'selected' => $this->_tpl_vars['intree']), $this);?>

					</select>
				<?php endif; ?>
			</form>
		</td>
	</tr>
</table>

<div class="d3downloads_sortedby">
	<?php echo @_MD_D3DOWNLOADS_SORTBY; ?>
&nbsp;&nbsp;<?php echo @_MD_D3DOWNLOADS_TITLE; ?>
 (<a href="<?php echo $this->_tpl_vars['argument']; ?>
&amp;orderby=titleA"><img src="images/up.gif" border="0" align="middle" alt="" /></a><a href="<?php echo $this->_tpl_vars['argument']; ?>
&amp;orderby=titleD"><img src="images/down.gif" border="0" align="middle" alt="" /></a>)&nbsp;<?php echo @_MD_D3DOWNLOADS_DATE; ?>
 (<a href="<?php echo $this->_tpl_vars['argument']; ?>
&amp;orderby=dateA"><img src="images/up.gif" border="0" align="middle" alt="" /></a><a href="<?php echo $this->_tpl_vars['argument']; ?>
&amp;orderby=dateD"><img src="images/down.gif" border="0" align="middle" alt="" /></a>)&nbsp;<?php echo @_MD_D3DOWNLOADS_RATING; ?>
 (<a href="<?php echo $this->_tpl_vars['argument']; ?>
&amp;orderby=ratingA"><img src="images/up.gif" border="0" align="middle" alt="" /></a><a href="<?php echo $this->_tpl_vars['argument']; ?>
&amp;orderby=ratingD"><img src="images/down.gif" border="0" align="middle" alt="" /></a>)&nbsp;<?php echo @_MD_D3DOWNLOADS_DOWNSUM; ?>
 (<a href="<?php echo $this->_tpl_vars['argument']; ?>
&amp;orderby=hitsA"><img src="images/up.gif" border="0" align="middle" alt="" /></a><a href="<?php echo $this->_tpl_vars['argument']; ?>
&amp;orderby=hitsD"><img src="images/down.gif" border="0" align="middle" alt="" /></a>)
	<br /><span class="d3downloads_bold"><?php echo $this->_tpl_vars['lang_cursortedby']; ?>
</span>
</div>

<br />
<?php if ($this->_tpl_vars['filelist']): ?>
	<table class="d3downloads_outer">
		<tr>
			<th width="15%" style="text-align:center;"><?php echo @_MD_D3DOWNLOADS_CATEGORY; ?>
</th>
			<th width="10%" style="text-align:center;"><?php echo @_MD_D3DOWNLOADS_DATE; ?>
</th>
			<th width="20%" style="text-align:center;"><?php echo @_MD_D3DOWNLOADS_TITLE; ?>
</th>
			<th width="5%" style="text-align:center;"><?php echo @_MD_D3DOWNLOADS_VERSION; ?>
</th>
			<th width="35%" style="text-align:center;"><?php echo @_MD_D3DOWNLOADS_SUMMARY; ?>
</th>
			<th width="5%" style="text-align:center;"><?php echo @_MD_D3DOWNLOADS_DOWNSUM; ?>
</th>
			<th width="5%" style="text-align:center;"><?php echo @_MD_D3DOWNLOADS_TOP_TEN_RATING; ?>
</th>
		</tr>
		<!-- Start files loop -->
		<?php $_from = $this->_tpl_vars['filelist']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['file']):
?>
			<tr class="<?php echo smarty_function_cycle(array('values' => "even,odd"), $this);?>
">
				<td><a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php?cid=<?php echo $this->_tpl_vars['file']['cid']; ?>
"><?php echo $this->_tpl_vars['file']['category']; ?>
</a></td>
				<td style="text-align:center;"><?php echo $this->_tpl_vars['file']['updated']; ?>
</td>
				<td><a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php?page=singlefile&amp;cid=<?php echo $this->_tpl_vars['file']['cid']; ?>
&amp;lid=<?php echo $this->_tpl_vars['file']['id']; ?>
"><?php echo $this->_tpl_vars['file']['title']; ?>
</a></td>
				<td style="text-align:center;"><?php echo $this->_tpl_vars['file']['version']; ?>
</td>
				<td><?php echo ((is_array($_tmp=$this->_tpl_vars['file']['summary'])) ? $this->_run_mod_handler('xoops_substr', true, $_tmp, '0', '200') : xoops_substr($_tmp, '0', '200')); ?>
</td>
				<td style="text-align:center;"><?php echo $this->_tpl_vars['file']['hits']; ?>
</td>
				<td style="text-align:center;">
					<?php echo $this->_tpl_vars['file']['rating']; ?>
<br />
					(<?php echo $this->_tpl_vars['file']['votes']; ?>
<?php echo @_MD_D3DOWNLOADS_VOTEC; ?>
)</td>
				<?php if ($this->_tpl_vars['file']['d3comment']): ?>
					<td style="text-align:center;"><a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php?page=singlefile&amp;cid=<?php echo $this->_tpl_vars['file']['cid']; ?>
&amp;lid=<?php echo $this->_tpl_vars['file']['id']; ?>
#comment"><?php echo $this->_tpl_vars['file']['comments']; ?>
</a></td>
				<?php endif; ?>
			</tr>
		<?php endforeach; endif; unset($_from); ?>
		<!-- End links loop-->
	</table>
<?php else: ?>
	<div align="center">
		<br /><?php echo @_MD_D3DOWNLOADS_NOMATCH; ?>
<br />
	</div>
<?php endif; ?>
<br />
<hr />
<?php echo $this->_tpl_vars['pagenav']; ?>