2006-10-25 02:41:41 +00:00
|
|
|
<?
|
|
|
|
include "../data/config.inc.php";
|
2011-03-29 19:42:00 +00:00
|
|
|
mysql_connect($DBHOST,substr($DBUSER,0,16),$DBPASS);
|
2006-10-25 02:41:41 +00:00
|
|
|
mysql_select_db($DBNAME);
|
|
|
|
$q=mysql_query("SELECT val FROM config WHERE year='0' AND var='judge_scheduler_percent'");
|
|
|
|
$r=mysql_fetch_object($q);
|
|
|
|
$percent=$r->val;
|
|
|
|
|
|
|
|
$q=mysql_query("SELECT val FROM config WHERE year='0' AND var='judge_scheduler_activity'");
|
|
|
|
$r=mysql_fetch_object($q);
|
|
|
|
$status=$r->val;
|
|
|
|
|
|
|
|
echo "$percent:$status\n";
|
|
|
|
?>
|