<TR> <TD vAlign=top width=4 background=images/tb_left.gif height="50%"><IMG height=6 src="images/tb_left_topb.gif" width=3></TD> <TD colSpan=2 rowSpan=2> <!-- Content Starts --> <table width="100%" border=0> <tbody> <tr><td colspan=2 bgcolor="#e7f3fb" class=name><b> Batchwise Profile Updation</b></td></tr> <?php $bgcolor[0] = "#e7f3fb"; $bgcolor[1] = "#ffffff"; for ($i = 1; $i < 12; $i++) { #### For 11 Batches; Add 1 every year!! $year = $i + 1988; echo '<tr><td bgcolor="' . $bgcolor[$i % 2] . '" class=body> <a href="search.php?year=' . $year . '&.s=Search" class=link> Batch ' . $i . ' (' . $year . '-' . ($year + 4) . ') </a></td>'; echo '<td bgcolor="' . $bgcolor[$i % 2] . '" class=body>' . count(XMEC::get_update_list($year)) . '/' . XMEC::get_user_count($year) . '</td></tr>'; } ?> </tbody> </table> <!--Content Ends--> </TD> <TD vAlign=top width=4 background=images/tb_right.gif height="50%"><IMG height=6 src="images/tb_right_topb.gif" width=3></TD> </TR> <TR> <TD vAlign=bottom width=4 background=images/tb_left.gif height="50%"><IMG height=6 src="images/tb_left_bottomb.gif" width=3></TD> <TD vAlign=bottom width=4 background=images/tb_right.gif height="50%"><IMG height=6 src="images/tb_right_bottomb.gif" width=3></TD> </TR> <TR> <TD width=4 height=4><IMG height=4 src="images/corner.gif" width=4></TD> <TD align=left background=images/tb_bottom.gif height=4><IMG height=4 src="images/tb_left_bottomt.gif" width=8></TD>
<td colspan=2 bgcolor="#e7f3fb"> <b class=name>XMEC Site Statistics</b> </td> </tr> <tr><td colspan=2 bgcolor="#e7f3fb" height=1></td></tr> <tr> <td class=body width=80%> Total Number of XMECian Profiles </td> <td class=body><?php echo XMEC::get_user_count() - 3; ?> </td> </tr> <tr> <td class=body bgcolor=#E7F3FB width=80%> Total Number of Profiles Updated</td> <td class=body bgcolor=#E7F3FB><?php echo count(XMEC::get_update_list()); ?> </td> </tr> <tr> <td class=body bgcolor=#FFFFFF> Hit Counter</td> <td class=body bgcolor=#FFFFFF><img src=/server-scripts/Count.cgi?df=xmec.dat></td> </tr--> </table> <!--Content Ends--> </TD> <TD vAlign=top width=4 background=images/tb_right.gif height="50%"><IMG height=6 src="images/tb_right_topb.gif" width=3></TD> </TR> <TR> <TD vAlign=bottom width=4 background=images/tb_left.gif height="50%"><IMG height=6 src="images/tb_left_bottomb.gif" width=3></TD> <TD vAlign=bottom width=4 background=images/tb_right.gif height="50%"><IMG height=6 src="images/tb_right_bottomb.gif" width=3></TD>
<?php include 'common.php'; $auth = XMEC::authenticate_user(); $user =& XMEC::getUser(); if (!$user->isAdmin()) { echo '<h2>Not Authorized !</h2>'; exit; } ?> <HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0"> <TITLE></TITLE> <LINK href="style.css" type="text/css" rel="Stylesheet"> </HEAD> <BODY bgcolor="#ffffff"> <P> <?php $wrk =& XMEC::get_update_list(); echo "<b>Total entries: " . sizeof($wrk) . "</b><br>"; for ($i = 0; $i < sizeof($wrk); $i++) { echo $wrk[$i] . "<br>"; } ?> </BODY> </HTML>