BasicFramework
A simple framework for building web applications

class DataBase
When creating a class in the constructor, you must specify the data for connecting to the database
$DataBase = new DataBase('server', 'db_user', 'db_password', 'db_name');
Supported methods:
public function query($sql, $params)
public function getItem($table, $where)
public function getItems($table, $where, $sort)
public function getAll($table, $sort, $params)
public function addItem($table, $data)
class Users
Used to work with users (authorization, logout, registration, receiving fields, etc.)
Supported methods:
public function Authorize($id)
public function getFields($id)
public function Logout()
public function is_user()
public function Registration($login, $password, $level = 'user', $name = '')
public function user_exists($login)
public function SecurityAuthorize($login, $password)
