add profit.php to parse json log file and calc profit

Signed-off-by: AceLan Kao <acelan@acelan.idv.tw>