-
Notifications
You must be signed in to change notification settings - Fork 23
/
rep_dt.php
55 lines (48 loc) · 2.31 KB
/
rep_dt.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php
include './Database/Controler.php';
include 'role.php';
?>
<form method="post">
<button type="submit" id="back3" name="back3" class="btn btn-primary">Back</button>
</form>
<h2>Date Vise Report</h2>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-body">
<div class="row">
<div class="col-md-12">
<?php
$dr=$_SESSION["date_vise"];
?>
<table class="table table-striped table-bordered table-hover" id="dataTables-example">
<thead>
<th>Roll Number</th>
<th>Name</th>
<th>Subject</th>
<th>P/A</th>
</thead>
<tbody>
<?php
foreach ($dr as $d)
{
?>
<tr>
<td><?php echo $d->s_rn; ?></td>
<td><?php echo $d->fnm." ".$d->lnm; ?></td>
<td><?php echo $d->sub_name; ?></td>
<td><?php if($d->present==1){
echo "<i class='fa fa-check fa-1x' style='color:green'><i>";
}
else {
echo "<font color='red' fontphase='Showcard Gothic' size='2%'><b>X</b></font>";
}; ?></td>
</tr>
<?php
}
?>
<?php
include 'footer.php';
?>