mirror of
https://github.com/valentineus/iii-module.git
synced 2025-07-01 11:00:27 +03:00
Final touches
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
/**
|
||||
* The function returns the current ID.
|
||||
* Returns zero if no ID is stored.
|
||||
* @return integer - ID session.
|
||||
*/
|
||||
function GetID() {
|
||||
// Search current ID...
|
||||
@ -21,6 +22,7 @@ function GetID() {
|
||||
* init or returns zero on failure.
|
||||
* @param $token - The values of the token.
|
||||
* @param $bot - Initialized bot.
|
||||
* @return string - ID bot session.
|
||||
*/
|
||||
function GetSession($token, $bot) {
|
||||
// Search the old session
|
||||
@ -44,6 +46,7 @@ function GetSession($token, $bot) {
|
||||
* the specified or the next. If any missing ID
|
||||
* returns the one.
|
||||
* @param $id - Current ID.
|
||||
* @return integer - Next ID.
|
||||
*/
|
||||
function SetID($id) {
|
||||
// Process the specified ID...
|
@ -19,7 +19,7 @@
|
||||
<body>
|
||||
<?php // Connect all of the dependencies
|
||||
include("../src/bot.php"); // Class for working with AI
|
||||
include("components/class-application.php"); // Class to work with application logic
|
||||
include("components/functions.php"); // Class to work with application logic
|
||||
include("components/navbar.php"); // Connect the navigation bar
|
||||
include("components/settings.php"); // Connecting a modal window with the settings
|
||||
?>
|
||||
|
Reference in New Issue
Block a user