Subversion Repositories taios

Compare Revisions

Ignore whitespace Rev 368 → Rev 468

/challenge/index.php
0,0 → 1,16
<?php
 
require '../_taios.php';
 
$page = new Taios_Page('Tim32 Challenge', '../');
$page->drawHeader();
$page->drawMiddle();
 
write('<p class="bold">Take the Tim32 challenge here!</p>');
write('<p class="italic">There are checkpoints along the way so you can simply paste the URL you got to if you want to continue from that nearest checkpoint.</p>');
write('<br /><br /><a href="cakefolder/"><h2 style="text-align: center">Enter!</h2></a>');
 
$page->drawFooter();
 
?>
 
/challenge/cakefolder/444.php
0,0 → 1,24
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>moocow.php</title>
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
<body>
<!-- -I/old/include -->
<div id="page">
<div id="header">
<h1> 444 - File Found!</h1>
</div>
<div id="body">
<p>The file you requested does exist and is currently avaliable.</p>
<p>If you were given this link by a friend, you should tell them it does exist.</p>
<p>Here are some unuseful lin<span title="Title!">Q</span>s:</p>
<ul>
<li><a href="http://www.youfail.org/">YouFail.org</a></li>
<li><a href="index.php">Back to the Homepage</a></li>
</ul>
</div>
</div>
</body>
</html>
/challenge/cakefolder/images/bengalTigersRule.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/challenge/cakefolder/images/bengalTigersRule.png
Property changes:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: challenge/cakefolder/images/blossom.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: challenge/cakefolder/images/blossom.png
===================================================================
--- challenge/cakefolder/images/blossom.png (nonexistent)
+++ challenge/cakefolder/images/blossom.png (revision 468)
/challenge/cakefolder/images/blossom.png
Property changes:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: challenge/cakefolder/images/meega.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: challenge/cakefolder/images/meega.png
===================================================================
--- challenge/cakefolder/images/meega.png (nonexistent)
+++ challenge/cakefolder/images/meega.png (revision 468)
/challenge/cakefolder/images/meega.png
Property changes:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: challenge/cakefolder/images/clownattack.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: challenge/cakefolder/images/clownattack.png
===================================================================
--- challenge/cakefolder/images/clownattack.png (nonexistent)
+++ challenge/cakefolder/images/clownattack.png (revision 468)
/challenge/cakefolder/images/clownattack.png
Property changes:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: challenge/cakefolder/images/hellow.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: challenge/cakefolder/images/hellow.png
===================================================================
--- challenge/cakefolder/images/hellow.png (nonexistent)
+++ challenge/cakefolder/images/hellow.png (revision 468)
/challenge/cakefolder/images/hellow.png
Property changes:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: challenge/cakefolder/images/greatscot.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: challenge/cakefolder/images/greatscot.png
===================================================================
--- challenge/cakefolder/images/greatscot.png (nonexistent)
+++ challenge/cakefolder/images/greatscot.png (revision 468)
/challenge/cakefolder/images/greatscot.png
Property changes:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: challenge/cakefolder/haha.php
===================================================================
--- challenge/cakefolder/haha.php (nonexistent)
+++ challenge/cakefolder/haha.php (revision 468)
@@ -0,0 +1,23 @@
+
+
+
+Welcome to Tim32
+
+
+
+
+
+

444 - File Not Found

+
+
+

The file you requested does not exist or is currently unavaliable.

+

If you were given this link by a friend, you should tell them it doesn't exist.

+

Here are some useful links:

