Reset Button!

You are in Realm #1 Change to Realm: 2 3 4 5
picture from xkcd.com

A project by Christopher Thomas Nicodemus.
Instructions: Just enter a nick name (or leave it blank), and then hit the reset button whenever you want!
How it works: It uses MySQL to store the resets in a database and PHP for the page generation. Then AJAX is used for showing the updated time. The comic to the left is from XKCD.com, it gave me the idea for this project. Complete source code below.
Site Updated: 2014-11-26 fixes for PEAR

It has been 4 days, 1 hour, 55 minutes and 46 seconds since someone reset this sign.
On average, it has been reset every 2 days, 13 hours, 56 minutes and 32 seconds.
Since the beginning in May 2008 the sign has been reset a total of 1466 times.

Your nick name (Max 12):

Most Recent Resets #1-20 >Next
#Nick NameReset TimeWhen
1Not_corey22 days, 5 hours, 42 minutes and 1 secondFri, 21 Sep 2018 04:57:34 -0700
2Cdmium1 day, 10 hours, 54 minutes and 31 secondsWed, 29 Aug 2018 23:15:33 -0700
3Pame13 days, 3 hours and 50 secondsTue, 28 Aug 2018 12:21:02 -0700
4DK198827 days, 10 hours, 45 minutes and 50 secondsWed, 15 Aug 2018 09:20:12 -0700
5lebroncakes15 minutes and 4 secondsWed, 18 Jul 2018 22:34:22 -0700
6FARTS1 day, 9 hours, 46 minutes and 9 secondsWed, 18 Jul 2018 22:19:18 -0700
7Nerikis11 days, 14 hours, 31 minutes and 22 secondsTue, 17 Jul 2018 12:33:09 -0700
8neoliminal10 days, 9 hours, 51 minutes and 45 secondsThu, 05 Jul 2018 22:01:47 -0700
9[noname]4 hours, 40 minutes and 8 secondsMon, 25 Jun 2018 12:10:02 -0700
10_19 hours, 31 minutes and 42 secondsMon, 25 Jun 2018 07:29:54 -0700
11rwa22 hours, 1 minute and 13 secondsSun, 24 Jun 2018 11:58:12 -0700
12pdan4 hours, 29 minutes and 7 secondsSat, 23 Jun 2018 13:56:59 -0700
13Chrispy19 hours, 50 minutes and 48 secondsSat, 23 Jun 2018 09:27:52 -0700
14[noname]22 minutes and 41 secondsFri, 22 Jun 2018 13:37:04 -0700
15Max_128 minutes and 54 secondsFri, 22 Jun 2018 13:14:23 -0700
16[noname]17 days, 11 hours, 37 minutes and 30 secondsFri, 22 Jun 2018 13:05:29 -0700
17Kristin11 days, 17 hours, 40 minutes and 2 secondsTue, 05 Jun 2018 01:27:59 -0700
18Bean12 hours, 15 minutes and 50 secondsThu, 24 May 2018 07:47:57 -0700
19lebroncakes63 days, 11 hours, 28 minutes and 32 secondsWed, 23 May 2018 19:32:07 -0700
20Liv1 minute and 8 secondsWed, 21 Mar 2018 08:03:35 -0700
<Prev Top Resets #21-40 >Next
#Nick NameReset TimeWhen
21Seamus!33 days, 18 hours, 21 minutes and 2 secondsThu, 29 Nov 2012 16:19:19 -0800
22mara!33 days, 2 hours, 12 minutes and 28 secondsSat, 08 Jun 2013 03:28:43 -0700
23DoB31 days, 19 hours, 46 minutes and 53 secondsMon, 29 Nov 2010 08:42:19 -0800
24Artic11231 days, 15 hours, 22 minutes and 14 secondsSat, 15 Oct 2016 04:23:12 -0700
25[noname]30 days, 22 hours, 48 minutes and 49 secondsSat, 12 Dec 2015 15:47:54 -0800
26Sam29 days, 15 hours, 56 minutes and 55 secondsFri, 26 Oct 2012 22:58:17 -0700
27129 days, 2 hours, 8 minutes and 28 secondsMon, 20 Oct 2014 13:02:49 -0700
28uuaksmwz28 days, 20 hours, 57 minutes and 18 secondsThu, 10 Nov 2011 11:11:15 -0800
29Baron28 days, 6 hours, 40 minutes and 40 secondsFri, 20 Jan 2012 06:39:05 -0800
30DUDE27 days, 21 hours, 10 minutes and 59 secondsTue, 06 Sep 2011 10:06:54 -0700
31DK198827 days, 10 hours, 45 minutes and 50 secondsWed, 15 Aug 2018 09:20:12 -0700
32DarkKnight27 days, 6 hours, 19 minutes and 22 secondsTue, 29 Sep 2015 07:19:46 -0700
33Kris27 days, 2 hours, 44 minutes and 32 secondsThu, 16 Feb 2012 09:23:37 -0800
34Isaac26 days, 11 hours, 21 minutes and 44 secondsSat, 03 Aug 2013 02:08:48 -0700
35fogmind26 days, 9 hours, 37 minutes and 38 secondsTue, 03 Aug 2010 04:40:19 -0700
36gigi26 days, 2 hours, 40 minutes and 25 secondsTue, 28 Feb 2017 09:56:27 -0800
37mara!25 days, 18 hours, 48 minutes and 46 secondsSun, 07 Jul 2013 14:47:04 -0700
38Felix25 days, 18 hours, 45 minutes and 9 secondsThu, 26 May 2016 04:14:13 -0700
39dnlbct25 days, 9 hours, 33 minutes and 5 secondsSat, 30 Apr 2016 09:29:04 -0700
40Yuomay24 days, 19 hours, 47 minutes and 38 secondsThu, 15 Dec 2011 05:10:12 -0800
20

The Source Code:
(index.php)
<?php
        $path
="/home/chrisnic/pear/share/pear";
        
set_include_path(get_include_path() . PATH_SEPARATOR $path);
    require_once 
'functions.php';
    require_once 
'DB.php';
    
//require_once 'Pager/Pager.php';
    
session_start();
    
extract($_REQUESTEXTR_REFS);
    
//import_request_variables('g');
    
if (isset($ref))
    {
        
file_put_contents('refs.txt',time() . ' ' $ref."\r\n",FILE_APPEND);
    }
    if (
checkRealm($r)!=0header('location: index.php?r=1'); 
    if (
$lastStart == NULL$lastStart=0;
    if (
$topStart == NULL$topStart=0;
    
?>
<html><head><title>The Reset Button Realm <?=$r?></title>
<!-- script for Google Analytics {START} -->
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-70177-4']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<!-- script for Google Analytics {END}-->
<!-- script for Google + Button {START}-->
<!-- Place this render call where appropriate -->
<script type="text/javascript">
  (function() {
      var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
          po.src = 'https://apis.google.com/js/plusone.js';
              var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
                })();
                </script>
<!-- script for Google + Button {END}-->


<script type="text/javascript">
//This is the AJAX code that requests the time every second for a period of time.
//This will be replaced with better ajax code in the future.

function GetXmlHttpObject()
{
var xmlHttp=null;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
return xmlHttp;
}

function stateChanged() 

    if (xmlHttp.readyState==4)
    { 
    var resp = xmlHttp.responseText;
    //This is the code to decompress the data from the server.
    /*resp = resp.replace('A',' year, ');
    resp = resp.replace('B',' years, ');
    resp = resp.replace('C',' year and ');
    resp = resp.replace('D',' years and ');
    resp = resp.replace('E',' year');
    
    resp = resp.replace('F',' day, ');
    resp = resp.replace('G',' days, ');
    resp = resp.replace('H',' day and ');
    resp = resp.replace('I',' days and ');
    resp = resp.replace('J',' day');

    resp = resp.replace('K',' hour, ');
    resp = resp.replace('L',' hours, ');
    resp = resp.replace('M',' hour and ');
    resp = resp.replace('N',' hours and ');
    resp = resp.replace('O',' hour');

    resp = resp.replace('P',' minute and ');
    resp = resp.replace('Q',' minutes and ');
    resp = resp.replace('R',' minutes');
    resp = resp.replace('S',' minute');
    resp = resp.replace('T',' seconds');
    resp = resp.replace('U',' second');
    resp = resp.replace('V',' less than 1 second');*/
    //document.getElementById("ResetTime").innerHTML=xmlHttp.responseText;
    document.getElementById("ResetTime").innerHTML=resp;
    }
}

function showTime()
{
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 
xmlHttp.onreadystatechange=stateChanged;
xmlHttp.open("GET","getReset.php?r=<?=$r?>",true);
xmlHttp.send(null);
}
function t()
{
    showTime();
}
var Updateid = setInterval('t()',1100);
// Update for up to 10 days.
setTimeout('clearInterval(Updateid)', Math.random()*60000*10080);
</script>
</head>
<body>
<?php
    $t 
time();
    
$LastReset getLastReset($r);
echo 
'<table><tr><td><h1>Reset Button!<!-- Place this tag where you want the +1 button to render -->
<div class="g-plusone" data-annotation="inline" data-href="http://TheResetButton.org/"></div></h1></td><tr><td><font size="-1">You are in Realm #<b>' 
$r '</b> Change to Realm:'
    echo (
$r=='' || $r==1)?' ':'<a href="?r=1">1</a> '
    echo (
$r==2)?' ':'<a href="?r=2">2</a> ';
    echo (
$r==3)?' ':'<a href="?r=3">3</a> ';
    echo (
$r==4)?' ':'<a href="?r=4">4</a> ';
    echo (
$r==5)?'':'<a href="?r=5">5</a>';
    echo 
'</font></td></tr></table>';
    
//die();
    
echo '<table><tr><td><a href="http://xkcd.com/363/"><img alt="picture from xkcd.com" 
    src="http://imgs.xkcd.com/comics/reset.png"></a></td><td width="400">'
;
    echo 
'<font size="+1"><p>A project by Christopher Thomas Nicodemus.<br><b>Instructions: Just enter a nick name (or leave 
    it blank), and then hit the reset button whenever you want!</b><br> How it works: 
    It uses MySQL to store the resets in a database and 
    PHP for the page generation.  Then AJAX is used for showing the updated time.  
    The comic to the left is from XKCD.com, it gave me the idea for this project.
    Complete source code below.
    <br> Site Updated: 2014-11-26 fixes for PEAR<br>
    </p></font></td></tr></table>'
;
    
/*Site Updated: 2008-09-11<br>Added multiple realms with their own reset times.
    <br>Added top resets and recent resets list<br>Time data now compressed to save a little bandwidth*/
    
echo '<h2>It has been <span id="ResetTime">' createTime$t $LastReset ) . '</span> since someone reset this sign.  '
    echo 
