Пример #1
0
?>
how-to-play/">How to Play</a></li>
					<li<?php 
echo IsActive($page, RULES);
?>
><a data-scroll href="<?php 
echo SITE_URL;
?>
rules/">Rules</a></li>
					
					
					<?php 
if (isset($_SESSION['logged_in'])) {
    ?>
					<li<?php 
    echo IsActive($page, LEADERBOARD);
    ?>
><a data-scroll href="<?php 
    echo SITE_URL;
    ?>
leaderboard/">Leaderboard</a></li>
					<?php 
}
?>
					
					<?php 
if (!isset($_SESSION['logged_in']) || !$_SESSION['logged_in']) {
    ?>
					<li><a class="btn-effect btn" data-scroll href="<?php 
    echo SITE_URL;
    ?>
Пример #2
0
/stream/" <?php 
    IsActive('/stream/');
    ?>
><i class="icon-reorder"></i> <span class="hidden-tablet hidemobile">Stream</span></a></li>
				<li><a href="//<?php 
    echo $domain;
    ?>
/discover/" <?php 
    IsActive('/discover/');
    ?>
><i class="icon-question-sign"></i> <span class="hidden-tablet hidemobile">Discover</span></a></li>
				<li><a href="//<?php 
    echo $domain;
    ?>
/mentions/" <?php 
    IsActive('/mentions/');
    ?>
><i class="icon-comments"></i> <span class="hidden-tablet hidemobile">Mentions</span></a></li>
				
<?php 
    if ($_loggedin) {
        // Shouldn't be here...
        $__login_main_character = $_loginaccount->GetMainCharacterName();
        if (!$_loginaccount->IsMuted()) {
            ?>
				<li>
					<a href="#post" role="button" data-toggle="modal"><i class="icon-plus"></i></a>
				</li>

<?php 
        }
Пример #3
-1
function BuildURL($name, $url)
{
    ?>
				<li<?php 
    IsActive($url);
    ?>
><a href="<?php 
    echo $url;
    ?>
"><?php 
    echo $name;
    ?>
 <i class="icon-chevron-right"></i></a></li>
<?php 
}