<?php /* Smarty version 2.6.31, created on 2024-05-24 17:43:58
         compiled from db:d3downloads_inc_viewcat.html */ ?>
<div class="d3downloads_feed_select">
	<?php if ($this->_tpl_vars['mylink']): ?><span class="d3downloads_mylink_info"><?php echo @_MD_D3DOWNLOADS_MYLINK_INFO; ?>
</span>&nbsp;<?php endif; ?>
	<?php if ($this->_tpl_vars['category_id']): ?>
		<a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php?page=rdf&amp;cid=<?php echo $this->_tpl_vars['category_id']; ?>
<?php if ($this->_tpl_vars['intree']): ?>&amp;intree=<?php echo $this->_tpl_vars['intree']; ?>
<?php endif; ?><?php if ($this->_tpl_vars['mylink']): ?>&amp;mylink=<?php echo $this->_tpl_vars['mylink']; ?>
<?php endif; ?>">[RDF]</a>
		<a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/rss.php?cid=<?php echo $this->_tpl_vars['category_id']; ?>
<?php if ($this->_tpl_vars['intree']): ?>&amp;intree=<?php echo $this->_tpl_vars['intree']; ?>
<?php endif; ?><?php if ($this->_tpl_vars['mylink']): ?>&amp;mylink=<?php echo $this->_tpl_vars['mylink']; ?>
<?php endif; ?>">[RSS]</a>
		<a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php?page=atom&amp;cid=<?php echo $this->_tpl_vars['category_id']; ?>
<?php if ($this->_tpl_vars['intree']): ?>&amp;intree=<?php echo $this->_tpl_vars['intree']; ?>
<?php endif; ?><?php if ($this->_tpl_vars['mylink']): ?>&amp;mylink=<?php echo $this->_tpl_vars['mylink']; ?>
<?php endif; ?>">[ATOM]</a>
		<a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php?page=filelist&amp;cid=<?php echo $this->_tpl_vars['category_id']; ?>
<?php if ($this->_tpl_vars['intree']): ?>&amp;intree=<?php echo $this->_tpl_vars['intree']; ?>
<?php endif; ?>">[<?php echo @_MD_D3DOWNLOADS_FILELIST; ?>
]</a>
	<?php else: ?>
		<a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php?page=rdf<?php if ($this->_tpl_vars['mylink']): ?>&amp;mylink=<?php echo $this->_tpl_vars['mylink']; ?>
<?php endif; ?>">[RDF]</a>
		<a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/rss.php<?php if ($this->_tpl_vars['mylink']): ?>?mylink=<?php echo $this->_tpl_vars['mylink']; ?>
<?php endif; ?>">[RSS]</a>
		<a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php?page=atom<?php if ($this->_tpl_vars['mylink']): ?>&amp;mylink=<?php echo $this->_tpl_vars['mylink']; ?>
<?php endif; ?>">[ATOM]</a>
		<a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php?page=filelist">[<?php echo @_MD_D3DOWNLOADS_FILELIST; ?>
]</a>
	<?php endif; ?>
</div>
<?php if ($this->_tpl_vars['categories']): ?>
	<hr class="d3downloads_categories" />
	<table class="d3downloads_categories" width="100%" border="0" cellspacing="5" cellpadding="0" align="center">
		<tr>
			<?php $_from = $this->_tpl_vars['categories']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['count'] => $this->_tpl_vars['cat']):
?>
				<td class="d3downloads_categories" valign="top" align="right">
					<?php if ($this->_tpl_vars['cat']['imgurl'] != ""): ?>
						<a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php?cid=<?php echo $this->_tpl_vars['cat']['cid']; ?>
<?php echo $this->_tpl_vars['cat_arg']; ?>
">
						<img src="<?php echo $this->_tpl_vars['cat']['imgurl']; ?>
" width="70" class="d3downloads_imgurl_frame" alt="<?php echo $this->_tpl_vars['cat']['title']; ?>
" title="<?php echo $this->_tpl_vars['cat']['title']; ?>
" /></a>
					<?php else: ?>
						<a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php?cid=<?php echo $this->_tpl_vars['cat']['cid']; ?>
<?php echo $this->_tpl_vars['cat_arg']; ?>
">
						<img src="<?php echo $this->_tpl_vars['mod_url']; ?>
/images/folder.gif" width="18" height="14" border="0" alt="<?php echo $this->_tpl_vars['cat']['title']; ?>
" title="<?php echo $this->_tpl_vars['cat']['title']; ?>
" /></a>
					<?php endif; ?>
				</td>
				<td class="d3downloads_categories" valign="top" align="left" width="33%">
					<a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php?cid=<?php echo $this->_tpl_vars['cat']['cid']; ?>
<?php echo $this->_tpl_vars['cat_arg']; ?>
"><?php echo $this->_tpl_vars['cat']['title']; ?>
</a>
					&nbsp;(<?php echo $this->_tpl_vars['cat']['subcat_total']; ?>
)&nbsp;
					<a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/rss.php?cid=<?php echo $this->_tpl_vars['cat']['cid']; ?>
