$user = USER::VERIFY(0); $H = 26; $TOOLS = ''; $BUGS = ''; $V = $_GET['v']; if ($V != '0.1.6d') { echo "<script>window.location.reload(true);</script>"; } $R = MYSQL::QUERY("SELECT * FROM core_users_estimates_daily WHERE u_id=? AND d_date=? LIMIT 1", array($user['user_id'], Date("Y-m-d"))); if (empty($R)) { USER::STAT('repairs', 0); USER::STAT('checkouts', 0); USER::STAT('tickets', 0); USER::STAT('estimates', 0); } USER::REWARD(); foreach ($XML->TOOLS->TOOL as $TOOL) { $TOOLS .= '<li style="top:' . $H . 'px;" class="tool"><b>Tool Added</b><i>' . $TOOL . '</i></li>'; $H = $H + 26; } foreach ($XML->BUGS->BUG as $BUG) { $BUGS .= '<li style="top:' . $H . 'px;" class="bug"><b>Bug Fixed</b><i>' . $BUG . '</i></li>'; $H = $H + 26; } echo <<<HOME <div class="centerfloat" style="width:100%;height:100%;overflow-x:hidden;overflow-y:auto;"> <div style="width:100%; height:100%;overflow: auto;"> \t<br/> \t\t<div style="width:98%;background-color:lightgrey;margin-bottom:14px;" class="final-container"> \t\t <div style="width: 98%; height: 100%;padding-top:10px;padding-bottom:10px;"> \t\t\t <center><img border="0" src="../frame/skins/default/images/login-header.png"/><br/><br/><br/><br/><br/></center>