$Yesterday = date("Y-m-d", mktime(0, 0, 0, date("m"), date("d") - 1, date("Y"))); ?> <body> <div id="topPan"><div id="ImgPan"><a href="index.html"><img src="../images/logo.gif" title="Coporate Profiles" alt="Coporate Profiles" width="201" height="52" border="0" /></a></div> <?php include "nav_bar.php"; ?> </div> <div id="bodyPan"> <p class="toptextpadding"> Total Live Screens today: <span><?php echo $cafe_trac->getScreensLiveCount(); ?> </span> <a href="#">Click Here</a> to see all the screens </p> <p class="toptextpadding">Total Live screens Yesterday: <span><?php echo $cafe_trac->getLiveScreenCountByDate($Yesterday); ?> </span> <a href="#">Click Here</a> to see all the screens</p> <p class="toptextpadding"> <center> <form id="form1" name="form1" method="post" action="search_cafe_check.php"> <label> Enter Cafe Id <input type="text" name="cafeid" id="cafeid" /> </label> <label> <input type="submit" name="search" id="search" value="Search" /> </label> </form>
<td align="right"><?php echo $d1_t; ?> </td> <td align="right"><?php echo $td_t; ?> </td> <td></td> </tr> <tr> <td align="right">Untracked Screens</td> <td align="right"></td> <td align="right"></td> <td align="right"><?php echo $cafe_trac->getLiveScreenCountByDate($day4) - $d4_t; ?> </td> <td align="right"><?php echo $cafe_trac->getLiveScreenCountByDate($day3) - $d3_t; ?> </td> <td align="right"><?php echo $cafe_trac->getLiveScreenCountByDate($day2) - $d2_t; ?> </td> <td align="right"><?php echo $cafe_trac->getLiveScreenCountByDate($day1) - $d1_t; ?> </td> <td align="right"><?php