assign("SERVER_ID", $id); $phpUA["TEMPLATE"]->assign("SERVER_IP", $ip); $phpUA["TEMPLATE"]->assign("SERVER_PORT", $port); if (!$status = $server_query->getstatus()) displayErrorMessage($phpUA["LANGUAGE"]["ConnectionTimeout"] . "
(" . basename(__FILE__) . ":" . __LINE__ . ")"); $phpUA["TEMPLATE"]->assign("SERVER_HOSTNAME", $status["sv_hostname"]); foreach ($status as $key => $value) { $rules_array[] = array("rule"=>$key, "value"=>$value); } $phpUA["TEMPLATE"]->assign("SERVER_RULES", $rules_array); $phpUA["TEMPLATE"]->display($phpUA["STYLE"] . "/plugin_cod/rules.tpl"); endBenchmark(__FILE__, __FUNCTION__); } ?>