'<br> On average, it has been reset every '.createTime(getAverageResetTime($r)) . '.';
    echo 
'<br> Since the beginning in ';
    echo ((
$r==1)?'May':'September'); 
    echo 
' 2008 the sign has been reset a total of ' getResetCount($r) . ' times.';
    echo 
'<form action="reset.php" method="post">';
    echo 
'<input type="hidden" value="' CreateResetCode$t ) . '" name="rcode">';
    echo 
'<input type="hidden" value="' $r '" name="r">';
    if (
$err == 1)
        echo 
"<br><b>Invalid reset button click.<b><br>";
    echo 
'<h3>Your nick name (Max 12):<br><input type="text" value="'.$_SESSION['nickname'].'" name="nickname" size="12" 
    maxlength="12">'
;
    echo 
'<br><input type="submit" value="RESET"></h3></form>';
    echo 
'<table>';
/*    echo '<td><b>The last 20 resets in realm ' . $r . '!</b></td>';
    echo '<td><b>The highest 20 resets in realm ' . $r . '!</b></td>';*/
    
echo '<td>';
    echo 
getLastResets(20verifyStart($lastStart), verifyStart($topStart), $r);
    echo 
'</td><td>';
    echo 
getTopResets(20verifyStart($topStart), verifyStart($lastStart), $r);
    echo 
'</td></tr></table>';
    echo 
verifyStart($topStart);
        
    
//Dump the source code!
/*    if ($src!=1)
    {
        echo '<h4><a href="index.php?r=' . $r . '&lastStart='. verifyStart($lastStart) .'&topStart='.verifyStart($topStart).'&src=1">Show Source Code</a>';
    }
    else {*/
    
echo '<h4>The Source Code: <br><B>(index.php)</B><br>';
    
highlight_file("index.php");
    echo 
'<br><br><B>(reset.php)</B><br>';
    
highlight_file("reset.php");
    echo 
'<br><br><B>(functions.php)</B><br>';
    
highlight_file("functions.php");
    echo 
'<br><br><B>(getReset.php)</B><br>';
    
highlight_file("getReset.php");
    echo 
'<br><br><B>(userstats.php)</B><br>';
    
highlight_file("userstats.php");
    echo 
'</h4>';//}
    
echo '<br><br>';
    
cleanupOldResetCodes();
    
?>
</body></html>


(reset.php)
<?php
    
//This checks the RCode and if it is a valid reset click, do the reset!
    
file_put_contents("pre1",microtime(true));
    
session_start();
        
$path="/home/chrisnic/pear/share/pear";
        
set_include_path(get_include_path() . PATH_SEPARATOR $path);
    require_once 
'functions.php';
    require_once 
'DB.php';
//    import_request_variables('gp');
    
extract($_REQUESTEXTR_REFS);
    if (
checkRealm($r) != 0$r=1;
    
$t time();
    
$LastReset getLastReset($r);
    if (
checkResetCode($rcode)!=|| checkRealm($r)!=0)
    {
        
header('Location: index.php?err=1');
        die();
    }
    
unlink(escapeshellcmd('rcodes/'.$rcode));
    if (
strlen($nickname)>12) { $nickname substr($nickname,0,12); }
    
$_SESSION['nickname'] = $nickname;
    
//if ($nickname=="") $nickname = 'rand' . mt_rand(0,99999);
    
updateReset($nickname$LastReset$t$r);
    
file_put_contents("post1",microtime(true));
    
header('Location: index.php?r=' $r)
?>


(functions.php)
<?php
function db_connect() {
    
//Here we make a connection to the database
    
$phptype "mysqli";
    require (
'PRIVATE.inc');  //login information
    
$dsn $phptype "://" $username ":" $password "@" $hostspec "/" $database;
    
$db  = & DB::connect $dsn$options );
    if (
PEAR::isError $db )) {
        die ( 
$db->getMessage () );
    }
    
$db->setFetchMode DB_FETCHMODE_ASSOC );
    return 
$db;
}

function 
CreateTime($t) {
    
// This takes a number of seconds and converts it to a format like x years, y days, and z seconds.
    
$years floor $t / (86400 365) );
    
$t -= $years * (86400 365);
    
$days floor $t / (86400) );
    
$t -= $days * (86400);
    
$hours floor $t / (3600) );
    
$t -= $hours * (3600);
    
$minutes floor $t / (60) );
    
$t -= $minutes * (60);
    
$secs round $t );
    
//Got years?
    
$msg = ($years >= $years . (($years || $years == 0) ? 'years' 'year') : '');
    
//Do we say and or put a , or is this it?
    
$msg .= ($years >= && (($days == && $hours == && $minutes == && $secs != 0) || 
    (
$days == && $hours == && $minutes != && $secs == 0) || 
    (
$days == && $hours != && $minutes == && $secs == 0) || 
    (
$days != && $hours == && $minutes == && $secs == 0))) ? ' and ' 
    ((
$years >= && ($days >= || $hours >= || $minutes >= || $seconds >= 1)) ? ', ' '');
    
//Do we have days?
    
$msg .= ($days >= $days . (($days || $days == 0) ? ' days' ' day') : '');
    
//Do we say and or put a , or is this it?
    
$msg .= ($days >= && (($hours == && $minutes == && $secs != 0) || 
    (
$hours == && $minutes != && $secs == 0) || 
    (
$hours != && $minutes == && $secs == 0))) ? ' and ' 
    ((
$days >= && ($hours >= || $minutes >= || $secs >= 1)) ? ', ' '');
    
//Got hours?
    
$msg .= ($hours >= $hours . (($hours || $hours == 0) ? ' hours' ' hour') : '');
    
//Do we say and or put a , or is this it?
    
$msg .= ($hours >= && (($minutes == && $secs != 0) || ($minutes != && $secs == 0))) ? ' and ' 
    ((
$hours >= && ($minutes >= || $secs >= 1)) ? ', ' '');
    
// Got minutes???
    
$msg .= ($minutes >= $minutes . (($minutes || $minutes == 0) ? ' minutes' ' minute') : '');
    
//Do we say and or is this it?
    
$msg .= ($minutes >= && ($secs != 0)) ? ' and ' '';
    
// finally the seconds!
    
$msg .= ($secs >= $secs . (($secs || $secs == 0) ? ' seconds' ' second') : '');
    
// Less than 1 second.....
    
if ($years == && $days == && $hours == && $minutes == && $secs == 0)
        
$msg 'less than 1 second';
    return 
$msg;
}

function 
CreateResetCode() {
    
//Create a reset code, so someone can't just reset by visiting the reset URL.
    
$id uniqID ""true );
    
file_put_contents 'rcodes/' $id"" );
    return 
$id;
}

function 
getLastReset($r=1) {
    
//Just pull the last reset time from the file...
    //We used to pull it from the database, felt it might be too much load on the DB
    //to request it every sec.
    /*    $db = db_connect();
    $query = "SELECT MAX(`reset`) FROM resetbutton";
    $res =& $db->query($query);
    if (PEAR::isError($res)) 
        die($res->getMessage().'2348');
    $row =& $res->fetchRow();
    return $row['MAX(`reset`)'];
*/
    
return file_get_contents 'LastReset' $r );
}

function 
getAverageResetTime($r=1) {
    
//This displays the average reset time on the main page.
    
$db db_connect ();
    
$query "SELECT AVG(`gap`) FROM resetbutton WHERE `realm`=$r";
    
$res = & $db->query $query );
    if (
PEAR::isError $res ))
        die ( 
$res->getMessage () . '23fds48' );
    
