|
include('disp_uotd.php');
?>
Team statistics:
These statistics shows the progress of the ESEA team.
ESEA's General Milestone Monitor
World Map of Representation
Site
members
Member/project
dispertion
Amount of projects
members participate in
ESEA supercomputer (alpha
2 - designed for ESEA NX)
mysql_connect("127.0.0.1","root","") or die (mysql_error());
mysql_select_db("boincprojects") or die (mysql_error());
$sql = "SELECT * FROM projects WHERE (id>1) AND (hide_stats=0) ORDER BY id ASC";
$status=mysql_query("$sql") or die (mysql_error());
while ($row = mysql_fetch_array($status)){
if($row['id']==2){
$projectnameurl='BOINC';
$productionstatus=" ";
$averagecredit='Sum of average credit according to projects: '.number_format($row['team_average_credit'],2).'';
}else{
$projectname=$row['realname'];
if($row['link_active']==1){
$projectnameurl=''.$projectname.'';
}else{
$projectnameurl=$projectname;
}
$productionstatus="Status: ";
if($row['productionstatus']==0){
$productionstatus=$productionstatus."N/A";
}else{
// 0= N/A 1=Pre-alpha 2=alpha 3=beta 4=production 5= permanent testing
if($row['productionstatus']==1){
$productionstatus=$productionstatus."Pre-alpha";
}else{
if($row['productionstatus']==2){
$productionstatus=$productionstatus."Alpha";
}else{
if($row['productionstatus']==3){
$productionstatus=$productionstatus."Beta";
}else{
if($row['productionstatus']==4){
$productionstatus=$productionstatus."Production";
}else{
if($row['productionstatus']==5){
$productionstatus=$productionstatus."Permanent testing";
}
}
}
}
}
}
$averagecredit='Average credit according to project: '.number_format($row['team_average_credit'],2).'';
}
?>
=$projectnameurl?> |
Short description: =$row['description_short']?> |
=$productionstatus?> |
Total credit: =number_format($row['team_total_credit'],2)?> |
Credit since yesterday: =number_format(($row['team_total_credit']-$row['team_total_yesterday']),2)?> |
=$averagecredit?> |
Speed yesterday: =number_format(($row['team_flop']/100),2)?> GFlop |
Speed before yesterday: =number_format(($row['team_flop_yesterday']/100),2)?> GFlop |
Years: =number_format(((((($row['team_total_credit']*1728000)/(1000+1000))/60)/60)/24)/365,2)?> |
if($row['id']>2){
?>
Web site available: N/A |
Account creation:
if($row['accountcreation']==1){
echo "Undetermined - site might be down";
}else{
if($row['accountcreation']==2){
echo "Open - you can join this project";
}else{
if($row['accountcreation']==3){
echo "Disabled - try later";
}else{
if($row['accountcreation']==4){
echo "Open - requires invitation code";
}
}
}
}
?> |
Work available: N/A |
if($row['team_in']<1){
if($row['team_avail']==0){
$reason_not_in="Teams not supported";
}else{
$reason_not_in="Account not created";
}
?>
Team currently not participating |
Reason: =$reason_not_in?> |
|
}
}
?>
Members |
Detailed MiniStats for the team |
">Team internal rankings |
| |
|
|
| |
|
|
}
mysql_close() or die (mysql_error());
?>
|