-
Notifications
You must be signed in to change notification settings - Fork 0
/
info3.php
67 lines (59 loc) · 6.5 KB
/
info3.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
59
60
61
62
63
64
65
66
67
<td id="lcol">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr><td colspan="2" valign="top" width="278"><img src="files/infos.gif" height="30" width="278"></td></tr>
<tr class="nav"><td><div class="anounce">
<?php
include("config/local4.php");
$arr = get_defined_vars();
$i = mysql_connect ($mysql_host,$mysql_user,$mysql_password); $e=mysql_select_db ($mysql_db_name);
$query = 'SELECT COUNT(id) FROM dev_irp';
$a = mysql_query ($query,$i);
$uy = mysql_fetch_row ($a); $irp=$uy[0];
$query = 'SELECT MAX(lastdate) FROM device';
$a = mysql_query ($query,$i);
$ur = mysql_fetch_row ($a);
$query = 'SELECT SUM(rnum),SUM(square),COUNT(id) FROM flats';
$a = mysql_query ($query,$i);
$uy = mysql_fetch_row ($a);
if ($_GET["obj"]=='1') print '<div class="photobox"><table><tbody><tr><td><a href="index.php?obj=1"><img src="files/1p7.jpg" align="center" style="border:2px solid #CCC;" width="250"></a></td></tr></tbody></table></div>';
if ($_GET["obj"]=='2') print '<div class="photobox"><table><tbody><tr><td><a href="index.php?obj=2"><img src="files/v53.jpg" align="center" style="border:2px solid #CCC;" width="250"></a></td></tr></tbody></table></div>';
if ($_GET["obj"]=='3') print '<div class="photobox"><table><tbody><tr><td><a href="index.php?obj=3"><img src="files/gt59.jpg" align="center" style="border:2px solid #CCC;" width="250"></a></td></tr></tbody></table></div>';
if ($_GET["obj"]=='4') print '<div class="photobox"><table><tbody><tr><td><a href="index.php?obj=4"><img src="files/ro2a.jpg" align="center" style="border:2px solid #CCC;" width="250"></a></td></tr></tbody></table></div>';
if ($_GET["obj"]=='5') print '<div class="photobox"><table><tbody><tr><td><a href="index.php?obj=5"><img src="files/ch54.jpg" align="center" style="border:2px solid #CCC;" width="250"></a></td></tr></tbody></table></div>';
if ($_GET["obj"]=='6') print '<div class="photobox"><table><tbody><tr><td><a href="index.php?obj=6"><img src="files/myt14.jpg" align="center" style="border:2px solid #CCC;" width="250"></a></td></tr></tbody></table></div>';
if ($_GET["obj"]=='7') print '<div class="photobox"><table><tbody><tr><td><a href="index.php?obj=7"><img src="files/nd.jpg" align="center" style="border:2px solid #CCC;" width="250"></a></td></tr></tbody></table></div>';
if ($_GET["obj"]=='8') print '<div class="photobox"><table><tbody><tr><td><a href="index.php?obj=8"><img src="files/55gt9.jpg" align="center" style="border:2px solid #CCC;" width="250"></a></td></tr></tbody></table></div>';
if ($_GET["obj"]=='9') print '<div class="photobox"><table><tbody><tr><td><a href="index.php?obj=9"><img src="files/sm22.jpg" align="center" style="border:2px solid #CCC;" width="250"></a></td></tr></tbody></table></div>';
if ($_GET["obj"]=='10') print '<div class="photobox"><table><tbody><tr><td><a href="index.php?obj=10"><img src="files/mirk1.jpeg" align="center" style="border:2px solid #CCC;" width="250"></a></td></tr></tbody></table></div>';
if ($_GET["obj"]=='11') print '<div class="photobox"><table><tbody><tr><td><a href="index.php?obj=11"><img src="files/mytk22.jpg" align="center" style="border:2px solid #CCC;" width="250"></a></td></tr></tbody></table></div>';
if ($_GET["obj"]=='12') print '<div class="photobox"><table><tbody><tr><td><a href="index.php?obj=12"><img src="files/mytk23.jpg" align="center" style="border:2px solid #CCC;" width="250"></a></td></tr></tbody></table></div>';
if ($_GET["obj"]=='13') print '<div class="photobox"><table><tbody><tr><td><a href="index.php?obj=13"><img src="files/sm22.jpg" align="center" style="border:2px solid #CCC;" width="250"></a></td></tr></tbody></table></div>';
if ($_GET["obj"]=='14') print '<div class="photobox"><table><tbody><tr><td><a href="index.php?obj=14"><img src="files/mirk1.jpeg" align="center" style="border:2px solid #CCC;" width="250"></a></td></tr></tbody></table></div>';
if ($_GET["obj"]=='15') print '<div class="photobox"><table><tbody><tr><td><a href="index.php?obj=15"><img src="files/rm22.png" align="center" style="border:2px solid #CCC;" width="250"></a></td></tr></tbody></table></div>';
if ($_GET["obj"]=='16') print '<div class="photobox"><table><tbody><tr><td><a href="index.php?obj=16"><img src="files/rm24.png" align="center" style="border:2px solid #CCC;" width="250"></a></td></tr></tbody></table></div>';
if ($_GET["obj"]=='51') print '<div class="photobox"><table><tbody><tr><td><a href="index.php?obj=50"><img src="files/nd.jpg" align="center" style="border:2px solid #CCC;" width="250"></a></td></tr></tbody></table></div>';
print '<div class="separator"></div></div></td></tr><tr><td style="padding-left:10px"><p>';
if ($_GET["obj"]=='1') print '<font class="har">Êîä îáúåêòà <a href="index.php?obj=1">1pa[1]</a><br>';
if ($_GET["obj"]=='2') print '<font class="har">Êîä îáúåêòà <a href="index.php?obj=2">v53[2]</a><br>';
if ($_GET["obj"]=='3') print '<font class="har">Êîä îáúåêòà <a href="index.php?obj=3">gt59[3]</a><br>';
if ($_GET["obj"]=='4') print '<font class="har">Êîä îáúåêòà <a href="index.php?obj=4">ro2a[4]</a><br>';
if ($_GET["obj"]=='5') print '<font class="har">Êîä îáúåêòà <a href="index.php?obj=5">ch54[5]</a><br>';
if ($_GET["obj"]=='6') print '<font class="har">Êîä îáúåêòà <a href="index.php?obj=6">mt14[6]</a><br>';
if ($_GET["obj"]=='7') print '<font class="har">Êîä îáúåêòà <a href="index.php?obj=7">riga1[7]</a><br>';
if ($_GET["obj"]=='8') print '<font class="har">Êîä îáúåêòà <a href="index.php?obj=8">gt9[8]</a><br>';
if ($_GET["obj"]=='9') print '<font class="har">Êîä îáúåêòà <a href="index.php?obj=9">sm22[9]</a><br>';
if ($_GET["obj"]=='10') print '<font class="har">Êîä îáúåêòà <a href="index.php?obj=10">mirk1[10]</a><br>';
if ($_GET["obj"]=='11') print '<font class="har">Êîä îáúåêòà <a href="index.php?obj=11">mytk22[11]</a><br>';
if ($_GET["obj"]=='12') print '<font class="har">Êîä îáúåêòà <a href="index.php?obj=12">mytk23[12]</a><br>';
if ($_GET["obj"]=='13') print '<font class="har">Êîä îáúåêòà <a href="index.php?obj=13">sm17[13]</a><br>';
if ($_GET["obj"]=='14') print '<font class="har">Êîä îáúåêòà <a href="index.php?obj=14">mirk2[14]</a><br>';
if ($_GET["obj"]=='15') print '<font class="har">Êîä îáúåêòà <a href="index.php?obj=15">rm22[15]</a><br>';
if ($_GET["obj"]=='16') print '<font class="har">Êîä îáúåêòà <a href="index.php?obj=16">rm24[16]</a><br>';
if ($_GET["obj"]=='51') print '<font class="har">Êîä îáúåêòà <a href="index.php?obj=51">ufa[51]</a><br>';
?>
</font></p>
<tr class="nav"><td>
<div class="separator"></div>
</td></tr>
</tbody></table>
</td>