$row = & $res->fetchRow ();
    return 
$row ['AVG(`gap`)'];
}

function 
getResetCount($r=1) {
    
//This function returns the total number of times the button has been hit.
    
$db db_connect ();
    
$query "SELECT count(*) FROM resetbutton WHERE `realm` = $r";
    
$res = & $db->query $query );
    if (
PEAR::isError $res ))
        die ( 
$res->getMessage () . 'count23fds48' );
    
$row = & $res->fetchRow ();
    return 
$row ['count(*)'];
}

function 
getLastResets($count$start=0$otherStart=0$r=1) {
    
//This functions displays the last so many resets,  a person can walk through the list.
    
$rCount getResetCount($r);
    
$db db_connect ();
    
//    $limitStart = getResetCount() - $count;
    
$query "SELECT `reset` , `gap` , `user`
             FROM `resetbutton` WHERE `realm` = 
$r
             ORDER BY `reset` DESC
             LIMIT 
$start , $count
             "
;
    
$res = & $db->query $query );
    if (
PEAR::isError $res ))
        die ( 
$res->getMessage () . 'getLastResets23fds48 ' $query);
        
//    $row = array_reverse($row);
    
$ret '<table><caption><b>';
    if (
$start 0)
        
$ret .= '<a href="index.php?r=' $r '&lastStart=' .    
            (
$start-$count>0?$start-$count:'0') . '&topStart=' $otherStart
            
'">&lt;Prev</a>';
    
$ret .= ' Most Recent Resets #'. ($start+1) . '-' . (($start+$count)>=$rCount?($rCount):($start+$count)); 
    if (
$start+$count $rCount) {
            
$ret .= ' <a href="index.php?r=' $r '&lastStart=' .    
            (
$start+(($rCount-($start+$count))>$count?$count:($rCount-($start+$count)))) . '&topStart=' $otherStart
            
'">&gt;Next</a>';//' ' . (($rCount-($start+$count))>$count?$count:($rCount-($start+$count))) . ' entries</a>';
    
}
    
$ret .= '</b></caption><tr><td>#</td><td>Nick Name</td><td>Reset Time</td><td>When</td></tr>';
    
$x $start+1;
    while ( 
$row = & $res->fetchRow () ) {
        
$ret .= '<tr><td>' $x++ . '</td><td><a href="userstats.php?user=' 
        
urlencode($row['user']) . '&r='$r '">';
        if (
$row['user']==''
            
$ret .= '[noname]';
        else 
            
$ret .= str_replace(' ','_',htmlspecialchars($row ['user'])); 
        
$ret .= '</a></td><td>' 
        
createTime $row ['gap'] ) . '</td><td>' 
        
date 'r'$row ['reset'] ) . '</td></tr>';
       }
    
$ret .= "</table>";
    return 
$ret;
}
function 
getTopResets($count,$start=0,$otherStart=0,$r=1) {
    
//This functions displays the best reset times,  a person can walk through the list.
    
    
$rCount getResetCount($r);
    
$db db_connect ();
    
$limitStart getResetCount () - $count;
    
$query "SELECT `reset` , `gap` , `user`
              FROM `resetbutton` WHERE `realm` = 
$r
              ORDER BY `gap` DESC
              LIMIT 
$start , $count";
    
$res = & $db->query $query );
    if (
PEAR::isError $res ))
        die ( 
$res->getMessage () . 'getTopResets23fds48' );
    
$ret '<table><caption><b>';
    if (
$start 0)
        
$ret .= '<a href="index.php?r=' $r '&lastStart=' .    
            
$otherStart '&topStart=' . ($start-$count>0?$start-$count:'0')
            . 
'">&lt;Prev</a>';
    
$ret .= ' Top Resets #'. ($start+1) . '-' . (($start+$count)>=$rCount?($rCount):($start+$count)); 
    if (
$start+$count $rCount) {
            
$ret .= ' <a href="index.php?r=' $r '&lastStart=' .    
            
$otherStart '&topStart=' . ($start+(($rCount-($start+$count))>$count?$count:($rCount-($start+$count))))
            . 
'">&gt;Next</a>';//' ' . (($rCount-($start+$count))>$count?$count:($rCount-($start+$count))) . ' entries</a>';
    
}
    
$ret .= '</b></caption><tr><td>#</td><td>Nick Name</td><td>Reset Time</td><td>When</td></tr>';
    
$x $start+1;
    while ( 
$row = & $res->fetchRow () ) {
        
$ret .= '<tr><td>' $x++ . '</td><td><a href="userstats.php?user=' 
        
urlencode($row['user']) . '&r='$r '">';
        if (
$row['user']==''
            
$ret .= '[noname]';
        else 
            
$ret .= str_replace(' ','_',htmlspecialchars($row ['user'])); 
        
$ret .= '</a></td><td>' 
        
createTime $row ['gap'] ) . '</td><td>' 
        
date 'r'$row ['reset'] ) . '</td></tr>';
    }
    
$ret .= "</table>";
    return 
$ret;
}

function 
verifyStart($num) {
    
//Check that a list view number is actually a number.
    
if (isInteger($num)) return $num;
    return 
0;
}

function 
isInteger($num){
    
//Check if the provided number is an integer.
    
return(ctype_digit(strval($num)));
}

function 
getUserStats($user$r=1) {
    
//Stats for individual users.  Displays resets and average reset time.
        
$db=db_connect();
    
$query "SELECT `reset` , `gap` , `user`
             FROM `resetbutton` WHERE `realm` = 
$r AND `user` = " $db->quoteSmart(stripcslashes($user)) . 
             ORDER BY `reset` DESC
             "
;
    
$res =& $db->query($query);
    if (
PEAR::isError $res ))
        die ( 
$res->getMessage () . 'getUserStats23fds48 ' $query );
    
$count=0;
    
$ret 'Resets for user: ' . ($user==''?'[noname]':stripcslashes($user)) . ' in realm #' $r '<br><table><tr><td>Reset Time</td><td>When</td></tr>';
    while ( 
$row = & $res->fetchRow () ) {
        
$ret .= '<tr><td>' createTime $row ['gap'] ) . '</td><td>' date 'r'$row ['reset'] ) . '</td></tr>';
        
$count++;
    }
    
$ret .= "</table><br>Total Resets: $count<br>Average Reset Time: ";
    
$query "SELECT AVG(`gap`) FROM resetbutton WHERE `realm`=$r AND `user` = " $db->quoteSmart($user);
//    echo  $query;
    
$res = & $db->query $query );
    if (
PEAR::isError $res ))
        die ( 
$res->getMessage () . 'getuseraverage23fds48' );
    
$row = & $res->fetchRow ();
    
$ret .= createTime($row['AVG(`gap`)']);
    return 
$ret;
}

function 
checkResetCode($rcode) {
    
//Verify that the reset code is a valid one, then reset and delete the code.
    
if (ereg 
    
'[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]' 
    
'[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]' .
    
'\.[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'$rcode )) {
        if (!
file_exists('rcodes/'.$rcode)) {
            return - 
1;
        }
    } else {
        return - 
1;
    }
    return 
0;
}

function 
updateReset($nick$last$curr$r=1) {
    
//This occurs when a person validly hits the reset button.
    
$db db_connect ();
    
$nick str_replace('[noname]','noname',$nick);  //Don't let people call themselves [noname]
    
$query 'INSERT INTO `resetbutton` ( `reset` , `gap` , `user` , `IP` , `realm` )
                VALUES (' 
$curr ' , ' . ($curr $last) . ' , ' $db->quoteSmart $nick ) . ' , \'' $_SERVER ['REMOTE_ADDR'] . '\' , \'' $r '\');';
    
$res = & $db->query $query );
    if (
PEAR::isError $res ))
        die ( 
$res->getMessage () . '12  ' $query );
    
file_put_contents 'LastReset' $r$curr );
    return 
0;
}
function 
checkRealm($r) {
    
//verify that the supplied realm number is valid
    
if ($r==|| $r==|| $r==|| $r==|| $r==5)
        return 
0;
    return 
5;
}
function 
cleanupOldResetCodes() {
    
$days "15"// delete all files older than this many days
    
$seconds = ($days*24*60*60);

    
$dir    'rcodes/';
    
$files scandir($dir);

    foreach (
$files as $num => $fname){
        if (
$fname!='.' && $fname!='..')
        {
                if (
file_exists("{$dir}{$fname}") && ((time() - filemtime("{$dir}{$fname}")) > $seconds)) {
                
$mod_time filemtime("{$dir}{$fname}");
                if (
unlink("{$dir}{$fname}")){$del $del 1; echo "Deleted: {$del} - {$fname} --- ".(time()-$mod_time)." seconds old<br>";}
                
//if (1==1){$del = $del + 1; echo "Deleted: {$del} - {$fname} --- ".(time()-$mod_time)." seconds old";}
            
}
        }
    }
}


?>


