├── title.php
├── .gitattributes
├── images
├── eb.jpg
├── nn.jpg
├── LOFF.png
├── LON.jpg
├── a11.jpg
├── eb1.jpg
├── eb2.jpg
├── fall.jpg
├── med.jpg
├── soff.jpg
├── son.jpg
├── 500_F.jpg
├── abnor.jpg
├── header.jpg
├── ph5bd.jpg
├── slight.png
├── spring.jpg
├── summer.jpg
├── winter.jpg
├── abnormal.jpg
├── Street lights.JPG
├── header001.jpg.png
└── 90949958-old-concrete-electric-p.jpg
├── logout.php
├── chart
├── Thumbs.db
├── img1.png
└── img2.png
├── link_control.php
├── dbconnect.php
├── link_home.php
├── link_admin.php
├── store.php
├── alert.php
├── light_monitor.php
├── mess.php
├── style.css
├── home.php
├── index.php
├── index3.php
├── index2.php
├── admin.php
├── login.php
├── alert_show.php
├── add_light.php
├── alert1.php
├── alert2.php
├── usage.php
├── status.php
├── view_light.php
├── chart.php
├── monitor2.php
├── monitor.php
└── monitor3.php
/title.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
--------------------------------------------------------------------------------
/images/eb.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thinakaranmanokaran/Farm-Equipments-Management/HEAD/images/eb.jpg
--------------------------------------------------------------------------------
/images/nn.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thinakaranmanokaran/Farm-Equipments-Management/HEAD/images/nn.jpg
--------------------------------------------------------------------------------
/logout.php:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/chart/Thumbs.db:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thinakaranmanokaran/Farm-Equipments-Management/HEAD/chart/Thumbs.db
--------------------------------------------------------------------------------
/chart/img1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thinakaranmanokaran/Farm-Equipments-Management/HEAD/chart/img1.png
--------------------------------------------------------------------------------
/chart/img2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thinakaranmanokaran/Farm-Equipments-Management/HEAD/chart/img2.png
--------------------------------------------------------------------------------
/images/LOFF.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thinakaranmanokaran/Farm-Equipments-Management/HEAD/images/LOFF.png
--------------------------------------------------------------------------------
/images/LON.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thinakaranmanokaran/Farm-Equipments-Management/HEAD/images/LON.jpg
--------------------------------------------------------------------------------
/images/a11.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thinakaranmanokaran/Farm-Equipments-Management/HEAD/images/a11.jpg
--------------------------------------------------------------------------------
/images/eb1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thinakaranmanokaran/Farm-Equipments-Management/HEAD/images/eb1.jpg
--------------------------------------------------------------------------------
/images/eb2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thinakaranmanokaran/Farm-Equipments-Management/HEAD/images/eb2.jpg
--------------------------------------------------------------------------------
/images/fall.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thinakaranmanokaran/Farm-Equipments-Management/HEAD/images/fall.jpg
--------------------------------------------------------------------------------
/images/med.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thinakaranmanokaran/Farm-Equipments-Management/HEAD/images/med.jpg
--------------------------------------------------------------------------------
/images/soff.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thinakaranmanokaran/Farm-Equipments-Management/HEAD/images/soff.jpg
--------------------------------------------------------------------------------
/images/son.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thinakaranmanokaran/Farm-Equipments-Management/HEAD/images/son.jpg
--------------------------------------------------------------------------------
/images/500_F.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thinakaranmanokaran/Farm-Equipments-Management/HEAD/images/500_F.jpg
--------------------------------------------------------------------------------
/images/abnor.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thinakaranmanokaran/Farm-Equipments-Management/HEAD/images/abnor.jpg
--------------------------------------------------------------------------------
/images/header.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thinakaranmanokaran/Farm-Equipments-Management/HEAD/images/header.jpg
--------------------------------------------------------------------------------
/images/ph5bd.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thinakaranmanokaran/Farm-Equipments-Management/HEAD/images/ph5bd.jpg
--------------------------------------------------------------------------------
/images/slight.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thinakaranmanokaran/Farm-Equipments-Management/HEAD/images/slight.png
--------------------------------------------------------------------------------
/images/spring.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thinakaranmanokaran/Farm-Equipments-Management/HEAD/images/spring.jpg
--------------------------------------------------------------------------------
/images/summer.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thinakaranmanokaran/Farm-Equipments-Management/HEAD/images/summer.jpg
--------------------------------------------------------------------------------
/images/winter.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thinakaranmanokaran/Farm-Equipments-Management/HEAD/images/winter.jpg
--------------------------------------------------------------------------------
/images/abnormal.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thinakaranmanokaran/Farm-Equipments-Management/HEAD/images/abnormal.jpg
--------------------------------------------------------------------------------
/link_control.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/dbconnect.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/Street lights.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thinakaranmanokaran/Farm-Equipments-Management/HEAD/images/Street lights.JPG
--------------------------------------------------------------------------------
/images/header001.jpg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thinakaranmanokaran/Farm-Equipments-Management/HEAD/images/header001.jpg.png
--------------------------------------------------------------------------------
/images/90949958-old-concrete-electric-p.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thinakaranmanokaran/Farm-Equipments-Management/HEAD/images/90949958-old-concrete-electric-p.jpg
--------------------------------------------------------------------------------
/link_home.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/link_admin.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/store.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/alert.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Untitled Document
6 |
7 |
8 |
9 |
10 | 0)
17 | {
18 | //echo "yes";
19 | $sr=mysql_fetch_array($sq1);
20 | mysql_query("update street_det set alert_st=0 where id=".$sr['id']."");
21 | ?>
25 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/light_monitor.php:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/mess.php:
--------------------------------------------------------------------------------
1 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/style.css:
--------------------------------------------------------------------------------
1 | body
2 | {
3 | font-family:Arial, Helvetica, sans-serif;
4 | font-size:12px;
5 | }
6 | .hd {
7 | font-family: Arial, Helvetica, sans-serif;
8 | font-size: 24px;
9 | font-weight: bold;
10 | color: #FFFFFF;
11 | height: 150px;
12 | line-height: 150px;
13 | background-repeat: repeat-x;
14 | background-position: left;
15 | background-color: #003399;
16 | }
17 | .sd
18 | {
19 | background-color:#CCCCCC;
20 | color:#000000;
21 | text-decoration:none;
22 | height:30px;
23 | line-height:30px;
24 | font-weight: bold;
25 | }
26 | .sd a
27 | {
28 | background-color:#CCCCCC;
29 | color:#000000;
30 | padding:5px;
31 | text-decoration:none;
32 | }
33 | .inp {
34 | height: 30px;
35 | width: 250px;
36 | }
37 |
38 | .sd a:hover
39 | {
40 | color:#000000;
41 | background-color:#99CC00;
42 |
43 | }
44 | .high
45 | {
46 | background-color:#B00000;
47 | }
48 | .medium
49 | {
50 | background-color:#FF1515;
51 | }
52 | .low
53 | {
54 | background-color:#FFB0B0;
55 | }
56 | .txt {
57 | font-family: Arial, Helvetica, sans-serif;
58 | font-size: 18px;
59 | font-weight: bold;
60 | color: #0066CC;
61 | }
62 | .style1 {color: #FF0000}
63 | .border {
64 | border: 3px solid #006699;
65 | }
66 | .fd {
67 | border: 1px solid #0099CC;
68 | }
69 | .bg2 {
70 | background-color: #CCCCCC;
71 | }
72 | .bg1 {
73 | color: #FFFFFF;
74 | background-color: #990033;
75 | }
76 |
--------------------------------------------------------------------------------
/home.php:
--------------------------------------------------------------------------------
1 |
13 |
14 |
15 |
16 |
17 |
18 |
28 |
29 |
30 |
31 |
32 |
51 |
52 |
53 |
54 |
--------------------------------------------------------------------------------
/index.php:
--------------------------------------------------------------------------------
1 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/index3.php:
--------------------------------------------------------------------------------
1 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
60 |
61 |
62 |
--------------------------------------------------------------------------------
/index2.php:
--------------------------------------------------------------------------------
1 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
67 |
68 |
69 |
--------------------------------------------------------------------------------
/admin.php:
--------------------------------------------------------------------------------
1 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
30 |
31 |
32 |
33 |
66 |
67 |
68 |
--------------------------------------------------------------------------------
/login.php:
--------------------------------------------------------------------------------
1 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
66 |
67 |
68 |
--------------------------------------------------------------------------------
/alert_show.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Untitled Document
6 |
17 |
18 |
19 |
20 | 0)
25 | {
26 |
27 | ?>
41 | 0)
47 | {
48 | ?>
62 | All Lights Running Properly....
70 |
71 |
72 | 0)
78 | {
79 | echo "yes";
80 | $sr=mysql_fetch_array($sq1);
81 | mysql_query("update street_det set alert_st=0 where id=".$sr['id']."");
82 | ?>
83 |
87 |
94 |
95 |
96 |
97 |
--------------------------------------------------------------------------------
/add_light.php:
--------------------------------------------------------------------------------
1 |
18 |
22 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
76 |
77 |
78 |
--------------------------------------------------------------------------------
/alert1.php:
--------------------------------------------------------------------------------
1 |
12 |
15 |
19 |
20 |
21 |
22 |
23 |
24 |
34 |
35 |
36 |
37 |
38 |
96 |
97 |
98 |
99 |
--------------------------------------------------------------------------------
/alert2.php:
--------------------------------------------------------------------------------
1 |
12 |
15 |
19 |
20 |
21 |
22 |
23 |
24 |
34 |
35 |
36 |
37 |
38 |
96 |
97 |
98 |
99 |
--------------------------------------------------------------------------------
/usage.php:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
95 |
96 |
97 |
--------------------------------------------------------------------------------
/status.php:
--------------------------------------------------------------------------------
1 |
45 |
48 |
55 |
58 |
65 |
68 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
129 |
130 |
131 |
--------------------------------------------------------------------------------
/view_light.php:
--------------------------------------------------------------------------------
1 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
157 |
158 |
159 |
--------------------------------------------------------------------------------
/chart.php:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
190 |
191 |
192 |
--------------------------------------------------------------------------------
/monitor2.php:
--------------------------------------------------------------------------------
1 |
17 |
20 |
56 |
59 |
65 |
68 |
74 |
77 | =3 && $month<=8)
83 | {
84 | $season="2";
85 | }
86 | else
87 | {
88 | $season="1";
89 | }*/
90 | $q4=mysql_query("select * from street_det");
91 | $n4=mysql_num_rows($q4);
92 | $h=rand(0,$n4+50);
93 | $g=rand(0,$n4+100);
94 | $sq1=mysql_query("select * from street_det where id=$g");
95 | $sn1=@mysql_num_rows($s1);
96 | if($sn1>0)
97 | {
98 | // ?/>0)
103 | {
104 | // ?/>=60)
164 | {
165 | $pu=$r41['seconds']/60;
166 | //echo $u." ";
167 | /*if($season=="1")
168 | {
169 | $pu=$u*1;
170 | }
171 | else
172 | {
173 | $pu=$u*0.8;
174 | }*/
175 | }
176 | else
177 | {
178 | $pu=0;
179 | }
180 | mysql_query("update street_usage set power_usage=$pu where id=".$r41['id']."");
181 | }
182 |
183 | ?>
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
289 |
290 |
291 |
296 |
303 |
306 |
307 |
308 |
--------------------------------------------------------------------------------
/monitor.php:
--------------------------------------------------------------------------------
1 |
17 |
20 |
56 |
59 |
65 |
68 |
74 |
77 | =3 && $month<=8)
83 | // {
84 | // $season="2";
85 | // }
86 | // else
87 | // {
88 | // $season="1";
89 | // }
90 | $q4=mysql_query("select * from street_det");
91 | $n4=mysql_num_rows($q4);
92 | $h=rand(0,$n4+50);
93 | $g=rand(0,$n4+100);
94 |
95 | $sq1=mysql_query("select * from street_det where id=$g");
96 | $sn1=@mysql_num_rows($s1);
97 | if($sn1>0)
98 | {
99 | ?>0)
104 | {
105 | ?>=60)
165 | {
166 | $pu=$r41['seconds']/60;
167 |
168 | }
169 | else
170 | {
171 | $pu=0;
172 | }
173 | mysql_query("update street_usage set power_usage=$pu where id=".$r41['id']."");
174 | }
175 |
176 | ?>
177 |
178 |
179 |
180 |
181 |
182 |
183 |
184 |
185 |
186 |
290 |
291 |
292 |
297 |
304 |
307 |
308 |
309 |
--------------------------------------------------------------------------------
/monitor3.php:
--------------------------------------------------------------------------------
1 |
17 |
20 |
56 |
59 |
65 |
68 |
74 |
77 | =3 && $month<=8)
83 | {
84 | $season="2";
85 | }
86 | else
87 | {
88 | $season="1";
89 | }*/
90 | $q4=mysql_query("select * from street_det");
91 | $n4=mysql_num_rows($q4);
92 | $h=rand(0,$n4+50);
93 | $g=rand(0,$n4+100);
94 | $sq1=mysql_query("select * from street_det where id=$g");
95 | $sn1=mysql_num_rows($s1);
96 | if($sn1>0)
97 | {
98 | ?>0)
103 | {
104 | ?>=60)
164 | {
165 | $pu=$r41['seconds']/60;
166 | //echo $u." ";
167 | /*if($season=="1")
168 | {
169 | $pu=$u*1;
170 | }
171 | else
172 | {
173 | $pu=$u*0.8;
174 | }*/
175 | }
176 | else
177 | {
178 | $pu=0;
179 | }
180 | mysql_query("update street_usage set power_usage=$pu where id=".$r41['id']."");
181 | }
182 |
183 | ?>
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
297 |
298 |
299 |
304 |
311 |
314 |
315 |
316 |
--------------------------------------------------------------------------------