$_templatelite_tpl_vars = $this->_vars;
echo $this->_fetch_compile_include($this->_vars['the_template_sidebar_modules'] . "/wrapper.tpl", array());
$this->_vars = $_templatelite_tpl_vars;
unset($_templatelite_tpl_vars);
?>
                 <div id="space1">	            	</div>
<?php 
$this->assign('sidebar_module', "sidebar_comments");
$_templatelite_tpl_vars = $this->_vars;
echo $this->_fetch_compile_include($this->_vars['the_template_sidebar_modules'] . "/wrapper.tpl", array());
$this->_vars = $_templatelite_tpl_vars;
unset($_templatelite_tpl_vars);
?>
                 <div id="space1">	            	</div>
<?php 
if ($this->_vars['Enable_Tags'] == 'true') {
    ?>
 <?php 
    $this->assign('sidebar_module', "tags");
    $_templatelite_tpl_vars = $this->_vars;
    echo $this->_fetch_compile_include($this->_vars['the_template_sidebar_modules'] . "/wrapper.tpl", array());
    $this->_vars = $_templatelite_tpl_vars;
    unset($_templatelite_tpl_vars);
    ?>
 <?php 
}
?>

<?php 
echo tpl_function_checkActionsTpl(array('location' => "tpl_pligg_sidebar_end"), $this);
			</ul>
		</div>	
	<?php 
}
?>
	
	
	
	
	
	
	
	
	
		<?php 
echo tpl_function_checkActionsTpl(array('location' => "tpl_pligg_breadcrumb_end"), $this);
?>
	</h1>
	
	
	<?php 
if ($this->_vars['pagename'] == "submit") {
    ?>
	<?php 
} elseif ($this->_vars['pagename'] != "story" && $this->_vars['pagename'] != "user" && $this->_vars['pagename'] != "profile" && $this->_vars['pagename'] != "login" && $this->_vars['pagename'] != "register") {
    ?>
		<div id="leftcol">
	<?php 
} else {
    ?>
		<div id="leftcol-wide">

</table>
<?php 
echo tpl_function_checkActionsTpl(array('location' => "tpl_pligg_topusers_end"), $this);
?>
</div>

<br />
<?php 
echo tpl_function_checkActionsTpl(array('location' => "tpl_pligg_pagination_start"), $this);
echo $this->_vars['topusers_pagination'];
?>

<?php 
echo tpl_function_checkActionsTpl(array('location' => "tpl_pligg_pagination_end"), $this);
?>
<div style="margin: 0px 0px 10px; padding: 10px 0px" align="center">
<?php 
echo '

<script type="text/javascript"><!--
google_ad_client = "pub-5074133216375147";
/* 468x60, created 4/27/09 */
google_ad_slot = "9734887712";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
	<p><?php 
echo $this->_confs['PLIGG_Visual_Login_NewUsersA'];
?>
<a href="<?php 
echo $this->_vars['register_url'];
?>
"><?php 
echo $this->_confs['PLIGG_Visual_Login_NewUsersB'];
?>
</a><?php 
echo $this->_confs['PLIGG_Visual_Login_NewUsersC'];
?>
</p>
</div>

<br style="clear:both;"/>
	<?php 
if ($this->_vars['errorMsg'] != "") {
    ?>
		<p><div class="errordiv"><?php 
    echo $this->_vars['errorMsg'];
    ?>
</div></p>
	<?php 
}
?>
 
<?php 
echo tpl_function_checkActionsTpl(array('location' => "tpl_login_bottom"), $this);
?>
</div>
<h2><?php 
echo $this->_confs['PLIGG_Visual_Submit1_NewsSource'];
?>
</h2>
	<form action="<?php 
echo $this->_vars['URL_submit'];
?>
" method="post" id="thisform">
		<label for="url"><?php 
echo $this->_confs['PLIGG_Visual_Submit1_NewsURL'];
?>
:</label>
		<input type="text" name="url" id="url" value="http://" size="55" />
		
		<?php 
echo tpl_function_checkActionsTpl(array('location' => "tpl_pligg_submit_step1_end"), $this);
?>
		
		<input type="hidden" name="phase" value=1>
		<input type="hidden" name="randkey" value="<?php 
echo $this->_vars['submit_rand'];
?>
">
		<input type="hidden" name="id" value="c_1">
		<input type="submit" value="<?php 
echo $this->_confs['PLIGG_Visual_Submit1_Continue'];
?>
" class="submit-s searchbutton" />
	</form>
	<br /><?php 
if ($this->_vars['Submit_Require_A_URL'] != 1) {
                ?>
 <?php 
                echo $this->_vars['user_login'];
                ?>
 <?php 
                echo $this->_confs['PLIGG_Visual_User_Profile_Remove_Friend_2'];
                ?>
</a><br />

	   			<?php 
                if ($this->_vars['user_authenticated'] == true) {
                    ?>

		
				<?php 
                    echo tpl_function_checkActionsTpl(array('location' => "tpl_user_center"), $this);
                    ?>

				<?php 
                }
                ?>
 			
			<?php 
            } else {
                ?>
  				
   				<?php 
                if ($this->_vars['user_authenticated'] == true) {
                    ?>

				<img src="<?php 
" class="log2" />
					<input type="hidden" name="process" value="newcomment" />
					<input type="hidden" name="randkey" value="<?php 
    echo $this->_vars['rand'];
    ?>
" />
					<input type="hidden" name="link_id" value="<?php 
    echo $this->_vars['comment_link'];
    ?>
" />
					<input type="hidden" name="comment_parent_id" value="<?php 
    echo $this->_vars['comment_id'];
    ?>
" />
					<input type="hidden" name="user_id" value="<?php 
    echo $this->_vars['current_userid'];
    ?>
" />
				</form>	
			</fieldset>
		</div>
	<?php 
}
?>
	
	  	
</div>
<?php 
echo tpl_function_checkActionsTpl(array('location' => "tpl_pligg_story_comments_single_end"), $this);
?>
<br clear="all" />
<?php

$this->config_load("/libs/lang.conf", null, null);
?>

<?php 
echo tpl_function_checkActionsTpl(array('location' => "tpl_sidebar_top"), $this);
?>
 
 
<?php 
if ($this->_vars['user_authenticated'] != true) {
    ?>
 <?php 
    $this->assign('sidebar_module', "login");
    $_templatelite_tpl_vars = $this->_vars;
    echo $this->_fetch_compile_include($this->_vars['the_template_sidebar_modules'] . "/wrapper2.tpl", array());
    $this->_vars = $_templatelite_tpl_vars;
    unset($_templatelite_tpl_vars);
    ?>
 <?php 
}
?>

<?php 
$this->assign('sidebar_module', "sidebar_stories");
$_templatelite_tpl_vars = $this->_vars;
echo $this->_fetch_compile_include($this->_vars['the_template_sidebar_modules'] . "/wrapper2.tpl", array());
$this->_vars = $_templatelite_tpl_vars;
unset($_templatelite_tpl_vars);
?>
				</ul>
				</div>
			</div>
			<div id="about">
			<h3><a href="http://forums.pligg.com/" target="_blank"><?php 
    echo $this->_confs['PLIGG_Visual_AdminPanel_Help'];
    ?>
!</a></h3>
			<br /><div class="design"><?php 
    echo $this->_confs['PLIGG_Visual_AdminPanel_Help_1'];
    ?>
 <a href="http://www.pligg.com">Pligg.com</a> <?php 
    echo $this->_confs['PLIGG_Visual_AdminPanel_Help_2'];
    ?>
 <a href="http://forums.pligg.com">Pligg Forum.</a></div>
			<br>
			</div>
		</div>
		<?php 
}
?>

	</div>
</div>

<?php 
echo tpl_function_checkActionsTpl(array('location' => "tpl_pligg_admin_body_end"), $this);
?>
</body>
</html>
			</span>
		
<?php 
        } else {
            ?>

			<span style="font-size: <?php 
            echo $this->_vars['tag_size'][$this->_sections['customer']['index']];
            ?>
pt">
				<a href="<?php 
            echo $this->_vars['tag_url'][$this->_sections['customer']['index']];
            ?>
"><?php 
            echo $this->_vars['tag_name'][$this->_sections['customer']['index']];
            ?>
</a>
			</span>
		
<?php 
        }
        ?>
		
	<?php 
    }
}
?>
	<?php 
