blob: 998b65098f930dab74b44f1163e9c270a320e3f3 [file] [log] [blame]
droyaddb32f2008-06-03 15:11:51 +00001<div id="maincontent">
2<div id="midcolumn">
3
4<style>
5#container{
6 width: 100%;
7 cursor: auto;
8 margin-left:5px;
9}
10.head {
11 background-color: SteelBlue;
12 color: white;
13 margin: 0px;
14 font-size: 14px;
15 padding: 2px;
16}
17
18.odd {
19 background-color: LightSteelBlue;
20}
21
22.foot {
23 background-color: LightGray;
24}
25</style>
26
droydc4457d2019-09-25 15:26:15 -040027<?php include 'en_recent_html_common.php' ?>
droyaddb32f2008-06-03 15:11:51 +000028<table cellspacing=1 cellpadding=2 border=0>
29<tr class="head">
30<?php
31 $i = 0;
kitlo1d027092018-04-19 17:44:07 -040032 while($i < mysqli_num_fields($rs_p_stat)) {
33 $meta = mysqli_fetch_field($rs_p_stat, $i);
droyaddb32f2008-06-03 15:11:51 +000034 $align = "";
35 if($meta->numeric) {
36 $align="align='right'";
37 }
38 echo "<td $align><b>" . $meta->name . "</b></td>";
39 $i++;
40 }
41 ?></tr>
42<?php
43 $rowcount=0;
kitlo1d027092018-04-19 17:44:07 -040044 while($myrow = mysqli_fetch_assoc($rs_p_stat)) {
droyaddb32f2008-06-03 15:11:51 +000045 $rowcount++;
46 $class="";
47 if($rowcount % 2) {
48 $class="class='odd'";
49 }
50 echo "<tr $class>";
51 $i = 0;
kitlo1d027092018-04-19 17:44:07 -040052 while($i < mysqli_num_fields($rs_p_stat)) {
53 $meta = mysqli_fetch_field($rs_p_stat, $i);
droyaddb32f2008-06-03 15:11:51 +000054 $align = "";
55 if($meta->numeric) {
56 $align="align='right'";
57 }
58
59 echo "<td $align>" . $myrow[$meta->name] . "</td>";
60 $i++;
61 }
62 echo "</tr>";
63 }
64 ?>
65 <tr class="foot">
kitlof396cc02009-03-20 18:01:09 +000066 <td colspan="<?= $i ?>"> <?= $rowcount ?> row<?= $rowcount > 1 || $rowcount == 0 ? "s" : "" ?> found</td>
droyaddb32f2008-06-03 15:11:51 +000067 </tr>
68 </table>
Kit Loe9ea1f92013-06-20 09:45:54 -040069</div>
70<br class='clearing'>
71</div>