<?php /* $Id: Reports.tpl 3304 2007-10-25 17:31:55Z will $ */ ?>
<?php TemplateUtility::printHeader('Reports'); ?>
<?php TemplateUtility::printHeaderBlock(); ?>
<?php TemplateUtility::printTabs($this->active); ?>
    <div id="main">
        <?php TemplateUtility::printQuickSearch(); ?>

        <div id="contents">
            <table>
                <tr>
                    <td width="3%">
                        <img src="images/reports.gif" width="24" height="24" border="0" alt="Reports" style="margin-top: 3px;" />&nbsp;
                    </td>
                    <td><h2>Reports</h2></td>
                </tr>
            </table>

            <p class="note">Attendance Report</p>
            <p class="note" align="right"><a href="http://orpicrecruitment.com/rpms/index.php?m=reports">Back to Reports</a>
           <style type="text/css">
body {
font-family:arial;
/*margin:50px 100px;*/
}
a {
    color: #666;
    font-size: 11px;
    text-decoration: none;
}

a:hover {
    color: #37B0DD;
    font-size: 11px;
    text-decoration: none;
}

input {
background:#f1f1f1;
border:1px solid #ccc;
padding:5px;
font-size:11px;
}
 
 .home-table { background:none; border:1px solid #c4c4c4; cellpadding:0;  border-spacing:0;  border-collapse:collapse; width:98%; margin:0 auto 20px auto; box-shadow: 6px 10px 15px #CCCCCC;}
.home-table th{ background: #CCCCCC; url(images/table-bg.png) repeat-x top left; border:1px solid; padding:8px 10px !important; text-align:left; font-size:12px; border-color:#116b85; color:#ffffff; vertical-align: middle; margin:10px; }
.home-table td{ background:white; border:1px solid; padding:6px 10px !important; font-size:11px; color:#000000; vertical-align: middle;}
/*.home-table tbody tr:nth-child(odd) td{ background-color: #f7f7f7 !important; }*/
.home-table td:first-child { text-align:left; }
</style>
<br>
             <table width="200" border="1" class="home-table">
  <tr>
    <th>Applicant ID</th>
    <th>Name</th>
    <th>National ID</th>
    <th>Email</th>
    <th>Assessment Batch</th>
    <th>Assessment Date</th>
    <th>Assessment Venue</th>
    <th>Assessment Time</th>
    <th>Attendance Confirmed</th>

  </tr>
  <?php 
  include('dbinfo.php');
  $rsAttendance = mysql_query("SELECT * FROM assessment_attendance");
  while($rwAttendance = mysql_fetch_array($rsAttendance)){
  $name = $rwAttendance['fname'] . " " . $rwAttendance['mame'] . " " . $rwAttendance['lname'];
  ?>
  <tr>
    <td><?php echo $rwAttendance['applicant_id'];?></td>
    <td><?php echo $name;?></td>
    <td><?php echo $rwAttendance['nationalid'];?></td>
    <td><?php echo $rwAttendance['email'];?></td>
    <td><?php echo $rwAttendance['assessmentbatch'];?></td>
    <td><?php echo $rwAttendance['assessmentdate'];?></td>
    <td><?php echo $rwAttendance['assessmentvenue'];?></td>
    <td><?php echo $rwAttendance['assessmenttime'];?></td>
    <td><?php echo $rwAttendance['attendanceconfirmed'];?></td>
  </tr>
  
  <?php } ?>
 
</table>      
  </div>
    </div>

<br>
    <div id="bottomShadow"></div>
<?php TemplateUtility::printFooter(); ?>
