projects
/
weathermon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Обработка данных с датчика BMP085 вынесена в отдельную ветку.
[weathermon.git]
/
web
/
index.php
diff --git
a/web/index.php
b/web/index.php
index d513251323c808f04d1540790eff56a456cc898f..dfc7450d7463a2cdafaed2c21458f068bcb4bdeb 100644
(file)
--- a/
web/index.php
+++ b/
web/index.php
@@
-2,9
+2,14
@@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="GENERATOR" content="Mozilla/4.72
[cp1251]
(X11; U; Linux 2.2.12-20smp i686) [Netscape]">
+ <meta name="GENERATOR" content="Mozilla/4.72 (X11; U; Linux 2.2.12-20smp i686) [Netscape]">
<title>WeatherMon (Последние 24 часа)</title>
<link rel="icon" href="favicon.png" />
<title>WeatherMon (Последние 24 часа)</title>
<link rel="icon" href="favicon.png" />
+ <style type="text/css">
+ a:visited { text-decoration: none; color:darkblue; }
+ a:link { text-decoration: none; color:blue; }
+ a:hover { text-decoration: none; color:navy; }
+ </style>
</head>
<body text="black" bgcolor="silver" link="blue" vlink="#000080" alink="#FF0000">
<?php
</head>
<body text="black" bgcolor="silver" link="blue" vlink="#000080" alink="#FF0000">
<?php
@@
-25,7
+30,9
@@
$q = $db -> prepare(
where
v.timestamp>adddate(now(), -1)
and v.sensor_id=s.id
where
v.timestamp>adddate(now(), -1)
and v.sensor_id=s.id
- and s.st_id=p.st_id'
+ and s.st_id=p.st_id
+ and p.id>=0
+ order by s_description,st_description'
);
$q -> execute();
);
$q -> execute();