Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-web-393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-web-393
Commits
23179602
Commit
23179602
authored
Jan 12, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
link to multipart stream
parent
0252a4e5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
index.php
src/index/index.php
+6
-3
No files found.
src/index/index.php
View file @
23179602
...
...
@@ -34,11 +34,14 @@
if
(
is_file
(
$sensor
)){
$c
=
trim
(
file_get_contents
(
$sensor
));
if
(
$c
!=
"none"
){
$href
=
"http://
{
$_SERVER
[
"SERVER_ADDR"
]
}
:"
.
(
$port0
+
$i
)
.
"/bimg"
;
$sandp
=
"http://
{
$_SERVER
[
"SERVER_ADDR"
]
}
:"
.
(
$port0
+
$i
);
$href1
=
"
$sandp
/bimg"
;
$href2
=
"
$sandp
/mimg"
;
$table_contents
.=
"<td>"
;
$table_contents
.=
"<div class='port_window img_window'>"
;
$table_contents
.=
"<div><a href=
\"
$href
\"
><img class='img_window' src='
$href
' style='width:300px'/></a></div>"
;
$table_contents
.=
"<div style='text-align:center;'>port
$i
</div>"
;
$table_contents
.=
"<div><a href=
\"
$href
1
\"
><img class='img_window' src='
$href1
' style='width:300px'/></a></div>"
;
$table_contents
.=
"<div style='text-align:center;'>port
$i
: <a title='single image' href='
$href1
'>bimg</a>, <a title='multi-part image stream (M-JPEG)' href='
$href2
'>mimg</a>
</div>"
;
$table_contents
.=
"</div>"
;
$table_contents
.=
"</td>"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment