<?php
/*=======================================================================
 *
 * test_dashboard.php
 *
 * Autor: Marc Vollmann
 *
 =======================================================================*/

include_once ("../include/mcglobal.inc.php");
include_once ("../include/auth.inc.php");
include_once ("../include/getDashboardData.php");


// Execution-Time for script
// set_time_limit(0);

error_reporting(-1);
ini_set('display_errors', true);


// getDashData($type, $tag, $id);

$objType = "cr";
$objId = "2036";
$out = "";

$out .= getDashData($objType, "company", $objId);
// $out .= getDashData($objType, "address", $objId);
// $out .= getDashData($objType, "phoneFax", $objId);
// $out .= getDashData($objType, "id", $objId);
// $out .= getDashData($objType, "user_since", $objId);
// $out .= getDashData($objType, "last_order", $objId);
// $out .= getDashData($objType, "sector", $objId);
// $out .= getDashData($objType, "yearly_sales_sum", $objId);

echo $out;
?>