06-30-2009, 11:47 AM
|
#15 (permalink)
|
|
The Acquainted
Join Date: May 2009
Posts: 178
Thanks: 9
|
include of date.functions.php and instantiation of bet form which in turn instatiates bet object which uses the validateTime() function i have looked but cannot see more than 1 include of the date.functions.php script feel like i am losing my marbles:
PHP Code:
<div id="loggedin">
<p><a href="logout.php">Logout</a></p>
<p>
<?php
try {
require_once('./lib/date.functions.php');
require_once('./lib/tablewriter.class.php');
require_once('./lib/formprocessor.class.php');
require_once('./lib/bet.class.php');
$tblWriter = new OnlineNowTable($_SESSION['name']); //create a new object
$tblWriter->writeTable(); //run the writeTable method
$tblWriter2 = new UserDetailTable($_SESSION['name']); //create a new object
$tblWriter2->writeTable(); //run the writeTable method
$tblWriter2 = new CollectiveMembersTable($_SESSION['name']); //create a new object
$tblWriter2->writeTable(); //run the writeTable method
$betform = new BetForm(); //create a new object
}
catch(Exception $error) {
print $error->getMessage();
}
?>
</p>
</div>
|
|
|
|