Update();
OpenTable();
echo "
RUDI |
---|
\n";
include 'views/view.profile.php';
echo " |
";
CloseTable();
return;
}
elseif(isset($_GET['show']))
{
OpenTable();
echo "RUDI |
---|
\n";
switch($_GET['show'])
{
case 'awards':
$this->awards = $this->getAwards();
include 'views/view.awards.php';
break;
case 'ranks':
$this->ranks = $this->getRanks();
include 'views/view.ranks.php';
break;
case 'drills':
$this->drills = $this->getDrills($_GET['id']);
include 'views/view.drills.php';
break;
}
echo " |
";
CloseTable();
return;
}
else
{
$this->Update(RUDI_PROFILE_SMALL);
$stats = $this->getCumulativeStats();
decho($stats);
OpenTable();
echo "RUDI |
---|
\n";
include 'views/view.current.php';
echo " |
";
CloseTable();
return;
}
}
}
ob_start();
$rudi = new RUDI_Gateway();
ob_flush();
//include 'footer.php';
//decho($test->foo[0]->member_id);
//$test1 = new Test();
//$test2 = new Test();
?>