<?php if ($this->_tpl_vars['intree']): ?>&amp;intree=<?php echo $this->_tpl_vars['intree']; ?>
<?php endif; ?>">[RSS]</a>
					<a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php?page=filelist&amp;cid=<?php echo $this->_tpl_vars['cat']['cid']; ?>
<?php if ($this->_tpl_vars['intree']): ?>&amp;intree=<?php echo $this->_tpl_vars['intree']; ?>
<?php endif; ?>">[<?php echo @_MD_D3DOWNLOADS_FILELIST; ?>
]</a>
					<!-- Correction when ATOM for cat is necessity -->
										<!-- Correction when RDF for cat is necessity -->
										<br />
					<?php $_from = $this->_tpl_vars['cat']['subcategories']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['subcat']):
?>
						<?php if ($this->_tpl_vars['subcat']['number_of_subcat']): ?>
							<a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php?cid=<?php echo $this->_tpl_vars['subcat']['cid']; ?>
<?php echo $this->_tpl_vars['cat_arg']; ?>
"><img src="<?php echo $this->_tpl_vars['mod_url']; ?>
/images/folder16.gif" width="13" height="10" alt="<?php echo $this->_tpl_vars['subcat']['title']; ?>
" title="<?php echo $this->_tpl_vars['subcat']['title']; ?>
" /></a>
							<a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php?cid=<?php echo $this->_tpl_vars['subcat']['cid']; ?>
<?php echo $this->_tpl_vars['cat_arg']; ?>
"><?php echo $this->_tpl_vars['subcat']['title']; ?>
</a>
							&nbsp;(<?php echo $this->_tpl_vars['subcat']['subcat_total']; ?>
)&nbsp;
							<img src="<?php echo $this->_tpl_vars['mod_url']; ?>
/images/subcat.gif" width="15" height="15" />
							<a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/rss.php?cid=<?php echo $this->_tpl_vars['subcat']['cid']; ?>
<?php if ($this->_tpl_vars['intree']): ?>&amp;intree=<?php echo $this->_tpl_vars['intree']; ?>
<?php endif; ?>">[RSS]</a>
							<a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php?page=filelist&amp;cid=<?php echo $this->_tpl_vars['subcat']['cid']; ?>
<?php if ($this->_tpl_vars['intree']): ?>&amp;intree=<?php echo $this->_tpl_vars['intree']; ?>
<?php endif; ?>">[<?php echo @_MD_D3DOWNLOADS_FILELIST; ?>
]</a>
							<!-- Correction when ATOM for cat is necessity -->
														<!-- Correction when RDF for cat is necessity -->
														<br />
						<?php else: ?>
							<a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php?cid=<?php echo $this->_tpl_vars['subcat']['cid']; ?>
<?php echo $this->_tpl_vars['cat_arg']; ?>
"><img src="<?php echo $this->_tpl_vars['mod_url']; ?>
/images/folder16.gif" width="13" height="10" alt="<?php echo $this->_tpl_vars['subcat']['title']; ?>
" title="<?php echo $this->_tpl_vars['subcat']['title']; ?>
" /></a>
							<a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php?cid=<?php echo $this->_tpl_vars['subcat']['cid']; ?>
<?php echo $this->_tpl_vars['cat_arg']; ?>
"><?php echo $this->_tpl_vars['subcat']['title']; ?>
</a>
							&nbsp;(<?php echo $this->_tpl_vars['subcat']['subcat_total']; ?>
)&nbsp;
							<a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/rss.php?cid=<?php echo $this->_tpl_vars['subcat']['cid']; ?>
<?php if ($this->_tpl_vars['intree']): ?>&amp;intree=<?php echo $this->_tpl_vars['intree']; ?>
<?php endif; ?>">[RSS]</a>
							<a href="<?php echo $this->_tpl_vars['mod_url']; ?>
/index.php?page=filelist&amp;cid=<?php echo $this->_tpl_vars['subcat']['cid']; ?>
<?php if ($this->_tpl_vars['intree']): ?>&amp;intree=<?php echo $this->_tpl_vars['intree']; ?>
<?php endif; ?>">[<?php echo @_MD_D3DOWNLOADS_FILELIST; ?>
]</a>
							<!-- Correction when ATOM for cat is necessity -->
														<!-- Correction when RDF for cat is necessity -->
														<br />
						<?php endif; ?>
					<?php endforeach; endif; unset($_from); ?>
					<?php if ($this->_tpl_vars['cat']['subcategories']): ?>
						<div class="d3downloads_bcat_total">
							( <?php echo @_MD_D3DOWNLOADS_BCAT_TOTAL; ?>
<?php echo $this->_tpl_vars['cat']['bcat_total']; ?>
 )
						</div>
					<?php endif; ?>
				</td>
	<?php if (!(( $this->_tpl_vars['count']+1 ) % 3)): ?>
		</tr>
		<tr>
	<?php endif; ?>
			<?php endforeach; endif; unset($_from); ?>
		</tr>
	</table>
	<hr class="d3downloads_categories" />
<?php endif; ?>