//If the exchange is over (case1 or case2) if ($case1 || $case2) { //Print out the rating tool $newRating = new Rater($other_id); $newRating->output(); } else { if ($case3) { //Show the pickup countdown $newPickup = new Pickup($duedate); $newPickup->output(); } else { //If the meeting date has not been determined... if ($meetdt == 0) { //...show the calender $newCal = new Calender(trim($oid)); $newCal->output(); } else { //...print out the countdown to the meetup $newMeetup = new Meetup($meetdt); $newMeetup->output(); } } } echo "</div>"; //Close the main container ?> <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=true"></script> <script type="text/javascript" src="/lib/min/?g=js"></script> <?php Body::end(false);