* 
	* @framework		RottenEggs App Development
	* @description		Application/API Toolset + Sample
	* @copyright  		Copyright (c) 2010, Monir Boktor. (http://www.rotteneggs.com)
	* @license    		http://www.opensource.org/licenses/bsd-license.php - BSD
	* @version    		Ver: 0.1.1 2011-01-01 14:48
	* 
	*/
	
	include('framework/app_core.php');
	include('program/badges.php');
	
	$app = new Badges();
	
	// Generate the text for this page
	$Body = $app->AppBody($_GET);

	// Was an ajax call made?  If so, simply display the body without formatting.
	if ($_GET['aj_call']) {echo $Body;die();}
	
	
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<?php 
echo BASE_URL;
?>
" />
<link href="css/s.css" rel="stylesheet" type="text/css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>