<?php
session_start();
ob_start();
require('config.php');
require('db_connect.php');
require('functions.php');
/* Пользователь */
if (AUTH_VK) {
if (!empty($_SESSION['user_id'])) {
$query = "SELECT * FROM users WHERE id = '".$_SESSION['user_id']."'";
$result = mysqli_query($db, $query);
$user = mysqli_fetch_assoc($result);
}
}
?>