about summary refs log tree commit diff stats
path: root/data
Commit message (Expand)AuthorAgeFilesLines
...
* Added the_wordsStar Rauchenberger2025-08-268-3/+157
* Added the_wondrousStar Rauchenberger2025-08-269-3/+191
* Added the_wiseStar Rauchenberger2025-08-269-5/+351
* Added the_unkemptStar Rauchenberger2025-08-2617-4/+1023
* Added the_treeStar Rauchenberger2025-08-269-8/+441
* Added the_towerStar Rauchenberger2025-08-269-3/+837
* Added the_three_doorsStar Rauchenberger2025-08-2611-2/+398
* Added the_tenaciousStar Rauchenberger2025-08-2514-7/+201
* Added the_talentedStar Rauchenberger2025-08-258-1/+284
* Added the_symbolicStar Rauchenberger2025-08-2528-1/+1682
* Ok another Lime Pyramid connectionStar Rauchenberger2025-08-242-0/+25
* Connected up Lime PyramidStar Rauchenberger2025-08-242-0/+81
* Fixed typo in Blue Smiley Annex connectionStar Rauchenberger2025-08-241-1/+1
* Added daedalusStar Rauchenberger2025-08-24161-32/+10727
* Fixed a couple of missing connectionsStar Rauchenberger2025-08-213-0/+18
* Added the_unyieldingStar Rauchenberger2025-08-2146-12/+2370
* Converted puzzle symbols to an enumStar Rauchenberger2025-08-20205-950/+950
* Added the_sweetStar Rauchenberger2025-08-207-0/+289
* Added the_sun_templeStar Rauchenberger2025-08-2010-2/+167
* Maps have display names nowStar Rauchenberger2025-08-2043-0/+43
* Added "endings" object typeStar Rauchenberger2025-08-208-7/+36
* Added the_sturdyStar Rauchenberger2025-08-207-2/+206
* Added the_stormyStar Rauchenberger2025-08-1912-0/+238
* Added the_sirenicStar Rauchenberger2025-08-197-1/+231
* Store IDs in a yaml fileStar Rauchenberger2025-08-192-5905/+1691
* Added the_shopStar Rauchenberger2025-08-184-1/+324
* Added the_revitalizedStar Rauchenberger2025-08-1812-2/+257
* Added the_repetitiveStar Rauchenberger2025-08-1822-30/+1513
* Added the_relentlessStar Rauchenberger2025-08-1812-0/+672
* Added the_quietStar Rauchenberger2025-08-186-0/+159
* Validate that nodes in game files are usedStar Rauchenberger2025-08-1822-26/+163
* Validate that node paths aren't used multiple timesStar Rauchenberger2025-08-171-7/+0
* Fill the item pool with "Nothing"sStar Rauchenberger2025-08-171-0/+4
* Added the_plazaStar Rauchenberger2025-08-1714-2/+1216
* Added the_perceptiveStar Rauchenberger2025-08-172-0/+8
* Added the_partialStar Rauchenberger2025-08-179-2/+435
* Added the_parthenonStar Rauchenberger2025-08-179-2/+254
* Added the_owlStar Rauchenberger2025-08-1713-1/+935
* Added the_orbStar Rauchenberger2025-08-178-1/+296
* Added the_nuancedStar Rauchenberger2025-08-167-0/+358
* Added the_livelyStar Rauchenberger2025-08-166-1/+148
* Added the_literateStar Rauchenberger2025-08-166-1/+152
* Added the_lionizedStar Rauchenberger2025-08-167-2/+155
* Started writing a data validatorStar Rauchenberger2025-08-167-28/+39
* Assigned IDs for the_jubilant, the_keen, and the_linearStar Rauchenberger2025-08-162-2/+243
* Added the_linearStar Rauchenberger2025-08-154-2/+93
* Added the_liberatedStar Rauchenberger2025-08-155-0/+107
* Added the_keenStar Rauchenberger2025-08-155-1/+147
* Added the_jubilantStar Rauchenberger2025-08-146-1/+210
* Assigned IDs for the_hive, the_impressive, and the_invisibleStar Rauchenberger2025-08-144-5/+310
>: ?> Blog Posts tagged with <?php echo($_GET['tag']); break; } } else { ?> Blog Posts<?php } break; case 'quotes': ?> Quotes<?php break; case 'poll': ?> Polls<?php break; case 'comments': ?> Comments<?php break; } } ?></title> <description><?php if (isset($_GET['mode'])) { switch ($_GET['mode']) { case 'blog': if (isset($_GET['blog'])) { switch ($_GET['blog']) { case 'author': ?>An archive of all Four Island blog posts written by <?php echo($_GET['author']); break; case 'tag': ?>An archive of all Four Island blog posts tagged with <?php echo($_GET['tag']); break; } } else { ?>An archive of all Four Island blog posts<?php } break; case 'quotes': ?>An archive of all Four Island quotes<?php break; case 'poll': ?>An archive of all of the Four Island POTWs<?php break; case 'comments': ?>An archive of all of the comments people have left on Four Island<?php break; } } else { ?>All the wonderfour going-ons on Four Island<?php } ?></description> <language>en</language> <?php $i=0; if (!isset($_GET['mode']) || ($_GET['mode'] == 'blog')) { if ($_GET['blog'] == 'author') { $getposts = "SELECT * FROM updates WHERE author = \"" . $_GET['author'] . "\" ORDER BY id DESC"; } else if ($_GET['blog'] == 'tag') { $getposts = "SELECT * FROM updates AS u, tags AS t WHERE u.id = t.post_id AND t.post_type = \"published\" AND t.tag = \"" . $_GET['tag'] . "\" ORDER BY u.id DESC"; } else if (!isset($_GET['blog'])) { $getposts = "SELECT * FROM updates ORDER BY id DESC"; } $getposts2 = mysql_query($getposts); while (($items[$i] = mysql_fetch_array($getposts2))) { $items[$i]['sortDate'] = strtotime($items[$i]['pubDate']); $items[$i]['itemType'] = 'post'; $i++; } } if (!isset($_GET['mode']) || ($_GET['mode'] == 'quotes')) { $getquotes = "SELECT * FROM rash_quotes"; $getquotes2 = mysql_query($getquotes); // $si = $i; while (($items[$i] = mysql_fetch_array($getquotes2))) { $items[$i]['sortDate'] = $items[$i]['date']; $items[$i]['itemType'] = 'quote'; $i++; } } if ($_GET['mode'] == 'poll') { $getpolls = "SELECT * FROM polloftheweek"; $getpolls2 = mysql_query($getpolls); while (($items[$i] = mysql_fetch_array($getpolls2)) && ($i < ($si+10))) { $items[$i]['sortDate'] = strtotime($items[$i]['week']); $items[$i]['itemType'] = 'poll'; $i++; } } if (!isset($_GET['mode']) || ($_GET['mode'] == 'comments')) { $getcomments = "SELECT * FROM comments ORDER BY id DESC LIMIT 0,10"; $getcomments2 = mysql_query($getcomments); while ($items[$i] = mysql_fetch_array($getcomments2)) { $items[$i]['sortDate'] = strtotime($items[$i]['posttime']); $items[$i]['itemType'] = 'comment'; $page_id = $items[$i]['page_id']; $comType = substr($page_id,0,strpos($page_id,'-')); $comID = substr($page_id,strpos($page_id,'-')+1); switch ($comType) { case 'updates': $getpost = "SELECT * FROM updates WHERE id = " . $comID; $getpost2 = mysql_query($getpost); $getpost3 = mysql_fetch_array($getpost2); $items[$i]['title'] = $getpost3['title']; $items[$i]['url'] = 'blog/' . $getpost3['slug'] . '/'; break; case 'poll': $getpoll = "SELECT * FROM polloftheweek WHERE id = " . $comID; $getpoll2 = mysql_query($getpoll); $getpoll3 = mysql_fetch_array($getpoll2); $items[$i]['title'] = $getpoll3['question']; $items[$i]['url'] = 'poll/' . $getpoll3['id'] . '.php'; break; case 'quote': $getquote = "SELECT * FROM rash_quotes WHERE id = " . $comID; $getquote2 = mysql_query($getquote); $getquote3 = mysql_fetch_array($getquote2); $items[$i]['title'] = '#' . $getquote3['id']; $items[$i]['url'] = 'quotes/' . $getquote3['id'] . '.php'; break; } $i++; } } function sortItems($a, $b) { if ($a['sortDate'] < $b['sortDate']) { return 1; } else if ($a['sortDate'] == $b['sortDate']) { return 0; } else if ($a['sortDate'] > $b['sortDate']) { return -1; } } uasort($items,"sortItems"); $j=0; foreach ($items as $key => $value) { switch ($value['itemType']) { case 'post': ?> <item> <title><?php echo($value['title']); ?></title> <link>http://fourisland.com/blog/<?php echo($value['slug']); ?>/</link> <description><?php echo(stripslashes(htmlentities(parseBBCode($value['text'])))); ?></description> <pubDate><?php echo(date('D, d M Y H:i:s O',$value['sortDate'])); ?></pubDate> </item> <?php break; case 'quote': ?> <item> <title>Quote #<?php echo($value['id']); ?></title> <link>http://fourisland.com/quotes/<?php echo(urlencode($value['id'])); ?>.php</link> <description><?php echo(htmlentities(nl2br($value['quote']))); ?></description> <pubDate><?php echo(date('D, d M Y H:i:s O',$value['sortDate'])); ?></pubDate> </item> <?php break; case 'poll': break; case 'comment': ?> <item> <title>Comment on <?php echo($value['title']); ?> by <?php echo($value['username']); ?></title> <link>http://fourisland.com/<?php echo($value['url']); ?>#comment-<?php echo($value['id']); ?></link> <description><?php echo(stripslashes(htmlentities(parseBBCode($value['comment'])))); ?></description> <pubDate><?php echo(date('D, d M Y H:i:s O',$value['sortDate'])); ?></pubDate> </item> <?php break; } $j++; if ($j==9) { break; } } ?> </channel> </rss>