<?php
include("src/Dealhot.php");
include("config.php");

$msg = '';
$titleHeader = 'My deals';

$action = 'deal_list';
$rest_data = array(); 
$Dealhot = new Dealhot($auth_arr,$action,$rest_data);
$result_arr = $Dealhot->go();

if($result_arr["result"]=="fail")
 $msg = 'You have failed to list the deals. Reason: '.$result_arr["error"];
?>