<?php /* Smarty version 2.6.20, created on 2011-11-15 07:38:11
         compiled from article_browse.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header.tpl', 'smarty_include_vars' => array('p' => 'article')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 

<br />
<table width="886" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="150" valign="top">
	<div id="reg_box">
	<h3 class="captions"><?php echo $this->_tpl_vars['lang']['articles']; ?>
</h3>
		<div id="list_cats">
		<ul>
		    <?php echo $this->_tpl_vars['article_categories']; ?>

		</ul>
		</div>
	</div>
	<br />
	<div id="reg_box">
	<h3 class="captions"><?php echo $this->_tpl_vars['lang']['members']; ?>
</h3>
	<?php if ($this->_tpl_vars['logged_in'] == '1'): ?>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'loggedin_body.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 
	<?php else: ?>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'login_body.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 
	<?php endif; ?>
	</div>
	<?php if (( $this->_tpl_vars['show_tags'] == 1 ) && ( count ( $this->_tpl_vars['tags'] ) > 0 )): ?>
	<br />
	<div id="reg_box">
	<h3 class="captions"><?php echo $this->_tpl_vars['lang']['tags']; ?>
</h3>
	<br />
	<?php $_from = $this->_tpl_vars['tags']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['tag']):
?>
		<?php echo $this->_tpl_vars['tag']['href']; ?>

	<?php endforeach; endif; unset($_from); ?>
	</div>
	<?php endif; ?>
	</td>
    <td width="738" valign="top">
	<div id="css_articles">
		<div class="articleContent">
		<h2 class="browseh2"><?php echo $this->_tpl_vars['article_h2']; ?>
</h2>
		<table width="100%" border="0" cellspacing="3" cellpadding="3">
		  <tr>
			<td width="100%" valign="top"></td>
			</tr>
			<tr>
			 <td valign="top">
				<?php if (! empty ( $this->_tpl_vars['list_subcats'] )): ?>	
				 <div id="list_subcats">
				 <h4><?php echo $this->_tpl_vars['lang']['related_cats']; ?>
</h4>
				 <ul>
				  <?php echo $this->_tpl_vars['list_subcats']; ?>

				 </ul>
				 </div>
				<?php endif; ?>
			</td>
			</tr>
		</table>

		<?php if (! is_array ( $this->_tpl_vars['articles'] )): ?>
			<?php echo $this->_tpl_vars['articles']; ?>

		<?php else: ?>
			<?php $_from = $this->_tpl_vars['articles']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['id'] => $this->_tpl_vars['article']):
?>
			  <div id="css_articles_list">
			   <h3><a href="<?php echo $this->_tpl_vars['article']['link']; ?>
" title="<?php echo $this->_tpl_vars['article']['title']; ?>
"><?php echo $this->_tpl_vars['article']['title']; ?>
</a></h3>

				<div class="pubDate"><strong><?php echo $this->_tpl_vars['lang']['articles_published']; ?>
</strong>: <?php echo $this->_tpl_vars['article']['date']; ?>
 <?php echo $this->_tpl_vars['lang']['articles_by']; ?>
 <a href="<?php echo @_URL; ?>
/profile.<?php echo @_FEXT; ?>
?u=<?php echo $this->_tpl_vars['article']['username']; ?>
"><?php echo $this->_tpl_vars['article']['username']; ?>
</a> 
					<span class="articleBreadcrumb"><strong><?php echo $this->_tpl_vars['lang']['articles_filedunder']; ?>
</strong>: 
					<?php $_from = $this->_tpl_vars['article']['pretty_cats']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['cat_name'] => $this->_tpl_vars['cat_href']):
?>
					  <a href="<?php echo $this->_tpl_vars['cat_href']; ?>
" title="<?php echo $this->_tpl_vars['cat_name']; ?>
"><?php echo $this->_tpl_vars['cat_name']; ?>
</a> 
					<?php endforeach; endif; unset($_from); ?> 
					</span>
				</div>
			   <div id="articleParagraph">
			   <?php echo $this->_tpl_vars['article']['content']; ?>
	  
			    <br />
			   </div>
				 <div class="css_articles_links">				
					<?php if ($this->_tpl_vars['logged_in'] && $this->_tpl_vars['is_admin'] == 'yes'): ?>
					 <a href="<?php echo @_URL; ?>
/admin/article_manager.php?do=edit&id=<?php echo $this->_tpl_vars['article']['id']; ?>
" title="<?php echo $this->_tpl_vars['lang']['edit']; ?>
" target="_blank"><?php echo $this->_tpl_vars['lang']['edit']; ?>
</a> | 
					<?php endif; ?>
					 <a href="<?php echo $this->_tpl_vars['article']['link']; ?>
"><?php echo $this->_tpl_vars['lang']['read_more']; ?>
 &raquo;</a>
					 <a href="<?php echo $this->_tpl_vars['article']['link']; ?>
#comments" title="<?php echo $this->_tpl_vars['lang']['post_comment']; ?>
"><?php echo $this->_tpl_vars['lang']['comments']; ?>
 (<?php echo $this->_tpl_vars['article']['comment_count']; ?>
) &raquo;</a>
				 </div>
			  </div>
			<?php endforeach; endif; unset($_from); ?>
		<?php endif; ?>
		</div>
		<div align="center"><?php echo $this->_tpl_vars['ad_5']; ?>
</div>
		<table width="97%" border="0" align="center" cellpadding="2" cellspacing="2">
		  <tr>
			<td width="33%"><a href="<?php echo @_URL; ?>
/rss.php?c=<?php echo $this->_tpl_vars['cat_id']; ?>
&feed=articles"><img src="<?php echo @_URL; ?>
/templates/<?php echo $this->_tpl_vars['template_dir']; ?>
/images/ico_rss_s.gif" alt="" border="0" width="16" height="16" align="absmiddle" /></a> <span class="pag"><?php echo $this->_tpl_vars['page_count_info']; ?>
</span></td>
			<td width="33%" align="right">
				<?php echo $this->_tpl_vars['pagination']; ?>

			</td>
		  </tr>
		</table>
	</div>
	</div>
	</td>
  </tr>
</table>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 