require_once DISCUZ_ROOT.'./include/discuzcode.func.php';
require("./include/add_function.php");
$post['dateline'] = gmdate("$dateformat $timeformat", $post['dateline'] + $timeoffset * 3600);
$daysreg = ($timestamp - $post['regdate']) / (24*3600);
$ppd = $post['posts'] / $daysreg;
$post['exp_mp_hp'] = exp_mp_hp($post['posts'],$ppd,$daysreg);