. // // Written by Diego Iastrubni // Copyright (C) 2005, Xorcom // // This code is derived from ASTLinux 0.3 // // The original author of AST linux is: // Kristian Kielhofner - KrisCompanies, LLC - http://astlinux.org/ // function cli_runcommand($txtCommand) { global $astman; if ($astman) { $html_out = "
";
		$response = $astman->send_request('Command',array('Command'=>"$txtCommand"));
		$response = explode("\n",$response['data']);
		unset($response[0]); //remove the Priviledge Command line
		$response = implode("\n",$response);
		$html_out .= $response;
		$html_out .= "
"; return $html_out; } } ?>