echo tpl_function_checkActionsTpl(array('location' => "tpl_widget_tags_end"), $this);
?>
</div>
    ?>
</a> <br/>
				<a href="<?php 
    echo $this->_vars['URL_user'] . $this->_vars['last_user'];
    ?>
" rel="width:800,height:700" class="mb" title="<?php 
    echo $this->_confs['PLIGG_Visual_AdminPanel_Latest_User'];
    ?>
"><?php 
    echo $this->_vars['last_user'];
    ?>
</a>
			</td>	
			</tr>
            <tr><td valign="top"><?php 
    echo tpl_function_checkActionsTpl(array('location' => "tpl_admin_after_stats"), $this);
    ?>
</td>
            </tr>
	</table>
</fieldset>

<?php 
} else {
    ?>
	<?php 
    echo $this->_confs['PLIGG_Visual_AdminPanel_NoAccess'];
    ?>

<?php 
}
		* This notice MUST stay intact for legal use
		* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
		***********************************************/
		function bookmarksite(title, url){
		if (document.all)
		window.external.AddFavorite(url, title);
		else if (window.sidebar)
		window.sidebar.addPanel(title, url, "")
		}
	</script>
	';
?>

	
	<?php 
echo tpl_function_checkActionsTpl(array('location' => "tpl_pligg_pre_title"), $this);
?>
	
	<title><?php 
echo $this->_vars['pretitle'];
echo $this->_confs['PLIGG_Visual_Name'];
echo $this->_vars['posttitle'];
?>
</title>
	<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://<?php 
echo $this->_vars['server_name'];
echo $this->_vars['my_pligg_base'];
?>
/rss2.php"/>
	<link rel="icon" href="<?php 
echo $this->_vars['my_pligg_base'];
	<?php 
if ($this->_vars['user_authenticated'] != "") {
    ?>
		<?php 
    $_templatelite_tpl_vars = $this->_vars;
    echo $this->_fetch_compile_include($this->_vars['the_template'] . "/comment_form.tpl", array());
    $this->_vars = $_templatelite_tpl_vars;
    unset($_templatelite_tpl_vars);
    ?>
	<?php 
} else {
    ?>
		<br/>
		<?php 
    echo tpl_function_checkActionsTpl(array('location' => "anonymous_comment_form"), $this);
    ?>
		<div align="center" style="clear:both;margin-left:auto;font-weight:bold;margin-right:auto;border:#ccc solid 2px;padding-top:8px; margin-bottom:20px;border-width:1px;width:600px;text-align:center; padding-bottom: 8px;">
			<a href="<?php 
    echo $this->_vars['register_url'];
    ?>
"><?php 
    echo $this->_confs['PLIGG_Visual_Story_LoginToComment'];
    ?>
</a> <?php 
    echo $this->_confs['PLIGG_Visual_Story_Register'];
    ?>
 <a href="<?php 
    echo $this->_vars['login_url'];
    ?>
"><?php