(getReset.php)
<?php
//This is the page that is requested every second to update the last reset time to the client.
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
function 
createTime($t$r=1) {
    
//Takes a number of seconds and converts it to something like X years, Y days, and Z seconds.
    //It then compresses the result and sends it to the client.
    
$years floor($t/(86400*365));
    
$t -= $years*(86400*365);
    
$days floor($t/(86400));
    
$t -= $days*(86400);
    
$hours floor($t/(3600));
    
$t -= $hours*(3600);
    
$minutes floor($t/(60));
    
$t -= $minutes*(60);
    
$secs=round($t);
    
$msg = ($years>=$years . (($years>|| $years==0)?'years':'year') : '');
    
$msg .= ($years>=&& (($days==&& $hours==&& $minutes==&& $secs!=0) ||
                            (
$days==&& $hours==&& $minutes!=&& $secs==0) ||
                            (
$days==&& $hours!=&& $minutes==&& $secs==0) ||
                            (
$days!=&& $hours==&& $minutes==&& $secs==0))) ? ' and ':
                            ((
$years>=&& ($days>=|| $hours>=|| $minutes>=|| $seconds>=1)) ? ', ':'');
    
$msg .= ($days>=$days . (($days>|| $days==0)?' days':' day') : '');
    
$msg .= ($days>=&& (($hours==&& $minutes==&& $secs!=0) || 
                            (
$hours==&& $minutes!=&& $secs==0) ||
                            (
$hours!=&& $minutes==&& $secs==0))) ? ' and ':
                            ((
$days>=&& ($hours>=|| $minutes>=|| $secs>=1)) ? ', ':'');
    
$msg .= ($hours>=$hours . (($hours>|| $hours==0)?' hours':' hour') : '');
    
$msg .= ($hours>=&& (($minutes==&& $secs!=0) || ($minutes!=&& $secs==0))) ? ' and ':
                            ((
$hours>=&& ($minutes>=|| $secs>=1)) ? ', ':'');
    
$msg .= ($minutes>=$minutes . (($minutes>|| $minutes==0)?' minutes':' minute') : '');
    
$msg .= ($minutes>=&& ($secs!=0)) ? ' and ':'';
    
$msg .= ($secs>=$secs . (($secs>|| $secs==0)?' seconds':' second') : '');
    if (
$years==&& $days==&& $hours==&& $minutes==&& $secs==0)
        
$msg 'less than 1 second';

/*    $msg = str_replace(' year, ','A',$msg);
    $msg = str_replace(' years, ','B',$msg);
    $msg = str_replace(' year and ','C',$msg);
    $msg = str_replace(' years and ','D',$msg);
    $msg = str_replace(' year','E',$msg);
    
    $msg = str_replace(' day, ','F',$msg);
    $msg = str_replace(' days, ','G',$msg);
    $msg = str_replace(' day and ','H',$msg);
    $msg = str_replace(' days and ','I',$msg);
    $msg = str_replace(' day','J',$msg);
    
    $msg = str_replace(' hour, ','K',$msg);
    $msg = str_replace(' hours, ','L',$msg);
    $msg = str_replace(' hour and ','M',$msg);
    $msg = str_replace(' hours and ','N',$msg);
    $msg = str_replace(' hour','O',$msg);

    $msg = str_replace(' minute and ','P',$msg);
    $msg = str_replace(' minutes and ','Q',$msg);
    $msg = str_replace(' minutes','R',$msg);
    $msg = str_replace(' minute','S',$msg);
    $msg = str_replace(' seconds','T',$msg);
    $msg = str_replace(' second','U',$msg);
    
    $msg = str_replace('less than 1 second','V',$msg);*/

    
return $msg;
}
/*function CreateTime($t)
{
    $years = floor($t/(86400*365));
    $t -= $years*(86400*365);
    $days = floor($t/(86400));
    $t -= $days*(86400);
    $hours = floor($t/(3600));
    $t -= $hours*(3600);
    $minutes = floor($t/(60));
    $t -= $minutes*(60);
    $secs=round($t);
    $msg = ($years>=1 ? $years . (($years>1 || $years==0)?'years':'year') : '');
    $msg .= ($years>=1 && (($days==0 && $hours==0 && $minutes==0 && $secs!=0) ||
                            ($days==0 && $hours==0 && $minutes!=0 && $secs==0) ||
                            ($days==0 && $hours!=0 && $minutes==0 && $secs==0) ||
                            ($days!=0 && $hours==0 && $minutes==0 && $secs==0))) ? ' and ':
                            (($years>=1 && ($days>=1 || $hours>=1 || $minutes>=1 || $seconds>=1)) ? ', ':'');
    $msg .= ($days>=1 ? $days . (($days>1 || $days==0)?' days':' day') : '');
    $msg .= ($days>=1 && (($hours==0 && $minutes==0 && $secs!=0) || 
                            ($hours==0 && $minutes!=0 && $secs==0) ||
                            ($hours!=0 && $minutes==0 && $secs==0))) ? ' and ':
                            (($days>=1 && ($hours>=1 || $minutes>=1 || $secs>=1)) ? ', ':'');
    $msg .= ($hours>=1 ? $hours . (($hours>1 || $hours==0)?' hours':' hour') : '');
    $msg .= ($hours>=1 && (($minutes==0 && $secs!=0) || ($minutes!=0 && $secs==0))) ? ' and ':
                            (($hours>=1 && ($minutes>=1 || $secs>=1)) ? ', ':'');
    $msg .= ($minutes>=1 ? $minutes . (($minutes>1 || $minutes==0)?' minutes':' minute') : '');
    $msg .= ($minutes>=1 && ($secs!=0)) ? ' and ':'';
    $msg .= ($secs>=1 ? $secs . (($secs>1 || $secs==0)?' seconds':' second') : '');
    if ($years==0 && $days==0 && $hours==0 && $minutes==0 && $secs==0)
        $msg = 'less than 1 second';
    return $msg;
}*/
extract($_REQUESTEXTR_REFS);
//import_request_variables("g");
if ($r==|| $r==|| $r==|| $r==|| $r==5)
        
$x=0;
else
    die();
if (
mt_rand(0,120)==0) {
?>
<html><head><title>The Reset Button Realm <?=$r?></title>
<!-- script for Google Analytics {START}-->
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-70177-4']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<!-- script for Google Analytics {END}-->
</head><body>
<?php
}
echo 
createTime(time()-file_get_contents('LastReset'.$r), $r);
?>


(userstats.php)
<?php
    session_start
();
        
$path="/home/chrisnic/pear/share/pear";
                
set_include_path(get_include_path() . PATH_SEPARATOR $path);
                    require_once 
'functions.php';
    require_once 
'DB.php';
    
extract($_REQUESTEXTR_REFS);
//    import_request_variables('gp');
    