+
    +
  • YouFail.org
  • +
  • Back to the Homepage
  • +
    +
    +
    +
    +
    \ No newline at end of file
    Index: challenge/cakefolder/cowmoo.php
    ===================================================================
    --- challenge/cakefolder/cowmoo.php (nonexistent)
    +++ challenge/cakefolder/cowmoo.php (revision 468)
    @@ -0,0 +1,53 @@
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +if ($_POST['pass'] != 3125)
    +{
    +?>
    +
    +
    + die();
    +}
    +
    +?>
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    \ No newline at end of file
    Index: challenge/cakefolder/moocow.php
    ===================================================================
    --- challenge/cakefolder/moocow.php (nonexistent)
    +++ challenge/cakefolder/moocow.php (revision 468)
    @@ -0,0 +1,15 @@
    +
    +
    +
    +Fortran
    +
    +
    +
    +
    +
    +
    +5 ** 5:
    +
    +
    +
    +
    \ No newline at end of file
    Index: challenge/cakefolder/birdcoco.php
    ===================================================================
    --- challenge/cakefolder/birdcoco.php (nonexistent)
    +++ challenge/cakefolder/birdcoco.php (revision 468)
    @@ -0,0 +1,30 @@
    +
    +
    +
    +Chocolate
    +
    +
    +
    +
    +
    +
    +
    +if ($_POST['pass'] != 'Hello!')
    +{
    +?>
    +
    +
    + die();
    +}
    +
    +?>
    +
    +
    +Body.Color
    +
    +
    +
    +
    +
    \ No newline at end of file
    Index: challenge/cakefolder/cocobird.php
    ===================================================================
    --- challenge/cakefolder/cocobird.php (nonexistent)
    +++ challenge/cakefolder/cocobird.php (revision 468)
    @@ -0,0 +1,30 @@
    +
    +
    +
    +Greetings, OLD Friend
    +
    +
    +
    +
    +
    +
    +
    +if (intval($_POST['clicks']) < 50)
    +{
    +?>
    +
    +
    + die();
    +}
    +
    +?>
    +
    +
    +* Remember something?
    +
    +
    +
    +
    +
    \ No newline at end of file
    Index: challenge/cakefolder/sounds/annoyingNoise3.wav
    ===================================================================
    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    Index: challenge/cakefolder/sounds/annoyingNoise3.wav
    ===================================================================
    --- challenge/cakefolder/sounds/annoyingNoise3.wav (nonexistent)
    +++ challenge/cakefolder/sounds/annoyingNoise3.wav (revision 468)
    /challenge/cakefolder/sounds/annoyingNoise3.wav
    Property changes:
    Added: svn:executable
    ## -0,0 +1 ##
    +*
    \ No newline at end of property
    Added: svn:mime-type
    ## -0,0 +1 ##
    +application/octet-stream
    \ No newline at end of property
    Index: challenge/cakefolder/sounds/annoyingNoise4.ogg
    ===================================================================
    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    Index: challenge/cakefolder/sounds/annoyingNoise4.ogg
    ===================================================================
    --- challenge/cakefolder/sounds/annoyingNoise4.ogg (nonexistent)
    +++ challenge/cakefolder/sounds/annoyingNoise4.ogg (revision 468)
    /challenge/cakefolder/sounds/annoyingNoise4.ogg
    Property changes:
    Added: svn:mime-type
    ## -0,0 +1 ##
    +application/octet-stream
    \ No newline at end of property
    Index: challenge/cakefolder/sounds/real.wav
    ===================================================================
    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    Index: challenge/cakefolder/sounds/real.wav
    ===================================================================
    --- challenge/cakefolder/sounds/real.wav (nonexistent)
    +++ challenge/cakefolder/sounds/real.wav (revision 468)
    /challenge/cakefolder/sounds/real.wav
    Property changes:
    Added: svn:executable
    ## -0,0 +1 ##
    +*
    \ No newline at end of property
    Added: svn:mime-type
    ## -0,0 +1 ##
    +application/octet-stream
    \ No newline at end of property
    Index: challenge/cakefolder/sounds/annoyingNoise4.wav
    ===================================================================
    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    Index: challenge/cakefolder/sounds/annoyingNoise4.wav
    ===================================================================
    --- challenge/cakefolder/sounds/annoyingNoise4.wav (nonexistent)
    +++ challenge/cakefolder/sounds/annoyingNoise4.wav (revision 468)
    /challenge/cakefolder/sounds/annoyingNoise4.wav
    Property changes:
    Added: svn:executable
    ## -0,0 +1 ##
    +*
    \ No newline at end of property
    Added: svn:mime-type
    ## -0,0 +1 ##
    +application/octet-stream
    \ No newline at end of property
    Index: challenge/cakefolder/sounds/annoyingNoise5.ogg
    ===================================================================
    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    Index: challenge/cakefolder/sounds/annoyingNoise5.ogg
    ===================================================================
    --- challenge/cakefolder/sounds/annoyingNoise5.ogg (nonexistent)
    +++ challenge/cakefolder/sounds/annoyingNoise5.ogg (revision 468)
    /challenge/cakefolder/sounds/annoyingNoise5.ogg
    Property changes:
    Added: svn:mime-type
    ## -0,0 +1 ##
    +application/octet-stream
    \ No newline at end of property
    Index: challenge/cakefolder/sounds/annoyingNoise5.wav
    ===================================================================
    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    Index: challenge/cakefolder/sounds/annoyingNoise5.wav
    ===================================================================
    --- challenge/cakefolder/sounds/annoyingNoise5.wav (nonexistent)
    +++ challenge/cakefolder/sounds/annoyingNoise5.wav (revision 468)
    /challenge/cakefolder/sounds/annoyingNoise5.wav
    Property changes:
    Added: svn:mime-type
    ## -0,0 +1 ##
    +application/octet-stream
    \ No newline at end of property
    Index: challenge/cakefolder/sounds/annoyingNoise1.ogg
    ===================================================================
    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    Index: challenge/cakefolder/sounds/annoyingNoise1.ogg
    ===================================================================
    --- challenge/cakefolder/sounds/annoyingNoise1.ogg (nonexistent)
    +++ challenge/cakefolder/sounds/annoyingNoise1.ogg (revision 468)
    /challenge/cakefolder/sounds/annoyingNoise1.ogg
    Property changes:
    Added: svn:mime-type
    ## -0,0 +1 ##
    +application/octet-stream
    \ No newline at end of property
    Index: challenge/cakefolder/sounds/annoyingNoise1.wav
    ===================================================================
    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    Index: challenge/cakefolder/sounds/annoyingNoise1.wav
    ===================================================================
    --- challenge/cakefolder/sounds/annoyingNoise1.wav (nonexistent)
    +++ challenge/cakefolder/sounds/annoyingNoise1.wav (revision 468)
    /challenge/cakefolder/sounds/annoyingNoise1.wav
    Property changes:
    Added: svn:executable
    ## -0,0 +1 ##
    +*
    \ No newline at end of property
    Added: svn:mime-type
    ## -0,0 +1 ##
    +application/octet-stream
    \ No newline at end of property
    Index: challenge/cakefolder/sounds/annoyingNoise2.ogg
    ===================================================================
    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    Index: challenge/cakefolder/sounds/annoyingNoise2.ogg
    ===================================================================
    --- challenge/cakefolder/sounds/annoyingNoise2.ogg (nonexistent)
    +++ challenge/cakefolder/sounds/annoyingNoise2.ogg (revision 468)
    /challenge/cakefolder/sounds/annoyingNoise2.ogg
    Property changes:
    Added: svn:mime-type
    ## -0,0 +1 ##
    +application/octet-stream
    \ No newline at end of property
    Index: challenge/cakefolder/sounds/annoyingNoise2.wav
    ===================================================================
    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    Index: challenge/cakefolder/sounds/annoyingNoise2.wav
    ===================================================================
    --- challenge/cakefolder/sounds/annoyingNoise2.wav (nonexistent)
    +++ challenge/cakefolder/sounds/annoyingNoise2.wav (revision 468)
    /challenge/cakefolder/sounds/annoyingNoise2.wav
    Property changes:
    Added: svn:executable
    ## -0,0 +1 ##
    +*
    \ No newline at end of property
    Added: svn:mime-type
    ## -0,0 +1 ##
    +application/octet-stream
    \ No newline at end of property
    Index: challenge/cakefolder/sounds/annoyingNoise3.ogg
    ===================================================================
    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    Index: challenge/cakefolder/sounds/annoyingNoise3.ogg
    ===================================================================
    --- challenge/cakefolder/sounds/annoyingNoise3.ogg (nonexistent)
    +++ challenge/cakefolder/sounds/annoyingNoise3.ogg (revision 468)
    /challenge/cakefolder/sounds/annoyingNoise3.ogg
    Property changes:
    Added: svn:mime-type
    ## -0,0 +1 ##
    +application/octet-stream
    \ No newline at end of property
    Index: challenge/cakefolder/sounds/real.ogg
    ===================================================================
    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    Index: challenge/cakefolder/sounds/real.ogg
    ===================================================================
    --- challenge/cakefolder/sounds/real.ogg (nonexistent)
    +++ challenge/cakefolder/sounds/real.ogg (revision 468)
    /challenge/cakefolder/sounds/real.ogg
    Property changes:
    Added: svn:mime-type
    ## -0,0 +1 ##
    +application/octet-stream
    \ No newline at end of property
    Index: challenge/cakefolder/index.php
    ===================================================================
    --- challenge/cakefolder/index.php (nonexistent)
    +++ challenge/cakefolder/index.php (revision 468)
    @@ -0,0 +1,26 @@
    +
    +
    +
    +fail.org
    +
    +
    +
    +?>
    +
    +
    +
    +$yes = false;
    +if ($_POST['thingy'] == 7)
    +{
    + $yes = true;
    + echo 'HahA?';
    +}
    +
    +?>
    +

    SOLVE x += x++; WHERE x = 3

    +
    +
    +
    +
    +
    +
    Index: challenge/cakefolder/sellotape.php
    ===================================================================
    --- challenge/cakefolder/sellotape.php (nonexistent)
    +++ challenge/cakefolder/sellotape.php (revision 468)
    @@ -0,0 +1,54 @@
    +
    +
    +
    +Foodz
    +
    +
    +
    +
    +
    +
    +
    +if ($_POST['pass'] != 'aqua')
    +{
    +?>
    +
    +
    + die();
    +}
    +
    +?>
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +Well, the answer iz???
    +
    +
    +
    +
    +
    \ No newline at end of file
    Index: challenge/cakefolder/tapesello.php
    ===================================================================
    --- challenge/cakefolder/tapesello.php (nonexistent)
    +++ challenge/cakefolder/tapesello.php (revision 468)
    @@ -0,0 +1,30 @@
    +
    +
    +
    +sdrawcab
    +
    +
    +
    +
    +
    +
    +
    +if ($_POST['pass'] != 'cheezburger')
    +{
    +?>
    +
    +
    + die();
    +}
    +
    +?>
    +
    +
    +Umm, I do love:
    +
    +
    +
    +
    +
    \ No newline at end of file
    Index: challenge/hexxedfolder/444.php
    ===================================================================
    --- challenge/hexxedfolder/444.php (nonexistent)
    +++ challenge/hexxedfolder/444.php (revision 468)
    @@ -0,0 +1,24 @@
    +
    +
    +
    +444444
    +
    +
    +
    +
    +
    +
    +

    444 - WRONG DIR!

    +
    +
    +

    The file you requested does exist and is currently avaliable, but you're in the wrong directories.

    +

    If you were given this link by a friend, you should tell them to #include <brain>.

    +

    Here are some unuseful links:

    +
      +
    • YouFail.org
    • +
    • Back to the Homepage
    • +
      +
      +
      +
      +
      Index: challenge/hexxedfolder/check.php
      ===================================================================
      --- challenge/hexxedfolder/check.php (nonexistent)
      +++ challenge/hexxedfolder/check.php (revision 468)
      @@ -0,0 +1,40 @@
      +
      +
      +
      +?????????
      +
      +
      +
      +
      +if (!isset($_POST['sub']))
      +{
      +?>
      +
      +
      + die();
      +}
      +
      +?>
      +
      +
      +
      +
      +moocow
      +
      +
      +
      +birdcoco
      +
      +
      +
      +sellotape
      +
      +
      +
      +
      +
      +
      +
      +
      \ No newline at end of file
      Index: challenge/hexxedfolder/images/icecream.png
      ===================================================================
      Cannot display: file marked as a binary type.
      svn:mime-type = application/octet-stream
      Index: challenge/hexxedfolder/images/icecream.png
      ===================================================================
      --- challenge/hexxedfolder/images/icecream.png (nonexistent)
      +++ challenge/hexxedfolder/images/icecream.png (revision 468)
      /challenge/hexxedfolder/images/icecream.png
      Property changes:
      Added: svn:mime-type
      ## -0,0 +1 ##
      +application/octet-stream
      \ No newline at end of property
      Index: challenge/hexxedfolder/onewinged.php
      ===================================================================
      --- challenge/hexxedfolder/onewinged.php (nonexistent)
      +++ challenge/hexxedfolder/onewinged.php (revision 468)
      @@ -0,0 +1,32 @@
      +
      +
      +
      +We love it!
      +
      +
      +
      +
      +
      +if ($_POST['pass'] != 'chicken')
      +{
      +?>
      +
      +
      + die();
      +}
      +
      +?>
      +
      +
      +Universal Resource Lookup
      +
      +
      +
      \ No newline at end of file
      Index: challenge/hexxedfolder/haha.php
      ===================================================================
      --- challenge/hexxedfolder/haha.php (nonexistent)
      +++ challenge/hexxedfolder/haha.php (revision 468)
      @@ -0,0 +1,30 @@
      +
      +
      +
      +c/c++/c#/php/j#/java/js
      +
      +
      +
      +
      +if ($_POST['pass'] != 'cheese cake')
      +{
      +?>
      +
      +
      + die();
      +}
      +
      +?>
      +
      +val=silence
      +
      +
      +
      +++2;
      +
      +
      +
      +
      +
      \ No newline at end of file
      Index: challenge/hexxedfolder/moose.php
      ===================================================================
      --- challenge/hexxedfolder/moose.php (nonexistent)
      +++ challenge/hexxedfolder/moose.php (revision 468)
      @@ -0,0 +1,39 @@
      +
      +
      +
      +Click, Dammit!
      +
      +
      +
      +
      +
      +if ($_POST['pass'] != '-- --- --- ... .')
      +{
      +?>
      +
      +
      + die();
      +}
      +
      +?>
      +
      +
      +
      +
      +
      +
      +
      \ No newline at end of file
      Index: challenge/hexxedfolder/submit.php
      ===================================================================
      --- challenge/hexxedfolder/submit.php (nonexistent)
      +++ challenge/hexxedfolder/submit.php (revision 468)
      @@ -0,0 +1,29 @@
      +
      +
      +
      +NOT LolCats
      +
      +
      +
      +
      +if ($_POST['pass1'] != 'Fortran' || $_POST['pass2'] != 'Chocolate' || $_POST['pass3'] != 'Foodz')
      +{
      +?>
      +
      +
      + die();
      +}
      +
      +?>
      +
      +

      A page that does exist

      +
      +
      +What do we love?
      +
      +
      +
      +
      +
      Index: challenge/hexxedfolder/love.php
      ===================================================================
      --- challenge/hexxedfolder/love.php (nonexistent)
      +++ challenge/hexxedfolder/love.php (revision 468)
      @@ -0,0 +1,72 @@
      +
      +
      +
      +Clicky file
      +
      +
      +
      +
      +
      +if ($_POST['love'] != 'palki' && !isset($_POST['word']))
      +{
      +?>
      +
      +
      + die();
      +}
      +
      +if ($_POST['word'] == 'library')
      +{
      +?>
      +
      +
      + die();
      +}
      +
      +?>
      +
      +A DeLetion of Living people is SO hAPpy It is fun.
      +
      +
      +
      +' . "\n";' . "\n";' . "\n";' . "\n";
      +
      +$alphabet = array('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z');
      +$maxRows = 10;
      +$maxCols = 6;
      +for ($i = 0; $i <= $maxRows; $i++)
      +{
      + print '
      + for ($j = 0; $j <= $maxCols; $j++)
      + {
      + $letter = $alphabet[rand(0, 25)];
      + print '
      + }
      + if ($i == 0)
      + {
      + print '
      + }
      + print '
      +}
      +?>
      +
      +
      +
      +
      +
      Index: challenge/hexxedfolder/cd.php
      ===================================================================
      --- challenge/hexxedfolder/cd.php (nonexistent)
      +++ challenge/hexxedfolder/cd.php (revision 468)
      @@ -0,0 +1,32 @@
      +
      +
      +
      +clement-musique.c.la
      +
      +
      +
      +
      +if ($_GET['val'] != 'silence')
      +{
      + die('

      be more observant - and learn php

      ');
      +}
      +
      +if ($_POST['pass'] != '3' && !isset($_GET['val']))
      +{
      +?>
      +
      +
      + die();
      +}
      +
      +?>
      +
      +
      +The Almight One Winged:
      +
      +
      +
      +
      +
      \ No newline at end of file
      Index: challenge/hexxedfolder/grey.php
      ===================================================================
      --- challenge/hexxedfolder/grey.php (nonexistent)
      +++ challenge/hexxedfolder/grey.php (revision 468)
      @@ -0,0 +1,36 @@
      +
      +
      +
      +Moose
      +
      +
      +
      +
      +if ($_POST['pass'] != 'torus')
      +{
      +?>
      +
      +
      + die();
      +}
      +
      +?>
      +
      +
      +
      +
      +Morse
      +-- --- .-. ... .
      +
      +
      +Moose
      +
      +
      +
      +
      +
      +
      +
      +
      \ No newline at end of file
      Index: challenge/hexxedfolder/icecream.php
      ===================================================================
      --- challenge/hexxedfolder/icecream.php (nonexistent)
      +++ challenge/hexxedfolder/icecream.php (revision 468)
      @@ -0,0 +1,18 @@
      +
      +
      +
      +Grey
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      \ No newline at end of file
      Index: challenge/extendfolder/extend.php
      ===================================================================
      --- challenge/extendfolder/extend.php (nonexistent)
      +++ challenge/extendfolder/extend.php (revision 468)
      @@ -0,0 +1,3 @@
      +
      +
      +
      Index: challenge/include/cute.jpg
      ===================================================================
      Cannot display: file marked as a binary type.
      svn:mime-type = application/octet-stream
      Index: challenge/include/cute.jpg
      ===================================================================
      --- challenge/include/cute.jpg (nonexistent)
      +++ challenge/include/cute.jpg (revision 468)
      ');');');');');');');');');');');');');');');');');');');');');');
      /challenge/include/cute.jpg
      Property changes:
      Added: svn:mime-type
      ## -0,0 +1 ##
      +application/octet-stream
      \ No newline at end of property
      Index: admin/all-blog-posts.php
      ===================================================================
      --- admin/all-blog-posts.php (revision 368)
      +++ admin/all-blog-posts.php (revision 468)
      @@ -27,24 +27,28 @@
      $ids = $page->findIDs('BlogPosts', 'ORDER BY DatePosted DESC');
      for ($i = 0; $i < count($ids); $i++)
      {
      - $post = $page->getBlogPost($ids[$i]);
      - write('
      - write('' . $post->ID . '
      - if ($post->parent == -1)
      + $id_str = $ids[$i];
      + if (!empty($id_str))
      {
      - write('No Parent
      + $post = $page->getBlogPost($id_str);
      + write('
      + write('' . $post->ID . '
      + if ($post->parent == -1)
      + {
      + write('No Parent
      + }
      + else
      + {
      + write('' . $post->parent->title . '
      + }
      + write('' . $post->author->name . '
      + write('' . $post->title . '
      + write('' . str_replace("\n", '
      ', $post->content) . '
      + write('' . date('j/m/Y H:i', $post->datePosted) . '
      + write('' . $post->category . '
      + write('' . $post->spam . '
      + write('
      }
      - else
      - {
      - write('' . $post->parent->title . '
      - }
      - write('' . $post->author->name . '
      - write('' . $post->title . '
      - write('' . str_replace("\n", '
      ', $post->content) . '
      - write('' . date('j/m/Y H:i', $post->datePosted) . '
      - write('' . $post->category . '
      - write('' . $post->spam . '
      - write('
      }
      write('
      ');
      /_taios.php
      34,7 → 34,8
      write('<head>');
      write('<meta http-equiv="Content-Type" content="text/html;charset=utf-8">');
      write('<title>Tim32 &middot; ' . $this->title . '</title>');
      write('<link href="' . $this->url . 'styles.css" rel="stylesheet" type="text/css" media="screen">');
      write('<link href="' . $this->url . 'styles.css" rel="stylesheet" type="text/css" media="screen" />');
      write('<link rel="shortcut icon" href="' . $this->url . 'data/favicon.png" />');
      write('</head>');
      write('<body>');
      write('<div class="sidebar">');
      88,6 → 89,7
      {
      if (!$this->drawnFooter)
      {
      write('<br /><p class="copyright">Tim32</p>');
      write('</div>');
      write('</body>');
      write('</html>');
      169,9 → 171,22
      function replaceBBCode($str)
      {
      $newstr = str_replace("<", "[", $str);
      /*$newstrarray = explode("\n", $str);
      $newstr = "";
      foreach ($newstrarray as $line)
      {
      if ($line == "\n" || $line == " \n" || $line == "\n " || $line == "\n\r")
      {
      $line = "</p><p>";
      }
      $newstr .= ($line . "\n");
      }*/
      $newstr = $str;
      $newstr = str_replace("<", "[", $newstr);
      $newstr = str_replace(">", "]", $newstr);
      $newstr = str_replace("\n", '</p><p>', $newstr);
      $newstr = str_replace("\n", "</p><p>", $newstr);
      $newstr = str_replace("\\'", "'", $newstr);
      $newstr = str_replace("\\\"",'"', $newstr);
      $newstr = str_replace(' ', '&nbsp;&nbsp;', $newstr);
      195,7 → 210,11
      '/\[url\](.+?)\[\/url\]/is',
      '/\[url=(.+?)\](.+?)\[\/url\]/is',
      '/\[code\](.+?)\[\/code\]/is',
      '/\[img\](.+?)\[\/img\]/is'
      '/\[img\](.+?)\[\/img\]/is',
      '/\[ul\](.+?)\[\/ul\]/is',
      '/\[ol\](.+?)\[\/ol\]/is',
      '/\[li\](.+?)\[\/li\]/is',
      '/\[mono\](.+?)\[\/mono\]/is'
      );
       
      $html = array(
      205,7 → 224,11
      '<a href="$1">$1</a>',
      '<a href="$1">$2</a>',
      '<div class="code">$1</div>',
      '<img src="$1" />'
      '<img src="$1" />',
      '<ul>$1</ul>',
      '<ol>$1</ol>',
      '<li>$1</li>',
      '<span style="font-family: Droid Sans Mono, monospace, fixed; margin-left: 1em; margin-right: 1em;">$1</span>',
      );
       
      $newstr = preg_replace($bbcode, $html, $newstr);
      277,6 → 300,24
      return false;
      }
      function checkChallengeStatus($challengeID, $previous, $next)
      {
      $currentChallengeID = $this->getLoggedInUser()->challengeID;
      if (!$this->isLoggedIn())
      {
      $this->redirect('index.php');
      }
      else if ($currentChallengeID > $challengeID)
      {
      $this->redirect($next . '.php');
      }
      else if ($currentChallengeID < $challengeID)
      {
      $this->redirect($previous . '.php');
      }
      }
      function checkLoggedIn()
      {
      if (!$this->isLoggedIn())
      486,6 → 527,7
      public $password;
      public $emailAddress;
      public $name;
       
      public $challengeID;
      }
       
      507,6 → 549,8
      public $author;
      public $title;
      public $description;
       
       
      public $logoURL;
      public $downloadURL;
      public $websiteURL;
      520,6 → 564,7
      public $parent;
      public $title;
      public $description;
       
      }
       
      class ForumPost
      /styles.css
      3,7 → 3,7
      color: #000000;
      font-family: Droid Sans, Tahoma, sans-serif;
      font-size: 11pt;
      font-size: 10pt;
      margin: 0px;
      padding: 0px;
      46,7 → 46,7
      }
       
      p, table, span {
      font-size: 11pt;
      font-size: 10pt;
      margin: 8px;
      margin-left: 16px;
      }
      91,13 → 91,18
      }
       
      .sidebar {
      top: 0px;
      left: 0px;
      position: fixed;
      float: left;
      width: 146px;
      width: 156px;
      padding: 0px;
      padding-left: 32px;
      border-right: 0px solid #000089;
      border-right: 2px solid #000049;
      background-color: #032865;
      color: #FFFFFF;
      height: 100%;
      z-index: 50;
      }
       
      .sidebar-header {
      128,7 → 133,7
       
      .content {
      top: 0px;
      left: 180px;
      left: 190px;
      position: absolute;
      margin-right: 32px;
      }
      137,6 → 142,10
      font-weight: bold;
      }
       
      .italic {
      font-style: italic;
      }
       
      .indent {
      margin-left: 14px;
      border-left: 1px solid #BBBBBB;
      143,11 → 152,25
      }
       
      .code {
      border: 1px solid #333333;
      border-top: 2px solid #999999;
      border-bottom: 2px solid #999999;
      margin: 14px;
      background-color: #DDDDDD;
      font-family: Droid Sans Mono, Monospace, Fixed;
      font-size: 9px;
      line-height: 80%;
      }
       
      .copyright {
      color: #BBBBBB;
      text-align: left;
      font-size: 9pt;
      }
       
      .copyright a {
      color: #BBBBBB;
      }
       
      .recaptchatable .recaptcha_image_cell, #recaptcha_table {
      background-color: #4B9DE0 !important; //reCaptcha widget background color
      }
      /data/favicon.png
      Cannot display: file marked as a binary type.
      svn:mime-type = application/octet-stream
      /data/favicon.png
      Property changes:
      Added: svn:mime-type
      ## -0,0 +1 ##
      +application/octet-stream
      \ No newline at end of property
      Index: index.php
      ===================================================================
      --- index.php (revision 368)
      +++ index.php (revision 468)
      @@ -6,10 +6,9 @@
      $page->drawHeader();
      write('

      Pages

      ');
      $page->drawMenuItem('Biggles', '/~biggles/');
      -$page->drawMenuItem('Freddie (FredFace)', '/~freddie/');
      +$page->drawMenuItem('FredFace', '/~freddie/');
      $page->drawMenuItem('Muzer', '/~muzer/');
      -$page->drawMenuItem('Sh4rk', '/~szabot/');
      -$page->drawMenuItem('Tom (TomMan)', '/~tom/');
      +$page->drawMenuItem('TomMan', '/~tom/');
      $page->drawMiddle();
      ?>
      @@ -18,12 +17,13 @@

      Tim32 is a 10 year-old laptop running Ubuntu Server Edition 10.04.


      -

      Latest Blog Posts

      +

      Latest Blog Posts

      +

      Rss Feed

      $ids = $page->findIDs('BlogPosts', 'WHERE ParentID = -1 ORDER BY DatePosted DESC');
      -for ($i = 0; $i < 5 && $i < count($ids); $i++)
      +for ($i = 0; $i < 4 && $i < count($ids); $i++)
      {
      $id = $ids[$i];
      $post = $page->getBlogPost($id);
      /register.php
      42,11 → 42,11
      <td><input type="password" name="password2" /></td>
      </tr>
      <tr>
      <td class="bold">Email Address</td>: </td>
      <td class="bold">Email Address: </td>
      <td><input type="text" name="email" /></td>
      </tr>
      <tr>
      <td class="bold">Name</td>: </td>
      <td class="bold">Name: </td>
      <td><input type="text" name="name" /></td>
      </tr>
      <tr>
      54,10 → 54,16
      <td><?php echo recaptcha_get_html(RECAPTCHA_PUBLICKEY); ?></td>
      </tr>
      <tr>
      <td class="bold">3 + 9 * 8</td>
      <td><input type="text" name="maths" /></td>
      </tr>
      <tr>
      <td class="bold"></td>
      <td><input type="submit" value="Register" /></td>
      </tr>
      </table>
       
      <p style="text-align: center; color: #666666">By registering to Tim32, you agree to be reasonable in all your suggestion/accusations and advoid subjectivity. Suvbjective posts/comments are subject to removal by a Subject of the Tim32 Admins.</p>
      </form>
       
      <?php
      /register-do.php
      10,6 → 10,7
      $password2 = $_POST['password2'];
      $email = $_POST['email'];
      $name = $_POST['name'];
      $maths = $_POST['maths'];
       
      if (empty($username))
      {
      27,6 → 28,10
      {
      $page->redirect('register.php?error=Passwords do not match');
      }
      if ($maths != '75')
      {
      $page->redirect('register.php?error=Incorrect maths answer');
      }
       
      $resp = recaptcha_check_answer(RECAPTCHA_PRIVATEKEY, $_SERVER["REMOTE_ADDR"],
      $_POST["recaptcha_challenge_field"],
      /photos/album.php
      28,8 → 28,6
      }
       
      $page = new Taios_Page('Photo Albums', '../');
      $page->drawHeader();
      $page->drawMiddle();
       
      $dirName = $_GET['dir'];
      if (empty($dirName))
      37,6 → 35,11
      $page->redirect('index.php');
      }
       
      $page->drawHeader();
      write('<br /><h3>RSS</h3>');
      $page->drawMenuItem('RSS Feed', 'photos/rss.php?dir=' . $dirName);
      $page->drawMiddle();
       
      write('<p class="bold"><a href="index.php">Back to Photos</a></p><br />');
       
      if (file_exists("albums/" . $dirName . "/description.txt"))
      95,9 → 98,9
      }
      $filename = $directory . $file;
      $size = getImageSizes($filename, 300, 300);
      $size = getImageSizes($filename, 280, 260);
       
      write('<td><a href="' . $filename . '"><img width="' . $size[0] . '" height="' . $size[1] . '" src="' . $filename . '" /></a></td>');
      write('<td><a href="' . str_replace(" ", "%20", $filename) . '"><img width="' . $size[0] . '" height="' . $size[1] . '" src="' . str_replace(" ", "%20", $filename) . '" /></a></td>');
      $i++;
      $indexInArray++;
      104,7 → 107,7
      }
       
      write('</tr>');
      write('<table>');
      write('</table>');
       
      $page->drawFooter();
       
      /photos/rss.php
      0,0 → 1,76
      <?php
       
      require '../_taios.php';
       
      header("Content-type: application/rss+xml");
       
      $page = new Taios_Page('Photos RSS Feed', '../');
       
      $dirName = $_GET['dir'];
      if (empty($dirName))
      {
      $dirName = "Lassitor";
      }
       
      write('<?xml version="1.0" encoding="UTF-8" ?>');
      write('<rss version="2.0">');
      write('<channel>');
      write('<title>Tim32 Photo RSS - ' . $dirName . '</title>');
      write('<description>This is the RSS feed for the Tim32 Photos.</description>');
      write('<link>http://tim32.org/photos/album.php?dir=' . $dirName . '</link>');
      $directory = "albums/" . $dirName . "/";
      $sortOrder = "newestFirst";
       
      $results = array();
      $handler = opendir($directory);
      while ($file = readdir($handler))
      {
      if ($file != '.' && $file != '..' && $file != "robots.txt" && $file != ".htaccess" && getimagesize($directory . $file))
      {
      $currentModified = filectime($directory . $file);
      $file_names[] = $file;
      $file_dates[] = $currentModified;
      }
      }
       
      closedir($handler);
       
      if ($sortOrder == "newestFirst")
      {
      arsort($file_dates);
      }
      else
      {
      asort($file_dates);
      }
      $file_names_Array = array_keys($file_dates);
      foreach ($file_names_Array as $idx => $name) $name=$file_names[$name];
      $file_dates = array_merge($file_dates);
       
      $indexInArray = 0;
       
      foreach ($file_dates as $date)
      {
      $j = $file_names_Array[$indexInArray];
      $file = $file_names[$j];
      $filename = $directory . $file;
      write('<item>');
      write('<title>' . $file . '</title>');
      write('<link>http://tim32.org/photos/' . str_replace(" ", "%20", $filename) . '</link>');
      write('<guid>id_' . $file . '</guid>');
      write('<pubDate>' . date('D, d M Y H:i:s O', $date). '</pubDate>');
      write('<description><![CDATA[<img src="http://tim32.org/photos/' . str_replace(" ", "%20", $filename) . '" />]]></description>');
      write('</item>');
      $indexInArray++;
      }
       
      write('</channel>');
      write('</rss>');
       
      ?>
      /404.php
      1,15 → 1,16
      <?php
       
      header('Status: 404 Not Found');
       
      require '_taios.php';
       
      $page = new Taios_Page('404 - Pagee not found', '/');
      $page = new Taios_Page('404 - Page not found', '/');
      $page->drawHeader();
      write('<h3>Pages</h3>');
      $page->drawMenuItem('Biggles', '/~biggles/');
      $page->drawMenuItem('Freddie', '/~freddie/');
      $page->drawMenuItem('Muzer', '/~muzer/');
      $page->drawMenuItem('Sh4rk', '/~szabot/');
      $page->drawMenuItem('Tom', '/~tom/');
      $page->drawMenuItem('Biggles', '~biggles/');
      $page->drawMenuItem('Freddie (FredFace)', '~freddie/');
      $page->drawMenuItem('Muzer', '~muzer/');
      $page->drawMenuItem('Tom (TomMan)', '~tom/');
      $page->drawMiddle();
       
      ?>
      /blog/rss.php
      0,0 → 1,34
      <?php
       
      require '../_taios.php';
       
      header("Content-type: application/rss+xml");
       
      $page = new Taios_Page('Blog RSS Feed', '../');
       
      write('<?xml version="1.0" encoding="UTF-8" ?>');
      write('<rss version="2.0">');
      write('<channel>');
      write('<title>Tim32 Blog RSS</title>');
      write('<description>This is the RSS feed for the Tim32 Blog.</description>');
      write('<link>http://tim32.org/blog/</link>');
      $ids = $page->findIDs('BlogPosts', 'WHERE ParentID = -1 ORDER BY DatePosted DESC');
      for ($i = 0; $i < count($ids); $i++)
      {
      $id = $ids[$i];
      $post = $page->getBlogPost($id);
      write('<item>');
      write('<title>' . $post->title . '</title>');
      write('<link>http://tim32.org/blog/post.php?id=' . $id . '</link>');
      write('<guid>' . $id . '</guid>');
      write('<pubDate>' . date('D, d M Y H:i:s O', $post->datePosted). '</pubDate>');
      write('<description><![CDATA[' . $page->replaceBBCode($post->content) . ']]></description>');
      write('</item>');
      }
       
      write('</channel>');
      write('</rss>');
       
      ?>
      /blog/index.php
      5,6 → 5,8
      $page = new Taios_Page('Blog Posts', '../');
      $page->drawHeader();
      $page->drawBlogCategoriesMenu();
      write('<br /><h3>RSS</h3>');
      $page->drawMenuItem('RSS Feed', 'blog/rss.php');
      $page->drawMiddle();
       
      if ($page->isUserGM($page->getLoggedInUser()))
      /wiki/index.php
      42,7 → 42,7
       
      if ($page->isUserGM($page->getLoggedInUser()))
      {
      write('<p><a href="edit.php?page=' . $pageName . '">Edit Page</a></p><br />');
      write('<p class="bold"><a href="edit.php?page=' . $pageName . '">Edit Page</a></p><br />');
      }
       
      $filename = 'pages/' . $pageName . '.txt';