You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 281 guest(s) and 17 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - TEAM NUKECOPS SETI@Home [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
BrainSmashR
Support Mod
Support Mod


Joined: Jan 05, 2004
Posts: 1390

Location: Louisiana, USA

PostPosted: Sat May 22, 2004 3:59 am Reply with quoteBack to top

Download SETI@Home


TEAM NUKECOPS stats page and team signup JOIN TODAY!!!


...and MGCJerry, props to you my friend. I see you've have been kicking some major butt for SETI. 3,745 WU completed!!!!!!

Would also like to extend a special thanks to Ravishing Grimness.

These 2 were the first to join TEAM NUKECOPS but there is still plenty of room for you too!!!!!

_________________
ImageImage
USE THE FORUM. If you contact me via messenger for support I will add you to my ignore list.
Find all posts by BrainSmashRView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
BrainSmashR
Support Mod
Support Mod


Joined: Jan 05, 2004
Posts: 1390

Location: Louisiana, USA

PostPosted: Tue May 25, 2004 9:42 am Reply with quoteBack to top

Completed SETI wu's for TEAM NUKECOPS


    1 Martin Rickman 4,443 United Kingdom
    2 MGCJerry 3,490 United States
    3 BrainSmashR 718 United States
    4 MegaByte2001 168 United States
    5 Valkster 103 United States
    6 Ravishing_Grimness 63 United States


So I guess I have to ask the obvious question........do you think a legit alien encounter will be beneficial or detrimental to mankind and existence as we know it?

I'm of the opinion that alien "explorers" will be somewhat like the first human explorers........just out to harvest resources and the current residents (my fellow Earthikans Smile) will just be a "minor" setback.

_________________
ImageImage
USE THE FORUM. If you contact me via messenger for support I will add you to my ignore list.
Find all posts by BrainSmashRView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
MGCJerry
Elite Nuker
Elite Nuker


Joined: Jun 16, 2003
Posts: 220


PostPosted: Sun Jun 06, 2004 12:44 am Reply with quoteBack to top

Where did you get your seti "module"?

_________________
Original creator of
* Fetch Mod
* RPG Races Module
* 2 The Xtreme Theme
Find all posts by MGCJerryView user's profileSend private message
BrainSmashR
Support Mod
Support Mod


Joined: Jan 05, 2004
Posts: 1390

Location: Louisiana, USA

PostPosted: Sun Jun 06, 2004 4:38 am Reply with quoteBack to top

BWAHAHAHAHAHAHAHAHA

Ok, now that I am finished patting myself on the back.

It's the pstats add-on from SETI. I just put it on a page that also calls the header and footer. Then CPGNuke has a main menu built in that is quite similiar to Sommaire. So it's not really a module, it's just pstats.php

Here is my pstats.php, but download the full add-on from here PSTATS because there are a couple of other files you need for this to work properly.

Once it's setup properly, you can also call other stats up like this.
pstats.php?email=your@email.com&name=yourname

Example: http://www.brainsmashr.com/CPG/pstats.php?email=megabyte2001@hotmail.com&name=Megabyte2001

That link will show the SETI Stats for Megabyte2001. That's the SETI account running on my Dad's PC, but the info will appear on my page. With the sommaire block or with the CPGNuke MM this can also be made to look "like" a seperate module with it's own link....all you need is the e-mail address and user name they registered with @ SETI
Code:
<?php


/********************************************************************************************
 *  Seti@Home P-Stats - PHP based real Time statistics display page                         *
 *  written & (c) 2002-04 by Sascha 'SieGeL/tRSi' Pfalz - IN-Ovation Software               *
 *                                                                                          *
 *  Requires PHP 4 and fopen() functionality to access http:// requests (normally default). *
 ********************************************************************************************/
// includes the mainfile functions and the header junk
if (!isset($mainfile)) { include("mainfile.php"); }
include("header.php");
?>
<html>
<?php
$VER = '0.34';
$ownergroupxml=$onweremail=$allowGetVars=$ownername=$displayMemberList=$processTeams=$displayTotalStats=$memberlist=$userdata='';
@include_once('pstats.cfg');
@ini_set('default_charset',CONF_CHARSET);
@ini_set('user_agent','P-Stats/'.$VER);
@ini_set('max_execution_time',86400);
$fopen_wrapper = @ini_get('allow_url_fopen');
if(isset($owneremail) == false || $owneremail=='')
  {
  echo('No E-Mail configured, please check pstats.cfg and set up correct email address!');
  exit;
  }
if(!$fopen_wrapper)
  {
  echo('Your PHP has <B>allow_url_fopen</B> disabled!<BR>Please reconfigure your PHP to allow fopen_wrappers to be used!');
  exit;
  }
function getmicrotime()
  {
  list($usec, $sec) = explode(' ',microtime());
  return ((float)$usec + (float)$sec);
  }
// V0.31: Returns milestone icons - Thanks to Ferd for supplying the idea and code!
function get_results_token($results)
  {
  if ($results < 99) return("");
  $token = '&nbsp;<img src="http://setiathome.ssl.berkeley.edu/images/mstones/%s" border="0" alt="Milestone" title="Reached Milestone %d WU's">';
  $icons = array('100' => '100ms.gif','250' => '250ms.gif', '500' => '500ms.gif','750' => '750ms.gif','1000' => '1000ms.gif','2500' => '2500ms.gif','5000' => '5000ms.gif','7500' => '7500ms.gif','10000' => '10000ms.gif','25000' => '25000ms.gif','50000' => '50000ms.gif','75000' => '75000ms.gif', '100000' => '100000ms.gif');
  $pre = 0;
  while(list($key,$val) = each($icons))
    {
    if($key > $results)
      {
      return(sprintf($token,$icons[$pre],$pre));
      }
    $pre = $key;
    }
  return(sprintf($token,$icons['100000'],$pre));    // this can only happen when wu > 100000
  }
$st = getmicrotime();                     
// FV-C: Allow page to pass in user details to display, this overrides values in pstats.cfg
if($allowGetVars == 'YES')
  {
  if(isset($_GET['email'])) $owneremail = $_GET['email'];
  if(isset($_GET['name'])) $ownername = $_GET['name'];
  }
if(isset($useLanguage) == false) $useLanguage='en';   // Defaults to english
else if(substr($useLanguage,0,4)=='AUTO')
  {
  $dummy = explode(',',substr($useLanguage,5));
  $ulang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'],0,2);
  for($i =0; $i<count($dummy);$i++)
    {
    if($ulang == $dummy[$i])
      {
      $useLanguage = strtolower($ulang);
      }
    }
  if(strlen($useLanguage)>2) $useLanguage='en';
  }
/***************** URL's to Seti@Home server: **********************************/
$xmlownerurl  = 'http://setiathome2.ssl.berkeley.edu/fcgi-bin/fcgi?cmd=user_xml&email='.$owneremail;
$totalstatsurl= 'http://setiathome.ssl.berkeley.edu/totals.html';
$xmlteamurl   = 'http://setiathome2.ssl.berkeley.edu/fcgi-bin/fcgi?cmd=team_lookup_xml&name=%s';
/*******************************************************************************/
$LangFile = 'pstats_'.$useLanguage.'.inc';
if(file_exists($LangFile)) @include_once($LangFile);          // Load the language file (V0.22+)
else @include_once('pstats_en.inc');
$processTeams = StrToUpper($processTeams);
$ownername    = preg_quote($ownername);             // V0.24: Escape RegExp Chars to avoid errors
header('Content-Type: text/html; charset='.CONF_CHARSET);
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');   
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//DE" "http://www.w3.org/TR/html4/loose.dtd">
<HTML LANG="<?php echo($useLanguage);?>">
<HEAD>
<TITLE>Seti@Home P-Stats V<?php echo($VER);?> - <?php echo(LOC_MEMBER);?>: <?php echo(preg_replace("/\\\/","",$ownername));?></TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=<?php echo(CONF_CHARSET);?>">
<META HTTP-EQUIV="Content-Language" CONTENT="<?php echo($useLanguage.'-'.strtoupper($useLanguage));?>">
<META NAME="author" CONTENT="Sascha 'SieGeL' Pfalz">
<META NAME="robots" CONTENT="index,follow">
<META NAME="description" CONTENT="<?php echo(LOC_META_DESCRIPTION);?>">
<META NAME="keywords" CONTENT="seti@home, statistics, member, total, work units, et, siegel, in-ovation, php, stats, fopen">
<META NAME="Generator" CONTENT="Using Ultra-Edit only">
<META NAME="date" CONTENT="<?php echo(date ("Y-m-d", getlastmod()));?>">
<META NAME="DC.Title" CONTENT="P-Stats V<?php echo($VER);?>">
<META NAME="DC.Creator" CONTENT="Sascha 'SieGeL' Pfalz">
<META NAME="DC.Description" LANG="<?php echo($useLanguage);?>" CONTENT="<?php echo(LOC_META_DESCRIPTION);?>">
<META NAME="DC.Date" CONTENT="<?php echo(date ("Y-m-d", getlastmod()));?>">
<META NAME="DC.Format" CONTENT="text/html">
<link rel="shortcut icon" href="seti.ico">
<STYLE TYPE="text/css">
BODY          { background-color: #FFFFFF;color:#FFFFFF; scrollbar-face-color:#000000; scrollbar-highlight-color:#6e439C; scrollbar-shadow-color:#000000; scrollbar-3dlight-color:#6e439C; scrollbar-arrow-color:#6e439c; scrollbar-track-color:#000000; scrollbar-darkshadow-color:#6e439C;}
.TEXTERR      { font-family:Arial, Sans-Serif; font-size:12px; line-height: 16px; font-weight:bold; color:#000000; }
.TEXT         { font-family:Arial, Sans-Serif; font-size:12px; line-height: 16px; color:#FFFFFF;   }
.TEXTGREEN    { font-family:Arial, Sans-Serif; font-size:12px; line-height: 16px; color:#FF0000;   }
.TEXTB        { font-family:Arial, Sans-Serif; font-size:12px; line-height: 16px; font-weight:bold; color:#FFFFFF; }
.SMALL        { font-family:Arial, Sans-Serif; font-size:10px; color:#000000; }
.HEAD         { font-family:Arial, Sans-Serif; font-size:16px; font-weight:bold; line-height:20px; color:#FFFFFF; }
.TONEBORDER   { border:1px; border-width:1px;   border-style:solid; border-color:#6E439C; border-collapse:collapse     }
.LEFTBORDER   { border-left:1px; border-left-width:1px;   border-left-style:solid; border-left-color:#6E439C;   color:#000000; }
.LEFTBOTTOM   { border-left:1px; border-left-color:#6E439C;   color:#000000; border-left-width:1px;   border-left-style:solid;border-bottom:1px; border-bottom-color:#6E439C;   color:#000000; border-bottom-width:1px;   border-bottom-style:solid; }
.BOTTOM       { border-bottom:1px; border-bottom-width:1px;   border-bottom-style:solid; border-bottom-color:#6E439C;   color:#FFFFFF; }
.TABLEBG      { background-color: #6E439C;}
.BGBLACK      { background-color: #000000;}
A             { font-family:Arial, Sans-Serif; text-decoration:underline; }
A:link        { font-family:Arial, Sans-Serif; text-decoration:underline; }
A:visited     { font-family:Arial, Sans-Serif; text-decoration:underline; }
A:active      { font-family:Arial, Sans-Serif; text-decoration:underline; color: #EEEEEE; }
A:hover       { font-family:Arial, Sans-Serif; color: #ff0000;  }
HR            { size:1px; height:1px; color:#6E439C; }
CAPTION       { font-family:Arial, Sans-Serif; font-size:12px; font-weight:bold; text-decoration: underline; color:#FFFFFF; }
TH            { font-family:Arial, Sans-Serif; font-size:12px; line-height: 16px; font-weight:bold; color:#000000; }
</STYLE>
<SCRIPT LANGUAGE="Javascript" TYPE="text/javascript">
<!--
window.defaultStatus='Seti@Home P-Stats V<?php echo($VER);?> - <?php echo(LOC_MEMBER);?>: <?php echo(preg_replace("/\\\/","",$ownername));?>';
function myEffect(obj,color)
  {
  if(document.getElementById)
    {
    document.getElementById(obj).style.backgroundColor=color;
    }   
  return true;
  }
//-->
</SCRIPT>
</HEAD>
<BODY>
<DIV ALIGN="CENTER">
<A HREF="http://setiathome.ssl.berkeley.edu" TARGET="_blank"><IMG SRC="images/better_banner.jpg" WIDTH="500" HEIGHT="100" BORDER="0" ALT="Banner" TITLE="Join the Seti@Home community (http://setiathome.ssl.berkeley.edu)"></A><BR>
<SPAN CLASS="HEAD">Seti@Home P-Stats V<?php echo($VER);?></SPAN><BR>
<SPAN CLASS="SMALL">written &amp; &copy; 2002-04 by Sascha '<A HREF="http://www.saschapfalz.de" CLASS="SMALL" STYLE="text-decoration:none">SieGeL</A>' Pfalz</SPAN><BR>
<BR>
<?php
// FV-C allow choice to display SETI stats
if ($displayTotalStats == "YES")
  {
  $ht1 = LOC_TOTAL_COUNTRIES;
  $ht2 = LOC_TOTAL_DOMAINS;
  $ht3 = LOC_TOTAL_CPU;
  $ht4 = LOC_TOTAL_OS;
  $ht5 = LOC_TOTAL_PLATFORMS;
  $ht6 = LOC_TOTAL_LOCATIONS;
  echo<<<EOM
<TABLE CELLSPACING="0" CELLPADDING="2" BORDER="0" WIDTH="750" CLASS="TONEBORDER">
<TR>
  <TD WIDTH="250" ALIGN="CENTER" ID="N1" CLASS="BOTTOM"><SPAN CLASS="TEXT"><A HREF="pstats_totals.php?STATS=http://setiathome.ssl.berkeley.edu/stats/countries.html" onMouseOver="return myEffect('N1','#6E439C')" onMouseOut="return myEffect('N1','#000000')" class="TEXT" STYLE="text-decoration:none">$ht1</A></SPAN></TD>
  <TD WIDTH="250" ALIGN="CENTER" ID="N2" CLASS="LEFTBOTTOM"><SPAN CLASS="TEXT"><A HREF="pstats_totals.php?STATS=http://setiathome.ssl.berkeley.edu/stats/domains.html" onMouseOver="return myEffect('N2','#6E439C')" onMouseOut="return myEffect('N2','#000000')" class="TEXT" STYLE="text-decoration:none">$ht2</A></SPAN></TD>
  <TD WIDTH="250" ALIGN="CENTER" ID="N3" CLASS="LEFTBOTTOM"><SPAN CLASS="TEXT"><A HREF="pstats_totals.php?STATS=http://setiathome.ssl.berkeley.edu/stats/cpus.html" onMouseOver="return myEffect('N3','#6E439C')" onMouseOut="return myEffect('N3','#000000')" class="TEXT"  STYLE="text-decoration:none">$ht3</A></SPAN></TD>
</TR>
<TR>
  <TD ALIGN="CENTER" ID="N4"><SPAN CLASS="TEXT"><A HREF="pstats_totals.php?STATS=http://setiathome.ssl.berkeley.edu/stats/oss.html" onMouseOver="return myEffect('N4','#6E439C')" onMouseOut="return myEffect('N4','#000000')" class="TEXT" STYLE="text-decoration:none">$ht4</A></SPAN></TD>
  <TD ALIGN="CENTER" ID="N5" CLASS="LEFTBORDER"><SPAN CLASS="TEXT"><A HREF="pstats_totals.php?STATS=http://setiathome.ssl.berkeley.edu/stats/platforms.html" onMouseOver="return myEffect('N5','#6E439C')" onMouseOut="return myEffect('N5','#000000')" class="TEXT" STYLE="text-decoration:none">$ht5</A></SPAN></TD>
  <TD ALIGN="CENTER" ID="N6" CLASS="LEFTBORDER"><SPAN CLASS="TEXT"><A HREF="pstats_totals.php?STATS=http://setiathome.ssl.berkeley.edu/stats/venues.html" onMouseOver="return myEffect('N6','#6E439C')" onMouseOut="return myEffect('N6','#000000')" class="TEXT" STYLE="text-decoration:none">$ht6</A></SPAN></TD>
</TR>
</TABLE>
<BR>
EOM;
  }
$ownerlink      = "";     // Link to member's homepage or ""
$ownerresults   = "";     // Member's results until now
$ownercputime   = "";     // Member's CPU time spent
$owneravgcpu    = "";     // Member's average cpu time per work unit
$ownerlastres   = "";     // Member's last result returned
$ownerregister  = "";     // Member's register date
$ownerrank      = "";     // Member's rank
$ownersamerank  = "";     // How many users have the same ranking like our member
$ownerwupercent = 0.000;  // WUs done in relation to all users (more than xx% of all users)
/*
 *  First read owner statistics from seti server
 */
flush();
$retries = 0;
while($retries < 5)
  {
  if(!($fp = @fopen($xmlownerurl,"r")))
    {
    $retries++;
    sleep(3);
    continue;
    }
  else break;
  }
if(!$fp)
  {
  echo("<P>\n<SPAN CLASS=\"TEXTERR\">Cannot read member statistics from SETI@HOME Server!</SPAN>\n");
  echo("<P><SPAN CLASS=\"TEXTERR\">Maybe the Server is down or updating the statistics. Just reload and try again.</SPAN>");
  echo("<P><SPAN CLASS=\"SMALL\">URL used: ".preg_replace("/".preg_quote($owneremail)."/","XXX",$xmlownerurl)."</SPAN><BR>\n");
  echo("</DIV></BODY>\n</HTML>\n");
  exit;
  }
$ownerdata = "";
while (!@feof ($fp))
  {
  $ownerdata.= @fgets($fp, 4096);
  }
@fclose($fp);
$tbytes         = strlen($ownerdata);
$ownerdata      = preg_replace("/\n|\r/","",$ownerdata);
$myowner        = preg_replace("/(.*)(<name>)(.*?)(<\/name>)(.*)/i","\\3",$ownerdata);
$ownerlink      = preg_replace("/(<A HREF=\")(.*)(\" target=\"new\">)(.*)/i","\\2",$myowner);
if($ownerlink == $myowner) $ownerlink = '';
$ownerresults   = preg_replace("/(.*)(<numresults>)(\d{1,})(<\/numresults>)(.*)/i","\\3",$ownerdata);
$ownercputime   = preg_replace("/(.*)(<cputime>)(.*?)(<\/cputime>)(.*)/i","\\3",$ownerdata);
$owneravgcpu    = preg_replace("/(.*)(<avecpu>)(.*?)(<\/avecpu>)(.*)/i","\\3",$ownerdata);
$ownerlastres   = preg_replace("/(.*)(<lastresulttime>)(.*?)(<\/lastresulttime>)(.*)/i","\\3",$ownerdata);
$ownerregister  = preg_replace("/(.*)(<regdate>)(.*?)(<\/regdate>)(.*)/i","\\3",$ownerdata);
$ownerrank      = preg_replace("/(.*)(<rank>)(.*?)(<\/rank>)(.*)/i","\\3",$ownerdata);
$ownersamerank  = preg_replace("/(.*)(<num_samerank>)(.*?)(<\/num_samerank>)(.*)/i","\\3",$ownerdata);
$ownerwupercent = preg_replace("/(.*)(<top_rankpct>)(.*?)(<\/top_rankpct>)(.*)/i","\\3",$ownerdata);
$dummy        = preg_replace("/(.*)(<userprofile>)(.*?)(<\/userprofile>)(.*)/i","\\3",$ownerdata);
if($dummy==$ownerdata)
  {
  $profiledata = '';
  $profileimage= '';
  }
else
  {
  $profileimage = '<IMG SRC="http://setiathome.ssl.berkeley.edu/images/icons/profile11x14.gif" WIDTH="11" HEIGHT="14" BORDER="0" ALT="View Seti@Home Profile">';
  $profiledata  = preg_replace("/(<A HREF=\")(.*)(\">)(.*)<\/A>(.*)/i","\\2",$dummy);
  }   
$dummy        = preg_replace( "/(.*)(<group>)(.*?)(<\/group>)(.*)/i","\\3",$ownerdata);
if($dummy == $ownerdata)
  {
  $ownergrouplink = "";
  $ownergroupname = "";
  }
else
  {
  $ownergroupname = preg_replace("/(<A HREF=\")(.*)(\">)(.*)<\/A>(.*)/i","\\4",$dummy);
  $ownergrouplink = preg_replace("/(<A HREF=\")(.*)(\">)(.*)<\/A>(.*)/i","\\2",$dummy);
  $ownergroupxml  = sprintf($xmlteamurl,URLEncode($ownergroupname));
  }

/*
 *  V0.31: Read certs and display them on page, too:
 */

$dummy = preg_replace("/(.*)(<certinfo>)(.*?)(<\/certinfo>)(.*)/i","$3",$ownerdata);
preg_match_all("/(<cert>)(.*?)(<\/cert>)/",   $dummy,$matchit);   // Stores all certs in array $matchit
$certinfo = "";
if(count($matchit[2]))
  {
  $certinfo='<td class="TONEBORDER"><span class="TEXTB">'.LOC_CERTS.':</span></td>';
  for($i = 0; $i < count($matchit[2]); $i++)
    {
    $which  = preg_replace("/(<.*?>)(Download )(.*?)( Workunit Certificate)(<\/a>)/i","\\3",$matchit[2][$i]); 
    $which  = preg_replace("/,/","",$which);
    $certurl= preg_replace("/(<A HREF=\")(.*)(\">.*)/i","\\2",$matchit[2][$i]); 
    $certurl= preg_replace("/\+/","&",$certurl);    // XML has wrong url defs using '+' instead of '&' !!!
    $certinfo.='<td class="TONEBORDER" id="cert'.$i.'"><a href="'.$certurl.'" target="_blank" onMouseOver="return myEffect(\'cert'.$i.'\',\'#6E439C\')" onMouseOut="return myEffect(\'cert'.$i.'\',\'#000000\')" style="text-decoration:none">'.get_results_token($which).'&nbsp;</a></td>';
    } 
  }

/*
 *  Now read total seti stats
 */
$retries = 0;
while($retries < 5)
  {
  if(!($fp = @fopen($totalstatsurl,"r")))
    {
    $retries++;
    sleep(2);
    continue;
    }
  else break;
  }
if(!$fp)
  {
  echo("<P>\n<SPAN CLASS=\"TEXTERR\">Cannot read total statistics from SETI@HOME Server!</SPAN>\n");
  echo("<P><SPAN CLASS=\"TEXTERR\">Maybe the Server is down or updating the statistics. Just reload and try again.</SPAN>");
  echo("<P><SPAN CLASS=\"SMALL\">URL used: ".$totalstatsurl."</SPAN><BR>\n");
  echo("</DIV></BODY>\n</HTML>\n");
  exit;
  }
$totaldata = "";
while(!@feof($fp))
  {
  $totaldata.= @fgets($fp, 4096);
  }
@fclose($fp);
$tbytes+= strlen($totaldata);
$temp = preg_replace("/(.*?)(<tr><th>Users<\/th><td>)(\d{1,})(<\/td><td>)(\d{1,})(.*)/is","\\3,\\5",$totaldata);
if($temp != $totaldata)
  {
  $dummy = split(",",$temp);
  $totalusers   = trim($dummy[0]);
  $user24hours  = trim($dummy[1]);
  }
else
  {
  $totalusers = "";
  $user24hours = "";
  }
$temp = preg_replace("/(.*?)(<tr><th>Results received<\/th><td>)(\d{1,})(<\/td><td>)(\d{1,})(.*)/is","\\3,\\5",$totaldata);
if($temp != $totaldata)
  {
  $dummy = split(",",$temp);
  $totalresults   = trim($dummy[0]);
  $results24hours = trim($dummy[1]);
  }
else
  {
  $totalresults   = "";
  $results24hours = "";
  }
$temp = preg_replace("/(.*?)(<tr><th>Total CPU time<\/th><td>)(.*?)(<\/td><td>)(.*?)(<\/td>.*)/is","\\3,\\5",$totaldata);
if($temp != $totaldata)
  {
  $dummy = split(",",$temp);
  $totalcputime   = trim($dummy[0]);
  $cputime24hours = trim($dummy[1]);
  }
else
  {
  $totalcputime   = "0";
  $cputime24hours = "0";
  }
$temp = preg_replace("/(.*?)(<tr><th>Average CPU time<br>per work unit<\/th><td>)(.*?)(<\/td><td>)(.*?)(<\/td>.*)/is","\\3,\\5",$totaldata);
if($temp != $totaldata)
  {
  $dummy = split(",",$temp);
  $totalavgcputime   = trim($dummy[0]);
  $avgcputime24hours = trim($dummy[1]);
  }
else
  {
  $totalavgcputime   = "0";
  $avgcputime24hours = "0";
  }
$temp = preg_replace("/(.*?)(<tr><th>Floating Point<br>Operations<\/th><td>)(.*?)(<\/td><td>)(.*?)(<\/td>.*)/is","\\3",$totaldata);
if($temp != $totaldata)
  {
  $totalfpo = $temp;
  }
else
  {
  $totalfpo = "N/A!";
  }
$lastupdate = preg_replace("/(.*?Last updated:)(\s)(.*?)(<br><br>)(.*)/is","\\3",$totaldata);
if($lastupdate == $totaldata)
  {
  $lastupdate = "N/A";
  }
else
  {
  $lastupdate = trim($lastupdate);
  $lastupdate = @preg_replace("/\<a href=\/utc\.html\>/","<A HREF=\"http://setiathome.ssl.berkeley.edu/utc.html\" class=\"TEXT\">",$lastupdate);
  }
if($ownerlink!="")
  {
  $olink = '<A HREF="'.$ownerlink.'" TARGET="_blank" class="TEXT">'.$ownername.'</A>';
  }
else $olink = $ownername;
if($profiledata!="")
  {
  $profiledata = preg_replace("/&id/","&amp;id",$profiledata);
  $proflink = '<A HREF="'.$profiledata.'" TARGET="_blank">'.$profileimage.'</A>';
  }
else
  {
  $proflink = '';
  }
$ownername = preg_replace("/\\\/","",$ownername);

// V0.26: Replace all remaining data with localized strings

$localearg1 = array("/ years/i","/(\.|,)/","/ hr/i","/ min/i","/ sec/i");
$localearg2 = array(" ".LOC_YEARS,LOC_DECIMAL," ".LOC_SHORTHOUR," ".LOC_SHORTMIN," ".LOC_SHORTSEC);
$locorgdate = array("/Mon/i","/Tue/i","/Wed/i","/Thu/i","/Fri/i","/Sat/i","/Sun/i","/Jan/i","/Feb/i","/Mar/i","/Apr/i","/May/i","/Jun/i","/Jul/i","/Aug/i","/Sep/i","/Oct/i","/Nov/i","/Dec/i");
$locrepdate = array(LOC_MON,LOC_TUE,LOC_WED,LOC_THU,LOC_FRI,LOC_SAT,LOC_SUN,LOC_JAN,LOC_FEB,LOC_MAR,LOC_APR,LOC_MAY,LOC_JUN,LOC_JUL,LOC_AUG,LOC_SEP,LOC_OCT,LOC_NOV,LOC_DEC);
if($totalusers=="") $addWarning = 'TITLE="WARNING: SETI@HOME TOTAL STATISTICS ARE CURRENTLY NOT AVAILABLE!"';
else $addWarning = "";
?>
<TABLE CELLSPACING="4" CELLPADDING="0" BORDER="0" ALIGN="CENTER" WIDTH="750">
<TR VALIGN="TOP">
<TD ALIGN="LEFT">
  <TABLE CELLSPACING="2" CELLPADDING="1" BORDER="0" CLASS="TONEBORDER" WIDTH="360">
  <CAPTION><?php printf(LOC_STATHEADER1,$ownername);?></CAPTION>
  <TR>
    <TD align="left" NOWRAP><SPAN CLASS="TEXTB"><?php echo(LOC_MEMBER);?>:</SPAN></TD>
    <TD align="left" NOWRAP><SPAN CLASS="TEXT"><?php echo(preg_replace("/\\\/","",$olink)." ".$proflink.get_results_token($ownerresults))?></SPAN></TD>
  </TR>
  <TR>
    <TD align="left" NOWRAP><SPAN CLASS="TEXTB"><?php echo(LOC_RESULTS);?>:</SPAN></TD>
    <TD align="left" NOWRAP><SPAN CLASS="TEXT"><?php echo(number_format($ownerresults,0,LOC_DECIMAL,LOC_GROUPING));?> WU's</SPAN></TD>
  </TR>
  <TR>
    <TD align="left" NOWRAP><SPAN CLASS="TEXTB"><?php echo(LOC_TOTALCPUTIME);?>:</SPAN></TD>
    <TD align="left" NOWRAP><SPAN CLASS="TEXT"><?php echo(preg_replace($localearg1,$localearg2,$ownercputime));?></SPAN></TD>
  </TR>
  <TR>
    <TD align="left" NOWRAP><SPAN CLASS="TEXTB"><?php echo(LOC_AVGCPUTIME);?>:</SPAN></TD>
    <TD align="left" NOWRAP><SPAN CLASS="TEXT"><?php echo(preg_replace($localearg1,$localearg2,$owneravgcpu));?></SPAN></TD>
  </TR>
  <TR>
    <TD align="left" NOWRAP><SPAN CLASS="TEXTB"><?php echo(LOC_LASTRESULTRETURNED);?>:</SPAN></TD>
    <TD align="left" NOWRAP><SPAN CLASS="TEXT"><?php echo(preg_replace($locorgdate,$locrepdate,$ownerlastres));?></SPAN></TD>
  </TR>
  <TR>
    <TD align="left" NOWRAP><SPAN CLASS="TEXTB"><?php echo(LOC_REGISTEREDON);?>:</SPAN></TD>
    <TD align="left" NOWRAP><SPAN CLASS="TEXT"><?php echo(preg_replace($locorgdate,$locrepdate,$ownerregister));?></SPAN></TD>
  </TR>
  <TR>
    <TD align="left" NOWRAP><SPAN CLASS="TEXTB"><?php printf(LOC_RANKING,number_format($totalusers,0,LOC_DECIMAL,LOC_GROUPING));?></SPAN></TD>
    <TD align="left" NOWRAP><SPAN CLASS="TEXT"><?php echo(number_format($ownerrank,0,LOC_DECIMAL,LOC_GROUPING));?></SPAN></TD>
  </TR>
  <TR>
    <TD align="left" NOWRAP><SPAN CLASS="TEXTB"><?php echo(LOC_SAMERANK);?>:</SPAN></TD>
    <TD align="left" NOWRAP><SPAN CLASS="TEXT"><?php echo(number_format($ownersamerank,0,LOC_DECIMAL,LOC_GROUPING));?></SPAN></TD>
  </TR>
  <TR>
    <TD align="left" NOWRAP><SPAN CLASS="TEXTB"><?php echo(LOC_WUPERMEMBER);?>:</SPAN></TD>
    <TD align="left" NOWRAP><SPAN CLASS="TEXT"><?php printf(LOC_WUPERMEMBER2,(100-$ownerwupercent));?></SPAN></TD>
  </TR>
  </TABLE>
</TD>
<TD ALIGN="RIGHT">
  <TABLE CELLSPACING="2" CELLPADDING="1" BORDER="0" CLASS="TONEBORDER" WIDTH="350" <?php echo($addWarning)?>>
  <CAPTION><?php echo(LOC_STATHEADER2);?> (<?php echo(preg_replace($locorgdate,$locrepdate,$lastupdate));?>)</CAPTION>
  <TR <?php echo($addWarning);?>>
    <TD align="left" NOWRAP><SPAN CLASS="TEXTB"><?php echo(LOC_MEMBERS);?>:</SPAN></TD>
    <TD align="left" NOWRAP><SPAN CLASS="TEXT"><?php echo(number_format($totalusers,0,LOC_DECIMAL,LOC_GROUPING));?></SPAN></TD>
  </TR>
  <TR <?php echo($addWarning);?>>
    <TD align="left" NOWRAP><SPAN CLASS="TEXTB"><?php echo(LOC_RESULTS);?>:</SPAN></TD>
    <TD align="left" NOWRAP><SPAN CLASS="TEXT"><?php echo(number_format($totalresults,0,LOC_DECIMAL,LOC_GROUPING));?> WU's</SPAN></TD>
  </TR>
  <TR <?php echo($addWarning);?>>
    <TD align="left" NOWRAP><SPAN CLASS="TEXTB"><?php echo(LOC_TOTALCPUTIME);?>:</SPAN></TD>
    <TD align="left" NOWRAP><SPAN CLASS="TEXT"><?php echo(preg_replace($localearg1,$localearg2,$totalcputime));?></SPAN></TD>
  </TR>
  <TR <?php echo($addWarning);?>>
    <TD align="left" NOWRAP><SPAN CLASS="TEXTB"><?php echo(LOC_TOTAL_FPO);?>:</SPAN></TD>
    <TD align="left" NOWRAP><SPAN CLASS="TEXT"><?php echo($totalfpo);?></SPAN></TD>
  </TR>
  <TR <?php echo($addWarning);?>>
    <TD align="left" NOWRAP><SPAN CLASS="TEXTB"><?php echo(LOC_AVGCPUTIME);?>:</SPAN></TD>
    <TD align="left" NOWRAP><SPAN CLASS="TEXT"><?php echo(preg_replace($localearg1,$localearg2,$totalavgcputime));?></SPAN></TD>
  </TR>
  <TR <?php echo($addWarning);?>>
    <TD align="left" NOWRAP><SPAN CLASS="TEXTB"><?php echo(LOC_ACTIVEMEMBERS);?>:</SPAN></TD>
    <TD align="left" NOWRAP><SPAN CLASS="TEXT"><?php echo(number_format($user24hours,0,LOC_DECIMAL,LOC_GROUPING));?></SPAN></TD>
  </TR>
  <TR <?php echo($addWarning);?>>
    <TD align="left" NOWRAP><SPAN CLASS="TEXTB"><?php echo(LOC_RESULTS24);?>:</SPAN></TD>
    <TD align="left" NOWRAP><SPAN CLASS="TEXT"><?php echo(number_format($results24hours,0,LOC_DECIMAL,LOC_GROUPING));?> WU's</SPAN></TD>
  </TR>
  <TR <?php echo($addWarning);?>>
    <TD align="left" NOWRAP><SPAN CLASS="TEXTB"><?php echo(LOC_TOTALCPU24);?>:</SPAN></TD>
    <TD align="left" NOWRAP><SPAN CLASS="TEXT"><?php echo(preg_replace($localearg1,$localearg2,$cputime24hours));?></SPAN></TD>
  </TR>
  <TR <?php echo($addWarning);?>>
    <TD align="left" NOWRAP><SPAN CLASS="TEXTB"><?php echo(LOC_AVGCPU24);?>:</SPAN></TD>
    <TD align="left" NOWRAP><SPAN CLASS="TEXT"><?php echo(preg_replace($localearg1,$localearg2,$avgcputime24hours));?></SPAN></TD>
  </TR>
  </TABLE>
</TD>
</TR>
</TABLE>
<?php
flush();

/*
 *  V0.31: If any of the certificates are defined, display them before the team stats:
 */

if($certinfo!="")
  {
  echo("<br>\n<table cellspacing=\"0\" cellpadding=\"3\" border=\"0\" class=\"TONEBORDER\">\n");
  echo("<tr>\n".$certinfo."\n</tr>\n</table>\n<br>\n");
  }

/*
 *  V0.30: If configured read team stats from xml data.
 */

$buffer = '';
if($ownergroupxml!='' && $processTeams=='YES')
  {
  flush();
  $fp = @fopen($ownergroupxml,'r');
  if(!$fp)
    {
    echo("<P>\n<SPAN CLASS=\"TEXTERR\">Cannot read team statistics from SETI@HOME Server!</SPAN>\n");
    echo("<P><SPAN CLASS=\"TEXTERR\">Maybe the Server is down or updating the statistics. Just reload and try again.</SPAN>");
    echo("<P><SPAN CLASS=\"SMALL\">URL used: <A HREF=\"".$ownergroupxml."\">".$ownergroupxml."</A></SPAN><BR>\n");
    echo("</DIV></BODY>\n</HTML>\n");
    exit;
    }
  while(!@feof($fp))
    {
    $buffer.=@fgets($fp, 4096);
    }
  @fclose($fp);
  $tbytes+=strlen($buffer);
  $buffer = preg_replace("/\r|\n/",'',$buffer);
  $gtest  = preg_replace("/(.*)(<groupstats><name>)(.*?)(<\/name>)(.*)/i","\\3",$buffer);
  $dummy  = preg_replace("/(.*)(<groupstats><name>)(.*?)(<\/name><url>)(.*?)(<\/url>)(.*)/i","\\5",$buffer);
  if($gtest == $buffer || $gtest!=$ownergroupname)
    {
    $ownergroupname = '';
    $teamlink = '';
    $memberlist = 'N/A';
    }
  else
    {
    if($dummy == $buffer) $teamlink = $gtest;
    else
      {
      $dummy = preg_replace("/http\:\/\//i","",$dummy);
      $teamlink = '<A HREF="http://'.$dummy.'" TARGET="_blank" class="TEXT">'.$gtest.'</A>';
      }
    $gbuffer   = preg_replace("/(.*)(<groupstats>)(.*)(<topmembers>)(.*)/","\\3",$buffer);
    $mymembers = preg_replace("/(.*)(<nummembers>)(\d{1,})(<\/nummembers>)(.*)/","\\3",$gbuffer);
    $myresults = preg_replace("/(.*)(<numresults>)(\d{1,})(<\/numresults>)(.*)/","\\3",$gbuffer);
    $mycputime = preg_replace("/(.*)(<totalcpu>)(.*?)(<\/totalcpu>)(.*)/i","\\3",$gbuffer);
    $myf1      = preg_replace("/(.*)(<founder>)(.*?)(<\/founder>)(.*)/i","\\3",$gbuffer);
    if($myf1!=$gbuffer)
      {
      $myfname   = preg_replace("/(.*)(<name>)(.*?)(<\/name>)(.*)/i","\\3",$myf1);
      $myfurl    = preg_replace("/(.*)(<url>)(.*?)(<\/url>)(.*)/i","\\3",$myf1);
      if($myfurl!=$myf1)
        {
        $myfurl = preg_replace("/http:\/\//i","",$myfurl);
        $myfounder = '<a href="http://'.$myfurl.'" target="_blank" class="TEXT">'.$myfname.'</a>'; 
        } 
      else
        {
        $myfounder = $myfname;
        }
      $myfp = preg_replace("/(.*)(<profile>)(.*?)(<\/profile>)(.*)/i","\\3",$myf1);
      if($myfp!=$myf1)
        {
        $myfounder.=preg_replace("/\">View user profile/",'" target="_blank" style="text-decoration:none">&nbsp;<img src="http://setiathome.ssl.berkeley.edu/images/icons/profile11x14.gif" WIDTH="11" HEIGHT="14" BORDER="0" ALT="Profile" title="View Seti@Home Profile">',$myfp);
        }
      }
    else
      {
      $myfounder = "N/A";
      }
    unset($gbuffer);
    }
  }
else $ownergroupname = '';
if(($ownergroupname!='') && ($processTeams=='YES'))
  {
  $h1 = LOC_STATHEADER3;
  $h2 = LOC_TEAMNAME;
  $h3 = LOC_TEAMFOUNDER;
  $h4 = LOC_MEMBERS;
  $h5 = sprintf(LOC_TEAMRANK,$ownername);
  $h6 = LOC_TEAMRESULTS;
  $h7 = LOC_TEAMCPU;
  if($mymembers!=$buffer) $mymembers = number_format($mymembers,0,LOC_DECIMAL,LOC_GROUPING);
  else $mymembers = 'N/A';
  if($myresults!=$buffer) $myresults = number_format($myresults,0,LOC_DECIMAL,LOC_GROUPING);
  else $myresults = 'N/A';
  if($mycputime!=$buffer) $mycputime = preg_replace($localearg1,$localearg2,$mycputime);
  else $mycputime = 'N/A';
  $memberlist = preg_replace("/(.*)(<topmembers>)(.*)(<\/topmembers>)(.*)/i","\\3",$buffer);
  if($memberlist==$buffer)
    {
    $memberlist = 'N/A';
    }
  else
    {
    preg_match_all("/(<member>)(.*?)(<\/member>)/i", $memberlist, $userlist);
    if(!count($userlist[2]))
      {
      $memberlist = 'N/A';
      $memberpos = 'N/A';
      }
    else
      {
      for($i = 0; $i < count($userlist[2]); $i++)
        {
        $userdata[$i]['name']       = preg_replace("/(.*)(<name>)(.*?)(<\/name>)(.*)/i","\\3",$userlist[2][$i]); 
        $userdata[$i]['url']        = preg_replace("/(.*)(<url>)(.*?)(<\/url>)(.*)/i","\\3",$userlist[2][$i]); 
        $userdata[$i]['results']    = preg_replace("/(.*)(<numresults>)(.*?)(<\/numresults>)(.*)/i","\\3",$userlist[2][$i]); 
        $userdata[$i]['totalcpu']   = trim(preg_replace("/(.*)(<totalcpu>)(.*?)(<\/totalcpu>)(.*)/i","\\3",$userlist[2][$i])); 
        $userdata[$i]['avgcpu']     = preg_replace("/(.*)(<avecpu>)(.*?)(<\/avecpu>)(.*)/i","\\3",$userlist[2][$i]); 
        $userdata[$i]['lastresult'] = preg_replace("/(.*)(<datelastresult>)(.*?)(<\/datelastresult>)(.*)/i","\\3",$userlist[2][$i]); 
        $userdata[$i]['country']    = preg_replace("/(.*)(<country>)(.*?)(<\/country>)(.*)/i","\\3",$userlist[2][$i]); 
        $userdata[$i]['profile']    = preg_replace("/(.*)(<profile>)(.*?)(<\/profile>)(.*)/i","\\3",$userlist[2][$i]);
        if(StrToUpper($ownername) == StrToUpper($userdata[$i]['name'])) $memberpos = $i+1;
        if($userdata[$i]['url'] == $userlist[2][$i]) $userdata[$i]['url'] = '';
        else
          {
          $userdata[$i]['url'] = preg_replace("/http\:\/\//i","",$userdata[$i]['url']);
          }
        if($userdata[$i]['profile'] == $userlist[2][$i]) $userdata[$i]['profile'] = '';
        }
      }
    }
  $memberpos  = number_format($memberpos,0,LOC_DECIMAL,LOC_GROUPING);
  echo<<<EOM
<TABLE CELLSPACING="1" CELLPADDING="2" BORDER="0" CLASS="TONEBORDER">
<CAPTION>$h1</CAPTION>
<TR>
  <TD ALIGN="RIGHT"><SPAN CLASS="TEXTB">$h2:</SPAN></TD>
  <TD ALIGN="LEFT"><SPAN CLASS="TEXT">$teamlink</SPAN></TD>
</TR>
<TR>
  <TD ALIGN="RIGHT"><SPAN CLASS="TEXTB">$h3:</SPAN></TD>
  <TD ALIGN="LEFT"><SPAN CLASS="TEXT">$myfounder</SPAN></TD>
</TR>
<TR>
  <TD ALIGN="RIGHT"><SPAN CLASS="TEXTB">$h4:</SPAN></TD>
  <TD ALIGN="LEFT"><SPAN CLASS="TEXT">$mymembers</SPAN></TD>
</TR>
<TR>
  <TD ALIGN="RIGHT"><SPAN CLASS="TEXTB">$h5:</SPAN></TD>
  <TD ALIGN="LEFT"><SPAN CLASS="TEXT">$memberpos</SPAN></TD>
</TR>
<TR>
  <TD ALIGN="RIGHT"><SPAN CLASS="TEXTB">$h6:</SPAN></TD>
  <TD ALIGN="LEFT"><SPAN CLASS="TEXT">$myresults WU's</SPAN></TD>
</TR>
<TR>
  <TD ALIGN="RIGHT"><SPAN CLASS="TEXTB">$h7:</SPAN></TD>
  <TD ALIGN="LEFT"><SPAN CLASS="TEXT">$mycputime</SPAN></TD>
</TR>
</TABLE>
EOM;
  }
?>
<BR>
<?php
flush();
if($memberlist!='N/A' && strtoUpper($displayMemberList)=='YES')
  {
  echo("<TABLE CELLSPACING=\"0\" CELLPADDING=\"0\" BORDER=\"0\" WIDTH=\"778\" CLASS=\"TABLEBG\">\n");
  echo("<CAPTION>".$ownergroupname."&nbsp;-&nbsp;".LOC_MEMBERLIST."</CAPTION>\n");
  echo("<TR>\n");
  echo("  <TD>\n");
  echo("  <TABLE CELLSPACING=\"1\" CELLPADDING=\"3\" BORDER=\"0\" WIDTH=\"100%\">\n");
  echo("  <TR CLASS=\"BGBLACK\">\n");
  echo("    <TH>#</TH>\n");
  echo("    ".LOC_MLIST_NAMEURL."\n");
  echo("    ".LOC_MLIST_RESULTS."\n");
  echo("    ".LOC_MLIST_TOTCPU."\n");
  echo("    ".LOC_MLIST_AVGCPU."\n");
  echo("    ".LOC_MLIST_LASTDATE."\n");
  echo("    ".LOC_MLIST_COUNTRY."\n");
  echo("  </TR>\n");
  for($i = 0; $i < count($userdata); $i++)
    {
    if(($i+1) == $memberpos) $cl = 'TEXTGREEN';
    else if(!$i) $cl = 'TEXTB';
    else $cl = 'TEXT';
    echo("  <TR CLASS=\"BGBLACK\">\n"); 
    echo("    <TD ALIGN=\"CENTER\"><SPAN CLASS=\"".$cl."\">".($i+1)."</SPAN></TD>\n");
    if($userdata[$i]['profile']!='')
      {
      $pdata  = preg_replace("/(<A HREF=\")(.*)(\">)(.*)<\/A>(.*)/i","\\2",$userdata[$i]['profile']);
      $pdata  = preg_replace("/&id/","&amp;id",$pdata);
      $plink  = '<A HREF="'.$pdata.'" TARGET="_blank"><IMG SRC="http://setiathome.ssl.berkeley.edu/images/icons/profile11x14.gif" WIDTH="11" HEIGHT="14" BORDER="0" ALT="View Seti@Home Profile"></A>';
      }
    else
      {
      $plink = '';     
      }
    if($userdata[$i]['url']!='')
      {
      $ulink = '<A HREF="http://'.$userdata[$i]['url'].'" TARGET="_blank" class="'.$cl.'">'.$userdata[$i]['name'].'</A>';
      }
    else
      {
      $ulink = $userdata[$i]['name'];
      }
    echo("    <TD ALIGN=\"LEFT\" nowrap><SPAN CLASS=\"".$cl."\">".$ulink."&nbsp;".$plink.get_results_token($userdata[$i]['results'])."</SPAN></TD>\n");
    echo("    <TD ALIGN=\"RIGHT\"><SPAN CLASS=\"".$cl."\">".number_format($userdata[$i]['results'],0,LOC_DECIMAL,LOC_GROUPING)."</SPAN></TD>\n");
    echo("    <TD ALIGN=\"RIGHT\" NOWRAP><SPAN CLASS=\"".$cl."\">".preg_replace($localearg1,$localearg2,$userdata[$i]['totalcpu'])."</SPAN></TD>\n");
    echo("    <TD ALIGN=\"RIGHT\" NOWRAP><SPAN CLASS=\"".$cl."\">".preg_replace($localearg1,$localearg2,$userdata[$i]['avgcpu'])."</SPAN></TD>\n");
    echo("    <TD ALIGN=\"RIGHT\" NOWRAP><SPAN CLASS=\"".$cl."\">".preg_replace($locorgdate,$locrepdate,$userdata[$i]['lastresult'])."</SPAN></TD>\n");
    echo("    <TD ALIGN=\"RIGHT\"><SPAN CLASS=\"".$cl."\">".$userdata[$i]['country']."</SPAN></TD>\n");
    echo("  </TR>\n"); 
    }
  echo("  </TABLE>\n  </TD>\n</TR>\n</TABLE>\n");
  } 
$et = getmicrotime();
printf("<SPAN CLASS=\"SMALL\">Executed in %2.3f seconds (%s bytes read from seti server, %s kb/s)</SPAN><BR>\n",round($et-$st,3),number_format($tbytes,0,LOC_DECIMAL,LOC_GROUPING),number_format(($tbytes/1024)/($et-$st),3,LOC_DECIMAL,LOC_GROUPING));
?>
</DIV>
</BODY>
</html>

<?php
include("footer.php");
?>


_________________
ImageImage
USE THE FORUM. If you contact me via messenger for support I will add you to my ignore list.

Last edited by BrainSmashR on Sun Jun 06, 2004 4:53 am; edited 1 time in total
Find all posts by BrainSmashRView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
BrainSmashR
Support Mod
Support Mod


Joined: Jan 05, 2004
Posts: 1390

Location: Louisiana, USA

PostPosted: Sun Jun 06, 2004 4:48 am Reply with quoteBack to top

Trust me, it's a lot easier to setup than my long-a$$ postmakes it seem.

If you are familiar with blank.php from MyPhpNuke (script that displays html within a php script) then you already know how I made my pstats.php appear as a part of my site.

_________________
ImageImage
USE THE FORUM. If you contact me via messenger for support I will add you to my ignore list.
Find all posts by BrainSmashRView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
BrainSmashR
Support Mod
Support Mod


Joined: Jan 05, 2004
Posts: 1390

Location: Louisiana, USA

PostPosted: Sat Jun 12, 2004 10:12 pm Reply with quoteBack to top

Image

_________________
ImageImage
USE THE FORUM. If you contact me via messenger for support I will add you to my ignore list.

Last edited by BrainSmashR on Mon Sep 20, 2004 2:55 am; edited 3 times in total
Find all posts by BrainSmashRView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
jasonvw
Sergeant
Sergeant


Joined: Jan 07, 2004
Posts: 127

Location: Metamora, MI

PostPosted: Sat Jul 17, 2004 11:58 pm Reply with quoteBack to top

well i to want to participate in the seti@ home team, but it seems the team is only on the old system, wich is not currently working for me. Are you going to create a team on the BOINC site?

_________________
I will not surrender though I may be the last. If I am taken I pray that I may have enough strength to spit upon my enemy.
Find all posts by jasonvwView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
BrainSmashR
Support Mod
Support Mod


Joined: Jan 05, 2004
Posts: 1390

Location: Louisiana, USA

PostPosted: Sun Jul 18, 2004 12:26 am Reply with quoteBack to top

I don't have any idea what you are talking about.

The SETI site is not letting you join TEAM NUKECOPS?

_________________
ImageImage
USE THE FORUM. If you contact me via messenger for support I will add you to my ignore list.
Find all posts by BrainSmashRView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
jasonvw
Sergeant
Sergeant


Joined: Jan 07, 2004
Posts: 127

Location: Metamora, MI

PostPosted: Sun Jul 18, 2004 4:24 pm Reply with quoteBack to top

well their are two different clients, SETI classic and a new version. the classic version will not work for me si i must use new version at a updated site. (http://setiweb.ssl.berkeley.edu/) Team lookup is disabled, but i wasnt sure if you have a new team on this site, as i found one on the old site. If you do i would like your team number, and i already checked, they arent the same between sites.

_________________
I will not surrender though I may be the last. If I am taken I pray that I may have enough strength to spit upon my enemy.
Find all posts by jasonvwView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
BrainSmashR
Support Mod
Support Mod


Joined: Jan 05, 2004
Posts: 1390

Location: Louisiana, USA

PostPosted: Sun Jul 18, 2004 6:00 pm Reply with quoteBack to top

I see now.....but that page doesn't show the members OR even the correct number of users.

http://setiweb.ssl.berkeley.edu/team_display.php?teamid=41273

_________________
ImageImage
USE THE FORUM. If you contact me via messenger for support I will add you to my ignore list.
Find all posts by BrainSmashRView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
jasonvw
Sergeant
Sergeant


Joined: Jan 07, 2004
Posts: 127

Location: Metamora, MI

PostPosted: Sun Jul 18, 2004 6:48 pm Reply with quoteBack to top

well, maybe they are transfering the team info. In any case, I joined Team Nukecops on the new site.

_________________
I will not surrender though I may be the last. If I am taken I pray that I may have enough strength to spit upon my enemy.
Find all posts by jasonvwView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
BrainSmashR
Support Mod
Support Mod


Joined: Jan 05, 2004
Posts: 1390

Location: Louisiana, USA

PostPosted: Mon Jul 19, 2004 3:36 pm Reply with quoteBack to top

BOINC is a piece of garbage folks.

Cronic problems with downloading WU's. It's only given me 1 in the last 24 hours which means I've wasted about the last 12 hours doing NOTHING.

PLEASE try the original SETI@Home client FIRST. ONLY if it doesn't work for you should you try the BOINC version.

_________________
ImageImage
USE THE FORUM. If you contact me via messenger for support I will add you to my ignore list.
Find all posts by BrainSmashRView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
jasonvw
Sergeant
Sergeant


Joined: Jan 07, 2004
Posts: 127

Location: Metamora, MI

PostPosted: Tue Jul 20, 2004 12:19 am Reply with quoteBack to top

Well i haven't had problems with the new version, but the old one won't work for me. Bummer.

_________________
I will not surrender though I may be the last. If I am taken I pray that I may have enough strength to spit upon my enemy.
Find all posts by jasonvwView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
BrainSmashR
Support Mod
Support Mod


Joined: Jan 05, 2004
Posts: 1390

Location: Louisiana, USA

PostPosted: Tue Jul 20, 2004 8:51 am Reply with quoteBack to top

Well, the point is to find ET before he finds us. As long as one version of the software works, I'm happy!!!

_________________
ImageImage
USE THE FORUM. If you contact me via messenger for support I will add you to my ignore list.
Find all posts by BrainSmashRView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
jasonvw
Sergeant
Sergeant


Joined: Jan 07, 2004
Posts: 127

Location: Metamora, MI

PostPosted: Sun Aug 08, 2004 3:04 pm Reply with quoteBack to top

Well im afraid if ET has the capibility to actually get here, we don't stand much of a chance if they decide our time is up. Sad

_________________
I will not surrender though I may be the last. If I am taken I pray that I may have enough strength to spit upon my enemy.
Find all posts by jasonvwView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
Display posts from previous:      
Post new topic  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.114 Seconds - 349 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::