1,043 reputation
38
bio website HopOffACloud.com
location Washington Court House, OH
age 39
visits member for 3 years, 11 months
seen Apr 25 '12 at 22:08
<?php
/**
* PHP Script for agent-orange 
* Work Efficiency Ninja Agent 1.0 
*
* @author Glenn Kelley <glenn@typo3usa.comm>
*/

// Set environment:

$wifeStatus="snoring";
$childrenStatus="dreaming";
$workMode="extended";
initWeekAtWork($wifeStatus,$childrenStatus,$workMode);

// Initialize settings
ignore_friends_calling(1);
tapeAllEpisodesOfOutsourced-NBC(1);
enablePlaylistWithGreatMusic(1);

// Check conditions
checkPepsiInFridge();
checkSupplyOfGranolas();


$weekdays = explode(",", "monday,tuesday,wednesday,thursday,friday");
foreach ($weekdays as $day) {

// New work shift:
echo "Pray for patience, Glenn.";
if ($HTTP_GET_VARS["statement"]=="I'll do that later") {
   echo "Think again, your customers need you to be understanding and focused on their needs";
}

doProgramming(); 

// Check environment during evening
if (missWife()==true) 
   echo "You cannot wake her, she is sleeping.";
if (starsShiningAndMoonIsBright("low cloud cover")) 
   echo "No stargazing to much work to be done";

doProgramming(); 

// Require resources
$food = mysql_query("
 SELECT FROM refridgerator 
 WHERE eatable AND expiredate NOT < ".time()." 
 LIMIT 1");
 if (mysql_num_rows($food)) {
    consumeIt ("15 minutes max");
 else
    callPizzaDelivery("4: Margarita", "+gorgonzola");

 doProgramming(); 

 // Check physical body state
 payAttentionToHandsAndBack();
 if(handsHurtingDueToUseOfKeyboard()==true) {
    ignore(1);
 }


 // Checking overflow
 if (! willThisEverEnd("?")){
 if (maxExecutionTimeNotSet()) 
    die("Fatal error: Could not complete your request until the customer is satisfied and work is completed.");
 }

 // Set clockradio 9 hours from current time
 sleep(60*60*9);


} // end day 
// I haven't implemented this function yet. 
// It should fit in somewhere above, but I couldn't find time to do it.
// Maybe thats the key to the solution?



/*
* If you have any comments, find any bugs 
* or have suggestions to changes, please email me
* call 740-490-8668 
* or twitter @chuchmedic 
*/
?>

1,043 Reputation

15 Jan 22
10 Mar 12 '13
10 Feb 8 '13
+10 07:53 upvote
10 Feb 6 '13
10 Jan 2 '13
10 Dec 23 '12
10 Dec 1 '12
10 Nov 1 '12
10 Sep 5 '12
10 Aug 29 '12
10 Aug 16 '12
10 Apr 23 '12
10 Mar 30 '12
10 Mar 27 '12
10 Mar 12 '12
10 Feb 4 '12
10 Jan 23 '12
0 Jan 10 '12
15 Nov 25 '11
10 Aug 31 '11
10 Jun 10 '11
15 Apr 25 '11
10 Apr 22 '11
10 Mar 10 '11
0 Mar 9 '11
10 Mar 6 '11
35 Feb 20 '11
10 Feb 14 '11
20 Feb 13 '11
10 Feb 11 '11