This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Hide Tab Toolbar */ | |
:root{ | |
--uc-window-control-width: 138px; /* Space reserved for window controls */ | |
--uc-window-drag-space-width: 4px; /* Extra space reserved on both sides of the nav-bar to be able to drag the window */ | |
--uc-toolbar-height: 32px; | |
} | |
#nav-bar::before, | |
#nav-bar::after{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$path = realpath(__DIR__ . '/application/views/'); // | |
$fileList = new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($path), \RecursiveIteratorIterator::SELF_FIRST); | |
foreach ($fileList as $item) { | |
if ($item->isFile() && stripos($item->getPathName(), 'php') !== false) { | |
$file_contents = file_get_contents($item->getPathName()); | |
$file_contents = preg_replace_callback('/<\?php echo \$this->lang->line\(\'(.*)\'\);\?>/m', function($matches) use (&$replacements) { | |
$pathLang = realpath(__DIR__ . '/application/language/russian/'); // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Hide Tab Toolbar */ | |
:root{ | |
--uc-window-control-width: 138px; /* Space reserved for window controls */ | |
--uc-window-drag-space-width: 4px; /* Extra space reserved on both sides of the nav-bar to be able to drag the window */ | |
--uc-toolbar-height: 32px; | |
} | |
#nav-bar::before, | |
#nav-bar::after{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class XORFUNC | |
{ | |
public static function XOR_encrypt($message, $key) | |
{ | |
$ml = strlen($message); | |
$kl = strlen($key); | |
$newmsg = ""; | |
for ($i = 0; $i < $ml; $i++) { | |
$newmsg = $newmsg . ($message[$i] ^ $key[$i % $kl]); |