[YSTU WPROG] Dark theme
Установка с помощью Stylus
Если у вас установлено расширение Stylus, вы можете установить тему, перейдя по ссылке ниже.\
StylusЕсли у вас установлено расширение Stylus, вы можете установить тему, перейдя по ссылке ниже.\
Если у вас установлено расширение Stylus, вы можете установить тему, перейдя по ссылке ниже.
(Для ПК не актуально, но как пример)
| <?php | |
| function removeLinks() | |
| { | |
| $strError = []; | |
| if (is_link($_SERVER['DOCUMENT_ROOT'] . '/bitrix')) { | |
| unlink($_SERVER['DOCUMENT_ROOT'] . '/bitrix'); | |
| } else { | |
| $strError[] = 'Папка bitrix не была ссылкой'; | |
| } | |
| if (is_link($_SERVER['DOCUMENT_ROOT'] . '/upload')) { |
| <? | |
| require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php"); | |
| require_once("./tg.api.php"); | |
| // get data from $_REQUEST | |
| $P_NAME = 'XX Name'; | |
| $P_TEXT = 'Ohh myy megga supperRrrandom review msg -> ' . rand(95454, 465464); | |
| $P_STARS = 4; | |
| #include "iostream" | |
| #include <string> | |
| #include <cstdlib> | |
| #include <cxxabi.h> | |
| using namespace std; | |
| #define INT_MAX 2147483647 // maximum (signed) int value |
| { | |
| init: (elevators, floors) => { | |
| const unduplicator = (x) => x.filter((e, i) => x.indexOf(e) === i); | |
| const reformateFloorsDirection = (elevator, floorNum) => { | |
| const direction = elevator.destinationDirection() !== "stopped" ? elevator.destinationDirection() | |
| : elevator.destinationQueue[0] >= floorNum ? "up" : "down"; | |
| elevator.destinationQueue = unduplicator(elevator.destinationQueue.sort((a, b) => { | |
| if((floorNum <= a || elevator.getPressedFloors().includes(floorNum)) && direction == "down") |
File sheetService.js - piece of code
spreadsheetIds - array IDs doc from docs.google.com/spreadsheets