-
Notifications
You must be signed in to change notification settings - Fork 0
/
tables.php
58 lines (58 loc) · 2.98 KB
/
tables.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
56
57
58
<td align="left" valign="top" width="200">
<table id="Table1" border="0" cellpadding="0" cellspacing="0" width="200">
<tbody><tr>
<td bgcolor="#1881b6" nowrap="nowrap" height="20" valign="middle" width="21"><img src="files/icons_login.gif" height="17" hspace="1" vspace="1" width="20"></td>
<td class="BlockHeaderLeftRight" height="20" width="178"> <span id="IndicesLbl">Òåõíè÷åñêèå ïàðàìåòðû</span></td>
<td class="vdots" width="1"></td></tr>
<tr style="font-family: Verdana; font-size: xx-small;"><td colspan=3 style="padding-left:5px"><a href="index.php?sel=tables&mn=channels" onmouseover="arrowOn(this);" onmouseout="arrowOff(this);">Êàíàëû èçìåðåíèÿ</a></td></tr>
<tr><td colspan="3" style="height:5px"></td></tr>
<tr style="font-family: Verdana; font-size: xx-small;"><td colspan=3 style="padding-left:5px"><a href="index.php?sel=tables&mn=edizm" onmouseover="arrowOn(this);" onmouseout="arrowOff(this);">Åäèíèöû èçìåðåíèÿ</a></td></tr>
<tr><td colspan="3" style="height:5px"></td></tr>
<tr style="font-family: Verdana; font-size: xx-small;"><td colspan=3 style="padding-left:5px"><a href="index.php?sel=tables&mn=devicetype" onmouseover="arrowOn(this);" onmouseout="arrowOff(this);">Òèïû óñòðîéñòâ</a></td></tr>
<tr><td colspan="3" style="height:5px"></td></tr>
<tr style="font-family: Verdana; font-size: xx-small;"><td colspan=3 style="padding-left:5px"><a href="index.php?sel=tables&mn=protocols" onmouseover="arrowOn(this);" onmouseout="arrowOff(this);">Ïðîòîêîëû îáìåíà</a></td></tr>
<tr><td colspan="3" style="height:5px"></td></tr>
<tr style="font-family: Verdana; font-size: xx-small;"><td colspan=3 style="padding-left:5px"><a href="index.php?sel=tables&mn=var2" onmouseover="arrowOn(this);" onmouseout="arrowOff(this);">Èçìåðÿåìûå ïàðàìåòðû</a></td></tr>
<tr><td colspan="3" style="height:5px"></td></tr>
</table></td>
<td style="padding-right: 3px; padding-left: 1px; margin-left: 1px; margin-right: 3px;" align="center" valign="top" width="100%">
<table id="Table8" align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td valign="top">
<div id="maincontent" >
<table border="0" cellpadding="0" cellspacing="0" width="99%">
<tbody><tr>
<td>
<table border="0" cellpadding="1" cellspacing="2" width="780">
<tbody><tr>
<td>
<?php
if ($_GET["mn"]!='') $query = 'SELECT * FROM '.$_GET["mn"];
else $query = 'SELECT * FROM channels';
$e = mysql_query ($query,$i);
print '<tr>';
if ($e)
for ($j=0; $j<mysql_num_fields($e); $j++)
{
print '<td class="BlockHeaderLeftRight" align="center">'.mysql_field_name ($e, $j).'</td>';
}
print '</tr>';
if ($e) $ui = mysql_fetch_row ($e);
while ($ui)
{
print '<tr style="font-family: Verdana; font-size: 11px;">';
print '<td class="BlockHeaderLeftRight" align="center">'.$ui[0].'</td>';
for ($j=1; $j<mysql_num_fields($e); $j++)
{
print '<td>'.$ui[$j].'</td>';
}
print '</tr>';
$ui = mysql_fetch_row ($e);
}
?>
</tbody></table>
</td></tr></tbody></table>
</td></tr>
</tbody></table>
<br><br><br>
</div>