View file social/index.php

File size: 1.38Kb
<?
include_once 'sys/inc/start.php';
include_once 'sys/inc/compress.php';
include_once 'sys/inc/sess.php';
include_once 'sys/inc/home.php';
include_once 'sys/inc/settings.php';
include_once 'sys/inc/db_connect.php';
include_once 'sys/inc/ipua.php';
include_once 'sys/inc/fnc.php';
include_once 'sys/inc/user.php';
include_once 'sys/inc/icons.php'; // Иконки главного меню

include_once 'sys/inc/thead.php';
title();
err();

if (!$set['web'])
{



	
	if (isset($user))
	{
		
	}
	else
  	{
        ?>
        <nav class="navbar navbar-light" style='
             background-color: #FFF;
             border: 1px #597da3 solid;'>
            <ul class='nav navbar-nav'>
                <div class="bd-example">
                    <a class='btn btn-secondary btn-sm' href='/aut.php'><i class="fa fa-sign-in fa-fw"></i> Войти</a> 
                    <a class='btn btn-secondary btn-sm' href='/reg.php'><i class="fa fa-user-plus fa-fw"></i> Быстрая Регистрация</a>
                </div>
            </ul>
        </nav>
        <?php
    }
	?><?

	// новости 
	include_once 'sys/inc/news_main.php'; 

	// главное меню
	include_once 'sys/inc/main_menu.php'; 
}
else
{
	// главная web темы
	include_once 'style/themes/' . $set['set_them'] . '/index.php'; 
}
include_once 'sys/inc/tfoot.php';
?>