setMetaTags($metaDescription, $metaKeywords);
$page->header();
// Generating the random thumbs (across all types) is way too slow (about a 15 second query). We'll cache the results for 15 minutes to make the site perform better.
profiler_beginSection('randomThumbs(random)');
randThumbs("", strtotime("-15 minute"));
profiler_endSection('randomThumbs(random)');
// Random videos.
profiler_beginSection('randomThumbs(movies)');
randThumbs("movies");
profiler_endSection('randomThumbs(movies)');
// Random pictures.
profiler_beginSection('randomThumbs(pictures)');
randThumbs("pictures");
profiler_endSection('randomThumbs(pictures)');
// Random games.
profiler_beginSection('randomThumbs(games)');
randThumbs("games");
profiler_endSection('randomThumbs(games)');
// Random flash movies.
profiler_beginSection('randomThumbs(flash)');
randThumbs("flash");
profiler_endSection('randomThumbs(flash)');
if(WHICH_SERVER == SERVER_DEV){
$page->addToolTip("testTip", "Hello W0rldz", "This is to test to make sure the tooltip functionality ported successfully.");
?>
Register
Submit new content
Welcome. All your page-hits are belong to us.
Some things I want to do in the near-term (in approximate order)
- Make it so that users can upload pictures
- Go through all of the TODOs so that the code is clean again.
Things that I've done so far:
- Make it Open Source
- Added stats tracking for the code at Ohloh
- Tooltips (mouse over me to try)
- Display this page in the same format as doItLater but using the refactored code (no errors).
- Automatically expand from 800x600 to 1024x768.
- Whole site now running the refactored code live on doItLater.
- Go through the live site and remove the validation problems (the blockquotes on the bottom still don't validate... tooltip system would need to be changed to fix this... may be worth it sometime).
- Finish figuring out what will become of the "Column" class and then clean up the Page class accordingly.
- Make a profiler for finding bottlenecks in the system
- Used the Pedlr-style database-connection code. That was a huge bottleneck (probably a big part of what was slowing down dil so much before).
- Finished porting auth.php/register.php/login.php/logout.php/forgotPass.php so that users can sign up and log in and out of the system.
- Port the changePass.php functionality. Either modify what is there now (from CollegeInfoDesk) or bring the Pedlr stuff in from the account page.
- Make some content for the Welcome Module.
- Refactor global.php to be global.php and take out any structural code from it (put it in page.php).
- Fix contact.php (actual form submission, footer, images).
bottom();
?>