<?php /* Smarty version 2.6.20, created on 2011-11-17 04:05:52
         compiled from article_read.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'smarty_fewchars', 'article_read.tpl', 99, false),)), $this); ?>
<?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">

	<?php if (is_array ( $this->_tpl_vars['article'] )): ?>
	<div id="css_articles">
		<div class="articleContent">
		<h2><?php echo $this->_tpl_vars['article']['title']; ?>
</h2>
	
		<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); ?> 
			
			<strong><?php echo $this->_tpl_vars['lang']['views']; ?>
</strong>: <?php echo $this->_tpl_vars['article']['views_formatted']; ?>
 
			
			<?php if (is_array ( $this->_tpl_vars['article']['tags'] )): ?>
			<strong><?php echo $this->_tpl_vars['lang']['tags']; ?>
</strong>:
			
			 <?php $_from = $this->_tpl_vars['article']['tags']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['tag_links'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['tag_links']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['t']):
        $this->_foreach['tag_links']['iteration']++;
?>
			   <?php if (($this->_foreach['tag_links']['iteration'] == $this->_foreach['tag_links']['total'])): ?>
			    <a href="<?php echo $this->_tpl_vars['t']['link']; ?>
" title="<?php echo $this->_tpl_vars['t']['tag']; ?>
"><?php echo $this->_tpl_vars['t']['tag']; ?>
</a> 
			   <?php else: ?>
			    <a href="<?php echo $this->_tpl_vars['t']['link']; ?>
" title="<?php echo $this->_tpl_vars['t']['tag']; ?>
"><?php echo $this->_tpl_vars['t']['tag']; ?>
</a>, 
			   <?php endif; ?>
			 <?php endforeach; endif; unset($_from); ?>
			
			<?php endif; ?>
			</span>
		</div>
			<!--<?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; ?>--> 
			<div id="articleParagraph">
			<span class="shortcuts">
				<a href="#" class="increaseFont">[+]</a> <a href="#" class="resetFont">[a]</a> <a href="#" class="decreaseFont">[-]</a>
				<a href="#relatedLinks" class="anchorLink"><?php echo $this->_tpl_vars['lang']['articles_related']; ?>
</a> <a href="#comments" class="anchorLink"><?php echo $this->_tpl_vars['lang']['comments']; ?>
</a> 
				<?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; ?>
			</span>
			<br />
					<div id="pm_resizer"><?php echo $this->_tpl_vars['article']['content']; ?>
</div>
			<div align="center"><?php echo $this->_tpl_vars['ad_4']; ?>
</div>
			</div>
			<?php if ($this->_tpl_vars['facebook_like_href'] != ''): ?>
				<iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo $this->_tpl_vars['facebook_like_href']; ?>
&amp;layout=standard&amp;show_faces=false&amp;width=400&amp;action=like&amp;colorscheme=light&amp;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:400px; height:35px;" allowTransparency="true"></iframe>
			<?php endif; ?>
		</div>

		<a name="relatedLinks" id="relatedLinks"></a>
		<div class="relatedArticles">
		<h3><?php echo $this->_tpl_vars['lang']['articles_related']; ?>
</h3>
			<?php if (is_array ( $this->_tpl_vars['related_articles'] ) && count ( $this->_tpl_vars['related_articles'] ) > 0): ?>
			 <ul class="relatedArticleli">
			 	<?php $_from = $this->_tpl_vars['related_articles']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['id'] => $this->_tpl_vars['related']):
?>
			    <li>
			   	<?php if ($this->_tpl_vars['related']['meta']['post_thumb_show'] != ''): ?>
			   	<a href="<?php echo $this->_tpl_vars['related']['link']; ?>
"><img src="<?php echo @_ARTICLE_ATTACH_DIR; ?>
/<?php echo $this->_tpl_vars['related']['meta']['post_thumb_show']; ?>
" align="left" width="55" height="55" alt="" class="artThumb" /></a>
				<?php endif; ?> 				
				<a href="<?php echo $this->_tpl_vars['related']['link']; ?>
"><?php echo smarty_fewchars(array('s' => $this->_tpl_vars['related']['title'],'length' => 42), $this);?>
</a>
				<br />
				<?php if ($this->_tpl_vars['related']['meta']['post_thumb_show'] == ''): ?>
				<div class="minDesc"><?php echo smarty_fewchars(array('s' => $this->_tpl_vars['related']['excerpt'],'length' => 190), $this);?>
</div>
				<?php else: ?>
				<div class="minDesc"><?php echo smarty_fewchars(array('s' => $this->_tpl_vars['related']['excerpt'],'length' => 130), $this);?>
</div>
				<?php endif; ?>
				</li>
			    <?php endforeach; endif; unset($_from); ?>
			 </ul>
			<?php endif; ?>
		</div>

		<table width="100%" border="0" cellspacing="0" cellpadding="0">
		  <tr>
		   <td colspan="2">
		    <br />
			<a name="comments" id="comments"></a>
			<?php if ($this->_tpl_vars['article']['allow_comments'] == 1): ?>
				<div class="postComments">
				<?php if ($this->_tpl_vars['logged_in'] == '1'): ?>
				<h3><?php echo $this->_tpl_vars['lang']['post_comment']; ?>
</h3>
				<span class="mycommentspan" name="mycommentspan" id="mycommentspan"></span>
				<form action="" name="myform" method="post" id="myform">
				 <textarea name="comment_txt" id="c_comment_txt" style="width:96%" rows="5" onkeyup="textLimit(this, 400);"></textarea>
				 <input type="hidden" id="c_vid" name="vid" value="<?php echo $this->_tpl_vars['uniq_id']; ?>
" />
				 <input type="hidden" id="c_user_id" name="user_id" value="<?php echo $this->_tpl_vars['user_id']; ?>
" />
				 <br />
				 <input type="submit" id="c_submit" name="Submit" value="<?php echo $this->_tpl_vars['lang']['submit_comment']; ?>
" class="inputbutton" />
				 
				 <span class="small-warning">* <?php echo $this->_tpl_vars['lang']['post_comment_notice']; ?>
</span>
				</form>
				<?php elseif ($this->_tpl_vars['logged_in'] == 0 && $this->_tpl_vars['guests_can_comment'] == 1): ?>
					<h3><?php echo $this->_tpl_vars['lang']['post_comment']; ?>
</h3>
					<span class="mycommentspan" name="mycommentspan" id="mycommentspan"></span>
					<form action="" name="myform" method="post" id="myform">
					 <?php echo $this->_tpl_vars['lang']['your_name']; ?>
:<br />
					<input type="text" id="c_username" name="username" value="<?php echo $this->_tpl_vars['guestname']; ?>
" class="inputtext" /><br /><br />
					<?php echo $this->_tpl_vars['lang']['your_comment']; ?>
:<br />
					<textarea id="c_comment_txt" name="comment_txt" style="width:95%" rows="5" onkeyup="textLimit(this, 400);"></textarea><br /><br />
					<?php echo $this->_tpl_vars['lang']['confirm_comment']; ?>
:<br />
					<img src="<?php echo @_URL; ?>
/include/securimage_show.php?sid=<?php echo md5(uniqid(time())); ?>" id="image" align="absmiddle" />
					<a href="#" onclick="document.getElementById('image').src = '<?php echo @_URL; ?>
/include/securimage_show.php?sid=' + Math.random(); return false"><img src="<?php echo @_URL; ?>
/templates/<?php echo $this->_tpl_vars['template_dir']; ?>
/images/reload.gif" border="0" align="absmiddle" /></a>
					<br />
					<input class="inputtext" name="captcha" type="text" id="captcha" size="15" maxlength="15" />
		
					<input type="hidden" id="c_vid" name="vid" value="<?php echo $this->_tpl_vars['uniq_id']; ?>
" />
					<input type="hidden" id="c_user_id" name="user_id" value="0" />
					<br />
					<input type="submit" id="c_submit" name="Submit" value="<?php echo $this->_tpl_vars['lang']['submit_comment']; ?>
" class="inputbutton" />
					<br /><span class="small-warning">* <?php echo $this->_tpl_vars['lang']['post_comment_notice']; ?>
</span>
					</form>
				<?php endif; ?>
				<br />
				<h3><?php echo $this->_tpl_vars['lang']['comments']; ?>
</h3>
				<div class="comment_box">
				<?php if ($this->_tpl_vars['show_comments'] == 'empty'): ?>
					<ol>
					<li id="preview_comment">
					</li>
					</ol>
					<div id="be_the_first" class="be_the_first"><?php echo $this->_tpl_vars['lang']['be_the_first']; ?>
</div>
				<?php else: ?>
					<ol>
					<li id="preview_comment"></li>
					</ol>
					<ol id="comments_ol">
					<?php echo $this->_tpl_vars['show_comments']; ?>

					</ol>
				<?php endif; ?>
				<?php if ($this->_tpl_vars['logged_in'] != '1' && $this->_tpl_vars['guests_can_comment'] != 1): ?><br /><?php echo $this->_tpl_vars['must_sign_in']; ?>
<?php endif; ?>
				</div>
			 <?php endif; ?>
		   </td>
		  </tr>
		</table>

		<div class="shareLinks">
		<ul>
			<li class="upLink"><a href="#top" class="anchorLink"><?php echo $this->_tpl_vars['lang']['top']; ?>
</a></li>

			<li><a href="http://twitter.com/home/?status=<?php echo $this->_tpl_vars['article']['title']; ?>
+<?php echo $this->_tpl_vars['article']['link']; ?>
" title="Tweet this" target="_blank"><img src="<?php echo @_URL; ?>
/templates/<?php echo $this->_tpl_vars['template_dir']; ?>
/images/share/twitter.gif"  alt="<?php echo $this->_tpl_vars['lang']['share_video']; ?>
" width="16" height="16" border="0" align="absmiddle" /></a></li>
			<li><a href="http://www.facebook.com/share.php?u=<?php echo $this->_tpl_vars['article']['link']; ?>
&title=<?php echo $this->_tpl_vars['article']['title']; ?>
" target="_blank"><img src="<?php echo @_URL; ?>
/templates/<?php echo $this->_tpl_vars['template_dir']; ?>
/images/share/facebook.gif"  alt="<?php echo $this->_tpl_vars['lang']['share_video']; ?>
" width="16" height="16" border="0" align="absmiddle" />  </a> </li>
			<li><a href="http://digg.com/submit?phase=2&url=<?php echo $this->_tpl_vars['article']['link']; ?>
&title=<?php echo $this->_tpl_vars['article']['title']; ?>
" target="_blank"><img src="<?php echo @_URL; ?>
/templates/<?php echo $this->_tpl_vars['template_dir']; ?>
/images/share/digg.gif"  alt="<?php echo $this->_tpl_vars['lang']['share_video']; ?>
" width="16" height="16" border="0" align="absmiddle" />  </a></li>
			<li><a href="http://del.icio.us/post?url=<?php echo $this->_tpl_vars['article']['link']; ?>
&title=<?php echo $this->_tpl_vars['article']['title']; ?>
" target="_blank"><img src="<?php echo @_URL; ?>
/templates/<?php echo $this->_tpl_vars['template_dir']; ?>
/images/share/delicious.gif"  alt="<?php echo $this->_tpl_vars['lang']['share_video']; ?>
" width="16" height="16" border="0" align="absmiddle" />  </a></li>
			<li><a href="http://www.google.com/bookmarks/mark?op=edit&bkmk=<?php echo $this->_tpl_vars['article']['link']; ?>
&title=<?php echo $this->_tpl_vars['article']['title']; ?>
" target="_blank"><img src="<?php echo @_URL; ?>
/templates/<?php echo $this->_tpl_vars['template_dir']; ?>
/images/share/google.gif"  alt="<?php echo $this->_tpl_vars['lang']['share_video']; ?>
" width="16" height="16" border="0" align="absmiddle" />  </a></li>
			<li><a href="http://en.reddit.com/submit?url=<?php echo $this->_tpl_vars['article']['link']; ?>
&title=<?php echo $this->_tpl_vars['article']['title']; ?>
" target="_blank"><img src="<?php echo @_URL; ?>
/templates/<?php echo $this->_tpl_vars['template_dir']; ?>
/images/share/reddit.gif"  alt="<?php echo $this->_tpl_vars['lang']['share_video']; ?>
" width="16" height="16" border="0" align="absmiddle" />  </a></li>
		</ul>
		</div>
		<div style="clear:both;"></div>
	<?php else: ?>
	<div id="css_articles">
		<div class="articleContent">
		<h2><?php echo $this->_tpl_vars['article']; ?>
</h2>
	<div style="clear:both;"></div>
	<?php endif; ?>
	</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);
 ?> 