if (checkRealm($r)!=0$r=1;
/*//    echo "Currently Under Development. " . urldecode($user) . '<br>';
    echo "DEBUG: RAW " . $user . "<br>";
    echo "123%2Babc%3D9<br>";
    echo urldecode("123%2Babc%3D9") . "<br>";*/
    //$user = urldecode($user);
?>
<html><head><title>The Reset Button stats for user: <?=$user?> in realm <?=$r?></title>
<!-- script for Google Analytics {START}--!>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-70177-4']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<!-- script for Google Analytics {END}--!>
</head><body>
<?php
    
echo getUserStats($user,$r);
?>
</body></html>



Deleted: 1 - 5b9676169397c5.03710600 --- 1296315 seconds old
Deleted: 2 - 5b967617d0fad9.76422781 --- 1296314 seconds old
Deleted: 3 - 5b967619e47063.39418745 --- 1296312 seconds old
Deleted: 4 - 5b96761a6f60d4.22292670 --- 1296311 seconds old
Deleted: 5 - 5b96761cd2fd21.49756314 --- 1296309 seconds old
Deleted: 6 - 5b96761d0cb0c9.17553197 --- 1296308 seconds old
Deleted: 7 - 5b96761dc31728.31967574 --- 1296308 seconds old
Deleted: 8 - 5b96761fa0e457.72483416 --- 1296306 seconds old
Deleted: 9 - 5b9676202ec387.64103814 --- 1296305 seconds old
Deleted: 10 - 5b9676218af137.09204950 --- 1296304 seconds old
Deleted: 11 - 5b9676223a7491.85336896 --- 1296303 seconds old
Deleted: 12 - 5b9676236496c1.97994416 --- 1296302 seconds old
Deleted: 13 - 5b967623b46f45.29223317 --- 1296302 seconds old
Deleted: 14 - 5b96762449ba99.36623122 --- 1296301 seconds old
Deleted: 15 - 5b967624a12b94.77886508 --- 1296301 seconds old
Deleted: 16 - 5b967626df9179.10755036 --- 1296299 seconds old
Deleted: 17 - 5b967627dc8263.28825330 --- 1296298 seconds old
Deleted: 18 - 5b96762865c4d7.03401691 --- 1296297 seconds old
Deleted: 19 - 5b9676293cd3e2.13341190 --- 1296296 seconds old
Deleted: 20 - 5b9676297a8726.98078528 --- 1296296 seconds old
Deleted: 21 - 5b96762a6bd239.96593486 --- 1296295 seconds old
Deleted: 22 - 5b96762b213cf3.61523443 --- 1296294 seconds old
Deleted: 23 - 5b96762c13d2a3.85156813 --- 1296293 seconds old
Deleted: 24 - 5b96762cd7c5e2.43282971 --- 1296293 seconds old
Deleted: 25 - 5b96762e7f8329.85073157 --- 1296291 seconds old
Deleted: 26 - 5b96762ed82042.28806725 --- 1296291 seconds old
Deleted: 27 - 5b96762f748bc3.28929150 --- 1296290 seconds old
Deleted: 28 - 5b96762fbb16c5.76335600 --- 1296290 seconds old
Deleted: 29 - 5b9676311c02e6.03366873 --- 1296288 seconds old
Deleted: 30 - 5b9676320cf588.77034612 --- 1296287 seconds old
Deleted: 31 - 5b967632eef1e5.80517281 --- 1296287 seconds old
Deleted: 32 - 5b967633abbdc3.05802041 --- 1296286 seconds old
Deleted: 33 - 5b967633e35d14.64938167 --- 1296286 seconds old
Deleted: 34 - 5b967634987c10.78253932 --- 1296285 seconds old
Deleted: 35 - 5b967635a2c9d0.58001646 --- 1296284 seconds old
Deleted: 36 - 5b9676364afd00.07942334 --- 1296283 seconds old
Deleted: 37 - 5b9676370ba038.02749889 --- 1296282 seconds old
Deleted: 38 - 5b967637309ff9.59843207 --- 1296282 seconds old
Deleted: 39 - 5b9676382f3517.80949665 --- 1296281 seconds old
Deleted: 40 - 5b967638d89cf6.20956641 --- 1296281 seconds old
Deleted: 41 - 5b967639bf7d05.71335826 --- 1296280 seconds old
Deleted: 42 - 5b96763a48d2c6.26973190 --- 1296279 seconds old
Deleted: 43 - 5b96763acebb89.97056846 --- 1296279 seconds old
Deleted: 44 - 5b96763b514919.26047886 --- 1296278 seconds old
Deleted: 45 - 5b96763c5ba613.56295373 --- 1296277 seconds old
Deleted: 46 - 5b96763d7959a2.01685892 --- 1296276 seconds old
Deleted: 47 - 5b96763de196e8.37474804 --- 1296276 seconds old
Deleted: 48 - 5b96763ec47992.00473941 --- 1296275 seconds old
Deleted: 49 - 5b96763f24ee84.15159093 --- 1296274 seconds old
Deleted: 50 - 5b9676407d08a2.41816741 --- 1296273 seconds old
Deleted: 51 - 5b967641585336.93839761 --- 1296272 seconds old
Deleted: 52 - 5b9676425eede0.38562730 --- 1296271 seconds old
Deleted: 53 - 5b9676426cefd3.24118426 --- 1296271 seconds old
Deleted: 54 - 5b967644146603.44480748 --- 1296269 seconds old
Deleted: 55 - 5b9676442990e5.77040005 --- 1296269 seconds old
Deleted: 56 - 5b9676450ab675.48363702 --- 1296268 seconds old
Deleted: 57 - 5b9676454592e5.67113512 --- 1296268 seconds old
Deleted: 58 - 5b967646b19f47.61788326 --- 1296267 seconds old
Deleted: 59 - 5b967646cd0f42.92177006 --- 1296267 seconds old
Deleted: 60 - 5b967647adb595.84095436 --- 1296266 seconds old
Deleted: 61 - 5b9676494bebf0.61066852 --- 1296264 seconds old
Deleted: 62 - 5b9676499711f2.44026499 --- 1296264 seconds old
Deleted: 63 - 5b96764a330748.93078148 --- 1296263 seconds old
Deleted: 64 - 5b96764bded6a0.74502968 --- 1296262 seconds old
Deleted: 65 - 5b96764c5d4c20.83930591 --- 1296261 seconds old
Deleted: 66 - 5b96764cc45f97.05073576 --- 1296261 seconds old
Deleted: 67 - 5b96764da58ea9.85231951 --- 1296260 seconds old
Deleted: 68 - 5b96764e786a35.63939697 --- 1296259 seconds old
Deleted: 69 - 5b96764f5df2e7.61091330 --- 1296258 seconds old
Deleted: 70 - 5b9676505b3ff6.74756349 --- 1296257 seconds old
Deleted: 71 - 5b96765111d320.56211377 --- 1296256 seconds old
Deleted: 72 - 5b967651aee477.55137847 --- 1296256 seconds old
Deleted: 73 - 5b967651f18b34.42595248 --- 1296256 seconds old
Deleted: 74 - 5b96765341e010.38164904 --- 1296254 seconds old
Deleted: 75 - 5b967653a14687.57064432 --- 1296254 seconds old
Deleted: 76 - 5b9676548a5858.71845287 --- 1296252 seconds old
Deleted: 77 - 5b96765588e777.27025936 --- 1296252 seconds old
Deleted: 78 - 5b96765711e2e7.91816176 --- 1296250 seconds old
Deleted: 79 - 5b9676573e77c6.40247242 --- 1296250 seconds old
Deleted: 80 - 5b967658635e61.74914430 --- 1296249 seconds old
Deleted: 81 - 5b967659bb2a35.33120472 --- 1296248 seconds old
Deleted: 82 - 5b967659d837b1.17827418 --- 1296248 seconds old
Deleted: 83 - 5b96765accac61.69948576 --- 1296247 seconds old
Deleted: 84 - 5b96765b3cfae1.53556868 --- 1296246 seconds old
Deleted: 85 - 5b96765c562ba3.85056939 --- 1296245 seconds old
Deleted: 86 - 5b96765d6c9cc9.69894391 --- 1296244 seconds old
Deleted: 87 - 5b96765eaaebb6.97933246 --- 1296243 seconds old
Deleted: 88 - 5b96765ec0aff6.28835789 --- 1296243 seconds old
Deleted: 89 - 5b967660072154.51232502 --- 1296241 seconds old
Deleted: 90 - 5b96766075c3c1.64190496 --- 1296241 seconds old
Deleted: 91 - 5b9676615996a1.05066880 --- 1296240 seconds old
Deleted: 92 - 5b967661689003.01210511 --- 1296240 seconds old
Deleted: 93 - 5b967662724516.25117152 --- 1296239 seconds old
Deleted: 94 - 5b96766327f3d9.87486565 --- 1296238 seconds old
Deleted: 95 - 5b96766405e848.65871044 --- 1296237 seconds old
Deleted: 96 - 5b9676641bf605.52007309 --- 1296237 seconds old
Deleted: 97 - 5b9676651c0114.58958289 --- 1296236 seconds old
Deleted: 98 - 5b967666998e18.53625469 --- 1296235 seconds old
Deleted: 99 - 5b967666e3b915.53604058 --- 1296235 seconds old
Deleted: 100 - 5b967667b10348.67849721 --- 1296234 seconds old
Deleted: 101 - 5b9676685bc479.53790918 --- 1296233 seconds old
Deleted: 102 - 5b96766930fe76.57340536 --- 1296232 seconds old
Deleted: 103 - 5b967669ba80a3.98824275 --- 1296232 seconds old
Deleted: 104 - 5b96766a505657.80921042 --- 1296231 seconds old
Deleted: 105 - 5b96766bc2a7f1.51750354 --- 1296230 seconds old
Deleted: 106 - 5b96766bc5e573.53406017 --- 1296230 seconds old
Deleted: 107 - 5b96766cddd697.81081072 --- 1296229 seconds old
Deleted: 108 - 5b96766d8036e2.78762536 --- 1296228 seconds old
Deleted: 109 - 5b96766e369969.24892116 --- 1296227 seconds old
Deleted: 110 - 5b96766f48ecd4.26631581 --- 1296226 seconds old
Deleted: 111 - 5b96766f7ab6e1.10635630 --- 1296226 seconds old
Deleted: 112 - 5b967670c33332.90387364 --- 1296225 seconds old
Deleted: 113 - 5b967671264e50.88237086 --- 1296224 seconds old
Deleted: 114 - 5b967671df5ef4.64115288 --- 1296224 seconds old
Deleted: 115 - 5b9676721690e1.83996435 --- 1296223 seconds old
Deleted: 116 - 5b967673603615.48920230 --- 1296222 seconds old
Deleted: 117 - 5b967673e5ca63.04143737 --- 1296222 seconds old
Deleted: 118 - 5b967674a682d1.14942962 --- 1296221 seconds old
Deleted: 119 - 5b967675cb2622.02678795 --- 1296220 seconds old
Deleted: 120 - 5b967676a7e411.66855319 --- 1296219 seconds old
Deleted: 121 - 5b967676d5a767.33363925 --- 1296219 seconds old
Deleted: 122 - 5b9676783f0033.59215369 --- 1296217 seconds old
Deleted: 123 - 5b96767862f258.97171765 --- 1296217 seconds old
Deleted: 124 - 5b967679308c51.83452800 --- 1296216 seconds old
Deleted: 125 - 5b96767adc6259.52905597 --- 1296215 seconds old
Deleted: 126 - 5b96767af04169.64184276 --- 1296215 seconds old
Deleted: 127 - 5b96767c183522.68886337 --- 1296213 seconds old
Deleted: 128 - 5b96767d005872.57261576 --- 1296213 seconds old
Deleted: 129 - 5b96767d747651.21598465 --- 1296212 seconds old
Deleted: 130 - 5b96767e8c6303.81404401 --- 1296211 seconds old
Deleted: 131 - 5b96767f9cdcd6.66022440 --- 1296210 seconds old
Deleted: 132 - 5b96767fa9f600.12040287 --- 1296210 seconds old
Deleted: 133 - 5b967681104192.16395901 --- 1296208 seconds old
Deleted: 134 - 5b967681165a51.00248804 --- 1296208 seconds old
Deleted: 135 - 5b9676824be5e0.46261458 --- 1296207 seconds old
Deleted: 136 - 5b9676839d1ba6.93586619 --- 1296206 seconds old
Deleted: 137 - 5b967683a9a3f6.11942879 --- 1296206 seconds old
Deleted: 138 - 5b96768488ed75.24976688 --- 1296205 seconds old
Deleted: 139 - 5b9676862ee146.23599281 --- 1296203 seconds old
Deleted: 140 - 5b967686373e20.95819997 --- 1296203 seconds old
Deleted: 141 - 5b96768729e814.10257880 --- 1296202 seconds old
Deleted: 142 - 5b9676878d8f34.11586987 --- 1296202 seconds old
Deleted: 143 - 5b967688bfa1f1.27783415 --- 1296201 seconds old
Deleted: 144 - 5b967688c58a91.44735869 --- 1296201 seconds old
Deleted: 145 - 5b967689b92ce7.22644129 --- 1296200 seconds old
Deleted: 146 - 5b96768b3fb171.79613766 --- 1296198 seconds old
Deleted: 147 - 5b96768b6d4326.71525709 --- 1296198 seconds old
Deleted: 148 - 5b96768c40a664.29001450 --- 1296197 seconds old
Deleted: 149 - 5b96768c626d97.45878638 --- 1296197 seconds old
Deleted: 150 - 5b96768ddbedc2.10457060 --- 1296196 seconds old
Deleted: 151 - 5b96768defd244.47043306 --- 1296196 seconds old
Deleted: 152 - 5b96768fbc4125.05560412 --- 1296194 seconds old
Deleted: 153 - 5b9676907ad602.98622333 --- 1296193 seconds old
Deleted: 154 - 5b967691899535.94396935 --- 1296192 seconds old
Deleted: 155 - 5b9676922bd069.88517184 --- 1296191 seconds old
Deleted: 156 - 5b9676931cebe5.46591608 --- 1296190 seconds old
Deleted: 157 - 5b967693661d16.49489398 --- 1296190 seconds old
Deleted: 158 - 5b96769437a2f8.18841271 --- 1296189 seconds old
Deleted: 159 - 5b967694eb7c09.38301055 --- 1296189 seconds old
Deleted: 160 - 5b967695ac73e9.00126757 --- 1296188 seconds old
Deleted: 161 - 5b96769618e192.66214449 --- 1296187 seconds old
Deleted: 162 - 5b9676969e9016.01241760 --- 1296187 seconds old
Deleted: 163 - 5b967698450cc5.38462488 --- 1296185 seconds old
Deleted: 164 - 5b9676987d2039.18958293 --- 1296185 seconds old
Deleted: 165 - 5b96769939af59.23298000 --- 1296184 seconds old
Deleted: 166 - 5b967699b3ef13.28713230 --- 1296184 seconds old
Deleted: 167 - 5b96769ad675a0.73422860 --- 1296183 seconds old
Deleted: 168 - 5b96769b094035.02669682 --- 1296182 seconds old
Deleted: 169 - 5b96769bc927a5.60599761 --- 1296182 seconds old
Deleted: 170 - 5b96769c895302.99109521 --- 1296181 seconds old
Deleted: 171 - 5b96769d754c83.59810852 --- 1296180 seconds old
Deleted: 172 - 5b96769e650bb6.64098651 --- 1296179 seconds old
Deleted: 173 - 5b96769f1a1ab0.70830353 --- 1296178 seconds old
Deleted: 174 - 5b96769feb40e3.99787904 --- 1296178 seconds old
Deleted: 175 - 5b9676a0b2ce40.53640443 --- 1296177 seconds old
Deleted: 176 - 5b9676a0efb966.86903865 --- 1296177 seconds old
Deleted: 177 - 5b9676a1993dc9.43749071 --- 1296176 seconds old
Deleted: 178 - 5b9676a28ed783.58014035 --- 1296175 seconds old
Deleted: 179 - 5b9676a351e4b0.12117737 --- 1296174 seconds old
Deleted: 180 - 5b9676a38ba826.31809012 --- 1296174 seconds old
Deleted: 181 - 5b9676a52a5ba4.17659606 --- 1296172 seconds old
Deleted: 182 - 5b9676a544efa9.00593670 --- 1296172 seconds old
Deleted: 183 - 5b9676a6244535.38847870 --- 1296171 seconds old
Deleted: 184 - 5b9676a72edfa9.73912552 --- 1296170 seconds old
Deleted: 185 - 5b9676a7d69c27.43978129 --- 1296170 seconds old
Deleted: 186 - 5b9676a8b4f535.27461434 --- 1296169 seconds old
Deleted: 187 - 5b9676a8dcf705.22242643 --- 1296169 seconds old
Deleted: 188 - 5b9676aa9d2eb4.98246497 --- 1296167 seconds old
Deleted: 189 - 5b9676aae5a506.37123631 --- 1296167 seconds old
Deleted: 190 - 5b9676ac507122.34733642 --- 1296165 seconds old
Deleted: 191 - 5b9676ac6a47e3.97126600 --- 1296165 seconds old
Deleted: 192 - 5b9676add62532.07021229 --- 1296164 seconds old
Deleted: 193 - 5b9676ae2c7172.92997604 --- 1296163 seconds old
Deleted: 194 - 5b9676aeec7d94.23315035 --- 1296163 seconds old
Deleted: 195 - 5b9676afec61f3.90930850 --- 1296162 seconds old
Deleted: 196 - 5b9676b0ab60b0.46627962 --- 1296161 seconds old
Deleted: 197 - 5b9676b1873070.83660912 --- 1296160 seconds old
Deleted: 198 - 5b9676b1bea287.79177144 --- 1296160 seconds old
Deleted: 199 - 5b9676b26ff627.37524566 --- 1296159 seconds old
Deleted: 200 - 5b9676b37e8c44.14300405 --- 1296158 seconds old
Deleted: 201 - 5b9676b41f6565.58339243 --- 1296157 seconds old
Deleted: 202 - 5b9676b4976880.89121303 --- 1296157 seconds old
Deleted: 203 - 5b9676b50a1c19.33923021 --- 1296156 seconds old
Deleted: 204 - 5b9676b64b95e2.23207922 --- 1296155 seconds old
Deleted: 205 - 5b9676b6af4c33.51528299 --- 1296155 seconds old
Deleted: 206 - 5b9676b74c7290.08608133 --- 1296154 seconds old
Deleted: 207 - 5b9676b8986723.68041581 --- 1296153 seconds old
Deleted: 208 - 5b9676b917ec81.25570925 --- 1296152 seconds old
Deleted: 209 - 5b9676b9e72801.62201183 --- 1296152 seconds old
Deleted: 210 - 5b9676ba49ee86.04879577 --- 1296151 seconds old
Deleted: 211 - 5b9676bb1f38d4.73976935 --- 1296150 seconds old
Deleted: 212 - 5b9676bbae92c3.70310185 --- 1296150 seconds old
Deleted: 213 - 5b9676bc8731d5.17376897 --- 1296149 seconds old
Deleted: 214 - 5b9676bce4f5b7.79933304 --- 1296149 seconds old
Deleted: 215 - 5b9676bdac05e8.71363201 --- 1296148 seconds old
Deleted: 216 - 5b9676be502383.29244270 --- 1296147 seconds old
Deleted: 217 - 5b9676bf077de3.89387508 --- 1296146 seconds old
Deleted: 218 - 5b9676bf7eef02.08274677 --- 1296146 seconds old
Deleted: 219 - 5b9676c047e419.18147082 --- 1296145 seconds old
Deleted: 220 - 5b9676c0cc0fb1.35374654 --- 1296145 seconds old
Deleted: 221 - 5b9676c17aaee3.10222733 --- 1296144 seconds old
Deleted: 222 - 5b9676c2197ea2.31301309 --- 1296143 seconds old
Deleted: 223 - 5b9676c2d98ba9.49295132 --- 1296143 seconds old
Deleted: 224 - 5b9676c4313a03.46736962 --- 1296141 seconds old
Deleted: 225 - 5b9676c442b2a0.86243270 --- 1296141 seconds old
Deleted: 226 - 5b9676c577d069.28121304 --- 1296140 seconds old
Deleted: 227 - 5b9676c5a6aef0.44056784 --- 1296140 seconds old
Deleted: 228 - 5b9676c6a04500.34069899 --- 1296139 seconds old
Deleted: 229 - 5b9676c706e4e1.50003270 --- 1296138 seconds old
Deleted: 230 - 5b9676c8108418.71713895 --- 1296137 seconds old
Deleted: 231 - 5b9676c85cc604.73475011 --- 1296137 seconds old
Deleted: 232 - 5b9676c96c1677.51891396 --- 1296136 seconds old
Deleted: 233 - 5b9676c986dd14.75685444 --- 1296136 seconds old
Deleted: 234 - 5b9676cab78293.22647012 --- 1296135 seconds old
Deleted: 235 - 5b9676cad33431.75789786 --- 1296135 seconds old
Deleted: 236 - 5b9676cbe03c69.86906487 --- 1296134 seconds old
Deleted: 237 - 5b9676cc49e7f5.50910473 --- 1296133 seconds old
Deleted: 238 - 5b9676cd3325f3.37239099 --- 1296132 seconds old
Deleted: 239 - 5b9676cd750078.48466739 --- 1296132 seconds old
Deleted: 240 - 5b9676ce902776.71260449 --- 1296131 seconds old
Deleted: 241 - 5b9676cee75f67.64415963 --- 1296131 seconds old
Deleted: 242 - 5b9676cfdff6c6.07098287 --- 1296130 seconds old
Deleted: 243 - 5b9676d00fe983.58744506 --- 1296129 seconds old
Deleted: 244 - 5b9676d1291066.32169259 --- 1296128 seconds old
Deleted: 245 - 5b9676d21a7267.84295364 --- 1296127 seconds old
Deleted: 246 - 5b9676d28ac4a4.29143190 --- 1296127 seconds old
Deleted: 247 - 5b9676d39d0a43.71715478 --- 1296126 seconds old
Deleted: 248 - 5b9676d3bba670.13685850 --- 1296126 seconds old
Deleted: 249 - 5b9676d52ac758.07020901 --- 1296124 seconds old
Deleted: 250 - 5b9676d539d490.60294641 --- 1296124 seconds old
Deleted: 251 - 5b9676d64547a6.23568611 --- 1296123 seconds old
Deleted: 252 - 5b9676d664af57.02008206 --- 1296123 seconds old
Deleted: 253 - 5b9676d7bc8426.76279705 --- 1296122 seconds old
Deleted: 254 - 5b9676d7ebbc75.04687137 --- 1296122 seconds old
Deleted: 255 - 5b9676d8d2e969.30138799 --- 1296121 seconds old
Deleted: 256 - 5b9676d8d8d7b3.25412785 --- 1296121 seconds old
Deleted: 257 - 5b9676da574927.59863014 --- 1296119 seconds old
Deleted: 258 - 5b9676db3fea75.92395407 --- 1296118 seconds old
Deleted: 259 - 5b9676db6f25b4.06356089 --- 1296118 seconds old
Deleted: 260 - 5b9676dc7fef83.53399065 --- 1296117 seconds old
Deleted: 261 - 5b9676dce9bbf7.89977875 --- 1296117 seconds old
Deleted: 262 - 5b9676de137420.43413809 --- 1296115 seconds old
Deleted: 263 - 5b9676df2c5284.87774664 --- 1296114 seconds old
Deleted: 264 - 5b9676df87e432.97853318 --- 1296114 seconds old
Deleted: 265 - 5b9676e02c1ab7.91918875 --- 1296113 seconds old
Deleted: 266 - 5b9676e08679b2.18030403 --- 1296113 seconds old
Deleted: 267 - 5b9676e1ac1656.32755752 --- 1296112 seconds old
Deleted: 268 - 5b9676e2294500.54123382 --- 1296111 seconds old
Deleted: 269 - 5b9676e2c82966.73589993 --- 1296111 seconds old
Deleted: 270 - 5b9676e32b9ab1.13540484 --- 1296110 seconds old
Deleted: 271 - 5b9676e43df851.16110287 --- 1296109 seconds old
Deleted: 272 - 5b9676e4b87310.47622471 --- 1296109 seconds old
Deleted: 273 - 5b9676e58db631.09668214 --- 1296108 seconds old
Deleted: 274 - 5b9676e59f8468.67466764 --- 1296108 seconds old
Deleted: 275 - 5b9676e6b7e0e2.52825238 --- 1296107 seconds old
Deleted: 276 - 5b9676e75685a2.14772433 --- 1296106 seconds old
Deleted: 277 - 5b9676e8145965.07629853 --- 1296105 seconds old
Deleted: 278 - 5b9676e837cb11.79466324 --- 1296105 seconds old
Deleted: 279 - 5b9676e92b0068.91740657 --- 1296104 seconds old
Deleted: 280 - 5b9676e9e75170.75824503 --- 1296104 seconds old
Deleted: 281 - 5b9676eac50f86.67067678 --- 1296103 seconds old
Deleted: 282 - 5b9676eb8421d2.43587847 --- 1296102 seconds old
Deleted: 283 - 5b9676ebbd6357.82445161 --- 1296102 seconds old
Deleted: 284 - 5b9676ec8c0331.74190997 --- 1296101 seconds old
Deleted: 285 - 5b9676ed3c5852.08501545 --- 1296100 seconds old
Deleted: 286 - 5b9676ee5afda5.94405703 --- 1296099 seconds old
Deleted: 287 - 5b9676ee68ce76.93838527 --- 1296099 seconds old
Deleted: 288 - 5b9676efcbe288.65714581 --- 1296098 seconds old
Deleted: 289 - 5b9676f02ee222.11484799 --- 1296097 seconds old
Deleted: 290 - 5b9676f0e977e7.87035699 --- 1296097 seconds old
Deleted: 291 - 5b9676f10b4c24.03385692 --- 1296096 seconds old
Deleted: 292 - 5b9676f2408f39.58292515 --- 1296095 seconds old
Deleted: 293 - 5b9676f2b5c4d9.01356212 --- 1296095 seconds old
Deleted: 294 - 5b9676f3ab33f2.45780707 --- 1296094 seconds old
Deleted: 295 - 5b9676f3ef3124.51109348 --- 1296094 seconds old
Deleted: 296 - 5b9676f4ccd171.74744540 --- 1296093 seconds old
Deleted: 297 - 5b9676f552e7f8.03340372 --- 1296092 seconds old
Deleted: 298 - 5b9676f6b92c14.41327718 --- 1296091 seconds old
Deleted: 299 - 5b9676f765f244.16267410 --- 1296090 seconds old
Deleted: 300 - 5b9676f7e46ac9.72779478 --- 1296090 seconds old
Deleted: 301 - 5b9676f85965d5.80262031 --- 1296089 seconds old
Deleted: 302 - 5b9676f9437201.48454228 --- 1296088 seconds old
Deleted: 303 - 5b9676f9f329d7.64423304 --- 1296088 seconds old
Deleted: 304 - 5b9676fa7d2968.32901627 --- 1296087 seconds old
Deleted: 305 - 5b9676fad35f88.68851059 --- 1296087 seconds old
Deleted: 306 - 5b9676fbdc4ba9.54336098 --- 1296086 seconds old
Deleted: 307 - 5b9676fc9306d8.31671957 --- 1296085 seconds old
Deleted: 308 - 5b9676fd1d2b02.65095559 --- 1296084 seconds old
Deleted: 309 - 5b9676fd88ea74.65249593 --- 1296084 seconds old
Deleted: 310 - 5b9676febb57e3.43644283 --- 1296083 seconds old
Deleted: 311 - 5b9676ff2df426.09923342 --- 1296082 seconds old
Deleted: 312 - 5b9676ffa9c494.35279966 --- 1296082 seconds old
Deleted: 313 - 5b967700413649.77081760 --- 1296081 seconds old
Deleted: 314 - 5b9677018d55b3.64821180 --- 1296080 seconds old
Deleted: 315 - 5b967701be2481.97455327 --- 1296080 seconds old
Deleted: 316 - 5b967702ca0e21.23794038 --- 1296079 seconds old
Deleted: 317 - 5b96770322e460.21880467 --- 1296078 seconds old
Deleted: 318 - 5b9677046beea9.61964313 --- 1296077 seconds old
Deleted: 319 - 5b9677047b9850.43311192 --- 1296077 seconds old
Deleted: 320 - 5b967705a1dd30.33430132 --- 1296076 seconds old
Deleted: 321 - 5b9677064822c7.52561608 --- 1296075 seconds old
Deleted: 322 - 5b9677070e3342.78384413 --- 1296074 seconds old
Deleted: 323 - 5b967708183d74.24912502 --- 1296073 seconds old
Deleted: 324 - 5b9677083bbef4.94502201 --- 1296073 seconds old
Deleted: 325 - 5b967709b10a49.80009865 --- 1296072 seconds old
Deleted: 326 - 5b967709b7f7d9.62431740 --- 1296072 seconds old
Deleted: 327 - 5b96770a9a3296.53655827 --- 1296071 seconds old
Deleted: 328 - 5b96770acd7996.58134578 --- 1296071 seconds old
Deleted: 329 - 5b96770c60eb22.14584920 --- 1296069 seconds old
Deleted: 330 - 5b96770c6c24d2.51249955 --- 1296069 seconds old
Deleted: 331 - 5b96770d664ac7.53033014 --- 1296068 seconds old
Deleted: 332 - 5b96770e3594f1.46288745 --- 1296067 seconds old
Deleted: 333 - 5b96770f173c76.82862533 --- 1296066 seconds old
Deleted: 334 - 5b967710076723.36015367 --- 1296065 seconds old
Deleted: 335 - 5b967710aef854.53483123 --- 1296065 seconds old
Deleted: 336 - 5b967711547622.65862689 --- 1296064 seconds old
Deleted: 337 - 5b967711a8f933.53498619 --- 1296064 seconds old
Deleted: 338 - 5b9677128c55f8.80397119 --- 1296063 seconds old
Deleted: 339 - 5b967713488024.21047449 --- 1296062 seconds old
Deleted: 340 - 5b9677141c6b95.58989684 --- 1296061 seconds old
Deleted: 341 - 5b967714677538.08784404 --- 1296061 seconds old
Deleted: 342 - 5b9677152b66b2.09343431 --- 1296060 seconds old
Deleted: 343 - 5b967715e87817.74825633 --- 1296060 seconds old
Deleted: 344 - 5b967716bf6457.68445979 --- 1296059 seconds old
Deleted: 345 - 5b967716e205e8.52592500 --- 1296059 seconds old
Deleted: 346 - 5b967717b83395.81737117 --- 1296058 seconds old
Deleted: 347 - 5b9677186f4658.01632103 --- 1296057 seconds old
Deleted: 348 - 5b967719796987.64380386 --- 1296056 seconds old
Deleted: 349 - 5b9677199adef0.33538646 --- 1296056 seconds old
Deleted: 350 - 5b96771b1ebcb6.20221655 --- 1296054 seconds old
Deleted: 351 - 5b96771b5c8ac9.83752707 --- 1296054 seconds old
Deleted: 352 - 5b96771c0dfb18.64167907 --- 1296053 seconds old
Deleted: 353 - 5b96771c5417c3.39451396 --- 1296053 seconds old
Deleted: 354 - 5b96771da40117.70333254 --- 1296052 seconds old
Deleted: 355 - 5b96771de0ece0.08043825 --- 1296052 seconds old
Deleted: 356 - 5b96771ecc7ae0.48652718 --- 1296051 seconds old
Deleted: 357 - 5b96771eeaaa45.30260764 --- 1296051 seconds old
Deleted: 358 - 5b967720407ec2.21251606 --- 1296049 seconds old
Deleted: 359 - 5b967720864b68.88125815 --- 1296049 seconds old
Deleted: 360 - 5b967721779f57.25489009 --- 1296048 seconds old
Deleted: 361 - 5b96772183a6f4.02832479 --- 1296048 seconds old
Deleted: 362 - 5b967722cd32d1.40553880 --- 1296047 seconds old
Deleted: 363 - 5b967723286ff8.24906399 --- 1296046 seconds old
Deleted: 364 - 5b9677240cb4d6.78877112 --- 1296045 seconds old
Deleted: 365 - 5b967724121b01.71289464 --- 1296045 seconds old
Deleted: 366 - 5b96772569b783.34257901 --- 1296044 seconds old
Deleted: 367 - 5b967725b5a187.28352732 --- 1296044 seconds old
Deleted: 368 - 5b967726d0f7e4.83684456 --- 1296043 seconds old
Deleted: 369 - 5b967727afd5e1.38173051 --- 1296042 seconds old
Deleted: 370 - 5b96772802d364.25317223 --- 1296041 seconds old
Deleted: 371 - 5b96772951a132.27177974 --- 1296040 seconds old
Deleted: 372 - 5b967729875ac1.85127209 --- 1296040 seconds old
Deleted: 373 - 5b96772a53db04.47122718 --- 1296039 seconds old
Deleted: 374 - 5b96772a928bb9.75400387 --- 1296039 seconds old
Deleted: 375 - 5b96772bca7461.53885800 --- 1296038 seconds old
Deleted: 376 - 5b96772c42dc07.15492027 --- 1296037 seconds old
Deleted: 377 - 5b96772cd9e601.90960949 --- 1296037 seconds old
Deleted: 378 - 5b96772d2ce966.46442918 --- 1296036 seconds old
Deleted: 379 - 5b96772e80b845.53831253 --- 1296035 seconds old
Deleted: 380 - 5b96772eb65901.35576931 --- 1296035 seconds old
Deleted: 381 - 5b96772f9009d2.07286658 --- 1296034 seconds old
Deleted: 382 - 5b96772fba4c77.96456643 --- 1296034 seconds old
Deleted: 383 - 5b9677310cfaa2.45829286 --- 1296032 seconds old
Deleted: 384 - 5b967731791810.67521830 --- 1296032 seconds old
Deleted: 385 - 5b96773253b897.41179601 --- 1296031 seconds old
Deleted: 386 - 5b967732b70257.73766668 --- 1296031 seconds old
Deleted: 387 - 5b967733a174b2.70785734 --- 1296030 seconds old
Deleted: 388 - 5b96773411d148.25504988 --- 1296029 seconds old
Deleted: 389 - 5b967734c13296.80065519 --- 1296029 seconds old
Deleted: 390 - 5b96773562b7a0.40376029 --- 1296028 seconds old
Deleted: 391 - 5b967736402961.58340887 --- 1296027 seconds old
Deleted: 392 - 5b967736bd0107.22414756 --- 1296027 seconds old
Deleted: 393 - 5b9677376081a0.88469975 --- 1296026 seconds old
Deleted: 394 - 5b967738a80f97.29781918 --- 1296025 seconds old
Deleted: 395 - 5b9677394b7747.12516968 --- 1296024 seconds old
Deleted: 396 - 5b967739965897.82047377 --- 1296024 seconds old
Deleted: 397 - 5b96773b116d70.59973751 --- 1296022 seconds old
Deleted: 398 - 5b96773b450825.53620671 --- 1296022 seconds old
Deleted: 399 - 5b96773c0070f6.35497338 --- 1296022 seconds old
Deleted: 400 - 5b96773c659349.33305790 --- 1296021 seconds old
Deleted: 401 - 5b96773d7eccc6.04457884 --- 1296020 seconds old
Deleted: 402 - 5b96773dd2b496.90754577 --- 1296020 seconds old
Deleted: 403 - 5b96773e8a10e1.12678958 --- 1296019 seconds old
Deleted: 404 - 5b96773eef5731.93345695 --- 1296019 seconds old
Deleted: 405 - 5b967740234ba0.62519865 --- 1296017 seconds old
Deleted: 406 - 5b96774069e8e2.57893929 --- 1296017 seconds old
Deleted: 407 - 5b96774147e571.76244510 --- 1296016 seconds old
Deleted: 408 - 5b967741a5bcf8.85973756 --- 1296016 seconds old
Deleted: 409 - 5b967742ba4422.92657844 --- 1296015 seconds old
Deleted: 410 - 5b9677430218e6.07771761 --- 1296014 seconds old
Deleted: 411 - 5b967743ebcb22.19504160 --- 1296014 seconds old
Deleted: 412 - 5b9677449f8dc8.55108694 --- 1296013 seconds old
Deleted: 413 - 5b96774557cc26.77407899 --- 1296012 seconds old
Deleted: 414 - 5b967745950106.24152519 --- 1296012 seconds old
Deleted: 415 - 5b967746988b83.83901788 --- 1296011 seconds old
Deleted: 416 - 5b9677476049b7.19755186 --- 1296010 seconds old
Deleted: 417 - 5b967747e63de7.70382351 --- 1296010 seconds old
Deleted: 418 - 5b967749341796.92213896 --- 1296008 seconds old
Deleted: 419 - 5b9677494f6ff8.09712195 --- 1296008 seconds old
Deleted: 420 - 5b96774a28a644.32758263 --- 1296007 seconds old
Deleted: 421 - 5b96774a804ec7.29936306 --- 1296007 seconds old
Deleted: 422 - 5b96774bd16f39.34040380 --- 1296006 seconds old
Deleted: 423 - 5b96774c1f0a14.93796995 --- 1296005 seconds old
Deleted: 424 - 5b96774ccabe81.42824623 --- 1296005 seconds old
Deleted: 425 - 5b96774d196f04.38328585 --- 1296004 seconds old
Deleted: 426 - 5b96774e4c6e65.11083227 --- 1296003 seconds old
Deleted: 427 - 5b96774eac3ef4.92968483 --- 1296003 seconds old
Deleted: 428 - 5b96774f6a7205.01807424 --- 1296002 seconds old
Deleted: 429 - 5b96774fa8e0d3.01471317 --- 1296002 seconds old
Deleted: 430 - 5b967750e4e058.08114349 --- 1296001 seconds old